You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13793 lines
346 KiB
13793 lines
346 KiB
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: group/group.proto
|
|
|
|
package group
|
|
|
|
import (
|
|
sdkws "OpenIM/pkg/proto/sdkws"
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/gogo/protobuf/proto"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
|
|
io "io"
|
|
math "math"
|
|
math_bits "math/bits"
|
|
)
|
|
|
|
// 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type CreateGroupReq struct {
|
|
InitMembers []string `protobuf:"bytes,1,rep,name=initMembers,proto3" json:"initMembers"`
|
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,2,opt,name=groupInfo,proto3" json:"groupInfo"`
|
|
AdminUserIDs []string `protobuf:"bytes,3,rep,name=adminUserIDs,proto3" json:"adminUserIDs"`
|
|
OwnerUserID string `protobuf:"bytes,4,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
|
}
|
|
|
|
func (m *CreateGroupReq) Reset() { *m = CreateGroupReq{} }
|
|
func (m *CreateGroupReq) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateGroupReq) ProtoMessage() {}
|
|
func (*CreateGroupReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{0}
|
|
}
|
|
func (m *CreateGroupReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CreateGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CreateGroupReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *CreateGroupReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateGroupReq.Merge(m, src)
|
|
}
|
|
func (m *CreateGroupReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CreateGroupReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateGroupReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateGroupReq proto.InternalMessageInfo
|
|
|
|
func (m *CreateGroupReq) GetInitMembers() []string {
|
|
if m != nil {
|
|
return m.InitMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateGroupReq) GetGroupInfo() *sdkws.GroupInfo {
|
|
if m != nil {
|
|
return m.GroupInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateGroupReq) GetAdminUserIDs() []string {
|
|
if m != nil {
|
|
return m.AdminUserIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateGroupReq) GetOwnerUserID() string {
|
|
if m != nil {
|
|
return m.OwnerUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateGroupResp struct {
|
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo"`
|
|
}
|
|
|
|
func (m *CreateGroupResp) Reset() { *m = CreateGroupResp{} }
|
|
func (m *CreateGroupResp) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateGroupResp) ProtoMessage() {}
|
|
func (*CreateGroupResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{1}
|
|
}
|
|
func (m *CreateGroupResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CreateGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CreateGroupResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *CreateGroupResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateGroupResp.Merge(m, src)
|
|
}
|
|
func (m *CreateGroupResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CreateGroupResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateGroupResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateGroupResp proto.InternalMessageInfo
|
|
|
|
func (m *CreateGroupResp) GetGroupInfo() *sdkws.GroupInfo {
|
|
if m != nil {
|
|
return m.GroupInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupsInfoReq struct {
|
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs"`
|
|
}
|
|
|
|
func (m *GetGroupsInfoReq) Reset() { *m = GetGroupsInfoReq{} }
|
|
func (m *GetGroupsInfoReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupsInfoReq) ProtoMessage() {}
|
|
func (*GetGroupsInfoReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{2}
|
|
}
|
|
func (m *GetGroupsInfoReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupsInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupsInfoReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupsInfoReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupsInfoReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupsInfoReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupsInfoReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupsInfoReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupsInfoReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupsInfoReq) GetGroupIDs() []string {
|
|
if m != nil {
|
|
return m.GroupIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupsInfoResp struct {
|
|
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos"`
|
|
}
|
|
|
|
func (m *GetGroupsInfoResp) Reset() { *m = GetGroupsInfoResp{} }
|
|
func (m *GetGroupsInfoResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupsInfoResp) ProtoMessage() {}
|
|
func (*GetGroupsInfoResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{3}
|
|
}
|
|
func (m *GetGroupsInfoResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupsInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupsInfoResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupsInfoResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupsInfoResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupsInfoResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupsInfoResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupsInfoResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupsInfoResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupsInfoResp) GetGroupInfos() []*sdkws.GroupInfo {
|
|
if m != nil {
|
|
return m.GroupInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetGroupInfoReq struct {
|
|
GroupInfoForSet *sdkws.GroupInfoForSet `protobuf:"bytes,1,opt,name=groupInfoForSet,proto3" json:"groupInfoForSet"`
|
|
}
|
|
|
|
func (m *SetGroupInfoReq) Reset() { *m = SetGroupInfoReq{} }
|
|
func (m *SetGroupInfoReq) String() string { return proto.CompactTextString(m) }
|
|
func (*SetGroupInfoReq) ProtoMessage() {}
|
|
func (*SetGroupInfoReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{4}
|
|
}
|
|
func (m *SetGroupInfoReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SetGroupInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SetGroupInfoReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *SetGroupInfoReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetGroupInfoReq.Merge(m, src)
|
|
}
|
|
func (m *SetGroupInfoReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SetGroupInfoReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetGroupInfoReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetGroupInfoReq proto.InternalMessageInfo
|
|
|
|
func (m *SetGroupInfoReq) GetGroupInfoForSet() *sdkws.GroupInfoForSet {
|
|
if m != nil {
|
|
return m.GroupInfoForSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetGroupInfoResp struct {
|
|
}
|
|
|
|
func (m *SetGroupInfoResp) Reset() { *m = SetGroupInfoResp{} }
|
|
func (m *SetGroupInfoResp) String() string { return proto.CompactTextString(m) }
|
|
func (*SetGroupInfoResp) ProtoMessage() {}
|
|
func (*SetGroupInfoResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{5}
|
|
}
|
|
func (m *SetGroupInfoResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SetGroupInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SetGroupInfoResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *SetGroupInfoResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetGroupInfoResp.Merge(m, src)
|
|
}
|
|
func (m *SetGroupInfoResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SetGroupInfoResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetGroupInfoResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetGroupInfoResp proto.InternalMessageInfo
|
|
|
|
type GetGroupApplicationListReq struct {
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID"`
|
|
}
|
|
|
|
func (m *GetGroupApplicationListReq) Reset() { *m = GetGroupApplicationListReq{} }
|
|
func (m *GetGroupApplicationListReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupApplicationListReq) ProtoMessage() {}
|
|
func (*GetGroupApplicationListReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{6}
|
|
}
|
|
func (m *GetGroupApplicationListReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupApplicationListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupApplicationListReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupApplicationListReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupApplicationListReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupApplicationListReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupApplicationListReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupApplicationListReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupApplicationListReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupApplicationListReq) GetPagination() *sdkws.RequestPagination {
|
|
if m != nil {
|
|
return m.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetGroupApplicationListReq) GetFromUserID() string {
|
|
if m != nil {
|
|
return m.FromUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupApplicationListResp struct {
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests"`
|
|
}
|
|
|
|
func (m *GetGroupApplicationListResp) Reset() { *m = GetGroupApplicationListResp{} }
|
|
func (m *GetGroupApplicationListResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupApplicationListResp) ProtoMessage() {}
|
|
func (*GetGroupApplicationListResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{7}
|
|
}
|
|
func (m *GetGroupApplicationListResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupApplicationListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupApplicationListResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupApplicationListResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupApplicationListResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupApplicationListResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupApplicationListResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupApplicationListResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupApplicationListResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupApplicationListResp) GetTotal() uint32 {
|
|
if m != nil {
|
|
return m.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetGroupApplicationListResp) GetGroupRequests() []*sdkws.GroupRequest {
|
|
if m != nil {
|
|
return m.GroupRequests
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserReqApplicationListReq struct {
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListReq) Reset() { *m = GetUserReqApplicationListReq{} }
|
|
func (m *GetUserReqApplicationListReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserReqApplicationListReq) ProtoMessage() {}
|
|
func (*GetUserReqApplicationListReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{8}
|
|
}
|
|
func (m *GetUserReqApplicationListReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetUserReqApplicationListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetUserReqApplicationListReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetUserReqApplicationListReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserReqApplicationListReq.Merge(m, src)
|
|
}
|
|
func (m *GetUserReqApplicationListReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetUserReqApplicationListReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserReqApplicationListReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserReqApplicationListReq proto.InternalMessageInfo
|
|
|
|
func (m *GetUserReqApplicationListReq) GetPagination() *sdkws.RequestPagination {
|
|
if m != nil {
|
|
return m.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUserReqApplicationListResp struct {
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests"`
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListResp) Reset() { *m = GetUserReqApplicationListResp{} }
|
|
func (m *GetUserReqApplicationListResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserReqApplicationListResp) ProtoMessage() {}
|
|
func (*GetUserReqApplicationListResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{9}
|
|
}
|
|
func (m *GetUserReqApplicationListResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetUserReqApplicationListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetUserReqApplicationListResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetUserReqApplicationListResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserReqApplicationListResp.Merge(m, src)
|
|
}
|
|
func (m *GetUserReqApplicationListResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetUserReqApplicationListResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserReqApplicationListResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserReqApplicationListResp proto.InternalMessageInfo
|
|
|
|
func (m *GetUserReqApplicationListResp) GetTotal() uint32 {
|
|
if m != nil {
|
|
return m.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListResp) GetGroupRequests() []*sdkws.GroupRequest {
|
|
if m != nil {
|
|
return m.GroupRequests
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TransferGroupOwnerReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
OldOwnerUserID string `protobuf:"bytes,2,opt,name=oldOwnerUserID,proto3" json:"oldOwnerUserID"`
|
|
NewOwnerUserID string `protobuf:"bytes,3,opt,name=newOwnerUserID,proto3" json:"newOwnerUserID"`
|
|
}
|
|
|
|
func (m *TransferGroupOwnerReq) Reset() { *m = TransferGroupOwnerReq{} }
|
|
func (m *TransferGroupOwnerReq) String() string { return proto.CompactTextString(m) }
|
|
func (*TransferGroupOwnerReq) ProtoMessage() {}
|
|
func (*TransferGroupOwnerReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{10}
|
|
}
|
|
func (m *TransferGroupOwnerReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *TransferGroupOwnerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_TransferGroupOwnerReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *TransferGroupOwnerReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TransferGroupOwnerReq.Merge(m, src)
|
|
}
|
|
func (m *TransferGroupOwnerReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *TransferGroupOwnerReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TransferGroupOwnerReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TransferGroupOwnerReq proto.InternalMessageInfo
|
|
|
|
func (m *TransferGroupOwnerReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TransferGroupOwnerReq) GetOldOwnerUserID() string {
|
|
if m != nil {
|
|
return m.OldOwnerUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TransferGroupOwnerReq) GetNewOwnerUserID() string {
|
|
if m != nil {
|
|
return m.NewOwnerUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TransferGroupOwnerResp struct {
|
|
}
|
|
|
|
func (m *TransferGroupOwnerResp) Reset() { *m = TransferGroupOwnerResp{} }
|
|
func (m *TransferGroupOwnerResp) String() string { return proto.CompactTextString(m) }
|
|
func (*TransferGroupOwnerResp) ProtoMessage() {}
|
|
func (*TransferGroupOwnerResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{11}
|
|
}
|
|
func (m *TransferGroupOwnerResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *TransferGroupOwnerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_TransferGroupOwnerResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *TransferGroupOwnerResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TransferGroupOwnerResp.Merge(m, src)
|
|
}
|
|
func (m *TransferGroupOwnerResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *TransferGroupOwnerResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TransferGroupOwnerResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TransferGroupOwnerResp proto.InternalMessageInfo
|
|
|
|
type JoinGroupReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
ReqMessage string `protobuf:"bytes,2,opt,name=reqMessage,proto3" json:"reqMessage"`
|
|
JoinSource int32 `protobuf:"varint,3,opt,name=joinSource,proto3" json:"joinSource"`
|
|
InviterUserID string `protobuf:"bytes,4,opt,name=inviterUserID,proto3" json:"inviterUserID"`
|
|
}
|
|
|
|
func (m *JoinGroupReq) Reset() { *m = JoinGroupReq{} }
|
|
func (m *JoinGroupReq) String() string { return proto.CompactTextString(m) }
|
|
func (*JoinGroupReq) ProtoMessage() {}
|
|
func (*JoinGroupReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{12}
|
|
}
|
|
func (m *JoinGroupReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *JoinGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_JoinGroupReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *JoinGroupReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_JoinGroupReq.Merge(m, src)
|
|
}
|
|
func (m *JoinGroupReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *JoinGroupReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_JoinGroupReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_JoinGroupReq proto.InternalMessageInfo
|
|
|
|
func (m *JoinGroupReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *JoinGroupReq) GetReqMessage() string {
|
|
if m != nil {
|
|
return m.ReqMessage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *JoinGroupReq) GetJoinSource() int32 {
|
|
if m != nil {
|
|
return m.JoinSource
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *JoinGroupReq) GetInviterUserID() string {
|
|
if m != nil {
|
|
return m.InviterUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type JoinGroupResp struct {
|
|
}
|
|
|
|
func (m *JoinGroupResp) Reset() { *m = JoinGroupResp{} }
|
|
func (m *JoinGroupResp) String() string { return proto.CompactTextString(m) }
|
|
func (*JoinGroupResp) ProtoMessage() {}
|
|
func (*JoinGroupResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{13}
|
|
}
|
|
func (m *JoinGroupResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *JoinGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_JoinGroupResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *JoinGroupResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_JoinGroupResp.Merge(m, src)
|
|
}
|
|
func (m *JoinGroupResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *JoinGroupResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_JoinGroupResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_JoinGroupResp proto.InternalMessageInfo
|
|
|
|
type GroupApplicationResponseReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID"`
|
|
HandledMsg string `protobuf:"bytes,3,opt,name=handledMsg,proto3" json:"handledMsg"`
|
|
HandleResult int32 `protobuf:"varint,4,opt,name=handleResult,proto3" json:"handleResult"`
|
|
}
|
|
|
|
func (m *GroupApplicationResponseReq) Reset() { *m = GroupApplicationResponseReq{} }
|
|
func (m *GroupApplicationResponseReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GroupApplicationResponseReq) ProtoMessage() {}
|
|
func (*GroupApplicationResponseReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{14}
|
|
}
|
|
func (m *GroupApplicationResponseReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GroupApplicationResponseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GroupApplicationResponseReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GroupApplicationResponseReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GroupApplicationResponseReq.Merge(m, src)
|
|
}
|
|
func (m *GroupApplicationResponseReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GroupApplicationResponseReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GroupApplicationResponseReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GroupApplicationResponseReq proto.InternalMessageInfo
|
|
|
|
func (m *GroupApplicationResponseReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GroupApplicationResponseReq) GetFromUserID() string {
|
|
if m != nil {
|
|
return m.FromUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GroupApplicationResponseReq) GetHandledMsg() string {
|
|
if m != nil {
|
|
return m.HandledMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GroupApplicationResponseReq) GetHandleResult() int32 {
|
|
if m != nil {
|
|
return m.HandleResult
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GroupApplicationResponseResp struct {
|
|
}
|
|
|
|
func (m *GroupApplicationResponseResp) Reset() { *m = GroupApplicationResponseResp{} }
|
|
func (m *GroupApplicationResponseResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GroupApplicationResponseResp) ProtoMessage() {}
|
|
func (*GroupApplicationResponseResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{15}
|
|
}
|
|
func (m *GroupApplicationResponseResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GroupApplicationResponseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GroupApplicationResponseResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GroupApplicationResponseResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GroupApplicationResponseResp.Merge(m, src)
|
|
}
|
|
func (m *GroupApplicationResponseResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GroupApplicationResponseResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GroupApplicationResponseResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GroupApplicationResponseResp proto.InternalMessageInfo
|
|
|
|
type QuitGroupReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
}
|
|
|
|
func (m *QuitGroupReq) Reset() { *m = QuitGroupReq{} }
|
|
func (m *QuitGroupReq) String() string { return proto.CompactTextString(m) }
|
|
func (*QuitGroupReq) ProtoMessage() {}
|
|
func (*QuitGroupReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{16}
|
|
}
|
|
func (m *QuitGroupReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *QuitGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_QuitGroupReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *QuitGroupReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QuitGroupReq.Merge(m, src)
|
|
}
|
|
func (m *QuitGroupReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *QuitGroupReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QuitGroupReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QuitGroupReq proto.InternalMessageInfo
|
|
|
|
func (m *QuitGroupReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QuitGroupResp struct {
|
|
}
|
|
|
|
func (m *QuitGroupResp) Reset() { *m = QuitGroupResp{} }
|
|
func (m *QuitGroupResp) String() string { return proto.CompactTextString(m) }
|
|
func (*QuitGroupResp) ProtoMessage() {}
|
|
func (*QuitGroupResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{17}
|
|
}
|
|
func (m *QuitGroupResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *QuitGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_QuitGroupResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *QuitGroupResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_QuitGroupResp.Merge(m, src)
|
|
}
|
|
func (m *QuitGroupResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *QuitGroupResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_QuitGroupResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_QuitGroupResp proto.InternalMessageInfo
|
|
|
|
type GetGroupMemberListReq struct {
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
|
Filter int32 `protobuf:"varint,3,opt,name=filter,proto3" json:"filter"`
|
|
}
|
|
|
|
func (m *GetGroupMemberListReq) Reset() { *m = GetGroupMemberListReq{} }
|
|
func (m *GetGroupMemberListReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMemberListReq) ProtoMessage() {}
|
|
func (*GetGroupMemberListReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{18}
|
|
}
|
|
func (m *GetGroupMemberListReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMemberListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMemberListReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMemberListReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMemberListReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMemberListReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMemberListReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMemberListReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMemberListReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMemberListReq) GetPagination() *sdkws.RequestPagination {
|
|
if m != nil {
|
|
return m.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetGroupMemberListReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetGroupMemberListReq) GetFilter() int32 {
|
|
if m != nil {
|
|
return m.Filter
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGroupMemberListResp struct {
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
|
|
}
|
|
|
|
func (m *GetGroupMemberListResp) Reset() { *m = GetGroupMemberListResp{} }
|
|
func (m *GetGroupMemberListResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMemberListResp) ProtoMessage() {}
|
|
func (*GetGroupMemberListResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{19}
|
|
}
|
|
func (m *GetGroupMemberListResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMemberListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMemberListResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMemberListResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMemberListResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMemberListResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMemberListResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMemberListResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMemberListResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMemberListResp) GetTotal() uint32 {
|
|
if m != nil {
|
|
return m.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetGroupMemberListResp) GetMembers() []*sdkws.GroupMemberFullInfo {
|
|
if m != nil {
|
|
return m.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupMembersInfoReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoReq) Reset() { *m = GetGroupMembersInfoReq{} }
|
|
func (m *GetGroupMembersInfoReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMembersInfoReq) ProtoMessage() {}
|
|
func (*GetGroupMembersInfoReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{20}
|
|
}
|
|
func (m *GetGroupMembersInfoReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMembersInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMembersInfoReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMembersInfoReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMembersInfoReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMembersInfoReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMembersInfoReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMembersInfoReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMembersInfoReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMembersInfoReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoReq) GetMembers() []string {
|
|
if m != nil {
|
|
return m.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupMembersInfoResp struct {
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoResp) Reset() { *m = GetGroupMembersInfoResp{} }
|
|
func (m *GetGroupMembersInfoResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMembersInfoResp) ProtoMessage() {}
|
|
func (*GetGroupMembersInfoResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{21}
|
|
}
|
|
func (m *GetGroupMembersInfoResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMembersInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMembersInfoResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMembersInfoResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMembersInfoResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMembersInfoResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMembersInfoResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMembersInfoResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMembersInfoResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMembersInfoResp) GetMembers() []*sdkws.GroupMemberFullInfo {
|
|
if m != nil {
|
|
return m.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type KickGroupMemberReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
KickedUserIDs []string `protobuf:"bytes,2,rep,name=kickedUserIDs,proto3" json:"kickedUserIDs"`
|
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason"`
|
|
}
|
|
|
|
func (m *KickGroupMemberReq) Reset() { *m = KickGroupMemberReq{} }
|
|
func (m *KickGroupMemberReq) String() string { return proto.CompactTextString(m) }
|
|
func (*KickGroupMemberReq) ProtoMessage() {}
|
|
func (*KickGroupMemberReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{22}
|
|
}
|
|
func (m *KickGroupMemberReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KickGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_KickGroupMemberReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *KickGroupMemberReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KickGroupMemberReq.Merge(m, src)
|
|
}
|
|
func (m *KickGroupMemberReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KickGroupMemberReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KickGroupMemberReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KickGroupMemberReq proto.InternalMessageInfo
|
|
|
|
func (m *KickGroupMemberReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *KickGroupMemberReq) GetKickedUserIDs() []string {
|
|
if m != nil {
|
|
return m.KickedUserIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *KickGroupMemberReq) GetReason() string {
|
|
if m != nil {
|
|
return m.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type KickGroupMemberResp struct {
|
|
}
|
|
|
|
func (m *KickGroupMemberResp) Reset() { *m = KickGroupMemberResp{} }
|
|
func (m *KickGroupMemberResp) String() string { return proto.CompactTextString(m) }
|
|
func (*KickGroupMemberResp) ProtoMessage() {}
|
|
func (*KickGroupMemberResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{23}
|
|
}
|
|
func (m *KickGroupMemberResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *KickGroupMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_KickGroupMemberResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *KickGroupMemberResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_KickGroupMemberResp.Merge(m, src)
|
|
}
|
|
func (m *KickGroupMemberResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *KickGroupMemberResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_KickGroupMemberResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_KickGroupMemberResp proto.InternalMessageInfo
|
|
|
|
type GetJoinedGroupListReq struct {
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID"`
|
|
}
|
|
|
|
func (m *GetJoinedGroupListReq) Reset() { *m = GetJoinedGroupListReq{} }
|
|
func (m *GetJoinedGroupListReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetJoinedGroupListReq) ProtoMessage() {}
|
|
func (*GetJoinedGroupListReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{24}
|
|
}
|
|
func (m *GetJoinedGroupListReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetJoinedGroupListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetJoinedGroupListReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetJoinedGroupListReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetJoinedGroupListReq.Merge(m, src)
|
|
}
|
|
func (m *GetJoinedGroupListReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetJoinedGroupListReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetJoinedGroupListReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetJoinedGroupListReq proto.InternalMessageInfo
|
|
|
|
func (m *GetJoinedGroupListReq) GetPagination() *sdkws.RequestPagination {
|
|
if m != nil {
|
|
return m.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetJoinedGroupListReq) GetFromUserID() string {
|
|
if m != nil {
|
|
return m.FromUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetJoinedGroupListResp struct {
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
Groups []*sdkws.GroupInfo `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups"`
|
|
}
|
|
|
|
func (m *GetJoinedGroupListResp) Reset() { *m = GetJoinedGroupListResp{} }
|
|
func (m *GetJoinedGroupListResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetJoinedGroupListResp) ProtoMessage() {}
|
|
func (*GetJoinedGroupListResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{25}
|
|
}
|
|
func (m *GetJoinedGroupListResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetJoinedGroupListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetJoinedGroupListResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetJoinedGroupListResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetJoinedGroupListResp.Merge(m, src)
|
|
}
|
|
func (m *GetJoinedGroupListResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetJoinedGroupListResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetJoinedGroupListResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetJoinedGroupListResp proto.InternalMessageInfo
|
|
|
|
func (m *GetJoinedGroupListResp) GetTotal() uint32 {
|
|
if m != nil {
|
|
return m.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetJoinedGroupListResp) GetGroups() []*sdkws.GroupInfo {
|
|
if m != nil {
|
|
return m.Groups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InviteUserToGroupReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason"`
|
|
InvitedUserIDs []string `protobuf:"bytes,3,rep,name=invitedUserIDs,proto3" json:"invitedUserIDs"`
|
|
}
|
|
|
|
func (m *InviteUserToGroupReq) Reset() { *m = InviteUserToGroupReq{} }
|
|
func (m *InviteUserToGroupReq) String() string { return proto.CompactTextString(m) }
|
|
func (*InviteUserToGroupReq) ProtoMessage() {}
|
|
func (*InviteUserToGroupReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{26}
|
|
}
|
|
func (m *InviteUserToGroupReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *InviteUserToGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_InviteUserToGroupReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *InviteUserToGroupReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InviteUserToGroupReq.Merge(m, src)
|
|
}
|
|
func (m *InviteUserToGroupReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *InviteUserToGroupReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InviteUserToGroupReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InviteUserToGroupReq proto.InternalMessageInfo
|
|
|
|
func (m *InviteUserToGroupReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *InviteUserToGroupReq) GetReason() string {
|
|
if m != nil {
|
|
return m.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *InviteUserToGroupReq) GetInvitedUserIDs() []string {
|
|
if m != nil {
|
|
return m.InvitedUserIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InviteUserToGroupResp struct {
|
|
}
|
|
|
|
func (m *InviteUserToGroupResp) Reset() { *m = InviteUserToGroupResp{} }
|
|
func (m *InviteUserToGroupResp) String() string { return proto.CompactTextString(m) }
|
|
func (*InviteUserToGroupResp) ProtoMessage() {}
|
|
func (*InviteUserToGroupResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{27}
|
|
}
|
|
func (m *InviteUserToGroupResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *InviteUserToGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_InviteUserToGroupResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *InviteUserToGroupResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InviteUserToGroupResp.Merge(m, src)
|
|
}
|
|
func (m *InviteUserToGroupResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *InviteUserToGroupResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InviteUserToGroupResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InviteUserToGroupResp proto.InternalMessageInfo
|
|
|
|
type GetGroupAllMemberReq struct {
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
|
}
|
|
|
|
func (m *GetGroupAllMemberReq) Reset() { *m = GetGroupAllMemberReq{} }
|
|
func (m *GetGroupAllMemberReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupAllMemberReq) ProtoMessage() {}
|
|
func (*GetGroupAllMemberReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{28}
|
|
}
|
|
func (m *GetGroupAllMemberReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupAllMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupAllMemberReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupAllMemberReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupAllMemberReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupAllMemberReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupAllMemberReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupAllMemberReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupAllMemberReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupAllMemberReq) GetPagination() *sdkws.RequestPagination {
|
|
if m != nil {
|
|
return m.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetGroupAllMemberReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupAllMemberResp struct {
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
}
|
|
|
|
func (m *GetGroupAllMemberResp) Reset() { *m = GetGroupAllMemberResp{} }
|
|
func (m *GetGroupAllMemberResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupAllMemberResp) ProtoMessage() {}
|
|
func (*GetGroupAllMemberResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{29}
|
|
}
|
|
func (m *GetGroupAllMemberResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupAllMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupAllMemberResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupAllMemberResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupAllMemberResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupAllMemberResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupAllMemberResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupAllMemberResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupAllMemberResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupAllMemberResp) GetMembers() []*sdkws.GroupMemberFullInfo {
|
|
if m != nil {
|
|
return m.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CMSGroup struct {
|
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo"`
|
|
GroupOwnerUserName string `protobuf:"bytes,2,opt,name=groupOwnerUserName,proto3" json:"groupOwnerUserName"`
|
|
GroupOwnerUserID string `protobuf:"bytes,3,opt,name=groupOwnerUserID,proto3" json:"groupOwnerUserID"`
|
|
}
|
|
|
|
func (m *CMSGroup) Reset() { *m = CMSGroup{} }
|
|
func (m *CMSGroup) String() string { return proto.CompactTextString(m) }
|
|
func (*CMSGroup) ProtoMessage() {}
|
|
func (*CMSGroup) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{30}
|
|
}
|
|
func (m *CMSGroup) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CMSGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CMSGroup.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *CMSGroup) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CMSGroup.Merge(m, src)
|
|
}
|
|
func (m *CMSGroup) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CMSGroup) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CMSGroup.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CMSGroup proto.InternalMessageInfo
|
|
|
|
func (m *CMSGroup) GetGroupInfo() *sdkws.GroupInfo {
|
|
if m != nil {
|
|
return m.GroupInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CMSGroup) GetGroupOwnerUserName() string {
|
|
if m != nil {
|
|
return m.GroupOwnerUserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CMSGroup) GetGroupOwnerUserID() string {
|
|
if m != nil {
|
|
return m.GroupOwnerUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupsReq struct {
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
|
|
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID"`
|
|
}
|
|
|
|
func (m *GetGroupsReq) Reset() { *m = GetGroupsReq{} }
|
|
func (m *GetGroupsReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupsReq) ProtoMessage() {}
|
|
func (*GetGroupsReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{31}
|
|
}
|
|
func (m *GetGroupsReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupsReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupsReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupsReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupsReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupsReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupsReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupsReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupsReq) GetPagination() *sdkws.RequestPagination {
|
|
if m != nil {
|
|
return m.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetGroupsReq) GetGroupName() string {
|
|
if m != nil {
|
|
return m.GroupName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetGroupsReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupsResp struct {
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
Groups []*CMSGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups"`
|
|
}
|
|
|
|
func (m *GetGroupsResp) Reset() { *m = GetGroupsResp{} }
|
|
func (m *GetGroupsResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupsResp) ProtoMessage() {}
|
|
func (*GetGroupsResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{32}
|
|
}
|
|
func (m *GetGroupsResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupsResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupsResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupsResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupsResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupsResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupsResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupsResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupsResp) GetTotal() uint32 {
|
|
if m != nil {
|
|
return m.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetGroupsResp) GetGroups() []*CMSGroup {
|
|
if m != nil {
|
|
return m.Groups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupMemberReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
}
|
|
|
|
func (m *GetGroupMemberReq) Reset() { *m = GetGroupMemberReq{} }
|
|
func (m *GetGroupMemberReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMemberReq) ProtoMessage() {}
|
|
func (*GetGroupMemberReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{33}
|
|
}
|
|
func (m *GetGroupMemberReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMemberReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMemberReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMemberReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMemberReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMemberReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMemberReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMemberReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMemberReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupMembersCMSReq struct {
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
|
UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"`
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSReq) Reset() { *m = GetGroupMembersCMSReq{} }
|
|
func (m *GetGroupMembersCMSReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMembersCMSReq) ProtoMessage() {}
|
|
func (*GetGroupMembersCMSReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{34}
|
|
}
|
|
func (m *GetGroupMembersCMSReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMembersCMSReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMembersCMSReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMembersCMSReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMembersCMSReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMembersCMSReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMembersCMSReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMembersCMSReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMembersCMSReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMembersCMSReq) GetPagination() *sdkws.RequestPagination {
|
|
if m != nil {
|
|
return m.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSReq) GetUserName() string {
|
|
if m != nil {
|
|
return m.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupMembersCMSResp struct {
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSResp) Reset() { *m = GetGroupMembersCMSResp{} }
|
|
func (m *GetGroupMembersCMSResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMembersCMSResp) ProtoMessage() {}
|
|
func (*GetGroupMembersCMSResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{35}
|
|
}
|
|
func (m *GetGroupMembersCMSResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMembersCMSResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMembersCMSResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMembersCMSResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMembersCMSResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMembersCMSResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMembersCMSResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMembersCMSResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMembersCMSResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMembersCMSResp) GetTotal() uint32 {
|
|
if m != nil {
|
|
return m.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSResp) GetMembers() []*sdkws.GroupMemberFullInfo {
|
|
if m != nil {
|
|
return m.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DismissGroupReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
}
|
|
|
|
func (m *DismissGroupReq) Reset() { *m = DismissGroupReq{} }
|
|
func (m *DismissGroupReq) String() string { return proto.CompactTextString(m) }
|
|
func (*DismissGroupReq) ProtoMessage() {}
|
|
func (*DismissGroupReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{36}
|
|
}
|
|
func (m *DismissGroupReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DismissGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DismissGroupReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *DismissGroupReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DismissGroupReq.Merge(m, src)
|
|
}
|
|
func (m *DismissGroupReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DismissGroupReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DismissGroupReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DismissGroupReq proto.InternalMessageInfo
|
|
|
|
func (m *DismissGroupReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DismissGroupResp struct {
|
|
}
|
|
|
|
func (m *DismissGroupResp) Reset() { *m = DismissGroupResp{} }
|
|
func (m *DismissGroupResp) String() string { return proto.CompactTextString(m) }
|
|
func (*DismissGroupResp) ProtoMessage() {}
|
|
func (*DismissGroupResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{37}
|
|
}
|
|
func (m *DismissGroupResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *DismissGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_DismissGroupResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *DismissGroupResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DismissGroupResp.Merge(m, src)
|
|
}
|
|
func (m *DismissGroupResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *DismissGroupResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DismissGroupResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DismissGroupResp proto.InternalMessageInfo
|
|
|
|
type MuteGroupMemberReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
|
MutedSeconds uint32 `protobuf:"varint,3,opt,name=mutedSeconds,proto3" json:"mutedSeconds"`
|
|
}
|
|
|
|
func (m *MuteGroupMemberReq) Reset() { *m = MuteGroupMemberReq{} }
|
|
func (m *MuteGroupMemberReq) String() string { return proto.CompactTextString(m) }
|
|
func (*MuteGroupMemberReq) ProtoMessage() {}
|
|
func (*MuteGroupMemberReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{38}
|
|
}
|
|
func (m *MuteGroupMemberReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *MuteGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_MuteGroupMemberReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *MuteGroupMemberReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MuteGroupMemberReq.Merge(m, src)
|
|
}
|
|
func (m *MuteGroupMemberReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *MuteGroupMemberReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MuteGroupMemberReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MuteGroupMemberReq proto.InternalMessageInfo
|
|
|
|
func (m *MuteGroupMemberReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MuteGroupMemberReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MuteGroupMemberReq) GetMutedSeconds() uint32 {
|
|
if m != nil {
|
|
return m.MutedSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MuteGroupMemberResp struct {
|
|
}
|
|
|
|
func (m *MuteGroupMemberResp) Reset() { *m = MuteGroupMemberResp{} }
|
|
func (m *MuteGroupMemberResp) String() string { return proto.CompactTextString(m) }
|
|
func (*MuteGroupMemberResp) ProtoMessage() {}
|
|
func (*MuteGroupMemberResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{39}
|
|
}
|
|
func (m *MuteGroupMemberResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *MuteGroupMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_MuteGroupMemberResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *MuteGroupMemberResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MuteGroupMemberResp.Merge(m, src)
|
|
}
|
|
func (m *MuteGroupMemberResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *MuteGroupMemberResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MuteGroupMemberResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MuteGroupMemberResp proto.InternalMessageInfo
|
|
|
|
type CancelMuteGroupMemberReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberReq) Reset() { *m = CancelMuteGroupMemberReq{} }
|
|
func (m *CancelMuteGroupMemberReq) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelMuteGroupMemberReq) ProtoMessage() {}
|
|
func (*CancelMuteGroupMemberReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{40}
|
|
}
|
|
func (m *CancelMuteGroupMemberReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CancelMuteGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CancelMuteGroupMemberReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *CancelMuteGroupMemberReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelMuteGroupMemberReq.Merge(m, src)
|
|
}
|
|
func (m *CancelMuteGroupMemberReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CancelMuteGroupMemberReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelMuteGroupMemberReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelMuteGroupMemberReq proto.InternalMessageInfo
|
|
|
|
func (m *CancelMuteGroupMemberReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelMuteGroupMemberResp struct {
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberResp) Reset() { *m = CancelMuteGroupMemberResp{} }
|
|
func (m *CancelMuteGroupMemberResp) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelMuteGroupMemberResp) ProtoMessage() {}
|
|
func (*CancelMuteGroupMemberResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{41}
|
|
}
|
|
func (m *CancelMuteGroupMemberResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CancelMuteGroupMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CancelMuteGroupMemberResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *CancelMuteGroupMemberResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelMuteGroupMemberResp.Merge(m, src)
|
|
}
|
|
func (m *CancelMuteGroupMemberResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CancelMuteGroupMemberResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelMuteGroupMemberResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelMuteGroupMemberResp proto.InternalMessageInfo
|
|
|
|
type MuteGroupReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
}
|
|
|
|
func (m *MuteGroupReq) Reset() { *m = MuteGroupReq{} }
|
|
func (m *MuteGroupReq) String() string { return proto.CompactTextString(m) }
|
|
func (*MuteGroupReq) ProtoMessage() {}
|
|
func (*MuteGroupReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{42}
|
|
}
|
|
func (m *MuteGroupReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *MuteGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_MuteGroupReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *MuteGroupReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MuteGroupReq.Merge(m, src)
|
|
}
|
|
func (m *MuteGroupReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *MuteGroupReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MuteGroupReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MuteGroupReq proto.InternalMessageInfo
|
|
|
|
func (m *MuteGroupReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MuteGroupResp struct {
|
|
}
|
|
|
|
func (m *MuteGroupResp) Reset() { *m = MuteGroupResp{} }
|
|
func (m *MuteGroupResp) String() string { return proto.CompactTextString(m) }
|
|
func (*MuteGroupResp) ProtoMessage() {}
|
|
func (*MuteGroupResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{43}
|
|
}
|
|
func (m *MuteGroupResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *MuteGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_MuteGroupResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *MuteGroupResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MuteGroupResp.Merge(m, src)
|
|
}
|
|
func (m *MuteGroupResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *MuteGroupResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MuteGroupResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MuteGroupResp proto.InternalMessageInfo
|
|
|
|
type CancelMuteGroupReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
}
|
|
|
|
func (m *CancelMuteGroupReq) Reset() { *m = CancelMuteGroupReq{} }
|
|
func (m *CancelMuteGroupReq) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelMuteGroupReq) ProtoMessage() {}
|
|
func (*CancelMuteGroupReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{44}
|
|
}
|
|
func (m *CancelMuteGroupReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CancelMuteGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CancelMuteGroupReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *CancelMuteGroupReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelMuteGroupReq.Merge(m, src)
|
|
}
|
|
func (m *CancelMuteGroupReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CancelMuteGroupReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelMuteGroupReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelMuteGroupReq proto.InternalMessageInfo
|
|
|
|
func (m *CancelMuteGroupReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelMuteGroupResp struct {
|
|
}
|
|
|
|
func (m *CancelMuteGroupResp) Reset() { *m = CancelMuteGroupResp{} }
|
|
func (m *CancelMuteGroupResp) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelMuteGroupResp) ProtoMessage() {}
|
|
func (*CancelMuteGroupResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{45}
|
|
}
|
|
func (m *CancelMuteGroupResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CancelMuteGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CancelMuteGroupResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *CancelMuteGroupResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelMuteGroupResp.Merge(m, src)
|
|
}
|
|
func (m *CancelMuteGroupResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CancelMuteGroupResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelMuteGroupResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelMuteGroupResp proto.InternalMessageInfo
|
|
|
|
type GetJoinedSuperGroupListReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListReq) Reset() { *m = GetJoinedSuperGroupListReq{} }
|
|
func (m *GetJoinedSuperGroupListReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetJoinedSuperGroupListReq) ProtoMessage() {}
|
|
func (*GetJoinedSuperGroupListReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{46}
|
|
}
|
|
func (m *GetJoinedSuperGroupListReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetJoinedSuperGroupListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetJoinedSuperGroupListReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetJoinedSuperGroupListReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetJoinedSuperGroupListReq.Merge(m, src)
|
|
}
|
|
func (m *GetJoinedSuperGroupListReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetJoinedSuperGroupListReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetJoinedSuperGroupListReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetJoinedSuperGroupListReq proto.InternalMessageInfo
|
|
|
|
func (m *GetJoinedSuperGroupListReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetJoinedSuperGroupListResp struct {
|
|
Groups []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups"`
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListResp) Reset() { *m = GetJoinedSuperGroupListResp{} }
|
|
func (m *GetJoinedSuperGroupListResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetJoinedSuperGroupListResp) ProtoMessage() {}
|
|
func (*GetJoinedSuperGroupListResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{47}
|
|
}
|
|
func (m *GetJoinedSuperGroupListResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetJoinedSuperGroupListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetJoinedSuperGroupListResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetJoinedSuperGroupListResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetJoinedSuperGroupListResp.Merge(m, src)
|
|
}
|
|
func (m *GetJoinedSuperGroupListResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetJoinedSuperGroupListResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetJoinedSuperGroupListResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetJoinedSuperGroupListResp proto.InternalMessageInfo
|
|
|
|
func (m *GetJoinedSuperGroupListResp) GetGroups() []*sdkws.GroupInfo {
|
|
if m != nil {
|
|
return m.Groups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSuperGroupsInfoReq struct {
|
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs"`
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoReq) Reset() { *m = GetSuperGroupsInfoReq{} }
|
|
func (m *GetSuperGroupsInfoReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSuperGroupsInfoReq) ProtoMessage() {}
|
|
func (*GetSuperGroupsInfoReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{48}
|
|
}
|
|
func (m *GetSuperGroupsInfoReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetSuperGroupsInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetSuperGroupsInfoReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetSuperGroupsInfoReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSuperGroupsInfoReq.Merge(m, src)
|
|
}
|
|
func (m *GetSuperGroupsInfoReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetSuperGroupsInfoReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSuperGroupsInfoReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSuperGroupsInfoReq proto.InternalMessageInfo
|
|
|
|
func (m *GetSuperGroupsInfoReq) GetGroupIDs() []string {
|
|
if m != nil {
|
|
return m.GroupIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSuperGroupsInfoResp struct {
|
|
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos"`
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoResp) Reset() { *m = GetSuperGroupsInfoResp{} }
|
|
func (m *GetSuperGroupsInfoResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSuperGroupsInfoResp) ProtoMessage() {}
|
|
func (*GetSuperGroupsInfoResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{49}
|
|
}
|
|
func (m *GetSuperGroupsInfoResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetSuperGroupsInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetSuperGroupsInfoResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetSuperGroupsInfoResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSuperGroupsInfoResp.Merge(m, src)
|
|
}
|
|
func (m *GetSuperGroupsInfoResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetSuperGroupsInfoResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSuperGroupsInfoResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSuperGroupsInfoResp proto.InternalMessageInfo
|
|
|
|
func (m *GetSuperGroupsInfoResp) GetGroupInfos() []*sdkws.GroupInfo {
|
|
if m != nil {
|
|
return m.GroupInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetGroupMemberInfo struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
|
Nickname *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname"`
|
|
FaceURL *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=faceURL,proto3" json:"faceURL"`
|
|
RoleLevel *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=roleLevel,proto3" json:"roleLevel"`
|
|
Ex *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex"`
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) Reset() { *m = SetGroupMemberInfo{} }
|
|
func (m *SetGroupMemberInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SetGroupMemberInfo) ProtoMessage() {}
|
|
func (*SetGroupMemberInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{50}
|
|
}
|
|
func (m *SetGroupMemberInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SetGroupMemberInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SetGroupMemberInfo.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *SetGroupMemberInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetGroupMemberInfo.Merge(m, src)
|
|
}
|
|
func (m *SetGroupMemberInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SetGroupMemberInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetGroupMemberInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetGroupMemberInfo proto.InternalMessageInfo
|
|
|
|
func (m *SetGroupMemberInfo) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) GetNickname() *wrapperspb.StringValue {
|
|
if m != nil {
|
|
return m.Nickname
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) GetFaceURL() *wrapperspb.StringValue {
|
|
if m != nil {
|
|
return m.FaceURL
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) GetRoleLevel() *wrapperspb.Int32Value {
|
|
if m != nil {
|
|
return m.RoleLevel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) GetEx() *wrapperspb.StringValue {
|
|
if m != nil {
|
|
return m.Ex
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetGroupMemberInfoReq struct {
|
|
Members []*SetGroupMemberInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoReq) Reset() { *m = SetGroupMemberInfoReq{} }
|
|
func (m *SetGroupMemberInfoReq) String() string { return proto.CompactTextString(m) }
|
|
func (*SetGroupMemberInfoReq) ProtoMessage() {}
|
|
func (*SetGroupMemberInfoReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{51}
|
|
}
|
|
func (m *SetGroupMemberInfoReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SetGroupMemberInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SetGroupMemberInfoReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *SetGroupMemberInfoReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetGroupMemberInfoReq.Merge(m, src)
|
|
}
|
|
func (m *SetGroupMemberInfoReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SetGroupMemberInfoReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetGroupMemberInfoReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetGroupMemberInfoReq proto.InternalMessageInfo
|
|
|
|
func (m *SetGroupMemberInfoReq) GetMembers() []*SetGroupMemberInfo {
|
|
if m != nil {
|
|
return m.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetGroupMemberInfoResp struct {
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoResp) Reset() { *m = SetGroupMemberInfoResp{} }
|
|
func (m *SetGroupMemberInfoResp) String() string { return proto.CompactTextString(m) }
|
|
func (*SetGroupMemberInfoResp) ProtoMessage() {}
|
|
func (*SetGroupMemberInfoResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{52}
|
|
}
|
|
func (m *SetGroupMemberInfoResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *SetGroupMemberInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_SetGroupMemberInfoResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *SetGroupMemberInfoResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetGroupMemberInfoResp.Merge(m, src)
|
|
}
|
|
func (m *SetGroupMemberInfoResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *SetGroupMemberInfoResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetGroupMemberInfoResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetGroupMemberInfoResp proto.InternalMessageInfo
|
|
|
|
type GetGroupAbstractInfoReq struct {
|
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs"`
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoReq) Reset() { *m = GetGroupAbstractInfoReq{} }
|
|
func (m *GetGroupAbstractInfoReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupAbstractInfoReq) ProtoMessage() {}
|
|
func (*GetGroupAbstractInfoReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{53}
|
|
}
|
|
func (m *GetGroupAbstractInfoReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupAbstractInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupAbstractInfoReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupAbstractInfoReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupAbstractInfoReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupAbstractInfoReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupAbstractInfoReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupAbstractInfoReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupAbstractInfoReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupAbstractInfoReq) GetGroupIDs() []string {
|
|
if m != nil {
|
|
return m.GroupIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupAbstractInfo struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
GroupMemberNumber uint32 `protobuf:"varint,2,opt,name=groupMemberNumber,proto3" json:"groupMemberNumber"`
|
|
GroupMemberListHash uint64 `protobuf:"varint,3,opt,name=groupMemberListHash,proto3" json:"groupMemberListHash"`
|
|
}
|
|
|
|
func (m *GroupAbstractInfo) Reset() { *m = GroupAbstractInfo{} }
|
|
func (m *GroupAbstractInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*GroupAbstractInfo) ProtoMessage() {}
|
|
func (*GroupAbstractInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{54}
|
|
}
|
|
func (m *GroupAbstractInfo) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GroupAbstractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GroupAbstractInfo.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GroupAbstractInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GroupAbstractInfo.Merge(m, src)
|
|
}
|
|
func (m *GroupAbstractInfo) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GroupAbstractInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GroupAbstractInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GroupAbstractInfo proto.InternalMessageInfo
|
|
|
|
func (m *GroupAbstractInfo) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GroupAbstractInfo) GetGroupMemberNumber() uint32 {
|
|
if m != nil {
|
|
return m.GroupMemberNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GroupAbstractInfo) GetGroupMemberListHash() uint64 {
|
|
if m != nil {
|
|
return m.GroupMemberListHash
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetGroupAbstractInfoResp struct {
|
|
GroupAbstractInfos []*GroupAbstractInfo `protobuf:"bytes,1,rep,name=groupAbstractInfos,proto3" json:"groupAbstractInfos"`
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoResp) Reset() { *m = GetGroupAbstractInfoResp{} }
|
|
func (m *GetGroupAbstractInfoResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupAbstractInfoResp) ProtoMessage() {}
|
|
func (*GetGroupAbstractInfoResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{55}
|
|
}
|
|
func (m *GetGroupAbstractInfoResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupAbstractInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupAbstractInfoResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupAbstractInfoResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupAbstractInfoResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupAbstractInfoResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupAbstractInfoResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupAbstractInfoResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupAbstractInfoResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupAbstractInfoResp) GetGroupAbstractInfos() []*GroupAbstractInfo {
|
|
if m != nil {
|
|
return m.GroupAbstractInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserInGroupMembersReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
|
GroupIDs []string `protobuf:"bytes,2,rep,name=groupIDs,proto3" json:"groupIDs"`
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersReq) Reset() { *m = GetUserInGroupMembersReq{} }
|
|
func (m *GetUserInGroupMembersReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserInGroupMembersReq) ProtoMessage() {}
|
|
func (*GetUserInGroupMembersReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{56}
|
|
}
|
|
func (m *GetUserInGroupMembersReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetUserInGroupMembersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetUserInGroupMembersReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetUserInGroupMembersReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserInGroupMembersReq.Merge(m, src)
|
|
}
|
|
func (m *GetUserInGroupMembersReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetUserInGroupMembersReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserInGroupMembersReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserInGroupMembersReq proto.InternalMessageInfo
|
|
|
|
func (m *GetUserInGroupMembersReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersReq) GetGroupIDs() []string {
|
|
if m != nil {
|
|
return m.GroupIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserInGroupMembersResp struct {
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersResp) Reset() { *m = GetUserInGroupMembersResp{} }
|
|
func (m *GetUserInGroupMembersResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserInGroupMembersResp) ProtoMessage() {}
|
|
func (*GetUserInGroupMembersResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{57}
|
|
}
|
|
func (m *GetUserInGroupMembersResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetUserInGroupMembersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetUserInGroupMembersResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetUserInGroupMembersResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserInGroupMembersResp.Merge(m, src)
|
|
}
|
|
func (m *GetUserInGroupMembersResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetUserInGroupMembersResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserInGroupMembersResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserInGroupMembersResp proto.InternalMessageInfo
|
|
|
|
func (m *GetUserInGroupMembersResp) GetMembers() []*sdkws.GroupMemberFullInfo {
|
|
if m != nil {
|
|
return m.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupMemberUserIDReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDReq) Reset() { *m = GetGroupMemberUserIDReq{} }
|
|
func (m *GetGroupMemberUserIDReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMemberUserIDReq) ProtoMessage() {}
|
|
func (*GetGroupMemberUserIDReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{58}
|
|
}
|
|
func (m *GetGroupMemberUserIDReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMemberUserIDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMemberUserIDReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMemberUserIDReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMemberUserIDReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMemberUserIDReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMemberUserIDReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMemberUserIDReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMemberUserIDReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMemberUserIDReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetGroupMemberUserIDResp struct {
|
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDResp) Reset() { *m = GetGroupMemberUserIDResp{} }
|
|
func (m *GetGroupMemberUserIDResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMemberUserIDResp) ProtoMessage() {}
|
|
func (*GetGroupMemberUserIDResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{59}
|
|
}
|
|
func (m *GetGroupMemberUserIDResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMemberUserIDResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMemberUserIDResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMemberUserIDResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMemberUserIDResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMemberUserIDResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMemberUserIDResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMemberUserIDResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMemberUserIDResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMemberUserIDResp) GetUserIDs() []string {
|
|
if m != nil {
|
|
return m.UserIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupMemberRoleLevelReq struct {
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
RoleLevels []int32 `protobuf:"varint,2,rep,packed,name=roleLevels,proto3" json:"roleLevels"`
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelReq) Reset() { *m = GetGroupMemberRoleLevelReq{} }
|
|
func (m *GetGroupMemberRoleLevelReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMemberRoleLevelReq) ProtoMessage() {}
|
|
func (*GetGroupMemberRoleLevelReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{60}
|
|
}
|
|
func (m *GetGroupMemberRoleLevelReq) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMemberRoleLevelReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMemberRoleLevelReq.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMemberRoleLevelReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMemberRoleLevelReq.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMemberRoleLevelReq) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMemberRoleLevelReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMemberRoleLevelReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMemberRoleLevelReq proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMemberRoleLevelReq) GetGroupID() string {
|
|
if m != nil {
|
|
return m.GroupID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelReq) GetRoleLevels() []int32 {
|
|
if m != nil {
|
|
return m.RoleLevels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetGroupMemberRoleLevelResp struct {
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelResp) Reset() { *m = GetGroupMemberRoleLevelResp{} }
|
|
func (m *GetGroupMemberRoleLevelResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetGroupMemberRoleLevelResp) ProtoMessage() {}
|
|
func (*GetGroupMemberRoleLevelResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_6e2b031859d3bcfd, []int{61}
|
|
}
|
|
func (m *GetGroupMemberRoleLevelResp) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *GetGroupMemberRoleLevelResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_GetGroupMemberRoleLevelResp.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (m *GetGroupMemberRoleLevelResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetGroupMemberRoleLevelResp.Merge(m, src)
|
|
}
|
|
func (m *GetGroupMemberRoleLevelResp) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *GetGroupMemberRoleLevelResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetGroupMemberRoleLevelResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetGroupMemberRoleLevelResp proto.InternalMessageInfo
|
|
|
|
func (m *GetGroupMemberRoleLevelResp) GetMembers() []*sdkws.GroupMemberFullInfo {
|
|
if m != nil {
|
|
return m.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
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((*GetUserReqApplicationListReq)(nil), "group.GetUserReqApplicationListReq")
|
|
proto.RegisterType((*GetUserReqApplicationListResp)(nil), "group.GetUserReqApplicationListResp")
|
|
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((*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")
|
|
proto.RegisterType((*CMSGroup)(nil), "group.CMSGroup")
|
|
proto.RegisterType((*GetGroupsReq)(nil), "group.GetGroupsReq")
|
|
proto.RegisterType((*GetGroupsResp)(nil), "group.GetGroupsResp")
|
|
proto.RegisterType((*GetGroupMemberReq)(nil), "group.GetGroupMemberReq")
|
|
proto.RegisterType((*GetGroupMembersCMSReq)(nil), "group.GetGroupMembersCMSReq")
|
|
proto.RegisterType((*GetGroupMembersCMSResp)(nil), "group.GetGroupMembersCMSResp")
|
|
proto.RegisterType((*DismissGroupReq)(nil), "group.DismissGroupReq")
|
|
proto.RegisterType((*DismissGroupResp)(nil), "group.DismissGroupResp")
|
|
proto.RegisterType((*MuteGroupMemberReq)(nil), "group.MuteGroupMemberReq")
|
|
proto.RegisterType((*MuteGroupMemberResp)(nil), "group.MuteGroupMemberResp")
|
|
proto.RegisterType((*CancelMuteGroupMemberReq)(nil), "group.CancelMuteGroupMemberReq")
|
|
proto.RegisterType((*CancelMuteGroupMemberResp)(nil), "group.CancelMuteGroupMemberResp")
|
|
proto.RegisterType((*MuteGroupReq)(nil), "group.MuteGroupReq")
|
|
proto.RegisterType((*MuteGroupResp)(nil), "group.MuteGroupResp")
|
|
proto.RegisterType((*CancelMuteGroupReq)(nil), "group.CancelMuteGroupReq")
|
|
proto.RegisterType((*CancelMuteGroupResp)(nil), "group.CancelMuteGroupResp")
|
|
proto.RegisterType((*GetJoinedSuperGroupListReq)(nil), "group.GetJoinedSuperGroupListReq")
|
|
proto.RegisterType((*GetJoinedSuperGroupListResp)(nil), "group.GetJoinedSuperGroupListResp")
|
|
proto.RegisterType((*GetSuperGroupsInfoReq)(nil), "group.GetSuperGroupsInfoReq")
|
|
proto.RegisterType((*GetSuperGroupsInfoResp)(nil), "group.GetSuperGroupsInfoResp")
|
|
proto.RegisterType((*SetGroupMemberInfo)(nil), "group.SetGroupMemberInfo")
|
|
proto.RegisterType((*SetGroupMemberInfoReq)(nil), "group.SetGroupMemberInfoReq")
|
|
proto.RegisterType((*SetGroupMemberInfoResp)(nil), "group.SetGroupMemberInfoResp")
|
|
proto.RegisterType((*GetGroupAbstractInfoReq)(nil), "group.GetGroupAbstractInfoReq")
|
|
proto.RegisterType((*GroupAbstractInfo)(nil), "group.GroupAbstractInfo")
|
|
proto.RegisterType((*GetGroupAbstractInfoResp)(nil), "group.GetGroupAbstractInfoResp")
|
|
proto.RegisterType((*GetUserInGroupMembersReq)(nil), "group.GetUserInGroupMembersReq")
|
|
proto.RegisterType((*GetUserInGroupMembersResp)(nil), "group.GetUserInGroupMembersResp")
|
|
proto.RegisterType((*GetGroupMemberUserIDReq)(nil), "group.GetGroupMemberUserIDReq")
|
|
proto.RegisterType((*GetGroupMemberUserIDResp)(nil), "group.GetGroupMemberUserIDResp")
|
|
proto.RegisterType((*GetGroupMemberRoleLevelReq)(nil), "group.GetGroupMemberRoleLevelReq")
|
|
proto.RegisterType((*GetGroupMemberRoleLevelResp)(nil), "group.GetGroupMemberRoleLevelResp")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("group/group.proto", fileDescriptor_6e2b031859d3bcfd) }
|
|
|
|
var fileDescriptor_6e2b031859d3bcfd = []byte{
|
|
// 1851 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4f, 0x73, 0xdc, 0xb6,
|
|
0x15, 0x37, 0xd7, 0x91, 0x6c, 0x3d, 0x6b, 0x2d, 0x09, 0xfa, 0x47, 0x53, 0xca, 0x5a, 0x45, 0x3c,
|
|
0xad, 0xa7, 0x4d, 0xd7, 0x19, 0xcb, 0xf5, 0x24, 0xd3, 0xce, 0xa4, 0x8e, 0xdd, 0x28, 0x4a, 0x25,
|
|
0xb9, 0xe6, 0x3a, 0x69, 0x27, 0xa7, 0xd0, 0xbb, 0x10, 0x43, 0x8b, 0x4b, 0x42, 0x04, 0xd7, 0xce,
|
|
0xb1, 0x9d, 0x1e, 0x7a, 0x6a, 0xa7, 0xa7, 0x5e, 0x7a, 0xea, 0xad, 0x9f, 0xa2, 0xe7, 0x1e, 0x73,
|
|
0xec, 0xb1, 0x63, 0x7f, 0x91, 0x0c, 0x01, 0x10, 0x04, 0x09, 0x70, 0x77, 0xe3, 0x3f, 0x97, 0x9d,
|
|
0xe1, 0x7b, 0x0f, 0x78, 0x0f, 0x0f, 0xef, 0x3d, 0xfc, 0xde, 0x5b, 0x58, 0x0b, 0xb3, 0x74, 0x42,
|
|
0x6f, 0xf1, 0xdf, 0x3e, 0xcd, 0xd2, 0x3c, 0x45, 0x0b, 0xfc, 0xc3, 0xbb, 0xca, 0x46, 0x67, 0xcf,
|
|
0xd9, 0xad, 0xe7, 0x4c, 0x90, 0xbd, 0x0d, 0xf9, 0x9d, 0x05, 0x94, 0x92, 0x4c, 0x52, 0xf1, 0xbf,
|
|
0x1d, 0xb8, 0x7a, 0x3f, 0x23, 0x41, 0x4e, 0x0e, 0x8a, 0x55, 0x3e, 0x39, 0x47, 0x7b, 0x70, 0x25,
|
|
0x4a, 0xa2, 0xfc, 0x98, 0x8c, 0x9f, 0x90, 0x8c, 0xb9, 0xce, 0xde, 0xc5, 0x9b, 0x4b, 0xbe, 0x4e,
|
|
0x42, 0x7d, 0x58, 0xe2, 0x3a, 0x0e, 0x93, 0xd3, 0xd4, 0xed, 0xec, 0x39, 0x37, 0xaf, 0xdc, 0x5e,
|
|
0xed, 0xf3, 0xed, 0xfb, 0x07, 0x25, 0xdd, 0xaf, 0x44, 0x10, 0x86, 0xe5, 0x60, 0x34, 0x8e, 0x92,
|
|
0x2f, 0x18, 0xc9, 0x0e, 0x1f, 0x30, 0xf7, 0x22, 0xdf, 0xb2, 0x46, 0x2b, 0xb4, 0xa6, 0xcf, 0x13,
|
|
0x92, 0x89, 0x6f, 0xf7, 0x9d, 0x3d, 0xa7, 0xd0, 0xaa, 0x91, 0xf0, 0x3d, 0x58, 0xa9, 0x59, 0xca,
|
|
0x68, 0xdd, 0x10, 0x67, 0xa6, 0x21, 0xb8, 0x0f, 0xab, 0x07, 0x24, 0xe7, 0x2c, 0xc6, 0x79, 0xe4,
|
|
0x1c, 0x79, 0x70, 0x59, 0x08, 0x3c, 0x28, 0xcf, 0xaa, 0xbe, 0xf1, 0x6f, 0x60, 0xad, 0x21, 0xcf,
|
|
0x28, 0xfa, 0x00, 0x40, 0xed, 0x28, 0x96, 0xd8, 0xb4, 0x6a, 0x32, 0x78, 0x00, 0x2b, 0x03, 0xb9,
|
|
0x4d, 0xa9, 0xf5, 0xd7, 0xb0, 0xa2, 0x04, 0x3e, 0x4d, 0xb3, 0x01, 0xc9, 0xa5, 0xfd, 0x5b, 0xcd,
|
|
0x9d, 0x04, 0xd7, 0x6f, 0x8a, 0x63, 0x04, 0xab, 0xf5, 0x4d, 0x19, 0xc5, 0xcf, 0xc0, 0x2b, 0xed,
|
|
0xbd, 0x47, 0x69, 0x1c, 0x0d, 0x83, 0x3c, 0x4a, 0x93, 0xa3, 0x88, 0xe5, 0x85, 0xce, 0x0f, 0x01,
|
|
0x68, 0x10, 0x46, 0x09, 0x27, 0x4a, 0x75, 0xae, 0x54, 0xe7, 0x93, 0xf3, 0x09, 0x61, 0xf9, 0xef,
|
|
0x14, 0xdf, 0xd7, 0x64, 0x51, 0x0f, 0xe0, 0x34, 0x4b, 0xc7, 0xf2, 0x6e, 0x3a, 0xfc, 0x6e, 0x34,
|
|
0x0a, 0x4e, 0x60, 0xa7, 0x55, 0x2f, 0xa3, 0x68, 0x03, 0x16, 0xf2, 0x34, 0x0f, 0x62, 0xae, 0xb3,
|
|
0xeb, 0x8b, 0x0f, 0xf4, 0x11, 0x74, 0x43, 0x19, 0x73, 0x85, 0x6a, 0xe6, 0x76, 0xb8, 0x2b, 0xd7,
|
|
0x75, 0x07, 0x48, 0x9e, 0x5f, 0x97, 0xc4, 0x14, 0x76, 0x0f, 0x48, 0x5e, 0x28, 0xf7, 0xc9, 0xf9,
|
|
0x1b, 0x3d, 0xe9, 0x16, 0x2c, 0x4e, 0xf4, 0x53, 0xca, 0x2f, 0x4c, 0xe1, 0xdd, 0x29, 0x1a, 0xdf,
|
|
0xc6, 0x19, 0xff, 0xe4, 0xc0, 0xe6, 0xe3, 0x2c, 0x48, 0xd8, 0x29, 0xc9, 0xb8, 0xdc, 0xc3, 0x22,
|
|
0x17, 0x8a, 0xd3, 0xb9, 0x70, 0x49, 0x46, 0x28, 0x57, 0xb6, 0xe4, 0x97, 0x9f, 0xe8, 0xc7, 0x70,
|
|
0x35, 0x8d, 0x47, 0x0f, 0xb5, 0x3c, 0x12, 0xa7, 0x68, 0x50, 0x0b, 0xb9, 0x84, 0x3c, 0xd7, 0xe5,
|
|
0x2e, 0x0a, 0xb9, 0x3a, 0x15, 0xbb, 0xb0, 0x65, 0x33, 0x81, 0x51, 0xfc, 0x37, 0x07, 0x96, 0x3f,
|
|
0x4f, 0xa3, 0x44, 0x55, 0x8d, 0x76, 0xa3, 0x7a, 0x00, 0x19, 0x39, 0x3f, 0x26, 0x8c, 0x05, 0x21,
|
|
0x29, 0x83, 0xa7, 0xa2, 0x14, 0xfc, 0xa7, 0x69, 0x94, 0x0c, 0xd2, 0x49, 0x36, 0x24, 0xdc, 0x90,
|
|
0x05, 0x5f, 0xa3, 0xa0, 0x1b, 0xd0, 0x8d, 0x92, 0x67, 0x51, 0xde, 0xa8, 0x0d, 0x75, 0x22, 0x5e,
|
|
0x81, 0xae, 0x66, 0x0f, 0xa3, 0xf8, 0x9f, 0x0e, 0xec, 0x34, 0x23, 0xb2, 0x60, 0xa4, 0x09, 0x23,
|
|
0x33, 0x0d, 0x9e, 0x16, 0xed, 0x05, 0xff, 0x9b, 0x20, 0x19, 0xc5, 0x64, 0x74, 0xcc, 0x42, 0xe9,
|
|
0x39, 0x8d, 0x52, 0x94, 0x3b, 0xf1, 0xe5, 0x13, 0x36, 0x89, 0x73, 0x6e, 0xef, 0x82, 0x5f, 0xa3,
|
|
0xe1, 0x1e, 0xec, 0xb6, 0x1b, 0xc7, 0x28, 0xbe, 0x09, 0xcb, 0x8f, 0x26, 0x51, 0x3e, 0xdb, 0xbd,
|
|
0xc5, 0xc1, 0x35, 0x49, 0x46, 0xf1, 0x9f, 0x1d, 0xd8, 0x2c, 0xb3, 0x51, 0x54, 0xec, 0xd7, 0x4f,
|
|
0x0b, 0x4d, 0x7d, 0xa7, 0xee, 0xac, 0x2d, 0x58, 0x3c, 0x8d, 0xe2, 0x9c, 0x64, 0xf2, 0xe6, 0xe4,
|
|
0x17, 0x1e, 0xc1, 0x96, 0xcd, 0x88, 0xd6, 0x4c, 0xb9, 0x03, 0x97, 0xc6, 0xf2, 0xc5, 0x11, 0x39,
|
|
0xe2, 0xe9, 0x39, 0x22, 0xb6, 0xf8, 0x74, 0x12, 0xc7, 0xbc, 0xd6, 0x95, 0xa2, 0xf8, 0xa8, 0xa9,
|
|
0x45, 0x95, 0xf5, 0xf6, 0xeb, 0x75, 0xeb, 0x9a, 0x96, 0xaa, 0xdd, 0x1e, 0xc2, 0xb6, 0x75, 0x37,
|
|
0x46, 0x75, 0xf3, 0x9c, 0xf9, 0xcd, 0x8b, 0x01, 0xfd, 0x36, 0x1a, 0x9e, 0x69, 0x32, 0xd3, 0x4d,
|
|
0xbb, 0x01, 0xdd, 0xb3, 0x68, 0x78, 0x46, 0x46, 0xe5, 0x4b, 0x29, 0x0c, 0xac, 0x13, 0x0b, 0x97,
|
|
0x67, 0x24, 0x60, 0x69, 0x22, 0x63, 0x4f, 0x7e, 0xe1, 0x4d, 0x58, 0x37, 0xb4, 0x31, 0x8a, 0xcf,
|
|
0x79, 0x38, 0x14, 0xc9, 0x41, 0x46, 0x9c, 0xf7, 0xf6, 0xdf, 0x83, 0x3f, 0xf0, 0x6b, 0x31, 0x54,
|
|
0xb6, 0x5e, 0xfe, 0x4d, 0x58, 0xe4, 0x2e, 0x28, 0xef, 0xde, 0x7c, 0x4e, 0x25, 0x1f, 0x53, 0xd8,
|
|
0x38, 0xe4, 0x79, 0x5f, 0x68, 0x7a, 0x9c, 0xce, 0x51, 0x7e, 0x2a, 0x6f, 0x75, 0x74, 0x6f, 0x15,
|
|
0x35, 0x50, 0x54, 0x90, 0x51, 0x1d, 0x96, 0x34, 0xa8, 0x78, 0x1b, 0x36, 0x2d, 0x1a, 0x19, 0xc5,
|
|
0x4f, 0x61, 0x43, 0x3d, 0x7a, 0x71, 0x5c, 0x5d, 0xef, 0x5b, 0xc8, 0x32, 0x7c, 0x5c, 0xa5, 0xb4,
|
|
0xa6, 0xeb, 0x95, 0xe3, 0xf2, 0x1f, 0x0e, 0x5c, 0xbe, 0x7f, 0x3c, 0xe0, 0x32, 0x3f, 0x14, 0x44,
|
|
0xa1, 0x3e, 0xa0, 0x50, 0x3d, 0x06, 0x85, 0x53, 0x4e, 0x82, 0x71, 0x59, 0xd7, 0x2d, 0x1c, 0xf4,
|
|
0x53, 0x58, 0xad, 0x53, 0xd5, 0x73, 0x63, 0xd0, 0xf1, 0x1f, 0x1d, 0x58, 0x56, 0x88, 0xeb, 0xf5,
|
|
0x9c, 0xb9, 0x2b, 0x8f, 0xa5, 0x59, 0x57, 0x11, 0x74, 0x57, 0x5f, 0xac, 0xbb, 0xfa, 0x04, 0xba,
|
|
0x9a, 0x05, 0xad, 0x21, 0xfb, 0x93, 0x46, 0xc8, 0xae, 0xf4, 0x05, 0x06, 0x2f, 0xdd, 0xaa, 0x22,
|
|
0xf6, 0xe7, 0x15, 0x86, 0x9c, 0xa3, 0x04, 0xe0, 0xbf, 0x18, 0xd5, 0x9b, 0xdd, 0x3f, 0x1e, 0xbc,
|
|
0xad, 0xea, 0xed, 0xc1, 0xe5, 0x49, 0x79, 0x83, 0xc2, 0x0f, 0xea, 0xdb, 0xac, 0xe0, 0xc2, 0x90,
|
|
0x37, 0x5c, 0xc1, 0x7f, 0x06, 0x2b, 0x0f, 0x22, 0x36, 0x8e, 0x18, 0x9b, 0xe3, 0xad, 0x43, 0xb0,
|
|
0x5a, 0x17, 0xe6, 0x69, 0x88, 0x8e, 0x27, 0xb2, 0x29, 0x98, 0xa7, 0xc6, 0xb6, 0x20, 0xbc, 0xe2,
|
|
0xd5, 0x1e, 0x4f, 0x72, 0x32, 0x1a, 0x90, 0x61, 0x9a, 0x8c, 0x18, 0x77, 0x47, 0xd7, 0xaf, 0xd1,
|
|
0x8a, 0x0a, 0x6b, 0xe8, 0x62, 0x14, 0x1f, 0x81, 0x7b, 0x3f, 0x48, 0x86, 0x24, 0x7e, 0x13, 0x86,
|
|
0xe0, 0x1d, 0xb8, 0xd6, 0xb2, 0x9b, 0xc0, 0x05, 0x8a, 0x3c, 0x13, 0x17, 0x68, 0x92, 0x8c, 0xe2,
|
|
0x3e, 0xa0, 0xc6, 0xbe, 0xd3, 0x37, 0xd8, 0x84, 0x75, 0x43, 0x9e, 0x51, 0x7c, 0x87, 0xf7, 0x18,
|
|
0xa2, 0xb6, 0x0f, 0x26, 0x54, 0x22, 0xc3, 0xf2, 0x4d, 0xa9, 0x0e, 0xe5, 0xd4, 0x0e, 0x75, 0xc0,
|
|
0x3b, 0x04, 0xfb, 0x2a, 0x46, 0xb5, 0x07, 0xc0, 0x99, 0xf1, 0x00, 0xec, 0xf3, 0xf4, 0xa8, 0xb6,
|
|
0x98, 0xab, 0x8f, 0xfb, 0x9c, 0x87, 0xb2, 0xb1, 0xe8, 0x95, 0x9a, 0xb9, 0x7f, 0x75, 0x00, 0x0d,
|
|
0x6a, 0x79, 0xc1, 0xab, 0xe2, 0x0f, 0x0f, 0xb8, 0x0f, 0xe1, 0x72, 0x12, 0x0d, 0xcf, 0x92, 0x32,
|
|
0xf7, 0xae, 0xdc, 0xde, 0xed, 0x87, 0x69, 0x1a, 0xc6, 0x44, 0xf4, 0xe6, 0x4f, 0x26, 0xa7, 0xfd,
|
|
0x41, 0x9e, 0x45, 0x49, 0xf8, 0x65, 0x10, 0x4f, 0x88, 0xaf, 0xa4, 0xd1, 0x5d, 0xb8, 0x74, 0x1a,
|
|
0x0c, 0xc9, 0x17, 0xfe, 0x11, 0xc7, 0x96, 0xb3, 0x16, 0x96, 0xc2, 0xe8, 0x23, 0x58, 0xca, 0xd2,
|
|
0x98, 0x1c, 0x91, 0x67, 0x24, 0x76, 0x17, 0xf8, 0xca, 0x1d, 0x63, 0xe5, 0x61, 0x92, 0xef, 0xdf,
|
|
0x16, 0x0b, 0x2b, 0x69, 0xf4, 0x3e, 0x74, 0xc8, 0xb7, 0xee, 0xe2, 0x1c, 0xda, 0x3a, 0xe4, 0x5b,
|
|
0x7c, 0x04, 0x9b, 0xa6, 0x8b, 0x8a, 0x4b, 0xda, 0x6f, 0x3e, 0x57, 0xd7, 0x64, 0xd9, 0xb4, 0x88,
|
|
0xab, 0x12, 0xe1, 0xc2, 0x96, 0x6d, 0x37, 0x46, 0xf1, 0x2f, 0x2a, 0xc0, 0x76, 0xef, 0x09, 0xcb,
|
|
0xb3, 0x60, 0x98, 0xcf, 0x13, 0x0e, 0x7f, 0x75, 0x60, 0xcd, 0x58, 0x34, 0xe5, 0x06, 0xdf, 0x97,
|
|
0x63, 0x16, 0xa1, 0xfd, 0x64, 0x52, 0xfc, 0xf2, 0xcb, 0xec, 0xfa, 0x26, 0x03, 0x7d, 0x00, 0xeb,
|
|
0x61, 0x1d, 0xf6, 0x7e, 0x16, 0xb0, 0x6f, 0xf8, 0x15, 0xbf, 0xe3, 0xdb, 0x58, 0x78, 0x04, 0xae,
|
|
0xfd, 0x18, 0x8c, 0xa2, 0xcf, 0xe4, 0x6b, 0xab, 0x33, 0x4a, 0xe7, 0xb9, 0xd2, 0x79, 0xe6, 0x4a,
|
|
0xcb, 0x1a, 0x7c, 0xc2, 0xb5, 0xf0, 0x87, 0x36, 0xd1, 0xab, 0xfa, 0x94, 0xb4, 0xad, 0x79, 0xb1,
|
|
0xd3, 0xf0, 0xe2, 0x23, 0xb8, 0xd6, 0xb2, 0xdf, 0x2b, 0xe3, 0x92, 0xfd, 0x26, 0x00, 0x17, 0xb0,
|
|
0x60, 0x7a, 0x9d, 0xba, 0x53, 0x79, 0xaf, 0xbe, 0x88, 0xd1, 0x62, 0xd5, 0x44, 0xa2, 0x3b, 0x11,
|
|
0x04, 0xe5, 0x27, 0xfe, 0xb2, 0x1a, 0x95, 0xc8, 0xf2, 0x5a, 0xc6, 0xfa, 0xec, 0x6e, 0xb6, 0x94,
|
|
0x14, 0x3e, 0x59, 0xf0, 0x35, 0x0a, 0x1e, 0x54, 0xa3, 0x10, 0x63, 0xdf, 0x57, 0xf5, 0xcb, 0xed,
|
|
0xff, 0xac, 0x81, 0x98, 0xea, 0xa1, 0x5f, 0xc1, 0x95, 0x61, 0x35, 0x04, 0x43, 0x9b, 0x25, 0xea,
|
|
0xa8, 0x8d, 0xf0, 0xbc, 0x2d, 0x1b, 0x99, 0x51, 0x74, 0x17, 0x96, 0x9e, 0x96, 0x4d, 0x32, 0x5a,
|
|
0x97, 0x42, 0x7a, 0x1b, 0xef, 0x6d, 0x98, 0x44, 0xb1, 0xee, 0xbc, 0xec, 0x31, 0xd5, 0x3a, 0xbd,
|
|
0x3f, 0x55, 0xeb, 0x6a, 0xad, 0x28, 0xfa, 0x04, 0xba, 0xa1, 0x3e, 0x3f, 0x43, 0xdb, 0x65, 0xc4,
|
|
0x36, 0xa6, 0x70, 0x9e, 0x6b, 0x67, 0x30, 0x8a, 0x3e, 0x86, 0x65, 0xa6, 0xcd, 0xb9, 0xd0, 0x56,
|
|
0xa3, 0x62, 0x94, 0x3b, 0x6c, 0x5b, 0xe9, 0x8c, 0xa2, 0xaf, 0x61, 0x3b, 0xb4, 0x0f, 0xa7, 0xd0,
|
|
0x8f, 0x1a, 0x5a, 0xcd, 0x51, 0x92, 0x87, 0x67, 0x89, 0x30, 0x8a, 0x4e, 0xe1, 0x5a, 0xd8, 0x36,
|
|
0x1c, 0x42, 0xef, 0x55, 0x1b, 0xb4, 0x0e, 0xac, 0xbc, 0x1b, 0xb3, 0x85, 0x18, 0x45, 0x8f, 0x00,
|
|
0xe5, 0xc6, 0x38, 0x06, 0xed, 0xca, 0xb5, 0xd6, 0x61, 0x91, 0xf7, 0xee, 0x14, 0x2e, 0xa3, 0x68,
|
|
0x08, 0x6e, 0xd8, 0x32, 0x87, 0x40, 0xb8, 0x56, 0x5e, 0xac, 0x53, 0x14, 0xef, 0xbd, 0x99, 0x32,
|
|
0xc2, 0xee, 0xd0, 0x98, 0x05, 0x28, 0xbb, 0xad, 0xb3, 0x0a, 0x65, 0x77, 0xcb, 0x10, 0xe1, 0x31,
|
|
0xac, 0x87, 0x66, 0xab, 0x8e, 0xec, 0xab, 0x54, 0x94, 0xf5, 0xa6, 0xb1, 0x79, 0xb1, 0x5d, 0x39,
|
|
0xab, 0x77, 0xd0, 0xa8, 0x7c, 0xa0, 0xcc, 0x3e, 0xde, 0xf3, 0xda, 0x58, 0xea, 0xc8, 0x8d, 0x0e,
|
|
0x58, 0x3f, 0xb2, 0xd9, 0x8f, 0xeb, 0x47, 0xb6, 0xb5, 0xce, 0x27, 0xb0, 0x16, 0x35, 0x1b, 0x51,
|
|
0xb4, 0x23, 0xd7, 0xd8, 0x9a, 0x62, 0x6f, 0xb7, 0x9d, 0x29, 0x92, 0x5a, 0x25, 0xa7, 0x4a, 0x6a,
|
|
0xbd, 0xf9, 0x52, 0x49, 0x5d, 0xef, 0x87, 0x8c, 0xdb, 0x2c, 0xfa, 0x82, 0x96, 0xdb, 0x94, 0xbd,
|
|
0x4b, 0xcb, 0x6d, 0xaa, 0x86, 0xe2, 0x63, 0x58, 0x1e, 0x69, 0xb8, 0x5e, 0xe5, 0x78, 0xa3, 0x33,
|
|
0x50, 0x39, 0xde, 0x6c, 0x02, 0x8a, 0x8b, 0x1b, 0xd7, 0xd1, 0xb2, 0xba, 0x38, 0x13, 0x93, 0xab,
|
|
0x8b, 0xb3, 0x00, 0x6c, 0xf4, 0x15, 0x6c, 0x0e, 0x6d, 0xe8, 0x1b, 0x5d, 0x2f, 0x6b, 0x6a, 0x0b,
|
|
0xd2, 0xf7, 0xf6, 0xa6, 0x0b, 0x08, 0x8f, 0x2b, 0x2b, 0x95, 0xc7, 0x75, 0x34, 0xae, 0x3c, 0x5e,
|
|
0x83, 0xdc, 0xc5, 0xe9, 0x1a, 0x36, 0xa9, 0xd3, 0x99, 0x88, 0x5e, 0x9d, 0xce, 0x02, 0xde, 0x65,
|
|
0x2d, 0xb4, 0xc1, 0x70, 0xbd, 0x16, 0xb6, 0x80, 0x7b, 0xbd, 0x16, 0xb6, 0x22, 0x79, 0x11, 0x1d,
|
|
0x0d, 0xa8, 0xad, 0x47, 0x87, 0x09, 0xdd, 0xf5, 0xe8, 0xb0, 0x61, 0xf4, 0x47, 0x80, 0x98, 0x09,
|
|
0xb8, 0x77, 0xdb, 0x91, 0xa3, 0xb6, 0xa5, 0x1d, 0x38, 0xa2, 0xdf, 0xc3, 0x46, 0x68, 0x41, 0x5c,
|
|
0xa8, 0x59, 0x20, 0x1a, 0xa8, 0xd2, 0xbb, 0x3e, 0x95, 0x2f, 0xc2, 0x27, 0xb4, 0x81, 0x22, 0x74,
|
|
0xbd, 0x5e, 0xe1, 0x0d, 0x08, 0xa6, 0xc2, 0xa7, 0x1d, 0x53, 0x69, 0x46, 0xeb, 0x40, 0x07, 0xd9,
|
|
0xab, 0x9a, 0x82, 0x4e, 0x86, 0xd1, 0x06, 0x4a, 0xfa, 0xba, 0x09, 0xbb, 0x14, 0x66, 0x31, 0x5e,
|
|
0x48, 0x13, 0x2b, 0x19, 0x2f, 0xa4, 0x05, 0xf6, 0x7c, 0x72, 0xf7, 0xbf, 0x2f, 0x7a, 0xce, 0x77,
|
|
0x2f, 0x7a, 0xce, 0xff, 0x5f, 0xf4, 0x9c, 0xbf, 0xbf, 0xec, 0x5d, 0xf8, 0xee, 0x65, 0xef, 0xc2,
|
|
0xff, 0x5e, 0xf6, 0x2e, 0x7c, 0xb5, 0xfb, 0x90, 0x92, 0xe4, 0xf0, 0xf8, 0x16, 0x3d, 0x0b, 0x6f,
|
|
0xf1, 0x7e, 0x42, 0xfc, 0x97, 0xf9, 0x4b, 0xfe, 0xfb, 0x64, 0x91, 0x93, 0xf6, 0xbf, 0x0f, 0x00,
|
|
0x00, 0xff, 0xff, 0x66, 0xea, 0x47, 0x60, 0xe7, 0x1c, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// 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
|
|
|
|
// 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)
|
|
//退出群
|
|
QuitGroup(ctx context.Context, in *QuitGroupReq, opts ...grpc.CallOption) (*QuitGroupResp, error)
|
|
//获取指定群信息
|
|
GetGroupsInfo(ctx context.Context, in *GetGroupsInfoReq, opts ...grpc.CallOption) (*GetGroupsInfoResp, error)
|
|
//设置群信息
|
|
SetGroupInfo(ctx context.Context, in *SetGroupInfoReq, opts ...grpc.CallOption) (*SetGroupInfoResp, error)
|
|
//(以管理员或群主身份)获取群的加群申请
|
|
GetGroupApplicationList(ctx context.Context, in *GetGroupApplicationListReq, opts ...grpc.CallOption) (*GetGroupApplicationListResp, error)
|
|
//获取用户自己的主动加群申请
|
|
GetUserReqApplicationList(ctx context.Context, in *GetUserReqApplicationListReq, opts ...grpc.CallOption) (*GetUserReqApplicationListResp, error)
|
|
//转让群主
|
|
TransferGroupOwner(ctx context.Context, in *TransferGroupOwnerReq, opts ...grpc.CallOption) (*TransferGroupOwnerResp, error)
|
|
//群主或管理员处理进群申请
|
|
GroupApplicationResponse(ctx context.Context, in *GroupApplicationResponseReq, opts ...grpc.CallOption) (*GroupApplicationResponseResp, error)
|
|
//获取某个群的群成员
|
|
GetGroupMemberList(ctx context.Context, in *GetGroupMemberListReq, opts ...grpc.CallOption) (*GetGroupMemberListResp, error)
|
|
//获取某个群的指定群成员
|
|
GetGroupMembersInfo(ctx context.Context, in *GetGroupMembersInfoReq, opts ...grpc.CallOption) (*GetGroupMembersInfoResp, error)
|
|
//踢出群
|
|
KickGroupMember(ctx context.Context, in *KickGroupMemberReq, opts ...grpc.CallOption) (*KickGroupMemberResp, error)
|
|
//获取某个人已加入群
|
|
GetJoinedGroupList(ctx context.Context, in *GetJoinedGroupListReq, opts ...grpc.CallOption) (*GetJoinedGroupListResp, error)
|
|
//邀请某些人进群
|
|
InviteUserToGroup(ctx context.Context, in *InviteUserToGroupReq, opts ...grpc.CallOption) (*InviteUserToGroupResp, error)
|
|
GetGroups(ctx context.Context, in *GetGroupsReq, opts ...grpc.CallOption) (*GetGroupsResp, error)
|
|
GetGroupMembersCMS(ctx context.Context, in *GetGroupMembersCMSReq, opts ...grpc.CallOption) (*GetGroupMembersCMSResp, error)
|
|
//解散群
|
|
DismissGroup(ctx context.Context, in *DismissGroupReq, opts ...grpc.CallOption) (*DismissGroupResp, error)
|
|
//对某个群成员禁言
|
|
MuteGroupMember(ctx context.Context, in *MuteGroupMemberReq, opts ...grpc.CallOption) (*MuteGroupMemberResp, error)
|
|
//对某个群成员取消禁言
|
|
CancelMuteGroupMember(ctx context.Context, in *CancelMuteGroupMemberReq, opts ...grpc.CallOption) (*CancelMuteGroupMemberResp, error)
|
|
//对某个群禁言
|
|
MuteGroup(ctx context.Context, in *MuteGroupReq, opts ...grpc.CallOption) (*MuteGroupResp, error)
|
|
//对某个群取消禁言
|
|
CancelMuteGroup(ctx context.Context, in *CancelMuteGroupReq, opts ...grpc.CallOption) (*CancelMuteGroupResp, error)
|
|
//获取某个用户加入的超级群
|
|
GetJoinedSuperGroupList(ctx context.Context, in *GetJoinedSuperGroupListReq, opts ...grpc.CallOption) (*GetJoinedSuperGroupListResp, error)
|
|
//获取指定的超级群信息
|
|
GetSuperGroupsInfo(ctx context.Context, in *GetSuperGroupsInfoReq, opts ...grpc.CallOption) (*GetSuperGroupsInfoResp, error)
|
|
//设置群成员昵称
|
|
//设置群成员信息
|
|
SetGroupMemberInfo(ctx context.Context, in *SetGroupMemberInfoReq, opts ...grpc.CallOption) (*SetGroupMemberInfoResp, error)
|
|
//获取群信息hash值
|
|
GetGroupAbstractInfo(ctx context.Context, in *GetGroupAbstractInfoReq, opts ...grpc.CallOption) (*GetGroupAbstractInfoResp, error)
|
|
//获取某个用户在指定群中的信息
|
|
GetUserInGroupMembers(ctx context.Context, in *GetUserInGroupMembersReq, opts ...grpc.CallOption) (*GetUserInGroupMembersResp, error)
|
|
//获取群成员用户ID
|
|
GetGroupMemberUserID(ctx context.Context, in *GetGroupMemberUserIDReq, opts ...grpc.CallOption) (*GetGroupMemberUserIDResp, error)
|
|
//查询群组中对应级别的成员
|
|
GetGroupMemberRoleLevel(ctx context.Context, in *GetGroupMemberRoleLevelReq, opts ...grpc.CallOption) (*GetGroupMemberRoleLevelResp, error)
|
|
}
|
|
|
|
type groupClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewGroupClient(cc *grpc.ClientConn) GroupClient {
|
|
return &groupClient{cc}
|
|
}
|
|
|
|
func (c *groupClient) CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error) {
|
|
out := new(CreateGroupResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/createGroup", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) JoinGroup(ctx context.Context, in *JoinGroupReq, opts ...grpc.CallOption) (*JoinGroupResp, error) {
|
|
out := new(JoinGroupResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/joinGroup", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) QuitGroup(ctx context.Context, in *QuitGroupReq, opts ...grpc.CallOption) (*QuitGroupResp, error) {
|
|
out := new(QuitGroupResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/quitGroup", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetGroupsInfo(ctx context.Context, in *GetGroupsInfoReq, opts ...grpc.CallOption) (*GetGroupsInfoResp, error) {
|
|
out := new(GetGroupsInfoResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getGroupsInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) SetGroupInfo(ctx context.Context, in *SetGroupInfoReq, opts ...grpc.CallOption) (*SetGroupInfoResp, error) {
|
|
out := new(SetGroupInfoResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/setGroupInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetGroupApplicationList(ctx context.Context, in *GetGroupApplicationListReq, opts ...grpc.CallOption) (*GetGroupApplicationListResp, error) {
|
|
out := new(GetGroupApplicationListResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getGroupApplicationList", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetUserReqApplicationList(ctx context.Context, in *GetUserReqApplicationListReq, opts ...grpc.CallOption) (*GetUserReqApplicationListResp, error) {
|
|
out := new(GetUserReqApplicationListResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getUserReqApplicationList", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) TransferGroupOwner(ctx context.Context, in *TransferGroupOwnerReq, opts ...grpc.CallOption) (*TransferGroupOwnerResp, error) {
|
|
out := new(TransferGroupOwnerResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/transferGroupOwner", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GroupApplicationResponse(ctx context.Context, in *GroupApplicationResponseReq, opts ...grpc.CallOption) (*GroupApplicationResponseResp, error) {
|
|
out := new(GroupApplicationResponseResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/groupApplicationResponse", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetGroupMemberList(ctx context.Context, in *GetGroupMemberListReq, opts ...grpc.CallOption) (*GetGroupMemberListResp, error) {
|
|
out := new(GetGroupMemberListResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getGroupMemberList", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetGroupMembersInfo(ctx context.Context, in *GetGroupMembersInfoReq, opts ...grpc.CallOption) (*GetGroupMembersInfoResp, error) {
|
|
out := new(GetGroupMembersInfoResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getGroupMembersInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) KickGroupMember(ctx context.Context, in *KickGroupMemberReq, opts ...grpc.CallOption) (*KickGroupMemberResp, error) {
|
|
out := new(KickGroupMemberResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/kickGroupMember", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetJoinedGroupList(ctx context.Context, in *GetJoinedGroupListReq, opts ...grpc.CallOption) (*GetJoinedGroupListResp, error) {
|
|
out := new(GetJoinedGroupListResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getJoinedGroupList", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) InviteUserToGroup(ctx context.Context, in *InviteUserToGroupReq, opts ...grpc.CallOption) (*InviteUserToGroupResp, error) {
|
|
out := new(InviteUserToGroupResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/inviteUserToGroup", 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
|
|
}
|
|
|
|
func (c *groupClient) GetGroupMembersCMS(ctx context.Context, in *GetGroupMembersCMSReq, opts ...grpc.CallOption) (*GetGroupMembersCMSResp, error) {
|
|
out := new(GetGroupMembersCMSResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getGroupMembersCMS", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) DismissGroup(ctx context.Context, in *DismissGroupReq, opts ...grpc.CallOption) (*DismissGroupResp, error) {
|
|
out := new(DismissGroupResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/dismissGroup", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) MuteGroupMember(ctx context.Context, in *MuteGroupMemberReq, opts ...grpc.CallOption) (*MuteGroupMemberResp, error) {
|
|
out := new(MuteGroupMemberResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/muteGroupMember", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) CancelMuteGroupMember(ctx context.Context, in *CancelMuteGroupMemberReq, opts ...grpc.CallOption) (*CancelMuteGroupMemberResp, error) {
|
|
out := new(CancelMuteGroupMemberResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/cancelMuteGroupMember", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) MuteGroup(ctx context.Context, in *MuteGroupReq, opts ...grpc.CallOption) (*MuteGroupResp, error) {
|
|
out := new(MuteGroupResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/muteGroup", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) CancelMuteGroup(ctx context.Context, in *CancelMuteGroupReq, opts ...grpc.CallOption) (*CancelMuteGroupResp, error) {
|
|
out := new(CancelMuteGroupResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/cancelMuteGroup", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetJoinedSuperGroupList(ctx context.Context, in *GetJoinedSuperGroupListReq, opts ...grpc.CallOption) (*GetJoinedSuperGroupListResp, error) {
|
|
out := new(GetJoinedSuperGroupListResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getJoinedSuperGroupList", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetSuperGroupsInfo(ctx context.Context, in *GetSuperGroupsInfoReq, opts ...grpc.CallOption) (*GetSuperGroupsInfoResp, error) {
|
|
out := new(GetSuperGroupsInfoResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getSuperGroupsInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) SetGroupMemberInfo(ctx context.Context, in *SetGroupMemberInfoReq, opts ...grpc.CallOption) (*SetGroupMemberInfoResp, error) {
|
|
out := new(SetGroupMemberInfoResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/setGroupMemberInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetGroupAbstractInfo(ctx context.Context, in *GetGroupAbstractInfoReq, opts ...grpc.CallOption) (*GetGroupAbstractInfoResp, error) {
|
|
out := new(GetGroupAbstractInfoResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getGroupAbstractInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetUserInGroupMembers(ctx context.Context, in *GetUserInGroupMembersReq, opts ...grpc.CallOption) (*GetUserInGroupMembersResp, error) {
|
|
out := new(GetUserInGroupMembersResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getUserInGroupMembers", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetGroupMemberUserID(ctx context.Context, in *GetGroupMemberUserIDReq, opts ...grpc.CallOption) (*GetGroupMemberUserIDResp, error) {
|
|
out := new(GetGroupMemberUserIDResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/getGroupMemberUserID", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *groupClient) GetGroupMemberRoleLevel(ctx context.Context, in *GetGroupMemberRoleLevelReq, opts ...grpc.CallOption) (*GetGroupMemberRoleLevelResp, error) {
|
|
out := new(GetGroupMemberRoleLevelResp)
|
|
err := c.cc.Invoke(ctx, "/group.group/GetGroupMemberRoleLevel", 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)
|
|
//退出群
|
|
QuitGroup(context.Context, *QuitGroupReq) (*QuitGroupResp, error)
|
|
//获取指定群信息
|
|
GetGroupsInfo(context.Context, *GetGroupsInfoReq) (*GetGroupsInfoResp, error)
|
|
//设置群信息
|
|
SetGroupInfo(context.Context, *SetGroupInfoReq) (*SetGroupInfoResp, error)
|
|
//(以管理员或群主身份)获取群的加群申请
|
|
GetGroupApplicationList(context.Context, *GetGroupApplicationListReq) (*GetGroupApplicationListResp, error)
|
|
//获取用户自己的主动加群申请
|
|
GetUserReqApplicationList(context.Context, *GetUserReqApplicationListReq) (*GetUserReqApplicationListResp, error)
|
|
//转让群主
|
|
TransferGroupOwner(context.Context, *TransferGroupOwnerReq) (*TransferGroupOwnerResp, error)
|
|
//群主或管理员处理进群申请
|
|
GroupApplicationResponse(context.Context, *GroupApplicationResponseReq) (*GroupApplicationResponseResp, error)
|
|
//获取某个群的群成员
|
|
GetGroupMemberList(context.Context, *GetGroupMemberListReq) (*GetGroupMemberListResp, error)
|
|
//获取某个群的指定群成员
|
|
GetGroupMembersInfo(context.Context, *GetGroupMembersInfoReq) (*GetGroupMembersInfoResp, error)
|
|
//踢出群
|
|
KickGroupMember(context.Context, *KickGroupMemberReq) (*KickGroupMemberResp, error)
|
|
//获取某个人已加入群
|
|
GetJoinedGroupList(context.Context, *GetJoinedGroupListReq) (*GetJoinedGroupListResp, error)
|
|
//邀请某些人进群
|
|
InviteUserToGroup(context.Context, *InviteUserToGroupReq) (*InviteUserToGroupResp, error)
|
|
GetGroups(context.Context, *GetGroupsReq) (*GetGroupsResp, error)
|
|
GetGroupMembersCMS(context.Context, *GetGroupMembersCMSReq) (*GetGroupMembersCMSResp, error)
|
|
//解散群
|
|
DismissGroup(context.Context, *DismissGroupReq) (*DismissGroupResp, error)
|
|
//对某个群成员禁言
|
|
MuteGroupMember(context.Context, *MuteGroupMemberReq) (*MuteGroupMemberResp, error)
|
|
//对某个群成员取消禁言
|
|
CancelMuteGroupMember(context.Context, *CancelMuteGroupMemberReq) (*CancelMuteGroupMemberResp, error)
|
|
//对某个群禁言
|
|
MuteGroup(context.Context, *MuteGroupReq) (*MuteGroupResp, error)
|
|
//对某个群取消禁言
|
|
CancelMuteGroup(context.Context, *CancelMuteGroupReq) (*CancelMuteGroupResp, error)
|
|
//获取某个用户加入的超级群
|
|
GetJoinedSuperGroupList(context.Context, *GetJoinedSuperGroupListReq) (*GetJoinedSuperGroupListResp, error)
|
|
//获取指定的超级群信息
|
|
GetSuperGroupsInfo(context.Context, *GetSuperGroupsInfoReq) (*GetSuperGroupsInfoResp, error)
|
|
//设置群成员昵称
|
|
//设置群成员信息
|
|
SetGroupMemberInfo(context.Context, *SetGroupMemberInfoReq) (*SetGroupMemberInfoResp, error)
|
|
//获取群信息hash值
|
|
GetGroupAbstractInfo(context.Context, *GetGroupAbstractInfoReq) (*GetGroupAbstractInfoResp, error)
|
|
//获取某个用户在指定群中的信息
|
|
GetUserInGroupMembers(context.Context, *GetUserInGroupMembersReq) (*GetUserInGroupMembersResp, error)
|
|
//获取群成员用户ID
|
|
GetGroupMemberUserID(context.Context, *GetGroupMemberUserIDReq) (*GetGroupMemberUserIDResp, error)
|
|
//查询群组中对应级别的成员
|
|
GetGroupMemberRoleLevel(context.Context, *GetGroupMemberRoleLevelReq) (*GetGroupMemberRoleLevelResp, error)
|
|
}
|
|
|
|
// UnimplementedGroupServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedGroupServer struct {
|
|
}
|
|
|
|
func (*UnimplementedGroupServer) CreateGroup(ctx context.Context, req *CreateGroupReq) (*CreateGroupResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) JoinGroup(ctx context.Context, req *JoinGroupReq) (*JoinGroupResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method JoinGroup not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) QuitGroup(ctx context.Context, req *QuitGroupReq) (*QuitGroupResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method QuitGroup not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetGroupsInfo(ctx context.Context, req *GetGroupsInfoReq) (*GetGroupsInfoResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroupsInfo not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) SetGroupInfo(ctx context.Context, req *SetGroupInfoReq) (*SetGroupInfoResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetGroupInfo not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetGroupApplicationList(ctx context.Context, req *GetGroupApplicationListReq) (*GetGroupApplicationListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroupApplicationList not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetUserReqApplicationList(ctx context.Context, req *GetUserReqApplicationListReq) (*GetUserReqApplicationListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetUserReqApplicationList not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) TransferGroupOwner(ctx context.Context, req *TransferGroupOwnerReq) (*TransferGroupOwnerResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method TransferGroupOwner not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GroupApplicationResponse(ctx context.Context, req *GroupApplicationResponseReq) (*GroupApplicationResponseResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GroupApplicationResponse not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetGroupMemberList(ctx context.Context, req *GetGroupMemberListReq) (*GetGroupMemberListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroupMemberList not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetGroupMembersInfo(ctx context.Context, req *GetGroupMembersInfoReq) (*GetGroupMembersInfoResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroupMembersInfo not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) KickGroupMember(ctx context.Context, req *KickGroupMemberReq) (*KickGroupMemberResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method KickGroupMember not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetJoinedGroupList(ctx context.Context, req *GetJoinedGroupListReq) (*GetJoinedGroupListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetJoinedGroupList not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) InviteUserToGroup(ctx context.Context, req *InviteUserToGroupReq) (*InviteUserToGroupResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method InviteUserToGroup not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetGroups(ctx context.Context, req *GetGroupsReq) (*GetGroupsResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetGroupMembersCMS(ctx context.Context, req *GetGroupMembersCMSReq) (*GetGroupMembersCMSResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroupMembersCMS not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) DismissGroup(ctx context.Context, req *DismissGroupReq) (*DismissGroupResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DismissGroup not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) MuteGroupMember(ctx context.Context, req *MuteGroupMemberReq) (*MuteGroupMemberResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method MuteGroupMember not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) CancelMuteGroupMember(ctx context.Context, req *CancelMuteGroupMemberReq) (*CancelMuteGroupMemberResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CancelMuteGroupMember not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) MuteGroup(ctx context.Context, req *MuteGroupReq) (*MuteGroupResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method MuteGroup not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) CancelMuteGroup(ctx context.Context, req *CancelMuteGroupReq) (*CancelMuteGroupResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CancelMuteGroup not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetJoinedSuperGroupList(ctx context.Context, req *GetJoinedSuperGroupListReq) (*GetJoinedSuperGroupListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetJoinedSuperGroupList not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetSuperGroupsInfo(ctx context.Context, req *GetSuperGroupsInfoReq) (*GetSuperGroupsInfoResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSuperGroupsInfo not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) SetGroupMemberInfo(ctx context.Context, req *SetGroupMemberInfoReq) (*SetGroupMemberInfoResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetGroupMemberInfo not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetGroupAbstractInfo(ctx context.Context, req *GetGroupAbstractInfoReq) (*GetGroupAbstractInfoResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroupAbstractInfo not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetUserInGroupMembers(ctx context.Context, req *GetUserInGroupMembersReq) (*GetUserInGroupMembersResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetUserInGroupMembers not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetGroupMemberUserID(ctx context.Context, req *GetGroupMemberUserIDReq) (*GetGroupMemberUserIDResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroupMemberUserID not implemented")
|
|
}
|
|
func (*UnimplementedGroupServer) GetGroupMemberRoleLevel(ctx context.Context, req *GetGroupMemberRoleLevelReq) (*GetGroupMemberRoleLevelResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGroupMemberRoleLevel not implemented")
|
|
}
|
|
|
|
func RegisterGroupServer(s *grpc.Server, srv GroupServer) {
|
|
s.RegisterService(&_Group_serviceDesc, srv)
|
|
}
|
|
|
|
func _Group_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateGroupReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).CreateGroup(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/CreateGroup",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).CreateGroup(ctx, req.(*CreateGroupReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_JoinGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(JoinGroupReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).JoinGroup(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/JoinGroup",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).JoinGroup(ctx, req.(*JoinGroupReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_QuitGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(QuitGroupReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).QuitGroup(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/QuitGroup",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).QuitGroup(ctx, req.(*QuitGroupReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetGroupsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGroupsInfoReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetGroupsInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetGroupsInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetGroupsInfo(ctx, req.(*GetGroupsInfoReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_SetGroupInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetGroupInfoReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).SetGroupInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/SetGroupInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).SetGroupInfo(ctx, req.(*SetGroupInfoReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetGroupApplicationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGroupApplicationListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetGroupApplicationList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetGroupApplicationList",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetGroupApplicationList(ctx, req.(*GetGroupApplicationListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetUserReqApplicationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUserReqApplicationListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetUserReqApplicationList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetUserReqApplicationList",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetUserReqApplicationList(ctx, req.(*GetUserReqApplicationListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_TransferGroupOwner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(TransferGroupOwnerReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).TransferGroupOwner(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/TransferGroupOwner",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).TransferGroupOwner(ctx, req.(*TransferGroupOwnerReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GroupApplicationResponse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GroupApplicationResponseReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GroupApplicationResponse(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GroupApplicationResponse",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GroupApplicationResponse(ctx, req.(*GroupApplicationResponseReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetGroupMemberList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGroupMemberListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetGroupMemberList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetGroupMemberList",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetGroupMemberList(ctx, req.(*GetGroupMemberListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetGroupMembersInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGroupMembersInfoReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetGroupMembersInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetGroupMembersInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetGroupMembersInfo(ctx, req.(*GetGroupMembersInfoReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_KickGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(KickGroupMemberReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).KickGroupMember(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/KickGroupMember",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).KickGroupMember(ctx, req.(*KickGroupMemberReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetJoinedGroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetJoinedGroupListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetJoinedGroupList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetJoinedGroupList",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetJoinedGroupList(ctx, req.(*GetJoinedGroupListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_InviteUserToGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(InviteUserToGroupReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).InviteUserToGroup(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/InviteUserToGroup",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).InviteUserToGroup(ctx, req.(*InviteUserToGroupReq))
|
|
}
|
|
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)
|
|
}
|
|
|
|
func _Group_GetGroupMembersCMS_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGroupMembersCMSReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetGroupMembersCMS(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetGroupMembersCMS",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetGroupMembersCMS(ctx, req.(*GetGroupMembersCMSReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_DismissGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DismissGroupReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).DismissGroup(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/DismissGroup",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).DismissGroup(ctx, req.(*DismissGroupReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_MuteGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(MuteGroupMemberReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).MuteGroupMember(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/MuteGroupMember",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).MuteGroupMember(ctx, req.(*MuteGroupMemberReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_CancelMuteGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CancelMuteGroupMemberReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).CancelMuteGroupMember(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/CancelMuteGroupMember",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).CancelMuteGroupMember(ctx, req.(*CancelMuteGroupMemberReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_MuteGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(MuteGroupReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).MuteGroup(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/MuteGroup",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).MuteGroup(ctx, req.(*MuteGroupReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_CancelMuteGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CancelMuteGroupReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).CancelMuteGroup(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/CancelMuteGroup",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).CancelMuteGroup(ctx, req.(*CancelMuteGroupReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetJoinedSuperGroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetJoinedSuperGroupListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetJoinedSuperGroupList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetJoinedSuperGroupList",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetJoinedSuperGroupList(ctx, req.(*GetJoinedSuperGroupListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetSuperGroupsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetSuperGroupsInfoReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetSuperGroupsInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetSuperGroupsInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetSuperGroupsInfo(ctx, req.(*GetSuperGroupsInfoReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_SetGroupMemberInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetGroupMemberInfoReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).SetGroupMemberInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/SetGroupMemberInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).SetGroupMemberInfo(ctx, req.(*SetGroupMemberInfoReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetGroupAbstractInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGroupAbstractInfoReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetGroupAbstractInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetGroupAbstractInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetGroupAbstractInfo(ctx, req.(*GetGroupAbstractInfoReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetUserInGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUserInGroupMembersReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetUserInGroupMembers(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetUserInGroupMembers",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetUserInGroupMembers(ctx, req.(*GetUserInGroupMembersReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetGroupMemberUserID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGroupMemberUserIDReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetGroupMemberUserID(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetGroupMemberUserID",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetGroupMemberUserID(ctx, req.(*GetGroupMemberUserIDReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Group_GetGroupMemberRoleLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGroupMemberRoleLevelReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GroupServer).GetGroupMemberRoleLevel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/group.group/GetGroupMemberRoleLevel",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GroupServer).GetGroupMemberRoleLevel(ctx, req.(*GetGroupMemberRoleLevelReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _Group_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "group.group",
|
|
HandlerType: (*GroupServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "createGroup",
|
|
Handler: _Group_CreateGroup_Handler,
|
|
},
|
|
{
|
|
MethodName: "joinGroup",
|
|
Handler: _Group_JoinGroup_Handler,
|
|
},
|
|
{
|
|
MethodName: "quitGroup",
|
|
Handler: _Group_QuitGroup_Handler,
|
|
},
|
|
{
|
|
MethodName: "getGroupsInfo",
|
|
Handler: _Group_GetGroupsInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "setGroupInfo",
|
|
Handler: _Group_SetGroupInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "getGroupApplicationList",
|
|
Handler: _Group_GetGroupApplicationList_Handler,
|
|
},
|
|
{
|
|
MethodName: "getUserReqApplicationList",
|
|
Handler: _Group_GetUserReqApplicationList_Handler,
|
|
},
|
|
{
|
|
MethodName: "transferGroupOwner",
|
|
Handler: _Group_TransferGroupOwner_Handler,
|
|
},
|
|
{
|
|
MethodName: "groupApplicationResponse",
|
|
Handler: _Group_GroupApplicationResponse_Handler,
|
|
},
|
|
{
|
|
MethodName: "getGroupMemberList",
|
|
Handler: _Group_GetGroupMemberList_Handler,
|
|
},
|
|
{
|
|
MethodName: "getGroupMembersInfo",
|
|
Handler: _Group_GetGroupMembersInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "kickGroupMember",
|
|
Handler: _Group_KickGroupMember_Handler,
|
|
},
|
|
{
|
|
MethodName: "getJoinedGroupList",
|
|
Handler: _Group_GetJoinedGroupList_Handler,
|
|
},
|
|
{
|
|
MethodName: "inviteUserToGroup",
|
|
Handler: _Group_InviteUserToGroup_Handler,
|
|
},
|
|
{
|
|
MethodName: "getGroups",
|
|
Handler: _Group_GetGroups_Handler,
|
|
},
|
|
{
|
|
MethodName: "getGroupMembersCMS",
|
|
Handler: _Group_GetGroupMembersCMS_Handler,
|
|
},
|
|
{
|
|
MethodName: "dismissGroup",
|
|
Handler: _Group_DismissGroup_Handler,
|
|
},
|
|
{
|
|
MethodName: "muteGroupMember",
|
|
Handler: _Group_MuteGroupMember_Handler,
|
|
},
|
|
{
|
|
MethodName: "cancelMuteGroupMember",
|
|
Handler: _Group_CancelMuteGroupMember_Handler,
|
|
},
|
|
{
|
|
MethodName: "muteGroup",
|
|
Handler: _Group_MuteGroup_Handler,
|
|
},
|
|
{
|
|
MethodName: "cancelMuteGroup",
|
|
Handler: _Group_CancelMuteGroup_Handler,
|
|
},
|
|
{
|
|
MethodName: "getJoinedSuperGroupList",
|
|
Handler: _Group_GetJoinedSuperGroupList_Handler,
|
|
},
|
|
{
|
|
MethodName: "getSuperGroupsInfo",
|
|
Handler: _Group_GetSuperGroupsInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "setGroupMemberInfo",
|
|
Handler: _Group_SetGroupMemberInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "getGroupAbstractInfo",
|
|
Handler: _Group_GetGroupAbstractInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "getUserInGroupMembers",
|
|
Handler: _Group_GetUserInGroupMembers_Handler,
|
|
},
|
|
{
|
|
MethodName: "getGroupMemberUserID",
|
|
Handler: _Group_GetGroupMemberUserID_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGroupMemberRoleLevel",
|
|
Handler: _Group_GetGroupMemberRoleLevel_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "group/group.proto",
|
|
}
|
|
|
|
func (m *CreateGroupReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CreateGroupReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CreateGroupReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.OwnerUserID) > 0 {
|
|
i -= len(m.OwnerUserID)
|
|
copy(dAtA[i:], m.OwnerUserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.OwnerUserID)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if len(m.AdminUserIDs) > 0 {
|
|
for iNdEx := len(m.AdminUserIDs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.AdminUserIDs[iNdEx])
|
|
copy(dAtA[i:], m.AdminUserIDs[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.AdminUserIDs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if m.GroupInfo != nil {
|
|
{
|
|
size, err := m.GroupInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.InitMembers) > 0 {
|
|
for iNdEx := len(m.InitMembers) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.InitMembers[iNdEx])
|
|
copy(dAtA[i:], m.InitMembers[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.InitMembers[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CreateGroupResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CreateGroupResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CreateGroupResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.GroupInfo != nil {
|
|
{
|
|
size, err := m.GroupInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupsInfoReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupsInfoReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupsInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupIDs) > 0 {
|
|
for iNdEx := len(m.GroupIDs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.GroupIDs[iNdEx])
|
|
copy(dAtA[i:], m.GroupIDs[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupIDs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupsInfoResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupsInfoResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupsInfoResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupInfos) > 0 {
|
|
for iNdEx := len(m.GroupInfos) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.GroupInfos[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SetGroupInfoReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SetGroupInfoReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SetGroupInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.GroupInfoForSet != nil {
|
|
{
|
|
size, err := m.GroupInfoForSet.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SetGroupInfoResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SetGroupInfoResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SetGroupInfoResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupApplicationListReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupApplicationListReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupApplicationListReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.FromUserID) > 0 {
|
|
i -= len(m.FromUserID)
|
|
copy(dAtA[i:], m.FromUserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.FromUserID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Pagination != nil {
|
|
{
|
|
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupApplicationListResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupApplicationListResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupApplicationListResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupRequests) > 0 {
|
|
for iNdEx := len(m.GroupRequests) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.GroupRequests[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.Total != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.Total))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.UserID) > 0 {
|
|
i -= len(m.UserID)
|
|
copy(dAtA[i:], m.UserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.UserID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Pagination != nil {
|
|
{
|
|
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupRequests) > 0 {
|
|
for iNdEx := len(m.GroupRequests) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.GroupRequests[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.Total != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.Total))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *TransferGroupOwnerReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *TransferGroupOwnerReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *TransferGroupOwnerReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.NewOwnerUserID) > 0 {
|
|
i -= len(m.NewOwnerUserID)
|
|
copy(dAtA[i:], m.NewOwnerUserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.NewOwnerUserID)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.OldOwnerUserID) > 0 {
|
|
i -= len(m.OldOwnerUserID)
|
|
copy(dAtA[i:], m.OldOwnerUserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.OldOwnerUserID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *TransferGroupOwnerResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *TransferGroupOwnerResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *TransferGroupOwnerResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *JoinGroupReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *JoinGroupReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *JoinGroupReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.InviterUserID) > 0 {
|
|
i -= len(m.InviterUserID)
|
|
copy(dAtA[i:], m.InviterUserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.InviterUserID)))
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.JoinSource != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.JoinSource))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
if len(m.ReqMessage) > 0 {
|
|
i -= len(m.ReqMessage)
|
|
copy(dAtA[i:], m.ReqMessage)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.ReqMessage)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *JoinGroupResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *JoinGroupResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *JoinGroupResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GroupApplicationResponseReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GroupApplicationResponseReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GroupApplicationResponseReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.HandleResult != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.HandleResult))
|
|
i--
|
|
dAtA[i] = 0x20
|
|
}
|
|
if len(m.HandledMsg) > 0 {
|
|
i -= len(m.HandledMsg)
|
|
copy(dAtA[i:], m.HandledMsg)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.HandledMsg)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.FromUserID) > 0 {
|
|
i -= len(m.FromUserID)
|
|
copy(dAtA[i:], m.FromUserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.FromUserID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GroupApplicationResponseResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GroupApplicationResponseResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GroupApplicationResponseResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *QuitGroupReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *QuitGroupReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *QuitGroupReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *QuitGroupResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *QuitGroupResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *QuitGroupResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMemberListReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMemberListReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMemberListReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Filter != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.Filter))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Pagination != nil {
|
|
{
|
|
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMemberListResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMemberListResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMemberListResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.Total != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.Total))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.Members[iNdEx])
|
|
copy(dAtA[i:], m.Members[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.Members[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KickGroupMemberReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KickGroupMemberReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KickGroupMemberReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Reason) > 0 {
|
|
i -= len(m.Reason)
|
|
copy(dAtA[i:], m.Reason)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.Reason)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.KickedUserIDs) > 0 {
|
|
for iNdEx := len(m.KickedUserIDs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.KickedUserIDs[iNdEx])
|
|
copy(dAtA[i:], m.KickedUserIDs[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.KickedUserIDs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *KickGroupMemberResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *KickGroupMemberResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *KickGroupMemberResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetJoinedGroupListReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetJoinedGroupListReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetJoinedGroupListReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.FromUserID) > 0 {
|
|
i -= len(m.FromUserID)
|
|
copy(dAtA[i:], m.FromUserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.FromUserID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Pagination != nil {
|
|
{
|
|
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetJoinedGroupListResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetJoinedGroupListResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetJoinedGroupListResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Groups) > 0 {
|
|
for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Groups[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.Total != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.Total))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *InviteUserToGroupReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *InviteUserToGroupReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *InviteUserToGroupReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.InvitedUserIDs) > 0 {
|
|
for iNdEx := len(m.InvitedUserIDs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.InvitedUserIDs[iNdEx])
|
|
copy(dAtA[i:], m.InvitedUserIDs[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.InvitedUserIDs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
}
|
|
if len(m.Reason) > 0 {
|
|
i -= len(m.Reason)
|
|
copy(dAtA[i:], m.Reason)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.Reason)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *InviteUserToGroupResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *InviteUserToGroupResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *InviteUserToGroupResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupAllMemberReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupAllMemberReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupAllMemberReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Pagination != nil {
|
|
{
|
|
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupAllMemberResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupAllMemberResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupAllMemberResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CMSGroup) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CMSGroup) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CMSGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupOwnerUserID) > 0 {
|
|
i -= len(m.GroupOwnerUserID)
|
|
copy(dAtA[i:], m.GroupOwnerUserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupOwnerUserID)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.GroupOwnerUserName) > 0 {
|
|
i -= len(m.GroupOwnerUserName)
|
|
copy(dAtA[i:], m.GroupOwnerUserName)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupOwnerUserName)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.GroupInfo != nil {
|
|
{
|
|
size, err := m.GroupInfo.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupsReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupsReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupsReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.GroupName) > 0 {
|
|
i -= len(m.GroupName)
|
|
copy(dAtA[i:], m.GroupName)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupName)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Pagination != nil {
|
|
{
|
|
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupsResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupsResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupsResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Groups) > 0 {
|
|
for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Groups[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.Total != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.Total))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMemberReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMemberReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMemberReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.UserName) > 0 {
|
|
i -= len(m.UserName)
|
|
copy(dAtA[i:], m.UserName)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.UserName)))
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if m.Pagination != nil {
|
|
{
|
|
size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if m.Total != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.Total))
|
|
i--
|
|
dAtA[i] = 0x8
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DismissGroupReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *DismissGroupReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DismissGroupReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *DismissGroupResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *DismissGroupResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *DismissGroupResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *MuteGroupMemberReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *MuteGroupMemberReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *MuteGroupMemberReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.MutedSeconds != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.MutedSeconds))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
if len(m.UserID) > 0 {
|
|
i -= len(m.UserID)
|
|
copy(dAtA[i:], m.UserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.UserID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *MuteGroupMemberResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *MuteGroupMemberResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *MuteGroupMemberResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.UserID) > 0 {
|
|
i -= len(m.UserID)
|
|
copy(dAtA[i:], m.UserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.UserID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *MuteGroupReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *MuteGroupReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *MuteGroupReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *MuteGroupResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *MuteGroupResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *MuteGroupResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CancelMuteGroupReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CancelMuteGroupReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CancelMuteGroupReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *CancelMuteGroupResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CancelMuteGroupResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *CancelMuteGroupResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.UserID) > 0 {
|
|
i -= len(m.UserID)
|
|
copy(dAtA[i:], m.UserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.UserID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Groups) > 0 {
|
|
for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Groups[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupIDs) > 0 {
|
|
for iNdEx := len(m.GroupIDs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.GroupIDs[iNdEx])
|
|
copy(dAtA[i:], m.GroupIDs[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupIDs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupInfos) > 0 {
|
|
for iNdEx := len(m.GroupInfos) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.GroupInfos[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Ex != nil {
|
|
{
|
|
size, err := m.Ex.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x32
|
|
}
|
|
if m.RoleLevel != nil {
|
|
{
|
|
size, err := m.RoleLevel.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x2a
|
|
}
|
|
if m.FaceURL != nil {
|
|
{
|
|
size, err := m.FaceURL.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x22
|
|
}
|
|
if m.Nickname != nil {
|
|
{
|
|
size, err := m.Nickname.MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0x1a
|
|
}
|
|
if len(m.UserID) > 0 {
|
|
i -= len(m.UserID)
|
|
copy(dAtA[i:], m.UserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.UserID)))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupIDs) > 0 {
|
|
for iNdEx := len(m.GroupIDs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.GroupIDs[iNdEx])
|
|
copy(dAtA[i:], m.GroupIDs[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupIDs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GroupAbstractInfo) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GroupAbstractInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GroupAbstractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.GroupMemberListHash != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.GroupMemberListHash))
|
|
i--
|
|
dAtA[i] = 0x18
|
|
}
|
|
if m.GroupMemberNumber != 0 {
|
|
i = encodeVarintGroup(dAtA, i, uint64(m.GroupMemberNumber))
|
|
i--
|
|
dAtA[i] = 0x10
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupAbstractInfos) > 0 {
|
|
for iNdEx := len(m.GroupAbstractInfos) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.GroupAbstractInfos[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupIDs) > 0 {
|
|
for iNdEx := len(m.GroupIDs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.GroupIDs[iNdEx])
|
|
copy(dAtA[i:], m.GroupIDs[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupIDs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
}
|
|
if len(m.UserID) > 0 {
|
|
i -= len(m.UserID)
|
|
copy(dAtA[i:], m.UserID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.UserID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.UserIDs) > 0 {
|
|
for iNdEx := len(m.UserIDs) - 1; iNdEx >= 0; iNdEx-- {
|
|
i -= len(m.UserIDs[iNdEx])
|
|
copy(dAtA[i:], m.UserIDs[iNdEx])
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.UserIDs[iNdEx])))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelReq) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelReq) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelReq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.RoleLevels) > 0 {
|
|
dAtA17 := make([]byte, len(m.RoleLevels)*10)
|
|
var j16 int
|
|
for _, num1 := range m.RoleLevels {
|
|
num := uint64(num1)
|
|
for num >= 1<<7 {
|
|
dAtA17[j16] = uint8(uint64(num)&0x7f | 0x80)
|
|
num >>= 7
|
|
j16++
|
|
}
|
|
dAtA17[j16] = uint8(num)
|
|
j16++
|
|
}
|
|
i -= j16
|
|
copy(dAtA[i:], dAtA17[:j16])
|
|
i = encodeVarintGroup(dAtA, i, uint64(j16))
|
|
i--
|
|
dAtA[i] = 0x12
|
|
}
|
|
if len(m.GroupID) > 0 {
|
|
i -= len(m.GroupID)
|
|
copy(dAtA[i:], m.GroupID)
|
|
i = encodeVarintGroup(dAtA, i, uint64(len(m.GroupID)))
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelResp) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelResp) MarshalTo(dAtA []byte) (int, error) {
|
|
size := m.Size()
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelResp) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
i := len(dAtA)
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- {
|
|
{
|
|
size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i -= size
|
|
i = encodeVarintGroup(dAtA, i, uint64(size))
|
|
}
|
|
i--
|
|
dAtA[i] = 0xa
|
|
}
|
|
}
|
|
return len(dAtA) - i, nil
|
|
}
|
|
|
|
func encodeVarintGroup(dAtA []byte, offset int, v uint64) int {
|
|
offset -= sovGroup(v)
|
|
base := offset
|
|
for v >= 1<<7 {
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
|
v >>= 7
|
|
offset++
|
|
}
|
|
dAtA[offset] = uint8(v)
|
|
return base
|
|
}
|
|
func (m *CreateGroupReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.InitMembers) > 0 {
|
|
for _, s := range m.InitMembers {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
if m.GroupInfo != nil {
|
|
l = m.GroupInfo.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if len(m.AdminUserIDs) > 0 {
|
|
for _, s := range m.AdminUserIDs {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.OwnerUserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CreateGroupResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.GroupInfo != nil {
|
|
l = m.GroupInfo.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupsInfoReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupIDs) > 0 {
|
|
for _, s := range m.GroupIDs {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupsInfoResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupInfos) > 0 {
|
|
for _, e := range m.GroupInfos {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SetGroupInfoReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.GroupInfoForSet != nil {
|
|
l = m.GroupInfoForSet.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SetGroupInfoResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupApplicationListReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Pagination != nil {
|
|
l = m.Pagination.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.FromUserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupApplicationListResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Total != 0 {
|
|
n += 1 + sovGroup(uint64(m.Total))
|
|
}
|
|
if len(m.GroupRequests) > 0 {
|
|
for _, e := range m.GroupRequests {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Pagination != nil {
|
|
l = m.Pagination.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.UserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetUserReqApplicationListResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Total != 0 {
|
|
n += 1 + sovGroup(uint64(m.Total))
|
|
}
|
|
if len(m.GroupRequests) > 0 {
|
|
for _, e := range m.GroupRequests {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *TransferGroupOwnerReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.OldOwnerUserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.NewOwnerUserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *TransferGroupOwnerResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *JoinGroupReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.ReqMessage)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if m.JoinSource != 0 {
|
|
n += 1 + sovGroup(uint64(m.JoinSource))
|
|
}
|
|
l = len(m.InviterUserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *JoinGroupResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *GroupApplicationResponseReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.FromUserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.HandledMsg)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if m.HandleResult != 0 {
|
|
n += 1 + sovGroup(uint64(m.HandleResult))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GroupApplicationResponseResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *QuitGroupReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *QuitGroupResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMemberListReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Pagination != nil {
|
|
l = m.Pagination.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if m.Filter != 0 {
|
|
n += 1 + sovGroup(uint64(m.Filter))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMemberListResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Total != 0 {
|
|
n += 1 + sovGroup(uint64(m.Total))
|
|
}
|
|
if len(m.Members) > 0 {
|
|
for _, e := range m.Members {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if len(m.Members) > 0 {
|
|
for _, s := range m.Members {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMembersInfoResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for _, e := range m.Members {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *KickGroupMemberReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if len(m.KickedUserIDs) > 0 {
|
|
for _, s := range m.KickedUserIDs {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
l = len(m.Reason)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *KickGroupMemberResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *GetJoinedGroupListReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Pagination != nil {
|
|
l = m.Pagination.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.FromUserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetJoinedGroupListResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Total != 0 {
|
|
n += 1 + sovGroup(uint64(m.Total))
|
|
}
|
|
if len(m.Groups) > 0 {
|
|
for _, e := range m.Groups {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *InviteUserToGroupReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.Reason)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if len(m.InvitedUserIDs) > 0 {
|
|
for _, s := range m.InvitedUserIDs {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *InviteUserToGroupResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupAllMemberReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Pagination != nil {
|
|
l = m.Pagination.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupAllMemberResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for _, e := range m.Members {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CMSGroup) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.GroupInfo != nil {
|
|
l = m.GroupInfo.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.GroupOwnerUserName)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.GroupOwnerUserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupsReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Pagination != nil {
|
|
l = m.Pagination.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.GroupName)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupsResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Total != 0 {
|
|
n += 1 + sovGroup(uint64(m.Total))
|
|
}
|
|
if len(m.Groups) > 0 {
|
|
for _, e := range m.Groups {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMemberReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Pagination != nil {
|
|
l = m.Pagination.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.UserName)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMembersCMSResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Total != 0 {
|
|
n += 1 + sovGroup(uint64(m.Total))
|
|
}
|
|
if len(m.Members) > 0 {
|
|
for _, e := range m.Members {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DismissGroupReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *DismissGroupResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *MuteGroupMemberReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.UserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if m.MutedSeconds != 0 {
|
|
n += 1 + sovGroup(uint64(m.MutedSeconds))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *MuteGroupMemberResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.UserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CancelMuteGroupMemberResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *MuteGroupReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *MuteGroupResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *CancelMuteGroupReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CancelMuteGroupResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.UserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetJoinedSuperGroupListResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Groups) > 0 {
|
|
for _, e := range m.Groups {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupIDs) > 0 {
|
|
for _, s := range m.GroupIDs {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetSuperGroupsInfoResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupInfos) > 0 {
|
|
for _, e := range m.GroupInfos {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SetGroupMemberInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
l = len(m.UserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if m.Nickname != nil {
|
|
l = m.Nickname.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if m.FaceURL != nil {
|
|
l = m.FaceURL.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if m.RoleLevel != nil {
|
|
l = m.RoleLevel.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if m.Ex != nil {
|
|
l = m.Ex.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for _, e := range m.Members {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *SetGroupMemberInfoResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupIDs) > 0 {
|
|
for _, s := range m.GroupIDs {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GroupAbstractInfo) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if m.GroupMemberNumber != 0 {
|
|
n += 1 + sovGroup(uint64(m.GroupMemberNumber))
|
|
}
|
|
if m.GroupMemberListHash != 0 {
|
|
n += 1 + sovGroup(uint64(m.GroupMemberListHash))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupAbstractInfoResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.GroupAbstractInfos) > 0 {
|
|
for _, e := range m.GroupAbstractInfos {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.UserID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if len(m.GroupIDs) > 0 {
|
|
for _, s := range m.GroupIDs {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetUserInGroupMembersResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for _, e := range m.Members {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMemberUserIDResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.UserIDs) > 0 {
|
|
for _, s := range m.UserIDs {
|
|
l = len(s)
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelReq) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.GroupID)
|
|
if l > 0 {
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
if len(m.RoleLevels) > 0 {
|
|
l = 0
|
|
for _, e := range m.RoleLevels {
|
|
l += sovGroup(uint64(e))
|
|
}
|
|
n += 1 + sovGroup(uint64(l)) + l
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *GetGroupMemberRoleLevelResp) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Members) > 0 {
|
|
for _, e := range m.Members {
|
|
l = e.Size()
|
|
n += 1 + l + sovGroup(uint64(l))
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
|
|
func sovGroup(x uint64) (n int) {
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
}
|
|
func sozGroup(x uint64) (n int) {
|
|
return sovGroup(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (m *CreateGroupReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CreateGroupReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CreateGroupReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InitMembers", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.InitMembers = append(m.InitMembers, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.GroupInfo == nil {
|
|
m.GroupInfo = &sdkws.GroupInfo{}
|
|
}
|
|
if err := m.GroupInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AdminUserIDs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AdminUserIDs = append(m.AdminUserIDs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OwnerUserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.OwnerUserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CreateGroupResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CreateGroupResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CreateGroupResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.GroupInfo == nil {
|
|
m.GroupInfo = &sdkws.GroupInfo{}
|
|
}
|
|
if err := m.GroupInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupsInfoReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupsInfoReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupsInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupIDs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupIDs = append(m.GroupIDs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupsInfoResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupsInfoResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupsInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupInfos", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupInfos = append(m.GroupInfos, &sdkws.GroupInfo{})
|
|
if err := m.GroupInfos[len(m.GroupInfos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SetGroupInfoReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SetGroupInfoReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SetGroupInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupInfoForSet", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.GroupInfoForSet == nil {
|
|
m.GroupInfoForSet = &sdkws.GroupInfoForSet{}
|
|
}
|
|
if err := m.GroupInfoForSet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SetGroupInfoResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SetGroupInfoResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SetGroupInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupApplicationListReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupApplicationListReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupApplicationListReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Pagination == nil {
|
|
m.Pagination = &sdkws.RequestPagination{}
|
|
}
|
|
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FromUserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.FromUserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupApplicationListResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupApplicationListResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupApplicationListResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
|
|
}
|
|
m.Total = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Total |= uint32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupRequests", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupRequests = append(m.GroupRequests, &sdkws.GroupRequest{})
|
|
if err := m.GroupRequests[len(m.GroupRequests)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetUserReqApplicationListReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetUserReqApplicationListReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetUserReqApplicationListReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Pagination == nil {
|
|
m.Pagination = &sdkws.RequestPagination{}
|
|
}
|
|
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.UserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetUserReqApplicationListResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetUserReqApplicationListResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetUserReqApplicationListResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
|
|
}
|
|
m.Total = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Total |= uint32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupRequests", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupRequests = append(m.GroupRequests, &sdkws.GroupRequest{})
|
|
if err := m.GroupRequests[len(m.GroupRequests)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *TransferGroupOwnerReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: TransferGroupOwnerReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: TransferGroupOwnerReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field OldOwnerUserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.OldOwnerUserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NewOwnerUserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.NewOwnerUserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *TransferGroupOwnerResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: TransferGroupOwnerResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: TransferGroupOwnerResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *JoinGroupReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: JoinGroupReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: JoinGroupReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ReqMessage", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ReqMessage = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JoinSource", wireType)
|
|
}
|
|
m.JoinSource = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.JoinSource |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InviterUserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.InviterUserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *JoinGroupResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: JoinGroupResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: JoinGroupResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GroupApplicationResponseReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GroupApplicationResponseReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GroupApplicationResponseReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FromUserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.FromUserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HandledMsg", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.HandledMsg = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field HandleResult", wireType)
|
|
}
|
|
m.HandleResult = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.HandleResult |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GroupApplicationResponseResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GroupApplicationResponseResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GroupApplicationResponseResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *QuitGroupReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: QuitGroupReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: QuitGroupReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *QuitGroupResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: QuitGroupResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: QuitGroupResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMemberListReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMemberListReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMemberListReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Pagination == nil {
|
|
m.Pagination = &sdkws.RequestPagination{}
|
|
}
|
|
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType)
|
|
}
|
|
m.Filter = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Filter |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMemberListResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMemberListResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMemberListResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
|
|
}
|
|
m.Total = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Total |= uint32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Members = append(m.Members, &sdkws.GroupMemberFullInfo{})
|
|
if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMembersInfoReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMembersInfoReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMembersInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Members = append(m.Members, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMembersInfoResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMembersInfoResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMembersInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Members = append(m.Members, &sdkws.GroupMemberFullInfo{})
|
|
if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KickGroupMemberReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KickGroupMemberReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KickGroupMemberReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field KickedUserIDs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.KickedUserIDs = append(m.KickedUserIDs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Reason = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *KickGroupMemberResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: KickGroupMemberResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: KickGroupMemberResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetJoinedGroupListReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetJoinedGroupListReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetJoinedGroupListReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Pagination == nil {
|
|
m.Pagination = &sdkws.RequestPagination{}
|
|
}
|
|
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FromUserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.FromUserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetJoinedGroupListResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetJoinedGroupListResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetJoinedGroupListResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
|
|
}
|
|
m.Total = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Total |= uint32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Groups = append(m.Groups, &sdkws.GroupInfo{})
|
|
if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *InviteUserToGroupReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: InviteUserToGroupReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: InviteUserToGroupReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Reason = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field InvitedUserIDs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.InvitedUserIDs = append(m.InvitedUserIDs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *InviteUserToGroupResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: InviteUserToGroupResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: InviteUserToGroupResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupAllMemberReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupAllMemberReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupAllMemberReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Pagination == nil {
|
|
m.Pagination = &sdkws.RequestPagination{}
|
|
}
|
|
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupAllMemberResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupAllMemberResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupAllMemberResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Members = append(m.Members, &sdkws.GroupMemberFullInfo{})
|
|
if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CMSGroup) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CMSGroup: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CMSGroup: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupInfo", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.GroupInfo == nil {
|
|
m.GroupInfo = &sdkws.GroupInfo{}
|
|
}
|
|
if err := m.GroupInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupOwnerUserName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupOwnerUserName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupOwnerUserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupOwnerUserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupsReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupsReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupsReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Pagination == nil {
|
|
m.Pagination = &sdkws.RequestPagination{}
|
|
}
|
|
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupsResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupsResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupsResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
|
|
}
|
|
m.Total = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Total |= uint32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Groups = append(m.Groups, &CMSGroup{})
|
|
if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMemberReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMemberReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMemberReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMembersCMSReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMembersCMSReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMembersCMSReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Pagination == nil {
|
|
m.Pagination = &sdkws.RequestPagination{}
|
|
}
|
|
if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UserName", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.UserName = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMembersCMSResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMembersCMSResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMembersCMSResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
|
|
}
|
|
m.Total = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Total |= uint32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Members = append(m.Members, &sdkws.GroupMemberFullInfo{})
|
|
if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DismissGroupReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: DismissGroupReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DismissGroupReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *DismissGroupResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: DismissGroupResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: DismissGroupResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *MuteGroupMemberReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: MuteGroupMemberReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: MuteGroupMemberReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.UserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field MutedSeconds", wireType)
|
|
}
|
|
m.MutedSeconds = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.MutedSeconds |= uint32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *MuteGroupMemberResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: MuteGroupMemberResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: MuteGroupMemberResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CancelMuteGroupMemberReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CancelMuteGroupMemberReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CancelMuteGroupMemberReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.UserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CancelMuteGroupMemberResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CancelMuteGroupMemberResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CancelMuteGroupMemberResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *MuteGroupReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: MuteGroupReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: MuteGroupReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *MuteGroupResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: MuteGroupResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: MuteGroupResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CancelMuteGroupReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CancelMuteGroupReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CancelMuteGroupReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CancelMuteGroupResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CancelMuteGroupResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CancelMuteGroupResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetJoinedSuperGroupListReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetJoinedSuperGroupListReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetJoinedSuperGroupListReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.UserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetJoinedSuperGroupListResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetJoinedSuperGroupListResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetJoinedSuperGroupListResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Groups = append(m.Groups, &sdkws.GroupInfo{})
|
|
if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetSuperGroupsInfoReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetSuperGroupsInfoReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetSuperGroupsInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupIDs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupIDs = append(m.GroupIDs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetSuperGroupsInfoResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetSuperGroupsInfoResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetSuperGroupsInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupInfos", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupInfos = append(m.GroupInfos, &sdkws.GroupInfo{})
|
|
if err := m.GroupInfos[len(m.GroupInfos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SetGroupMemberInfo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SetGroupMemberInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SetGroupMemberInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.UserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Nickname", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Nickname == nil {
|
|
m.Nickname = &wrapperspb.StringValue{}
|
|
}
|
|
if err := m.Nickname.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field FaceURL", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.FaceURL == nil {
|
|
m.FaceURL = &wrapperspb.StringValue{}
|
|
}
|
|
if err := m.FaceURL.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RoleLevel", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.RoleLevel == nil {
|
|
m.RoleLevel = &wrapperspb.Int32Value{}
|
|
}
|
|
if err := m.RoleLevel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Ex", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Ex == nil {
|
|
m.Ex = &wrapperspb.StringValue{}
|
|
}
|
|
if err := m.Ex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SetGroupMemberInfoReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SetGroupMemberInfoReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SetGroupMemberInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Members = append(m.Members, &SetGroupMemberInfo{})
|
|
if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *SetGroupMemberInfoResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: SetGroupMemberInfoResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: SetGroupMemberInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupAbstractInfoReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupAbstractInfoReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupAbstractInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupIDs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupIDs = append(m.GroupIDs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GroupAbstractInfo) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GroupAbstractInfo: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GroupAbstractInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupMemberNumber", wireType)
|
|
}
|
|
m.GroupMemberNumber = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.GroupMemberNumber |= uint32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupMemberListHash", wireType)
|
|
}
|
|
m.GroupMemberListHash = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.GroupMemberListHash |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupAbstractInfoResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupAbstractInfoResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupAbstractInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupAbstractInfos", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupAbstractInfos = append(m.GroupAbstractInfos, &GroupAbstractInfo{})
|
|
if err := m.GroupAbstractInfos[len(m.GroupAbstractInfos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetUserInGroupMembersReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetUserInGroupMembersReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetUserInGroupMembersReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UserID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.UserID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupIDs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupIDs = append(m.GroupIDs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetUserInGroupMembersResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetUserInGroupMembersResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetUserInGroupMembersResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Members = append(m.Members, &sdkws.GroupMemberFullInfo{})
|
|
if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMemberUserIDReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMemberUserIDReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMemberUserIDReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMemberUserIDResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMemberUserIDResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMemberUserIDResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field UserIDs", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.UserIDs = append(m.UserIDs, string(dAtA[iNdEx:postIndex]))
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMemberRoleLevelReq) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMemberRoleLevelReq: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMemberRoleLevelReq: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
|
|
}
|
|
var stringLen uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
stringLen |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
intStringLen := int(stringLen)
|
|
if intStringLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + intStringLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.GroupID = string(dAtA[iNdEx:postIndex])
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType == 0 {
|
|
var v int32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RoleLevels = append(m.RoleLevels, v)
|
|
} else if wireType == 2 {
|
|
var packedLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
packedLen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if packedLen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + packedLen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
var elementCount int
|
|
var count int
|
|
for _, integer := range dAtA[iNdEx:postIndex] {
|
|
if integer < 128 {
|
|
count++
|
|
}
|
|
}
|
|
elementCount = count
|
|
if elementCount != 0 && len(m.RoleLevels) == 0 {
|
|
m.RoleLevels = make([]int32, 0, elementCount)
|
|
}
|
|
for iNdEx < postIndex {
|
|
var v int32
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= int32(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.RoleLevels = append(m.RoleLevels, v)
|
|
}
|
|
} else {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RoleLevels", wireType)
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *GetGroupMemberRoleLevelResp) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= uint64(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: GetGroupMemberRoleLevelResp: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: GetGroupMemberRoleLevelResp: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= int(b&0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.Members = append(m.Members, &sdkws.GroupMemberFullInfo{})
|
|
if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipGroup(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
return ErrInvalidLengthGroup
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func skipGroup(dAtA []byte) (n int, err error) {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
depth := 0
|
|
for iNdEx < l {
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
wireType := int(wire & 0x7)
|
|
switch wireType {
|
|
case 0:
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx++
|
|
if dAtA[iNdEx-1] < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 1:
|
|
iNdEx += 8
|
|
case 2:
|
|
var length int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowGroup
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
length |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if length < 0 {
|
|
return 0, ErrInvalidLengthGroup
|
|
}
|
|
iNdEx += length
|
|
case 3:
|
|
depth++
|
|
case 4:
|
|
if depth == 0 {
|
|
return 0, ErrUnexpectedEndOfGroupGroup
|
|
}
|
|
depth--
|
|
case 5:
|
|
iNdEx += 4
|
|
default:
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
}
|
|
if iNdEx < 0 {
|
|
return 0, ErrInvalidLengthGroup
|
|
}
|
|
if depth == 0 {
|
|
return iNdEx, nil
|
|
}
|
|
}
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
|
|
var (
|
|
ErrInvalidLengthGroup = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowGroup = fmt.Errorf("proto: integer overflow")
|
|
ErrUnexpectedEndOfGroupGroup = fmt.Errorf("proto: unexpected end of group")
|
|
)
|