diff --git a/tools/data-conversion/common/config.go b/tools/data-conversion/common/config.go index 0d2812569..a55fc63ce 100644 --- a/tools/data-conversion/common/config.go +++ b/tools/data-conversion/common/config.go @@ -1,19 +1,33 @@ +// Copyright © 2023 OpenIM. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package common // MySQL // V2 const ( UsernameV2 = "root" - PasswordV2 = "openIM123" - IpV2 = "43.128.72.19:13306" + PasswordV2 = "openIM" + IpV2 = "127.0.0.1:13306" DatabaseV2 = "openIM_v2" ) // V3 const ( UsernameV3 = "root" - PasswordV3 = "openIM123" - IpV3 = "43.134.63.160:13306" + PasswordV3 = "123456" + IpV3 = "127.0.0.1:13306" DatabaseV3 = "openIM_v3" ) @@ -25,7 +39,7 @@ const ( // Zookeeper const ( - ZkAddr = "43.134.63.160:2181" + ZkAddr = "127.0.0.1:2181" ZKSchema = "openim" ZKUsername = "" ZKPassword = "" diff --git a/tools/data-conversion/common/console.go b/tools/data-conversion/common/console.go index 66a9bede5..b739a8c4c 100644 --- a/tools/data-conversion/common/console.go +++ b/tools/data-conversion/common/console.go @@ -1,3 +1,17 @@ +// Copyright © 2023 OpenIM. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package common import "fmt" diff --git a/tools/data-conversion/conversion.go b/tools/data-conversion/conversion.go index fa50f645d..ea1868031 100644 --- a/tools/data-conversion/conversion.go +++ b/tools/data-conversion/conversion.go @@ -1,3 +1,17 @@ +// Copyright © 2023 OpenIM. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package main import ( diff --git a/tools/data-conversion/msg/kafka_test.go b/tools/data-conversion/msg/kafka_test.go index e926c4541..72b0f84bc 100644 --- a/tools/data-conversion/msg/kafka_test.go +++ b/tools/data-conversion/msg/kafka_test.go @@ -16,10 +16,12 @@ package data_conversion import "testing" +// pass func TestGetMessage(t *testing.T) { GetMessage() } +// pass func TestSendMessage(t *testing.T) { SendMessage() } diff --git a/tools/data-conversion/mysql/mysql-conversion.go b/tools/data-conversion/mysql/mysql-conversion.go index 1ab047a06..f5f0966b2 100644 --- a/tools/data-conversion/mysql/mysql-conversion.go +++ b/tools/data-conversion/mysql/mysql-conversion.go @@ -141,7 +141,7 @@ func GroupConversion() { var results []relation.GroupModel MysqldbV2.Limit(batchSize).Offset(offset).Find(&results) for i, val := range results { - val.GroupType = constant.WorkingGroup // After version 3.0, there is only one group type, which is the work group + results[i].GroupType = constant.WorkingGroup // After version 3.0, there is only one group type, which is the work group temp := time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC) if val.NotificationUpdateTime.Equal(temp) { results[i].NotificationUpdateTime = time.Now() diff --git a/tools/data-conversion/proto/admin_cms/admin_cms.pb.go b/tools/data-conversion/proto/admin_cms/admin_cms.pb.go deleted file mode 100644 index 970a98788..000000000 --- a/tools/data-conversion/proto/admin_cms/admin_cms.pb.go +++ /dev/null @@ -1,3964 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: admin_cms/admin_cms.proto - -package admin_cms // import "Open_IM/pkg/proto/admin_cms" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import sdk_ws "Open_IM/pkg/proto/sdk_ws" - -import ( - context "golang.org/x/net/context" - grpc "google.golang.org/grpc" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - -type CommonResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommonResp) Reset() { *m = CommonResp{} } -func (m *CommonResp) String() string { return proto.CompactTextString(m) } -func (*CommonResp) ProtoMessage() {} -func (*CommonResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{0} -} -func (m *CommonResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommonResp.Unmarshal(m, b) -} -func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic) -} -func (dst *CommonResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonResp.Merge(dst, src) -} -func (m *CommonResp) XXX_Size() int { - return xxx_messageInfo_CommonResp.Size(m) -} -func (m *CommonResp) XXX_DiscardUnknown() { - xxx_messageInfo_CommonResp.DiscardUnknown(m) -} - -var xxx_messageInfo_CommonResp proto.InternalMessageInfo - -func (m *CommonResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *CommonResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -type AdminLoginReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - AdminID string `protobuf:"bytes,2,opt,name=adminID" json:"adminID,omitempty"` - Secret string `protobuf:"bytes,3,opt,name=secret" json:"secret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdminLoginReq) Reset() { *m = AdminLoginReq{} } -func (m *AdminLoginReq) String() string { return proto.CompactTextString(m) } -func (*AdminLoginReq) ProtoMessage() {} -func (*AdminLoginReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{1} -} -func (m *AdminLoginReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdminLoginReq.Unmarshal(m, b) -} -func (m *AdminLoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdminLoginReq.Marshal(b, m, deterministic) -} -func (dst *AdminLoginReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdminLoginReq.Merge(dst, src) -} -func (m *AdminLoginReq) XXX_Size() int { - return xxx_messageInfo_AdminLoginReq.Size(m) -} -func (m *AdminLoginReq) XXX_DiscardUnknown() { - xxx_messageInfo_AdminLoginReq.DiscardUnknown(m) -} - -var xxx_messageInfo_AdminLoginReq proto.InternalMessageInfo - -func (m *AdminLoginReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *AdminLoginReq) GetAdminID() string { - if m != nil { - return m.AdminID - } - return "" -} - -func (m *AdminLoginReq) GetSecret() string { - if m != nil { - return m.Secret - } - return "" -} - -type AdminLoginResp struct { - Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=userName" json:"userName,omitempty"` - FaceURL string `protobuf:"bytes,3,opt,name=faceURL" json:"faceURL,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdminLoginResp) Reset() { *m = AdminLoginResp{} } -func (m *AdminLoginResp) String() string { return proto.CompactTextString(m) } -func (*AdminLoginResp) ProtoMessage() {} -func (*AdminLoginResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{2} -} -func (m *AdminLoginResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdminLoginResp.Unmarshal(m, b) -} -func (m *AdminLoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdminLoginResp.Marshal(b, m, deterministic) -} -func (dst *AdminLoginResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdminLoginResp.Merge(dst, src) -} -func (m *AdminLoginResp) XXX_Size() int { - return xxx_messageInfo_AdminLoginResp.Size(m) -} -func (m *AdminLoginResp) XXX_DiscardUnknown() { - xxx_messageInfo_AdminLoginResp.DiscardUnknown(m) -} - -var xxx_messageInfo_AdminLoginResp proto.InternalMessageInfo - -func (m *AdminLoginResp) GetToken() string { - if m != nil { - return m.Token - } - return "" -} - -func (m *AdminLoginResp) GetUserName() string { - if m != nil { - return m.UserName - } - return "" -} - -func (m *AdminLoginResp) GetFaceURL() string { - if m != nil { - return m.FaceURL - } - return "" -} - -func (m *AdminLoginResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetUserTokenReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - PlatformID int32 `protobuf:"varint,3,opt,name=platformID" json:"platformID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserTokenReq) Reset() { *m = GetUserTokenReq{} } -func (m *GetUserTokenReq) String() string { return proto.CompactTextString(m) } -func (*GetUserTokenReq) ProtoMessage() {} -func (*GetUserTokenReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{3} -} -func (m *GetUserTokenReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserTokenReq.Unmarshal(m, b) -} -func (m *GetUserTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserTokenReq.Marshal(b, m, deterministic) -} -func (dst *GetUserTokenReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserTokenReq.Merge(dst, src) -} -func (m *GetUserTokenReq) XXX_Size() int { - return xxx_messageInfo_GetUserTokenReq.Size(m) -} -func (m *GetUserTokenReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserTokenReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserTokenReq proto.InternalMessageInfo - -func (m *GetUserTokenReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetUserTokenReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *GetUserTokenReq) GetPlatformID() int32 { - if m != nil { - return m.PlatformID - } - return 0 -} - -type GetUserTokenResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` - ExpTime int64 `protobuf:"varint,3,opt,name=expTime" json:"expTime,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserTokenResp) Reset() { *m = GetUserTokenResp{} } -func (m *GetUserTokenResp) String() string { return proto.CompactTextString(m) } -func (*GetUserTokenResp) ProtoMessage() {} -func (*GetUserTokenResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{4} -} -func (m *GetUserTokenResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserTokenResp.Unmarshal(m, b) -} -func (m *GetUserTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserTokenResp.Marshal(b, m, deterministic) -} -func (dst *GetUserTokenResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserTokenResp.Merge(dst, src) -} -func (m *GetUserTokenResp) XXX_Size() int { - return xxx_messageInfo_GetUserTokenResp.Size(m) -} -func (m *GetUserTokenResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserTokenResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserTokenResp proto.InternalMessageInfo - -func (m *GetUserTokenResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *GetUserTokenResp) GetToken() string { - if m != nil { - return m.Token - } - return "" -} - -func (m *GetUserTokenResp) GetExpTime() int64 { - if m != nil { - return m.ExpTime - } - return 0 -} - -type AddUserRegisterAddFriendIDListReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - UserIDList []string `protobuf:"bytes,2,rep,name=userIDList" json:"userIDList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AddUserRegisterAddFriendIDListReq) Reset() { *m = AddUserRegisterAddFriendIDListReq{} } -func (m *AddUserRegisterAddFriendIDListReq) String() string { return proto.CompactTextString(m) } -func (*AddUserRegisterAddFriendIDListReq) ProtoMessage() {} -func (*AddUserRegisterAddFriendIDListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{5} -} -func (m *AddUserRegisterAddFriendIDListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddUserRegisterAddFriendIDListReq.Unmarshal(m, b) -} -func (m *AddUserRegisterAddFriendIDListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddUserRegisterAddFriendIDListReq.Marshal(b, m, deterministic) -} -func (dst *AddUserRegisterAddFriendIDListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserRegisterAddFriendIDListReq.Merge(dst, src) -} -func (m *AddUserRegisterAddFriendIDListReq) XXX_Size() int { - return xxx_messageInfo_AddUserRegisterAddFriendIDListReq.Size(m) -} -func (m *AddUserRegisterAddFriendIDListReq) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserRegisterAddFriendIDListReq.DiscardUnknown(m) -} - -var xxx_messageInfo_AddUserRegisterAddFriendIDListReq proto.InternalMessageInfo - -func (m *AddUserRegisterAddFriendIDListReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *AddUserRegisterAddFriendIDListReq) GetUserIDList() []string { - if m != nil { - return m.UserIDList - } - return nil -} - -type AddUserRegisterAddFriendIDListResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AddUserRegisterAddFriendIDListResp) Reset() { *m = AddUserRegisterAddFriendIDListResp{} } -func (m *AddUserRegisterAddFriendIDListResp) String() string { return proto.CompactTextString(m) } -func (*AddUserRegisterAddFriendIDListResp) ProtoMessage() {} -func (*AddUserRegisterAddFriendIDListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{6} -} -func (m *AddUserRegisterAddFriendIDListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddUserRegisterAddFriendIDListResp.Unmarshal(m, b) -} -func (m *AddUserRegisterAddFriendIDListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddUserRegisterAddFriendIDListResp.Marshal(b, m, deterministic) -} -func (dst *AddUserRegisterAddFriendIDListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserRegisterAddFriendIDListResp.Merge(dst, src) -} -func (m *AddUserRegisterAddFriendIDListResp) XXX_Size() int { - return xxx_messageInfo_AddUserRegisterAddFriendIDListResp.Size(m) -} -func (m *AddUserRegisterAddFriendIDListResp) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserRegisterAddFriendIDListResp.DiscardUnknown(m) -} - -var xxx_messageInfo_AddUserRegisterAddFriendIDListResp proto.InternalMessageInfo - -func (m *AddUserRegisterAddFriendIDListResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type ReduceUserRegisterAddFriendIDListReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - Operation int32 `protobuf:"varint,2,opt,name=operation" json:"operation,omitempty"` - UserIDList []string `protobuf:"bytes,3,rep,name=userIDList" json:"userIDList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReduceUserRegisterAddFriendIDListReq) Reset() { *m = ReduceUserRegisterAddFriendIDListReq{} } -func (m *ReduceUserRegisterAddFriendIDListReq) String() string { return proto.CompactTextString(m) } -func (*ReduceUserRegisterAddFriendIDListReq) ProtoMessage() {} -func (*ReduceUserRegisterAddFriendIDListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{7} -} -func (m *ReduceUserRegisterAddFriendIDListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.Unmarshal(m, b) -} -func (m *ReduceUserRegisterAddFriendIDListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.Marshal(b, m, deterministic) -} -func (dst *ReduceUserRegisterAddFriendIDListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.Merge(dst, src) -} -func (m *ReduceUserRegisterAddFriendIDListReq) XXX_Size() int { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.Size(m) -} -func (m *ReduceUserRegisterAddFriendIDListReq) XXX_DiscardUnknown() { - xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq.DiscardUnknown(m) -} - -var xxx_messageInfo_ReduceUserRegisterAddFriendIDListReq proto.InternalMessageInfo - -func (m *ReduceUserRegisterAddFriendIDListReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *ReduceUserRegisterAddFriendIDListReq) GetOperation() int32 { - if m != nil { - return m.Operation - } - return 0 -} - -func (m *ReduceUserRegisterAddFriendIDListReq) GetUserIDList() []string { - if m != nil { - return m.UserIDList - } - return nil -} - -type ReduceUserRegisterAddFriendIDListResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReduceUserRegisterAddFriendIDListResp) Reset() { *m = ReduceUserRegisterAddFriendIDListResp{} } -func (m *ReduceUserRegisterAddFriendIDListResp) String() string { return proto.CompactTextString(m) } -func (*ReduceUserRegisterAddFriendIDListResp) ProtoMessage() {} -func (*ReduceUserRegisterAddFriendIDListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{8} -} -func (m *ReduceUserRegisterAddFriendIDListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.Unmarshal(m, b) -} -func (m *ReduceUserRegisterAddFriendIDListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.Marshal(b, m, deterministic) -} -func (dst *ReduceUserRegisterAddFriendIDListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.Merge(dst, src) -} -func (m *ReduceUserRegisterAddFriendIDListResp) XXX_Size() int { - return xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.Size(m) -} -func (m *ReduceUserRegisterAddFriendIDListResp) XXX_DiscardUnknown() { - xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp.DiscardUnknown(m) -} - -var xxx_messageInfo_ReduceUserRegisterAddFriendIDListResp proto.InternalMessageInfo - -func (m *ReduceUserRegisterAddFriendIDListResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetUserRegisterAddFriendIDListReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserRegisterAddFriendIDListReq) Reset() { *m = GetUserRegisterAddFriendIDListReq{} } -func (m *GetUserRegisterAddFriendIDListReq) String() string { return proto.CompactTextString(m) } -func (*GetUserRegisterAddFriendIDListReq) ProtoMessage() {} -func (*GetUserRegisterAddFriendIDListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{9} -} -func (m *GetUserRegisterAddFriendIDListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserRegisterAddFriendIDListReq.Unmarshal(m, b) -} -func (m *GetUserRegisterAddFriendIDListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserRegisterAddFriendIDListReq.Marshal(b, m, deterministic) -} -func (dst *GetUserRegisterAddFriendIDListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRegisterAddFriendIDListReq.Merge(dst, src) -} -func (m *GetUserRegisterAddFriendIDListReq) XXX_Size() int { - return xxx_messageInfo_GetUserRegisterAddFriendIDListReq.Size(m) -} -func (m *GetUserRegisterAddFriendIDListReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserRegisterAddFriendIDListReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserRegisterAddFriendIDListReq proto.InternalMessageInfo - -func (m *GetUserRegisterAddFriendIDListReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetUserRegisterAddFriendIDListReq) GetPagination() *sdk_ws.RequestPagination { - if m != nil { - return m.Pagination - } - return nil -} - -type GetUserRegisterAddFriendIDListResp struct { - UserInfoList []*sdk_ws.UserInfo `protobuf:"bytes,1,rep,name=userInfoList" json:"userInfoList,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,3,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserRegisterAddFriendIDListResp) Reset() { *m = GetUserRegisterAddFriendIDListResp{} } -func (m *GetUserRegisterAddFriendIDListResp) String() string { return proto.CompactTextString(m) } -func (*GetUserRegisterAddFriendIDListResp) ProtoMessage() {} -func (*GetUserRegisterAddFriendIDListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{10} -} -func (m *GetUserRegisterAddFriendIDListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserRegisterAddFriendIDListResp.Unmarshal(m, b) -} -func (m *GetUserRegisterAddFriendIDListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserRegisterAddFriendIDListResp.Marshal(b, m, deterministic) -} -func (dst *GetUserRegisterAddFriendIDListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRegisterAddFriendIDListResp.Merge(dst, src) -} -func (m *GetUserRegisterAddFriendIDListResp) XXX_Size() int { - return xxx_messageInfo_GetUserRegisterAddFriendIDListResp.Size(m) -} -func (m *GetUserRegisterAddFriendIDListResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserRegisterAddFriendIDListResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserRegisterAddFriendIDListResp proto.InternalMessageInfo - -func (m *GetUserRegisterAddFriendIDListResp) GetUserInfoList() []*sdk_ws.UserInfo { - if m != nil { - return m.UserInfoList - } - return nil -} - -func (m *GetUserRegisterAddFriendIDListResp) GetPagination() *sdk_ws.ResponsePagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetUserRegisterAddFriendIDListResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetChatLogsReq struct { - Content string `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"` - SendID string `protobuf:"bytes,2,opt,name=sendID" json:"sendID,omitempty"` - RecvID string `protobuf:"bytes,3,opt,name=recvID" json:"recvID,omitempty"` - SendTime string `protobuf:"bytes,4,opt,name=sendTime" json:"sendTime,omitempty"` - SessionType int32 `protobuf:"varint,5,opt,name=sessionType" json:"sessionType,omitempty"` - ContentType int32 `protobuf:"varint,6,opt,name=contentType" json:"contentType,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,7,opt,name=pagination" json:"pagination,omitempty"` - OperationID string `protobuf:"bytes,8,opt,name=operationID" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,9,opt,name=opUserID" json:"opUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetChatLogsReq) Reset() { *m = GetChatLogsReq{} } -func (m *GetChatLogsReq) String() string { return proto.CompactTextString(m) } -func (*GetChatLogsReq) ProtoMessage() {} -func (*GetChatLogsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{11} -} -func (m *GetChatLogsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetChatLogsReq.Unmarshal(m, b) -} -func (m *GetChatLogsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetChatLogsReq.Marshal(b, m, deterministic) -} -func (dst *GetChatLogsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetChatLogsReq.Merge(dst, src) -} -func (m *GetChatLogsReq) XXX_Size() int { - return xxx_messageInfo_GetChatLogsReq.Size(m) -} -func (m *GetChatLogsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetChatLogsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetChatLogsReq proto.InternalMessageInfo - -func (m *GetChatLogsReq) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *GetChatLogsReq) GetSendID() string { - if m != nil { - return m.SendID - } - return "" -} - -func (m *GetChatLogsReq) GetRecvID() string { - if m != nil { - return m.RecvID - } - return "" -} - -func (m *GetChatLogsReq) GetSendTime() string { - if m != nil { - return m.SendTime - } - return "" -} - -func (m *GetChatLogsReq) GetSessionType() int32 { - if m != nil { - return m.SessionType - } - return 0 -} - -func (m *GetChatLogsReq) GetContentType() int32 { - if m != nil { - return m.ContentType - } - return 0 -} - -func (m *GetChatLogsReq) GetPagination() *sdk_ws.RequestPagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetChatLogsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetChatLogsReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type ChatLog struct { - ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID" json:"serverMsgID,omitempty"` - ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID" json:"clientMsgID,omitempty"` - SendID string `protobuf:"bytes,3,opt,name=sendID" json:"sendID,omitempty"` - RecvID string `protobuf:"bytes,4,opt,name=recvID" json:"recvID,omitempty"` - GroupID string `protobuf:"bytes,5,opt,name=groupID" json:"groupID,omitempty"` - RecvNickname string `protobuf:"bytes,6,opt,name=recvNickname" json:"recvNickname,omitempty"` - SenderPlatformID int32 `protobuf:"varint,7,opt,name=senderPlatformID" json:"senderPlatformID,omitempty"` - SenderNickname string `protobuf:"bytes,8,opt,name=senderNickname" json:"senderNickname,omitempty"` - SenderFaceURL string `protobuf:"bytes,9,opt,name=senderFaceURL" json:"senderFaceURL,omitempty"` - GroupName string `protobuf:"bytes,10,opt,name=groupName" json:"groupName,omitempty"` - SessionType int32 `protobuf:"varint,11,opt,name=sessionType" json:"sessionType,omitempty"` - MsgFrom int32 `protobuf:"varint,12,opt,name=msgFrom" json:"msgFrom,omitempty"` - ContentType int32 `protobuf:"varint,13,opt,name=contentType" json:"contentType,omitempty"` - Content string `protobuf:"bytes,14,opt,name=content" json:"content,omitempty"` - Status int32 `protobuf:"varint,15,opt,name=status" json:"status,omitempty"` - SendTime int64 `protobuf:"varint,16,opt,name=sendTime" json:"sendTime,omitempty"` - CreateTime int64 `protobuf:"varint,17,opt,name=createTime" json:"createTime,omitempty"` - Ex string `protobuf:"bytes,18,opt,name=ex" json:"ex,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ChatLog) Reset() { *m = ChatLog{} } -func (m *ChatLog) String() string { return proto.CompactTextString(m) } -func (*ChatLog) ProtoMessage() {} -func (*ChatLog) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{12} -} -func (m *ChatLog) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChatLog.Unmarshal(m, b) -} -func (m *ChatLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChatLog.Marshal(b, m, deterministic) -} -func (dst *ChatLog) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChatLog.Merge(dst, src) -} -func (m *ChatLog) XXX_Size() int { - return xxx_messageInfo_ChatLog.Size(m) -} -func (m *ChatLog) XXX_DiscardUnknown() { - xxx_messageInfo_ChatLog.DiscardUnknown(m) -} - -var xxx_messageInfo_ChatLog proto.InternalMessageInfo - -func (m *ChatLog) GetServerMsgID() string { - if m != nil { - return m.ServerMsgID - } - return "" -} - -func (m *ChatLog) GetClientMsgID() string { - if m != nil { - return m.ClientMsgID - } - return "" -} - -func (m *ChatLog) GetSendID() string { - if m != nil { - return m.SendID - } - return "" -} - -func (m *ChatLog) GetRecvID() string { - if m != nil { - return m.RecvID - } - return "" -} - -func (m *ChatLog) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *ChatLog) GetRecvNickname() string { - if m != nil { - return m.RecvNickname - } - return "" -} - -func (m *ChatLog) GetSenderPlatformID() int32 { - if m != nil { - return m.SenderPlatformID - } - return 0 -} - -func (m *ChatLog) GetSenderNickname() string { - if m != nil { - return m.SenderNickname - } - return "" -} - -func (m *ChatLog) GetSenderFaceURL() string { - if m != nil { - return m.SenderFaceURL - } - return "" -} - -func (m *ChatLog) GetGroupName() string { - if m != nil { - return m.GroupName - } - return "" -} - -func (m *ChatLog) GetSessionType() int32 { - if m != nil { - return m.SessionType - } - return 0 -} - -func (m *ChatLog) GetMsgFrom() int32 { - if m != nil { - return m.MsgFrom - } - return 0 -} - -func (m *ChatLog) GetContentType() int32 { - if m != nil { - return m.ContentType - } - return 0 -} - -func (m *ChatLog) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *ChatLog) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -func (m *ChatLog) GetSendTime() int64 { - if m != nil { - return m.SendTime - } - return 0 -} - -func (m *ChatLog) GetCreateTime() int64 { - if m != nil { - return m.CreateTime - } - return 0 -} - -func (m *ChatLog) GetEx() string { - if m != nil { - return m.Ex - } - return "" -} - -type GetChatLogsResp struct { - ChatLogs []*ChatLog `protobuf:"bytes,1,rep,name=chatLogs" json:"chatLogs,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"` - ChatLogsNum int32 `protobuf:"varint,3,opt,name=chatLogsNum" json:"chatLogsNum,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetChatLogsResp) Reset() { *m = GetChatLogsResp{} } -func (m *GetChatLogsResp) String() string { return proto.CompactTextString(m) } -func (*GetChatLogsResp) ProtoMessage() {} -func (*GetChatLogsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{13} -} -func (m *GetChatLogsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetChatLogsResp.Unmarshal(m, b) -} -func (m *GetChatLogsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetChatLogsResp.Marshal(b, m, deterministic) -} -func (dst *GetChatLogsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetChatLogsResp.Merge(dst, src) -} -func (m *GetChatLogsResp) XXX_Size() int { - return xxx_messageInfo_GetChatLogsResp.Size(m) -} -func (m *GetChatLogsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetChatLogsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetChatLogsResp proto.InternalMessageInfo - -func (m *GetChatLogsResp) GetChatLogs() []*ChatLog { - if m != nil { - return m.ChatLogs - } - return nil -} - -func (m *GetChatLogsResp) GetPagination() *sdk_ws.ResponsePagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetChatLogsResp) GetChatLogsNum() int32 { - if m != nil { - return m.ChatLogsNum - } - return 0 -} - -func (m *GetChatLogsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type StatisticsReq struct { - From string `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"` - To string `protobuf:"bytes,2,opt,name=to" json:"to,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StatisticsReq) Reset() { *m = StatisticsReq{} } -func (m *StatisticsReq) String() string { return proto.CompactTextString(m) } -func (*StatisticsReq) ProtoMessage() {} -func (*StatisticsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{14} -} -func (m *StatisticsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatisticsReq.Unmarshal(m, b) -} -func (m *StatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatisticsReq.Marshal(b, m, deterministic) -} -func (dst *StatisticsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatisticsReq.Merge(dst, src) -} -func (m *StatisticsReq) XXX_Size() int { - return xxx_messageInfo_StatisticsReq.Size(m) -} -func (m *StatisticsReq) XXX_DiscardUnknown() { - xxx_messageInfo_StatisticsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_StatisticsReq proto.InternalMessageInfo - -func (m *StatisticsReq) GetFrom() string { - if m != nil { - return m.From - } - return "" -} - -func (m *StatisticsReq) GetTo() string { - if m != nil { - return m.To - } - return "" -} - -type GetActiveUserReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=statisticsReq" json:"statisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetActiveUserReq) Reset() { *m = GetActiveUserReq{} } -func (m *GetActiveUserReq) String() string { return proto.CompactTextString(m) } -func (*GetActiveUserReq) ProtoMessage() {} -func (*GetActiveUserReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{15} -} -func (m *GetActiveUserReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActiveUserReq.Unmarshal(m, b) -} -func (m *GetActiveUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActiveUserReq.Marshal(b, m, deterministic) -} -func (dst *GetActiveUserReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActiveUserReq.Merge(dst, src) -} -func (m *GetActiveUserReq) XXX_Size() int { - return xxx_messageInfo_GetActiveUserReq.Size(m) -} -func (m *GetActiveUserReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetActiveUserReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActiveUserReq proto.InternalMessageInfo - -func (m *GetActiveUserReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetActiveUserReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type UserResp struct { - NickName string `protobuf:"bytes,1,opt,name=nickName" json:"nickName,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - MessageNum int32 `protobuf:"varint,3,opt,name=messageNum" json:"messageNum,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserResp) Reset() { *m = UserResp{} } -func (m *UserResp) String() string { return proto.CompactTextString(m) } -func (*UserResp) ProtoMessage() {} -func (*UserResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{16} -} -func (m *UserResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserResp.Unmarshal(m, b) -} -func (m *UserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserResp.Marshal(b, m, deterministic) -} -func (dst *UserResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserResp.Merge(dst, src) -} -func (m *UserResp) XXX_Size() int { - return xxx_messageInfo_UserResp.Size(m) -} -func (m *UserResp) XXX_DiscardUnknown() { - xxx_messageInfo_UserResp.DiscardUnknown(m) -} - -var xxx_messageInfo_UserResp proto.InternalMessageInfo - -func (m *UserResp) GetNickName() string { - if m != nil { - return m.NickName - } - return "" -} - -func (m *UserResp) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *UserResp) GetMessageNum() int32 { - if m != nil { - return m.MessageNum - } - return 0 -} - -type GetActiveUserResp struct { - Users []*UserResp `protobuf:"bytes,1,rep,name=Users" json:"Users,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetActiveUserResp) Reset() { *m = GetActiveUserResp{} } -func (m *GetActiveUserResp) String() string { return proto.CompactTextString(m) } -func (*GetActiveUserResp) ProtoMessage() {} -func (*GetActiveUserResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{17} -} -func (m *GetActiveUserResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActiveUserResp.Unmarshal(m, b) -} -func (m *GetActiveUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActiveUserResp.Marshal(b, m, deterministic) -} -func (dst *GetActiveUserResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActiveUserResp.Merge(dst, src) -} -func (m *GetActiveUserResp) XXX_Size() int { - return xxx_messageInfo_GetActiveUserResp.Size(m) -} -func (m *GetActiveUserResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetActiveUserResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActiveUserResp proto.InternalMessageInfo - -func (m *GetActiveUserResp) GetUsers() []*UserResp { - if m != nil { - return m.Users - } - return nil -} - -func (m *GetActiveUserResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetActiveGroupReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=statisticsReq" json:"statisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetActiveGroupReq) Reset() { *m = GetActiveGroupReq{} } -func (m *GetActiveGroupReq) String() string { return proto.CompactTextString(m) } -func (*GetActiveGroupReq) ProtoMessage() {} -func (*GetActiveGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{18} -} -func (m *GetActiveGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActiveGroupReq.Unmarshal(m, b) -} -func (m *GetActiveGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActiveGroupReq.Marshal(b, m, deterministic) -} -func (dst *GetActiveGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActiveGroupReq.Merge(dst, src) -} -func (m *GetActiveGroupReq) XXX_Size() int { - return xxx_messageInfo_GetActiveGroupReq.Size(m) -} -func (m *GetActiveGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetActiveGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActiveGroupReq proto.InternalMessageInfo - -func (m *GetActiveGroupReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetActiveGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GroupResp struct { - GroupName string `protobuf:"bytes,1,opt,name=GroupName" json:"GroupName,omitempty"` - GroupId string `protobuf:"bytes,2,opt,name=GroupId" json:"GroupId,omitempty"` - MessageNum int32 `protobuf:"varint,3,opt,name=MessageNum" json:"MessageNum,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupResp) Reset() { *m = GroupResp{} } -func (m *GroupResp) String() string { return proto.CompactTextString(m) } -func (*GroupResp) ProtoMessage() {} -func (*GroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{19} -} -func (m *GroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupResp.Unmarshal(m, b) -} -func (m *GroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupResp.Marshal(b, m, deterministic) -} -func (dst *GroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupResp.Merge(dst, src) -} -func (m *GroupResp) XXX_Size() int { - return xxx_messageInfo_GroupResp.Size(m) -} -func (m *GroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_GroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupResp proto.InternalMessageInfo - -func (m *GroupResp) GetGroupName() string { - if m != nil { - return m.GroupName - } - return "" -} - -func (m *GroupResp) GetGroupId() string { - if m != nil { - return m.GroupId - } - return "" -} - -func (m *GroupResp) GetMessageNum() int32 { - if m != nil { - return m.MessageNum - } - return 0 -} - -func (m *GroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetActiveGroupResp struct { - Groups []*GroupResp `protobuf:"bytes,1,rep,name=Groups" json:"Groups,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetActiveGroupResp) Reset() { *m = GetActiveGroupResp{} } -func (m *GetActiveGroupResp) String() string { return proto.CompactTextString(m) } -func (*GetActiveGroupResp) ProtoMessage() {} -func (*GetActiveGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{20} -} -func (m *GetActiveGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActiveGroupResp.Unmarshal(m, b) -} -func (m *GetActiveGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActiveGroupResp.Marshal(b, m, deterministic) -} -func (dst *GetActiveGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActiveGroupResp.Merge(dst, src) -} -func (m *GetActiveGroupResp) XXX_Size() int { - return xxx_messageInfo_GetActiveGroupResp.Size(m) -} -func (m *GetActiveGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetActiveGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActiveGroupResp proto.InternalMessageInfo - -func (m *GetActiveGroupResp) GetGroups() []*GroupResp { - if m != nil { - return m.Groups - } - return nil -} - -func (m *GetActiveGroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type DateNumList struct { - Date string `protobuf:"bytes,1,opt,name=Date" json:"Date,omitempty"` - Num int32 `protobuf:"varint,2,opt,name=Num" json:"Num,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DateNumList) Reset() { *m = DateNumList{} } -func (m *DateNumList) String() string { return proto.CompactTextString(m) } -func (*DateNumList) ProtoMessage() {} -func (*DateNumList) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{21} -} -func (m *DateNumList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DateNumList.Unmarshal(m, b) -} -func (m *DateNumList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DateNumList.Marshal(b, m, deterministic) -} -func (dst *DateNumList) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateNumList.Merge(dst, src) -} -func (m *DateNumList) XXX_Size() int { - return xxx_messageInfo_DateNumList.Size(m) -} -func (m *DateNumList) XXX_DiscardUnknown() { - xxx_messageInfo_DateNumList.DiscardUnknown(m) -} - -var xxx_messageInfo_DateNumList proto.InternalMessageInfo - -func (m *DateNumList) GetDate() string { - if m != nil { - return m.Date - } - return "" -} - -func (m *DateNumList) GetNum() int32 { - if m != nil { - return m.Num - } - return 0 -} - -type GetMessageStatisticsReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetMessageStatisticsReq) Reset() { *m = GetMessageStatisticsReq{} } -func (m *GetMessageStatisticsReq) String() string { return proto.CompactTextString(m) } -func (*GetMessageStatisticsReq) ProtoMessage() {} -func (*GetMessageStatisticsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{22} -} -func (m *GetMessageStatisticsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMessageStatisticsReq.Unmarshal(m, b) -} -func (m *GetMessageStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMessageStatisticsReq.Marshal(b, m, deterministic) -} -func (dst *GetMessageStatisticsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMessageStatisticsReq.Merge(dst, src) -} -func (m *GetMessageStatisticsReq) XXX_Size() int { - return xxx_messageInfo_GetMessageStatisticsReq.Size(m) -} -func (m *GetMessageStatisticsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetMessageStatisticsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMessageStatisticsReq proto.InternalMessageInfo - -func (m *GetMessageStatisticsReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetMessageStatisticsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetMessageStatisticsResp struct { - PrivateMessageNum int32 `protobuf:"varint,1,opt,name=PrivateMessageNum" json:"PrivateMessageNum,omitempty"` - GroupMessageNum int32 `protobuf:"varint,2,opt,name=GroupMessageNum" json:"GroupMessageNum,omitempty"` - PrivateMessageNumList []*DateNumList `protobuf:"bytes,3,rep,name=PrivateMessageNumList" json:"PrivateMessageNumList,omitempty"` - GroupMessageNumList []*DateNumList `protobuf:"bytes,4,rep,name=GroupMessageNumList" json:"GroupMessageNumList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,5,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetMessageStatisticsResp) Reset() { *m = GetMessageStatisticsResp{} } -func (m *GetMessageStatisticsResp) String() string { return proto.CompactTextString(m) } -func (*GetMessageStatisticsResp) ProtoMessage() {} -func (*GetMessageStatisticsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{23} -} -func (m *GetMessageStatisticsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMessageStatisticsResp.Unmarshal(m, b) -} -func (m *GetMessageStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMessageStatisticsResp.Marshal(b, m, deterministic) -} -func (dst *GetMessageStatisticsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMessageStatisticsResp.Merge(dst, src) -} -func (m *GetMessageStatisticsResp) XXX_Size() int { - return xxx_messageInfo_GetMessageStatisticsResp.Size(m) -} -func (m *GetMessageStatisticsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetMessageStatisticsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMessageStatisticsResp proto.InternalMessageInfo - -func (m *GetMessageStatisticsResp) GetPrivateMessageNum() int32 { - if m != nil { - return m.PrivateMessageNum - } - return 0 -} - -func (m *GetMessageStatisticsResp) GetGroupMessageNum() int32 { - if m != nil { - return m.GroupMessageNum - } - return 0 -} - -func (m *GetMessageStatisticsResp) GetPrivateMessageNumList() []*DateNumList { - if m != nil { - return m.PrivateMessageNumList - } - return nil -} - -func (m *GetMessageStatisticsResp) GetGroupMessageNumList() []*DateNumList { - if m != nil { - return m.GroupMessageNumList - } - return nil -} - -func (m *GetMessageStatisticsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetGroupStatisticsReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetGroupStatisticsReq) Reset() { *m = GetGroupStatisticsReq{} } -func (m *GetGroupStatisticsReq) String() string { return proto.CompactTextString(m) } -func (*GetGroupStatisticsReq) ProtoMessage() {} -func (*GetGroupStatisticsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{24} -} -func (m *GetGroupStatisticsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupStatisticsReq.Unmarshal(m, b) -} -func (m *GetGroupStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupStatisticsReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupStatisticsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupStatisticsReq.Merge(dst, src) -} -func (m *GetGroupStatisticsReq) XXX_Size() int { - return xxx_messageInfo_GetGroupStatisticsReq.Size(m) -} -func (m *GetGroupStatisticsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupStatisticsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupStatisticsReq proto.InternalMessageInfo - -func (m *GetGroupStatisticsReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetGroupStatisticsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetGroupStatisticsResp struct { - IncreaseGroupNum int32 `protobuf:"varint,1,opt,name=IncreaseGroupNum" json:"IncreaseGroupNum,omitempty"` - TotalGroupNum int32 `protobuf:"varint,2,opt,name=TotalGroupNum" json:"TotalGroupNum,omitempty"` - IncreaseGroupNumList []*DateNumList `protobuf:"bytes,3,rep,name=IncreaseGroupNumList" json:"IncreaseGroupNumList,omitempty"` - TotalGroupNumList []*DateNumList `protobuf:"bytes,4,rep,name=TotalGroupNumList" json:"TotalGroupNumList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,5,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetGroupStatisticsResp) Reset() { *m = GetGroupStatisticsResp{} } -func (m *GetGroupStatisticsResp) String() string { return proto.CompactTextString(m) } -func (*GetGroupStatisticsResp) ProtoMessage() {} -func (*GetGroupStatisticsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{25} -} -func (m *GetGroupStatisticsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupStatisticsResp.Unmarshal(m, b) -} -func (m *GetGroupStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupStatisticsResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupStatisticsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupStatisticsResp.Merge(dst, src) -} -func (m *GetGroupStatisticsResp) XXX_Size() int { - return xxx_messageInfo_GetGroupStatisticsResp.Size(m) -} -func (m *GetGroupStatisticsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupStatisticsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupStatisticsResp proto.InternalMessageInfo - -func (m *GetGroupStatisticsResp) GetIncreaseGroupNum() int32 { - if m != nil { - return m.IncreaseGroupNum - } - return 0 -} - -func (m *GetGroupStatisticsResp) GetTotalGroupNum() int32 { - if m != nil { - return m.TotalGroupNum - } - return 0 -} - -func (m *GetGroupStatisticsResp) GetIncreaseGroupNumList() []*DateNumList { - if m != nil { - return m.IncreaseGroupNumList - } - return nil -} - -func (m *GetGroupStatisticsResp) GetTotalGroupNumList() []*DateNumList { - if m != nil { - return m.TotalGroupNumList - } - return nil -} - -func (m *GetGroupStatisticsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetUserStatisticsReq struct { - StatisticsReq *StatisticsReq `protobuf:"bytes,1,opt,name=StatisticsReq" json:"StatisticsReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserStatisticsReq) Reset() { *m = GetUserStatisticsReq{} } -func (m *GetUserStatisticsReq) String() string { return proto.CompactTextString(m) } -func (*GetUserStatisticsReq) ProtoMessage() {} -func (*GetUserStatisticsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{26} -} -func (m *GetUserStatisticsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserStatisticsReq.Unmarshal(m, b) -} -func (m *GetUserStatisticsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserStatisticsReq.Marshal(b, m, deterministic) -} -func (dst *GetUserStatisticsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserStatisticsReq.Merge(dst, src) -} -func (m *GetUserStatisticsReq) XXX_Size() int { - return xxx_messageInfo_GetUserStatisticsReq.Size(m) -} -func (m *GetUserStatisticsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserStatisticsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserStatisticsReq proto.InternalMessageInfo - -func (m *GetUserStatisticsReq) GetStatisticsReq() *StatisticsReq { - if m != nil { - return m.StatisticsReq - } - return nil -} - -func (m *GetUserStatisticsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetUserStatisticsResp struct { - IncreaseUserNum int32 `protobuf:"varint,1,opt,name=IncreaseUserNum" json:"IncreaseUserNum,omitempty"` - ActiveUserNum int32 `protobuf:"varint,2,opt,name=ActiveUserNum" json:"ActiveUserNum,omitempty"` - TotalUserNum int32 `protobuf:"varint,3,opt,name=TotalUserNum" json:"TotalUserNum,omitempty"` - IncreaseUserNumList []*DateNumList `protobuf:"bytes,4,rep,name=IncreaseUserNumList" json:"IncreaseUserNumList,omitempty"` - ActiveUserNumList []*DateNumList `protobuf:"bytes,5,rep,name=ActiveUserNumList" json:"ActiveUserNumList,omitempty"` - TotalUserNumList []*DateNumList `protobuf:"bytes,6,rep,name=TotalUserNumList" json:"TotalUserNumList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,7,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserStatisticsResp) Reset() { *m = GetUserStatisticsResp{} } -func (m *GetUserStatisticsResp) String() string { return proto.CompactTextString(m) } -func (*GetUserStatisticsResp) ProtoMessage() {} -func (*GetUserStatisticsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{27} -} -func (m *GetUserStatisticsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserStatisticsResp.Unmarshal(m, b) -} -func (m *GetUserStatisticsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserStatisticsResp.Marshal(b, m, deterministic) -} -func (dst *GetUserStatisticsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserStatisticsResp.Merge(dst, src) -} -func (m *GetUserStatisticsResp) XXX_Size() int { - return xxx_messageInfo_GetUserStatisticsResp.Size(m) -} -func (m *GetUserStatisticsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserStatisticsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserStatisticsResp proto.InternalMessageInfo - -func (m *GetUserStatisticsResp) GetIncreaseUserNum() int32 { - if m != nil { - return m.IncreaseUserNum - } - return 0 -} - -func (m *GetUserStatisticsResp) GetActiveUserNum() int32 { - if m != nil { - return m.ActiveUserNum - } - return 0 -} - -func (m *GetUserStatisticsResp) GetTotalUserNum() int32 { - if m != nil { - return m.TotalUserNum - } - return 0 -} - -func (m *GetUserStatisticsResp) GetIncreaseUserNumList() []*DateNumList { - if m != nil { - return m.IncreaseUserNumList - } - return nil -} - -func (m *GetUserStatisticsResp) GetActiveUserNumList() []*DateNumList { - if m != nil { - return m.ActiveUserNumList - } - return nil -} - -func (m *GetUserStatisticsResp) GetTotalUserNumList() []*DateNumList { - if m != nil { - return m.TotalUserNumList - } - return nil -} - -func (m *GetUserStatisticsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GenerateInvitationCodeReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - CodeLen int32 `protobuf:"varint,2,opt,name=codeLen" json:"codeLen,omitempty"` - CodeNum int32 `protobuf:"varint,3,opt,name=codeNum" json:"codeNum,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateInvitationCodeReq) Reset() { *m = GenerateInvitationCodeReq{} } -func (m *GenerateInvitationCodeReq) String() string { return proto.CompactTextString(m) } -func (*GenerateInvitationCodeReq) ProtoMessage() {} -func (*GenerateInvitationCodeReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{28} -} -func (m *GenerateInvitationCodeReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateInvitationCodeReq.Unmarshal(m, b) -} -func (m *GenerateInvitationCodeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateInvitationCodeReq.Marshal(b, m, deterministic) -} -func (dst *GenerateInvitationCodeReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateInvitationCodeReq.Merge(dst, src) -} -func (m *GenerateInvitationCodeReq) XXX_Size() int { - return xxx_messageInfo_GenerateInvitationCodeReq.Size(m) -} -func (m *GenerateInvitationCodeReq) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateInvitationCodeReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateInvitationCodeReq proto.InternalMessageInfo - -func (m *GenerateInvitationCodeReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GenerateInvitationCodeReq) GetCodeLen() int32 { - if m != nil { - return m.CodeLen - } - return 0 -} - -func (m *GenerateInvitationCodeReq) GetCodeNum() int32 { - if m != nil { - return m.CodeNum - } - return 0 -} - -type GenerateInvitationCodeResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateInvitationCodeResp) Reset() { *m = GenerateInvitationCodeResp{} } -func (m *GenerateInvitationCodeResp) String() string { return proto.CompactTextString(m) } -func (*GenerateInvitationCodeResp) ProtoMessage() {} -func (*GenerateInvitationCodeResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{29} -} -func (m *GenerateInvitationCodeResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateInvitationCodeResp.Unmarshal(m, b) -} -func (m *GenerateInvitationCodeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateInvitationCodeResp.Marshal(b, m, deterministic) -} -func (dst *GenerateInvitationCodeResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateInvitationCodeResp.Merge(dst, src) -} -func (m *GenerateInvitationCodeResp) XXX_Size() int { - return xxx_messageInfo_GenerateInvitationCodeResp.Size(m) -} -func (m *GenerateInvitationCodeResp) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateInvitationCodeResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateInvitationCodeResp proto.InternalMessageInfo - -func (m *GenerateInvitationCodeResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetInvitationCodesReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - Code string `protobuf:"bytes,2,opt,name=code" json:"code,omitempty"` - Status int32 `protobuf:"varint,3,opt,name=status" json:"status,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,4,opt,name=pagination" json:"pagination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetInvitationCodesReq) Reset() { *m = GetInvitationCodesReq{} } -func (m *GetInvitationCodesReq) String() string { return proto.CompactTextString(m) } -func (*GetInvitationCodesReq) ProtoMessage() {} -func (*GetInvitationCodesReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{30} -} -func (m *GetInvitationCodesReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInvitationCodesReq.Unmarshal(m, b) -} -func (m *GetInvitationCodesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInvitationCodesReq.Marshal(b, m, deterministic) -} -func (dst *GetInvitationCodesReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInvitationCodesReq.Merge(dst, src) -} -func (m *GetInvitationCodesReq) XXX_Size() int { - return xxx_messageInfo_GetInvitationCodesReq.Size(m) -} -func (m *GetInvitationCodesReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetInvitationCodesReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInvitationCodesReq proto.InternalMessageInfo - -func (m *GetInvitationCodesReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetInvitationCodesReq) GetCode() string { - if m != nil { - return m.Code - } - return "" -} - -func (m *GetInvitationCodesReq) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -func (m *GetInvitationCodesReq) GetPagination() *sdk_ws.RequestPagination { - if m != nil { - return m.Pagination - } - return nil -} - -type InvitationCode struct { - InvitationCode string `protobuf:"bytes,1,opt,name=invitationCode" json:"invitationCode,omitempty"` - CreateTime int32 `protobuf:"varint,2,opt,name=createTime" json:"createTime,omitempty"` - LastTime int32 `protobuf:"varint,3,opt,name=lastTime" json:"lastTime,omitempty"` - UserID string `protobuf:"bytes,4,opt,name=userID" json:"userID,omitempty"` - Status int32 `protobuf:"varint,5,opt,name=status" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InvitationCode) Reset() { *m = InvitationCode{} } -func (m *InvitationCode) String() string { return proto.CompactTextString(m) } -func (*InvitationCode) ProtoMessage() {} -func (*InvitationCode) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{31} -} -func (m *InvitationCode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvitationCode.Unmarshal(m, b) -} -func (m *InvitationCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvitationCode.Marshal(b, m, deterministic) -} -func (dst *InvitationCode) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvitationCode.Merge(dst, src) -} -func (m *InvitationCode) XXX_Size() int { - return xxx_messageInfo_InvitationCode.Size(m) -} -func (m *InvitationCode) XXX_DiscardUnknown() { - xxx_messageInfo_InvitationCode.DiscardUnknown(m) -} - -var xxx_messageInfo_InvitationCode proto.InternalMessageInfo - -func (m *InvitationCode) GetInvitationCode() string { - if m != nil { - return m.InvitationCode - } - return "" -} - -func (m *InvitationCode) GetCreateTime() int32 { - if m != nil { - return m.CreateTime - } - return 0 -} - -func (m *InvitationCode) GetLastTime() int32 { - if m != nil { - return m.LastTime - } - return 0 -} - -func (m *InvitationCode) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *InvitationCode) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -type GetInvitationCodesResp struct { - InvitationCodes []*InvitationCode `protobuf:"bytes,1,rep,name=invitationCodes" json:"invitationCodes,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=Pagination" json:"Pagination,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,3,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetInvitationCodesResp) Reset() { *m = GetInvitationCodesResp{} } -func (m *GetInvitationCodesResp) String() string { return proto.CompactTextString(m) } -func (*GetInvitationCodesResp) ProtoMessage() {} -func (*GetInvitationCodesResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{32} -} -func (m *GetInvitationCodesResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInvitationCodesResp.Unmarshal(m, b) -} -func (m *GetInvitationCodesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInvitationCodesResp.Marshal(b, m, deterministic) -} -func (dst *GetInvitationCodesResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInvitationCodesResp.Merge(dst, src) -} -func (m *GetInvitationCodesResp) XXX_Size() int { - return xxx_messageInfo_GetInvitationCodesResp.Size(m) -} -func (m *GetInvitationCodesResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetInvitationCodesResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInvitationCodesResp proto.InternalMessageInfo - -func (m *GetInvitationCodesResp) GetInvitationCodes() []*InvitationCode { - if m != nil { - return m.InvitationCodes - } - return nil -} - -func (m *GetInvitationCodesResp) GetPagination() *sdk_ws.ResponsePagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetInvitationCodesResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type QueryIPRegisterReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,2,opt,name=IP" json:"IP,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QueryIPRegisterReq) Reset() { *m = QueryIPRegisterReq{} } -func (m *QueryIPRegisterReq) String() string { return proto.CompactTextString(m) } -func (*QueryIPRegisterReq) ProtoMessage() {} -func (*QueryIPRegisterReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{33} -} -func (m *QueryIPRegisterReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryIPRegisterReq.Unmarshal(m, b) -} -func (m *QueryIPRegisterReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryIPRegisterReq.Marshal(b, m, deterministic) -} -func (dst *QueryIPRegisterReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryIPRegisterReq.Merge(dst, src) -} -func (m *QueryIPRegisterReq) XXX_Size() int { - return xxx_messageInfo_QueryIPRegisterReq.Size(m) -} -func (m *QueryIPRegisterReq) XXX_DiscardUnknown() { - xxx_messageInfo_QueryIPRegisterReq.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryIPRegisterReq proto.InternalMessageInfo - -func (m *QueryIPRegisterReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *QueryIPRegisterReq) GetIP() string { - if m != nil { - return m.IP - } - return "" -} - -type QueryIPRegisterResp struct { - IP string `protobuf:"bytes,1,opt,name=IP" json:"IP,omitempty"` - RegisterNum int32 `protobuf:"varint,2,opt,name=RegisterNum" json:"RegisterNum,omitempty"` - Status int32 `protobuf:"varint,3,opt,name=Status" json:"Status,omitempty"` - UserIDList []string `protobuf:"bytes,4,rep,name=userIDList" json:"userIDList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,5,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QueryIPRegisterResp) Reset() { *m = QueryIPRegisterResp{} } -func (m *QueryIPRegisterResp) String() string { return proto.CompactTextString(m) } -func (*QueryIPRegisterResp) ProtoMessage() {} -func (*QueryIPRegisterResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{34} -} -func (m *QueryIPRegisterResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryIPRegisterResp.Unmarshal(m, b) -} -func (m *QueryIPRegisterResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryIPRegisterResp.Marshal(b, m, deterministic) -} -func (dst *QueryIPRegisterResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryIPRegisterResp.Merge(dst, src) -} -func (m *QueryIPRegisterResp) XXX_Size() int { - return xxx_messageInfo_QueryIPRegisterResp.Size(m) -} -func (m *QueryIPRegisterResp) XXX_DiscardUnknown() { - xxx_messageInfo_QueryIPRegisterResp.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryIPRegisterResp proto.InternalMessageInfo - -func (m *QueryIPRegisterResp) GetIP() string { - if m != nil { - return m.IP - } - return "" -} - -func (m *QueryIPRegisterResp) GetRegisterNum() int32 { - if m != nil { - return m.RegisterNum - } - return 0 -} - -func (m *QueryIPRegisterResp) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -func (m *QueryIPRegisterResp) GetUserIDList() []string { - if m != nil { - return m.UserIDList - } - return nil -} - -func (m *QueryIPRegisterResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type AddIPLimitReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,2,opt,name=IP" json:"IP,omitempty"` - LimitTime int32 `protobuf:"varint,3,opt,name=limitTime" json:"limitTime,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AddIPLimitReq) Reset() { *m = AddIPLimitReq{} } -func (m *AddIPLimitReq) String() string { return proto.CompactTextString(m) } -func (*AddIPLimitReq) ProtoMessage() {} -func (*AddIPLimitReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{35} -} -func (m *AddIPLimitReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddIPLimitReq.Unmarshal(m, b) -} -func (m *AddIPLimitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddIPLimitReq.Marshal(b, m, deterministic) -} -func (dst *AddIPLimitReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddIPLimitReq.Merge(dst, src) -} -func (m *AddIPLimitReq) XXX_Size() int { - return xxx_messageInfo_AddIPLimitReq.Size(m) -} -func (m *AddIPLimitReq) XXX_DiscardUnknown() { - xxx_messageInfo_AddIPLimitReq.DiscardUnknown(m) -} - -var xxx_messageInfo_AddIPLimitReq proto.InternalMessageInfo - -func (m *AddIPLimitReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *AddIPLimitReq) GetIP() string { - if m != nil { - return m.IP - } - return "" -} - -func (m *AddIPLimitReq) GetLimitTime() int32 { - if m != nil { - return m.LimitTime - } - return 0 -} - -type AddIPLimitResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AddIPLimitResp) Reset() { *m = AddIPLimitResp{} } -func (m *AddIPLimitResp) String() string { return proto.CompactTextString(m) } -func (*AddIPLimitResp) ProtoMessage() {} -func (*AddIPLimitResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{36} -} -func (m *AddIPLimitResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddIPLimitResp.Unmarshal(m, b) -} -func (m *AddIPLimitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddIPLimitResp.Marshal(b, m, deterministic) -} -func (dst *AddIPLimitResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddIPLimitResp.Merge(dst, src) -} -func (m *AddIPLimitResp) XXX_Size() int { - return xxx_messageInfo_AddIPLimitResp.Size(m) -} -func (m *AddIPLimitResp) XXX_DiscardUnknown() { - xxx_messageInfo_AddIPLimitResp.DiscardUnknown(m) -} - -var xxx_messageInfo_AddIPLimitResp proto.InternalMessageInfo - -func (m *AddIPLimitResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type RemoveIPLimitReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,2,opt,name=IP" json:"IP,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemoveIPLimitReq) Reset() { *m = RemoveIPLimitReq{} } -func (m *RemoveIPLimitReq) String() string { return proto.CompactTextString(m) } -func (*RemoveIPLimitReq) ProtoMessage() {} -func (*RemoveIPLimitReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{37} -} -func (m *RemoveIPLimitReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveIPLimitReq.Unmarshal(m, b) -} -func (m *RemoveIPLimitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveIPLimitReq.Marshal(b, m, deterministic) -} -func (dst *RemoveIPLimitReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveIPLimitReq.Merge(dst, src) -} -func (m *RemoveIPLimitReq) XXX_Size() int { - return xxx_messageInfo_RemoveIPLimitReq.Size(m) -} -func (m *RemoveIPLimitReq) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveIPLimitReq.DiscardUnknown(m) -} - -var xxx_messageInfo_RemoveIPLimitReq proto.InternalMessageInfo - -func (m *RemoveIPLimitReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *RemoveIPLimitReq) GetIP() string { - if m != nil { - return m.IP - } - return "" -} - -type RemoveIPLimitResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemoveIPLimitResp) Reset() { *m = RemoveIPLimitResp{} } -func (m *RemoveIPLimitResp) String() string { return proto.CompactTextString(m) } -func (*RemoveIPLimitResp) ProtoMessage() {} -func (*RemoveIPLimitResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{38} -} -func (m *RemoveIPLimitResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveIPLimitResp.Unmarshal(m, b) -} -func (m *RemoveIPLimitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveIPLimitResp.Marshal(b, m, deterministic) -} -func (dst *RemoveIPLimitResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveIPLimitResp.Merge(dst, src) -} -func (m *RemoveIPLimitResp) XXX_Size() int { - return xxx_messageInfo_RemoveIPLimitResp.Size(m) -} -func (m *RemoveIPLimitResp) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveIPLimitResp.DiscardUnknown(m) -} - -var xxx_messageInfo_RemoveIPLimitResp proto.InternalMessageInfo - -func (m *RemoveIPLimitResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type QueryUserIDIPLimitLoginReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QueryUserIDIPLimitLoginReq) Reset() { *m = QueryUserIDIPLimitLoginReq{} } -func (m *QueryUserIDIPLimitLoginReq) String() string { return proto.CompactTextString(m) } -func (*QueryUserIDIPLimitLoginReq) ProtoMessage() {} -func (*QueryUserIDIPLimitLoginReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{39} -} -func (m *QueryUserIDIPLimitLoginReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryUserIDIPLimitLoginReq.Unmarshal(m, b) -} -func (m *QueryUserIDIPLimitLoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryUserIDIPLimitLoginReq.Marshal(b, m, deterministic) -} -func (dst *QueryUserIDIPLimitLoginReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryUserIDIPLimitLoginReq.Merge(dst, src) -} -func (m *QueryUserIDIPLimitLoginReq) XXX_Size() int { - return xxx_messageInfo_QueryUserIDIPLimitLoginReq.Size(m) -} -func (m *QueryUserIDIPLimitLoginReq) XXX_DiscardUnknown() { - xxx_messageInfo_QueryUserIDIPLimitLoginReq.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryUserIDIPLimitLoginReq proto.InternalMessageInfo - -func (m *QueryUserIDIPLimitLoginReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *QueryUserIDIPLimitLoginReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -type UserIPLimit struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - IP string `protobuf:"bytes,2,opt,name=IP" json:"IP,omitempty"` - CreateTime int32 `protobuf:"varint,3,opt,name=createTime" json:"createTime,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserIPLimit) Reset() { *m = UserIPLimit{} } -func (m *UserIPLimit) String() string { return proto.CompactTextString(m) } -func (*UserIPLimit) ProtoMessage() {} -func (*UserIPLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{40} -} -func (m *UserIPLimit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserIPLimit.Unmarshal(m, b) -} -func (m *UserIPLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserIPLimit.Marshal(b, m, deterministic) -} -func (dst *UserIPLimit) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserIPLimit.Merge(dst, src) -} -func (m *UserIPLimit) XXX_Size() int { - return xxx_messageInfo_UserIPLimit.Size(m) -} -func (m *UserIPLimit) XXX_DiscardUnknown() { - xxx_messageInfo_UserIPLimit.DiscardUnknown(m) -} - -var xxx_messageInfo_UserIPLimit proto.InternalMessageInfo - -func (m *UserIPLimit) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *UserIPLimit) GetIP() string { - if m != nil { - return m.IP - } - return "" -} - -func (m *UserIPLimit) GetCreateTime() int32 { - if m != nil { - return m.CreateTime - } - return 0 -} - -type QueryUserIDIPLimitLoginResp struct { - UserIPLimits []*UserIPLimit `protobuf:"bytes,1,rep,name=UserIPLimits" json:"UserIPLimits,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QueryUserIDIPLimitLoginResp) Reset() { *m = QueryUserIDIPLimitLoginResp{} } -func (m *QueryUserIDIPLimitLoginResp) String() string { return proto.CompactTextString(m) } -func (*QueryUserIDIPLimitLoginResp) ProtoMessage() {} -func (*QueryUserIDIPLimitLoginResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{41} -} -func (m *QueryUserIDIPLimitLoginResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryUserIDIPLimitLoginResp.Unmarshal(m, b) -} -func (m *QueryUserIDIPLimitLoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryUserIDIPLimitLoginResp.Marshal(b, m, deterministic) -} -func (dst *QueryUserIDIPLimitLoginResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryUserIDIPLimitLoginResp.Merge(dst, src) -} -func (m *QueryUserIDIPLimitLoginResp) XXX_Size() int { - return xxx_messageInfo_QueryUserIDIPLimitLoginResp.Size(m) -} -func (m *QueryUserIDIPLimitLoginResp) XXX_DiscardUnknown() { - xxx_messageInfo_QueryUserIDIPLimitLoginResp.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryUserIDIPLimitLoginResp proto.InternalMessageInfo - -func (m *QueryUserIDIPLimitLoginResp) GetUserIPLimits() []*UserIPLimit { - if m != nil { - return m.UserIPLimits - } - return nil -} - -func (m *QueryUserIDIPLimitLoginResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type AddUserIPLimitLoginReq struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,3,opt,name=IP" json:"IP,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AddUserIPLimitLoginReq) Reset() { *m = AddUserIPLimitLoginReq{} } -func (m *AddUserIPLimitLoginReq) String() string { return proto.CompactTextString(m) } -func (*AddUserIPLimitLoginReq) ProtoMessage() {} -func (*AddUserIPLimitLoginReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{42} -} -func (m *AddUserIPLimitLoginReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddUserIPLimitLoginReq.Unmarshal(m, b) -} -func (m *AddUserIPLimitLoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddUserIPLimitLoginReq.Marshal(b, m, deterministic) -} -func (dst *AddUserIPLimitLoginReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserIPLimitLoginReq.Merge(dst, src) -} -func (m *AddUserIPLimitLoginReq) XXX_Size() int { - return xxx_messageInfo_AddUserIPLimitLoginReq.Size(m) -} -func (m *AddUserIPLimitLoginReq) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserIPLimitLoginReq.DiscardUnknown(m) -} - -var xxx_messageInfo_AddUserIPLimitLoginReq proto.InternalMessageInfo - -func (m *AddUserIPLimitLoginReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *AddUserIPLimitLoginReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *AddUserIPLimitLoginReq) GetIP() string { - if m != nil { - return m.IP - } - return "" -} - -type AddUserIPLimitLoginResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AddUserIPLimitLoginResp) Reset() { *m = AddUserIPLimitLoginResp{} } -func (m *AddUserIPLimitLoginResp) String() string { return proto.CompactTextString(m) } -func (*AddUserIPLimitLoginResp) ProtoMessage() {} -func (*AddUserIPLimitLoginResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{43} -} -func (m *AddUserIPLimitLoginResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddUserIPLimitLoginResp.Unmarshal(m, b) -} -func (m *AddUserIPLimitLoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddUserIPLimitLoginResp.Marshal(b, m, deterministic) -} -func (dst *AddUserIPLimitLoginResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserIPLimitLoginResp.Merge(dst, src) -} -func (m *AddUserIPLimitLoginResp) XXX_Size() int { - return xxx_messageInfo_AddUserIPLimitLoginResp.Size(m) -} -func (m *AddUserIPLimitLoginResp) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserIPLimitLoginResp.DiscardUnknown(m) -} - -var xxx_messageInfo_AddUserIPLimitLoginResp proto.InternalMessageInfo - -func (m *AddUserIPLimitLoginResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type RemoveUserIPLimitReq struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - IP string `protobuf:"bytes,3,opt,name=IP" json:"IP,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemoveUserIPLimitReq) Reset() { *m = RemoveUserIPLimitReq{} } -func (m *RemoveUserIPLimitReq) String() string { return proto.CompactTextString(m) } -func (*RemoveUserIPLimitReq) ProtoMessage() {} -func (*RemoveUserIPLimitReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{44} -} -func (m *RemoveUserIPLimitReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveUserIPLimitReq.Unmarshal(m, b) -} -func (m *RemoveUserIPLimitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveUserIPLimitReq.Marshal(b, m, deterministic) -} -func (dst *RemoveUserIPLimitReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveUserIPLimitReq.Merge(dst, src) -} -func (m *RemoveUserIPLimitReq) XXX_Size() int { - return xxx_messageInfo_RemoveUserIPLimitReq.Size(m) -} -func (m *RemoveUserIPLimitReq) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveUserIPLimitReq.DiscardUnknown(m) -} - -var xxx_messageInfo_RemoveUserIPLimitReq proto.InternalMessageInfo - -func (m *RemoveUserIPLimitReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *RemoveUserIPLimitReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *RemoveUserIPLimitReq) GetIP() string { - if m != nil { - return m.IP - } - return "" -} - -type RemoveUserIPLimitResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemoveUserIPLimitResp) Reset() { *m = RemoveUserIPLimitResp{} } -func (m *RemoveUserIPLimitResp) String() string { return proto.CompactTextString(m) } -func (*RemoveUserIPLimitResp) ProtoMessage() {} -func (*RemoveUserIPLimitResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{45} -} -func (m *RemoveUserIPLimitResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveUserIPLimitResp.Unmarshal(m, b) -} -func (m *RemoveUserIPLimitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveUserIPLimitResp.Marshal(b, m, deterministic) -} -func (dst *RemoveUserIPLimitResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveUserIPLimitResp.Merge(dst, src) -} -func (m *RemoveUserIPLimitResp) XXX_Size() int { - return xxx_messageInfo_RemoveUserIPLimitResp.Size(m) -} -func (m *RemoveUserIPLimitResp) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveUserIPLimitResp.DiscardUnknown(m) -} - -var xxx_messageInfo_RemoveUserIPLimitResp proto.InternalMessageInfo - -func (m *RemoveUserIPLimitResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetClientInitConfigReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetClientInitConfigReq) Reset() { *m = GetClientInitConfigReq{} } -func (m *GetClientInitConfigReq) String() string { return proto.CompactTextString(m) } -func (*GetClientInitConfigReq) ProtoMessage() {} -func (*GetClientInitConfigReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{46} -} -func (m *GetClientInitConfigReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClientInitConfigReq.Unmarshal(m, b) -} -func (m *GetClientInitConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClientInitConfigReq.Marshal(b, m, deterministic) -} -func (dst *GetClientInitConfigReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClientInitConfigReq.Merge(dst, src) -} -func (m *GetClientInitConfigReq) XXX_Size() int { - return xxx_messageInfo_GetClientInitConfigReq.Size(m) -} -func (m *GetClientInitConfigReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetClientInitConfigReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClientInitConfigReq proto.InternalMessageInfo - -func (m *GetClientInitConfigReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetClientInitConfigResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetClientInitConfigResp) Reset() { *m = GetClientInitConfigResp{} } -func (m *GetClientInitConfigResp) String() string { return proto.CompactTextString(m) } -func (*GetClientInitConfigResp) ProtoMessage() {} -func (*GetClientInitConfigResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{47} -} -func (m *GetClientInitConfigResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClientInitConfigResp.Unmarshal(m, b) -} -func (m *GetClientInitConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClientInitConfigResp.Marshal(b, m, deterministic) -} -func (dst *GetClientInitConfigResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClientInitConfigResp.Merge(dst, src) -} -func (m *GetClientInitConfigResp) XXX_Size() int { - return xxx_messageInfo_GetClientInitConfigResp.Size(m) -} -func (m *GetClientInitConfigResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetClientInitConfigResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClientInitConfigResp proto.InternalMessageInfo - -func (m *GetClientInitConfigResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type SetClientInitConfigReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - DiscoverPageURL string `protobuf:"bytes,2,opt,name=discoverPageURL" json:"discoverPageURL,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SetClientInitConfigReq) Reset() { *m = SetClientInitConfigReq{} } -func (m *SetClientInitConfigReq) String() string { return proto.CompactTextString(m) } -func (*SetClientInitConfigReq) ProtoMessage() {} -func (*SetClientInitConfigReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{48} -} -func (m *SetClientInitConfigReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetClientInitConfigReq.Unmarshal(m, b) -} -func (m *SetClientInitConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetClientInitConfigReq.Marshal(b, m, deterministic) -} -func (dst *SetClientInitConfigReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetClientInitConfigReq.Merge(dst, src) -} -func (m *SetClientInitConfigReq) XXX_Size() int { - return xxx_messageInfo_SetClientInitConfigReq.Size(m) -} -func (m *SetClientInitConfigReq) XXX_DiscardUnknown() { - xxx_messageInfo_SetClientInitConfigReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SetClientInitConfigReq proto.InternalMessageInfo - -func (m *SetClientInitConfigReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *SetClientInitConfigReq) GetDiscoverPageURL() string { - if m != nil { - return m.DiscoverPageURL - } - return "" -} - -type SetClientInitConfigResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SetClientInitConfigResp) Reset() { *m = SetClientInitConfigResp{} } -func (m *SetClientInitConfigResp) String() string { return proto.CompactTextString(m) } -func (*SetClientInitConfigResp) ProtoMessage() {} -func (*SetClientInitConfigResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{49} -} -func (m *SetClientInitConfigResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetClientInitConfigResp.Unmarshal(m, b) -} -func (m *SetClientInitConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetClientInitConfigResp.Marshal(b, m, deterministic) -} -func (dst *SetClientInitConfigResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetClientInitConfigResp.Merge(dst, src) -} -func (m *SetClientInitConfigResp) XXX_Size() int { - return xxx_messageInfo_SetClientInitConfigResp.Size(m) -} -func (m *SetClientInitConfigResp) XXX_DiscardUnknown() { - xxx_messageInfo_SetClientInitConfigResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SetClientInitConfigResp proto.InternalMessageInfo - -func (m *SetClientInitConfigResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetUserFriendsReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - FriendUserID string `protobuf:"bytes,3,opt,name=friendUserID" json:"friendUserID,omitempty"` - FriendUserName string `protobuf:"bytes,4,opt,name=friendUserName" json:"friendUserName,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,5,opt,name=pagination" json:"pagination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserFriendsReq) Reset() { *m = GetUserFriendsReq{} } -func (m *GetUserFriendsReq) String() string { return proto.CompactTextString(m) } -func (*GetUserFriendsReq) ProtoMessage() {} -func (*GetUserFriendsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{50} -} -func (m *GetUserFriendsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserFriendsReq.Unmarshal(m, b) -} -func (m *GetUserFriendsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserFriendsReq.Marshal(b, m, deterministic) -} -func (dst *GetUserFriendsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserFriendsReq.Merge(dst, src) -} -func (m *GetUserFriendsReq) XXX_Size() int { - return xxx_messageInfo_GetUserFriendsReq.Size(m) -} -func (m *GetUserFriendsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserFriendsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserFriendsReq proto.InternalMessageInfo - -func (m *GetUserFriendsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetUserFriendsReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *GetUserFriendsReq) GetFriendUserID() string { - if m != nil { - return m.FriendUserID - } - return "" -} - -func (m *GetUserFriendsReq) GetFriendUserName() string { - if m != nil { - return m.FriendUserName - } - return "" -} - -func (m *GetUserFriendsReq) GetPagination() *sdk_ws.RequestPagination { - if m != nil { - return m.Pagination - } - return nil -} - -type GetUserFriendsResp struct { - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,1,opt,name=pagination" json:"pagination,omitempty"` - FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,2,rep,name=friendInfoList" json:"friendInfoList,omitempty"` - FriendNums int32 `protobuf:"varint,3,opt,name=friendNums" json:"friendNums,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserFriendsResp) Reset() { *m = GetUserFriendsResp{} } -func (m *GetUserFriendsResp) String() string { return proto.CompactTextString(m) } -func (*GetUserFriendsResp) ProtoMessage() {} -func (*GetUserFriendsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{51} -} -func (m *GetUserFriendsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserFriendsResp.Unmarshal(m, b) -} -func (m *GetUserFriendsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserFriendsResp.Marshal(b, m, deterministic) -} -func (dst *GetUserFriendsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserFriendsResp.Merge(dst, src) -} -func (m *GetUserFriendsResp) XXX_Size() int { - return xxx_messageInfo_GetUserFriendsResp.Size(m) -} -func (m *GetUserFriendsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserFriendsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserFriendsResp proto.InternalMessageInfo - -func (m *GetUserFriendsResp) GetPagination() *sdk_ws.ResponsePagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetUserFriendsResp) GetFriendInfoList() []*sdk_ws.FriendInfo { - if m != nil { - return m.FriendInfoList - } - return nil -} - -func (m *GetUserFriendsResp) GetFriendNums() int32 { - if m != nil { - return m.FriendNums - } - return 0 -} - -func (m *GetUserFriendsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetUserIDByEmailAndPhoneNumberReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"` - PhoneNumber string `protobuf:"bytes,3,opt,name=phoneNumber" json:"phoneNumber,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserIDByEmailAndPhoneNumberReq) Reset() { *m = GetUserIDByEmailAndPhoneNumberReq{} } -func (m *GetUserIDByEmailAndPhoneNumberReq) String() string { return proto.CompactTextString(m) } -func (*GetUserIDByEmailAndPhoneNumberReq) ProtoMessage() {} -func (*GetUserIDByEmailAndPhoneNumberReq) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{52} -} -func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.Unmarshal(m, b) -} -func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.Marshal(b, m, deterministic) -} -func (dst *GetUserIDByEmailAndPhoneNumberReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.Merge(dst, src) -} -func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_Size() int { - return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.Size(m) -} -func (m *GetUserIDByEmailAndPhoneNumberReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserIDByEmailAndPhoneNumberReq proto.InternalMessageInfo - -func (m *GetUserIDByEmailAndPhoneNumberReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetUserIDByEmailAndPhoneNumberReq) GetEmail() string { - if m != nil { - return m.Email - } - return "" -} - -func (m *GetUserIDByEmailAndPhoneNumberReq) GetPhoneNumber() string { - if m != nil { - return m.PhoneNumber - } - return "" -} - -type GetUserIDByEmailAndPhoneNumberResp struct { - UserIDList []string `protobuf:"bytes,1,rep,name=userIDList" json:"userIDList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUserIDByEmailAndPhoneNumberResp) Reset() { *m = GetUserIDByEmailAndPhoneNumberResp{} } -func (m *GetUserIDByEmailAndPhoneNumberResp) String() string { return proto.CompactTextString(m) } -func (*GetUserIDByEmailAndPhoneNumberResp) ProtoMessage() {} -func (*GetUserIDByEmailAndPhoneNumberResp) Descriptor() ([]byte, []int) { - return fileDescriptor_admin_cms_49bc09b1772ecee1, []int{53} -} -func (m *GetUserIDByEmailAndPhoneNumberResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.Unmarshal(m, b) -} -func (m *GetUserIDByEmailAndPhoneNumberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.Marshal(b, m, deterministic) -} -func (dst *GetUserIDByEmailAndPhoneNumberResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.Merge(dst, src) -} -func (m *GetUserIDByEmailAndPhoneNumberResp) XXX_Size() int { - return xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.Size(m) -} -func (m *GetUserIDByEmailAndPhoneNumberResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserIDByEmailAndPhoneNumberResp proto.InternalMessageInfo - -func (m *GetUserIDByEmailAndPhoneNumberResp) GetUserIDList() []string { - if m != nil { - return m.UserIDList - } - return nil -} - -func (m *GetUserIDByEmailAndPhoneNumberResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func init() { - proto.RegisterType((*CommonResp)(nil), "admin_cms.CommonResp") - proto.RegisterType((*AdminLoginReq)(nil), "admin_cms.AdminLoginReq") - proto.RegisterType((*AdminLoginResp)(nil), "admin_cms.AdminLoginResp") - proto.RegisterType((*GetUserTokenReq)(nil), "admin_cms.GetUserTokenReq") - proto.RegisterType((*GetUserTokenResp)(nil), "admin_cms.GetUserTokenResp") - proto.RegisterType((*AddUserRegisterAddFriendIDListReq)(nil), "admin_cms.AddUserRegisterAddFriendIDListReq") - proto.RegisterType((*AddUserRegisterAddFriendIDListResp)(nil), "admin_cms.AddUserRegisterAddFriendIDListResp") - proto.RegisterType((*ReduceUserRegisterAddFriendIDListReq)(nil), "admin_cms.ReduceUserRegisterAddFriendIDListReq") - proto.RegisterType((*ReduceUserRegisterAddFriendIDListResp)(nil), "admin_cms.ReduceUserRegisterAddFriendIDListResp") - proto.RegisterType((*GetUserRegisterAddFriendIDListReq)(nil), "admin_cms.GetUserRegisterAddFriendIDListReq") - proto.RegisterType((*GetUserRegisterAddFriendIDListResp)(nil), "admin_cms.GetUserRegisterAddFriendIDListResp") - proto.RegisterType((*GetChatLogsReq)(nil), "admin_cms.GetChatLogsReq") - proto.RegisterType((*ChatLog)(nil), "admin_cms.ChatLog") - proto.RegisterType((*GetChatLogsResp)(nil), "admin_cms.GetChatLogsResp") - proto.RegisterType((*StatisticsReq)(nil), "admin_cms.StatisticsReq") - proto.RegisterType((*GetActiveUserReq)(nil), "admin_cms.GetActiveUserReq") - proto.RegisterType((*UserResp)(nil), "admin_cms.UserResp") - proto.RegisterType((*GetActiveUserResp)(nil), "admin_cms.GetActiveUserResp") - proto.RegisterType((*GetActiveGroupReq)(nil), "admin_cms.GetActiveGroupReq") - proto.RegisterType((*GroupResp)(nil), "admin_cms.GroupResp") - proto.RegisterType((*GetActiveGroupResp)(nil), "admin_cms.GetActiveGroupResp") - proto.RegisterType((*DateNumList)(nil), "admin_cms.DateNumList") - proto.RegisterType((*GetMessageStatisticsReq)(nil), "admin_cms.GetMessageStatisticsReq") - proto.RegisterType((*GetMessageStatisticsResp)(nil), "admin_cms.GetMessageStatisticsResp") - proto.RegisterType((*GetGroupStatisticsReq)(nil), "admin_cms.GetGroupStatisticsReq") - proto.RegisterType((*GetGroupStatisticsResp)(nil), "admin_cms.GetGroupStatisticsResp") - proto.RegisterType((*GetUserStatisticsReq)(nil), "admin_cms.GetUserStatisticsReq") - proto.RegisterType((*GetUserStatisticsResp)(nil), "admin_cms.GetUserStatisticsResp") - proto.RegisterType((*GenerateInvitationCodeReq)(nil), "admin_cms.GenerateInvitationCodeReq") - proto.RegisterType((*GenerateInvitationCodeResp)(nil), "admin_cms.GenerateInvitationCodeResp") - proto.RegisterType((*GetInvitationCodesReq)(nil), "admin_cms.GetInvitationCodesReq") - proto.RegisterType((*InvitationCode)(nil), "admin_cms.invitationCode") - proto.RegisterType((*GetInvitationCodesResp)(nil), "admin_cms.GetInvitationCodesResp") - proto.RegisterType((*QueryIPRegisterReq)(nil), "admin_cms.QueryIPRegisterReq") - proto.RegisterType((*QueryIPRegisterResp)(nil), "admin_cms.QueryIPRegisterResp") - proto.RegisterType((*AddIPLimitReq)(nil), "admin_cms.AddIPLimitReq") - proto.RegisterType((*AddIPLimitResp)(nil), "admin_cms.AddIPLimitResp") - proto.RegisterType((*RemoveIPLimitReq)(nil), "admin_cms.RemoveIPLimitReq") - proto.RegisterType((*RemoveIPLimitResp)(nil), "admin_cms.RemoveIPLimitResp") - proto.RegisterType((*QueryUserIDIPLimitLoginReq)(nil), "admin_cms.QueryUserIDIPLimitLoginReq") - proto.RegisterType((*UserIPLimit)(nil), "admin_cms.UserIPLimit") - proto.RegisterType((*QueryUserIDIPLimitLoginResp)(nil), "admin_cms.QueryUserIDIPLimitLoginResp") - proto.RegisterType((*AddUserIPLimitLoginReq)(nil), "admin_cms.AddUserIPLimitLoginReq") - proto.RegisterType((*AddUserIPLimitLoginResp)(nil), "admin_cms.AddUserIPLimitLoginResp") - proto.RegisterType((*RemoveUserIPLimitReq)(nil), "admin_cms.RemoveUserIPLimitReq") - proto.RegisterType((*RemoveUserIPLimitResp)(nil), "admin_cms.RemoveUserIPLimitResp") - proto.RegisterType((*GetClientInitConfigReq)(nil), "admin_cms.GetClientInitConfigReq") - proto.RegisterType((*GetClientInitConfigResp)(nil), "admin_cms.GetClientInitConfigResp") - proto.RegisterType((*SetClientInitConfigReq)(nil), "admin_cms.SetClientInitConfigReq") - proto.RegisterType((*SetClientInitConfigResp)(nil), "admin_cms.SetClientInitConfigResp") - proto.RegisterType((*GetUserFriendsReq)(nil), "admin_cms.GetUserFriendsReq") - proto.RegisterType((*GetUserFriendsResp)(nil), "admin_cms.GetUserFriendsResp") - proto.RegisterType((*GetUserIDByEmailAndPhoneNumberReq)(nil), "admin_cms.GetUserIDByEmailAndPhoneNumberReq") - proto.RegisterType((*GetUserIDByEmailAndPhoneNumberResp)(nil), "admin_cms.GetUserIDByEmailAndPhoneNumberResp") -} - -// 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 - -// Client API for AdminCMS service - -type AdminCMSClient interface { - AdminLogin(ctx context.Context, in *AdminLoginReq, opts ...grpc.CallOption) (*AdminLoginResp, error) - AddUserRegisterAddFriendIDList(ctx context.Context, in *AddUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*AddUserRegisterAddFriendIDListResp, error) - ReduceUserRegisterAddFriendIDList(ctx context.Context, in *ReduceUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*ReduceUserRegisterAddFriendIDListResp, error) - GetUserRegisterAddFriendIDList(ctx context.Context, in *GetUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*GetUserRegisterAddFriendIDListResp, error) - GetChatLogs(ctx context.Context, in *GetChatLogsReq, opts ...grpc.CallOption) (*GetChatLogsResp, error) - GetActiveUser(ctx context.Context, in *GetActiveUserReq, opts ...grpc.CallOption) (*GetActiveUserResp, error) - GetActiveGroup(ctx context.Context, in *GetActiveGroupReq, opts ...grpc.CallOption) (*GetActiveGroupResp, error) - GetMessageStatistics(ctx context.Context, in *GetMessageStatisticsReq, opts ...grpc.CallOption) (*GetMessageStatisticsResp, error) - GetGroupStatistics(ctx context.Context, in *GetGroupStatisticsReq, opts ...grpc.CallOption) (*GetGroupStatisticsResp, error) - GetUserStatistics(ctx context.Context, in *GetUserStatisticsReq, opts ...grpc.CallOption) (*GetUserStatisticsResp, error) - GenerateInvitationCode(ctx context.Context, in *GenerateInvitationCodeReq, opts ...grpc.CallOption) (*GenerateInvitationCodeResp, error) - GetInvitationCodes(ctx context.Context, in *GetInvitationCodesReq, opts ...grpc.CallOption) (*GetInvitationCodesResp, error) - QueryIPRegister(ctx context.Context, in *QueryIPRegisterReq, opts ...grpc.CallOption) (*QueryIPRegisterResp, error) - AddIPLimit(ctx context.Context, in *AddIPLimitReq, opts ...grpc.CallOption) (*AddIPLimitResp, error) - RemoveIPLimit(ctx context.Context, in *RemoveIPLimitReq, opts ...grpc.CallOption) (*RemoveIPLimitResp, error) - QueryUserIDIPLimitLogin(ctx context.Context, in *QueryUserIDIPLimitLoginReq, opts ...grpc.CallOption) (*QueryUserIDIPLimitLoginResp, error) - AddUserIPLimitLogin(ctx context.Context, in *AddUserIPLimitLoginReq, opts ...grpc.CallOption) (*AddUserIPLimitLoginResp, error) - RemoveUserIPLimit(ctx context.Context, in *RemoveUserIPLimitReq, opts ...grpc.CallOption) (*RemoveUserIPLimitResp, error) - GetClientInitConfig(ctx context.Context, in *GetClientInitConfigReq, opts ...grpc.CallOption) (*GetClientInitConfigResp, error) - SetClientInitConfig(ctx context.Context, in *SetClientInitConfigReq, opts ...grpc.CallOption) (*SetClientInitConfigResp, error) - GetUserFriends(ctx context.Context, in *GetUserFriendsReq, opts ...grpc.CallOption) (*GetUserFriendsResp, error) - GetUserIDByEmailAndPhoneNumber(ctx context.Context, in *GetUserIDByEmailAndPhoneNumberReq, opts ...grpc.CallOption) (*GetUserIDByEmailAndPhoneNumberResp, error) - GetUserToken(ctx context.Context, in *GetUserTokenReq, opts ...grpc.CallOption) (*GetUserTokenResp, error) -} - -type adminCMSClient struct { - cc *grpc.ClientConn -} - -func NewAdminCMSClient(cc *grpc.ClientConn) AdminCMSClient { - return &adminCMSClient{cc} -} - -func (c *adminCMSClient) AdminLogin(ctx context.Context, in *AdminLoginReq, opts ...grpc.CallOption) (*AdminLoginResp, error) { - out := new(AdminLoginResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AdminLogin", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) AddUserRegisterAddFriendIDList(ctx context.Context, in *AddUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*AddUserRegisterAddFriendIDListResp, error) { - out := new(AddUserRegisterAddFriendIDListResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AddUserRegisterAddFriendIDList", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) ReduceUserRegisterAddFriendIDList(ctx context.Context, in *ReduceUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*ReduceUserRegisterAddFriendIDListResp, error) { - out := new(ReduceUserRegisterAddFriendIDListResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/ReduceUserRegisterAddFriendIDList", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetUserRegisterAddFriendIDList(ctx context.Context, in *GetUserRegisterAddFriendIDListReq, opts ...grpc.CallOption) (*GetUserRegisterAddFriendIDListResp, error) { - out := new(GetUserRegisterAddFriendIDListResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserRegisterAddFriendIDList", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetChatLogs(ctx context.Context, in *GetChatLogsReq, opts ...grpc.CallOption) (*GetChatLogsResp, error) { - out := new(GetChatLogsResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetChatLogs", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetActiveUser(ctx context.Context, in *GetActiveUserReq, opts ...grpc.CallOption) (*GetActiveUserResp, error) { - out := new(GetActiveUserResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetActiveUser", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetActiveGroup(ctx context.Context, in *GetActiveGroupReq, opts ...grpc.CallOption) (*GetActiveGroupResp, error) { - out := new(GetActiveGroupResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetActiveGroup", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetMessageStatistics(ctx context.Context, in *GetMessageStatisticsReq, opts ...grpc.CallOption) (*GetMessageStatisticsResp, error) { - out := new(GetMessageStatisticsResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetMessageStatistics", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetGroupStatistics(ctx context.Context, in *GetGroupStatisticsReq, opts ...grpc.CallOption) (*GetGroupStatisticsResp, error) { - out := new(GetGroupStatisticsResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetGroupStatistics", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetUserStatistics(ctx context.Context, in *GetUserStatisticsReq, opts ...grpc.CallOption) (*GetUserStatisticsResp, error) { - out := new(GetUserStatisticsResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserStatistics", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GenerateInvitationCode(ctx context.Context, in *GenerateInvitationCodeReq, opts ...grpc.CallOption) (*GenerateInvitationCodeResp, error) { - out := new(GenerateInvitationCodeResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GenerateInvitationCode", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetInvitationCodes(ctx context.Context, in *GetInvitationCodesReq, opts ...grpc.CallOption) (*GetInvitationCodesResp, error) { - out := new(GetInvitationCodesResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetInvitationCodes", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) QueryIPRegister(ctx context.Context, in *QueryIPRegisterReq, opts ...grpc.CallOption) (*QueryIPRegisterResp, error) { - out := new(QueryIPRegisterResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/QueryIPRegister", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) AddIPLimit(ctx context.Context, in *AddIPLimitReq, opts ...grpc.CallOption) (*AddIPLimitResp, error) { - out := new(AddIPLimitResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AddIPLimit", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) RemoveIPLimit(ctx context.Context, in *RemoveIPLimitReq, opts ...grpc.CallOption) (*RemoveIPLimitResp, error) { - out := new(RemoveIPLimitResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/RemoveIPLimit", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) QueryUserIDIPLimitLogin(ctx context.Context, in *QueryUserIDIPLimitLoginReq, opts ...grpc.CallOption) (*QueryUserIDIPLimitLoginResp, error) { - out := new(QueryUserIDIPLimitLoginResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/QueryUserIDIPLimitLogin", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) AddUserIPLimitLogin(ctx context.Context, in *AddUserIPLimitLoginReq, opts ...grpc.CallOption) (*AddUserIPLimitLoginResp, error) { - out := new(AddUserIPLimitLoginResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/AddUserIPLimitLogin", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) RemoveUserIPLimit(ctx context.Context, in *RemoveUserIPLimitReq, opts ...grpc.CallOption) (*RemoveUserIPLimitResp, error) { - out := new(RemoveUserIPLimitResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/RemoveUserIPLimit", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetClientInitConfig(ctx context.Context, in *GetClientInitConfigReq, opts ...grpc.CallOption) (*GetClientInitConfigResp, error) { - out := new(GetClientInitConfigResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetClientInitConfig", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) SetClientInitConfig(ctx context.Context, in *SetClientInitConfigReq, opts ...grpc.CallOption) (*SetClientInitConfigResp, error) { - out := new(SetClientInitConfigResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/SetClientInitConfig", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetUserFriends(ctx context.Context, in *GetUserFriendsReq, opts ...grpc.CallOption) (*GetUserFriendsResp, error) { - out := new(GetUserFriendsResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserFriends", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetUserIDByEmailAndPhoneNumber(ctx context.Context, in *GetUserIDByEmailAndPhoneNumberReq, opts ...grpc.CallOption) (*GetUserIDByEmailAndPhoneNumberResp, error) { - out := new(GetUserIDByEmailAndPhoneNumberResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserIDByEmailAndPhoneNumber", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminCMSClient) GetUserToken(ctx context.Context, in *GetUserTokenReq, opts ...grpc.CallOption) (*GetUserTokenResp, error) { - out := new(GetUserTokenResp) - err := grpc.Invoke(ctx, "/admin_cms.adminCMS/GetUserToken", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Server API for AdminCMS service - -type AdminCMSServer interface { - AdminLogin(context.Context, *AdminLoginReq) (*AdminLoginResp, error) - AddUserRegisterAddFriendIDList(context.Context, *AddUserRegisterAddFriendIDListReq) (*AddUserRegisterAddFriendIDListResp, error) - ReduceUserRegisterAddFriendIDList(context.Context, *ReduceUserRegisterAddFriendIDListReq) (*ReduceUserRegisterAddFriendIDListResp, error) - GetUserRegisterAddFriendIDList(context.Context, *GetUserRegisterAddFriendIDListReq) (*GetUserRegisterAddFriendIDListResp, error) - GetChatLogs(context.Context, *GetChatLogsReq) (*GetChatLogsResp, error) - GetActiveUser(context.Context, *GetActiveUserReq) (*GetActiveUserResp, error) - GetActiveGroup(context.Context, *GetActiveGroupReq) (*GetActiveGroupResp, error) - GetMessageStatistics(context.Context, *GetMessageStatisticsReq) (*GetMessageStatisticsResp, error) - GetGroupStatistics(context.Context, *GetGroupStatisticsReq) (*GetGroupStatisticsResp, error) - GetUserStatistics(context.Context, *GetUserStatisticsReq) (*GetUserStatisticsResp, error) - GenerateInvitationCode(context.Context, *GenerateInvitationCodeReq) (*GenerateInvitationCodeResp, error) - GetInvitationCodes(context.Context, *GetInvitationCodesReq) (*GetInvitationCodesResp, error) - QueryIPRegister(context.Context, *QueryIPRegisterReq) (*QueryIPRegisterResp, error) - AddIPLimit(context.Context, *AddIPLimitReq) (*AddIPLimitResp, error) - RemoveIPLimit(context.Context, *RemoveIPLimitReq) (*RemoveIPLimitResp, error) - QueryUserIDIPLimitLogin(context.Context, *QueryUserIDIPLimitLoginReq) (*QueryUserIDIPLimitLoginResp, error) - AddUserIPLimitLogin(context.Context, *AddUserIPLimitLoginReq) (*AddUserIPLimitLoginResp, error) - RemoveUserIPLimit(context.Context, *RemoveUserIPLimitReq) (*RemoveUserIPLimitResp, error) - GetClientInitConfig(context.Context, *GetClientInitConfigReq) (*GetClientInitConfigResp, error) - SetClientInitConfig(context.Context, *SetClientInitConfigReq) (*SetClientInitConfigResp, error) - GetUserFriends(context.Context, *GetUserFriendsReq) (*GetUserFriendsResp, error) - GetUserIDByEmailAndPhoneNumber(context.Context, *GetUserIDByEmailAndPhoneNumberReq) (*GetUserIDByEmailAndPhoneNumberResp, error) - GetUserToken(context.Context, *GetUserTokenReq) (*GetUserTokenResp, error) -} - -func RegisterAdminCMSServer(s *grpc.Server, srv AdminCMSServer) { - s.RegisterService(&_AdminCMS_serviceDesc, srv) -} - -func _AdminCMS_AdminLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AdminLoginReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).AdminLogin(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/AdminLogin", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).AdminLogin(ctx, req.(*AdminLoginReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_AddUserRegisterAddFriendIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddUserRegisterAddFriendIDListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).AddUserRegisterAddFriendIDList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/AddUserRegisterAddFriendIDList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).AddUserRegisterAddFriendIDList(ctx, req.(*AddUserRegisterAddFriendIDListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_ReduceUserRegisterAddFriendIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReduceUserRegisterAddFriendIDListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).ReduceUserRegisterAddFriendIDList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/ReduceUserRegisterAddFriendIDList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).ReduceUserRegisterAddFriendIDList(ctx, req.(*ReduceUserRegisterAddFriendIDListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetUserRegisterAddFriendIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserRegisterAddFriendIDListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetUserRegisterAddFriendIDList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetUserRegisterAddFriendIDList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetUserRegisterAddFriendIDList(ctx, req.(*GetUserRegisterAddFriendIDListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetChatLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetChatLogsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetChatLogs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetChatLogs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetChatLogs(ctx, req.(*GetChatLogsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetActiveUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetActiveUserReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetActiveUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetActiveUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetActiveUser(ctx, req.(*GetActiveUserReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetActiveGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetActiveGroupReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetActiveGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetActiveGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetActiveGroup(ctx, req.(*GetActiveGroupReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetMessageStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMessageStatisticsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetMessageStatistics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetMessageStatistics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetMessageStatistics(ctx, req.(*GetMessageStatisticsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetGroupStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGroupStatisticsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetGroupStatistics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetGroupStatistics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetGroupStatistics(ctx, req.(*GetGroupStatisticsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetUserStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserStatisticsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetUserStatistics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetUserStatistics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetUserStatistics(ctx, req.(*GetUserStatisticsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GenerateInvitationCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GenerateInvitationCodeReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GenerateInvitationCode(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GenerateInvitationCode", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GenerateInvitationCode(ctx, req.(*GenerateInvitationCodeReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetInvitationCodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInvitationCodesReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetInvitationCodes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetInvitationCodes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetInvitationCodes(ctx, req.(*GetInvitationCodesReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_QueryIPRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryIPRegisterReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).QueryIPRegister(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/QueryIPRegister", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).QueryIPRegister(ctx, req.(*QueryIPRegisterReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_AddIPLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddIPLimitReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).AddIPLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/AddIPLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).AddIPLimit(ctx, req.(*AddIPLimitReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_RemoveIPLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveIPLimitReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).RemoveIPLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/RemoveIPLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).RemoveIPLimit(ctx, req.(*RemoveIPLimitReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_QueryUserIDIPLimitLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryUserIDIPLimitLoginReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).QueryUserIDIPLimitLogin(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/QueryUserIDIPLimitLogin", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).QueryUserIDIPLimitLogin(ctx, req.(*QueryUserIDIPLimitLoginReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_AddUserIPLimitLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddUserIPLimitLoginReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).AddUserIPLimitLogin(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/AddUserIPLimitLogin", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).AddUserIPLimitLogin(ctx, req.(*AddUserIPLimitLoginReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_RemoveUserIPLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveUserIPLimitReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).RemoveUserIPLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/RemoveUserIPLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).RemoveUserIPLimit(ctx, req.(*RemoveUserIPLimitReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetClientInitConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClientInitConfigReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetClientInitConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetClientInitConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetClientInitConfig(ctx, req.(*GetClientInitConfigReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_SetClientInitConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetClientInitConfigReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).SetClientInitConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/SetClientInitConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).SetClientInitConfig(ctx, req.(*SetClientInitConfigReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetUserFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserFriendsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetUserFriends(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetUserFriends", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetUserFriends(ctx, req.(*GetUserFriendsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetUserIDByEmailAndPhoneNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserIDByEmailAndPhoneNumberReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetUserIDByEmailAndPhoneNumber(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetUserIDByEmailAndPhoneNumber", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetUserIDByEmailAndPhoneNumber(ctx, req.(*GetUserIDByEmailAndPhoneNumberReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminCMS_GetUserToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserTokenReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminCMSServer).GetUserToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/admin_cms.adminCMS/GetUserToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminCMSServer).GetUserToken(ctx, req.(*GetUserTokenReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdminCMS_serviceDesc = grpc.ServiceDesc{ - ServiceName: "admin_cms.adminCMS", - HandlerType: (*AdminCMSServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AdminLogin", - Handler: _AdminCMS_AdminLogin_Handler, - }, - { - MethodName: "AddUserRegisterAddFriendIDList", - Handler: _AdminCMS_AddUserRegisterAddFriendIDList_Handler, - }, - { - MethodName: "ReduceUserRegisterAddFriendIDList", - Handler: _AdminCMS_ReduceUserRegisterAddFriendIDList_Handler, - }, - { - MethodName: "GetUserRegisterAddFriendIDList", - Handler: _AdminCMS_GetUserRegisterAddFriendIDList_Handler, - }, - { - MethodName: "GetChatLogs", - Handler: _AdminCMS_GetChatLogs_Handler, - }, - { - MethodName: "GetActiveUser", - Handler: _AdminCMS_GetActiveUser_Handler, - }, - { - MethodName: "GetActiveGroup", - Handler: _AdminCMS_GetActiveGroup_Handler, - }, - { - MethodName: "GetMessageStatistics", - Handler: _AdminCMS_GetMessageStatistics_Handler, - }, - { - MethodName: "GetGroupStatistics", - Handler: _AdminCMS_GetGroupStatistics_Handler, - }, - { - MethodName: "GetUserStatistics", - Handler: _AdminCMS_GetUserStatistics_Handler, - }, - { - MethodName: "GenerateInvitationCode", - Handler: _AdminCMS_GenerateInvitationCode_Handler, - }, - { - MethodName: "GetInvitationCodes", - Handler: _AdminCMS_GetInvitationCodes_Handler, - }, - { - MethodName: "QueryIPRegister", - Handler: _AdminCMS_QueryIPRegister_Handler, - }, - { - MethodName: "AddIPLimit", - Handler: _AdminCMS_AddIPLimit_Handler, - }, - { - MethodName: "RemoveIPLimit", - Handler: _AdminCMS_RemoveIPLimit_Handler, - }, - { - MethodName: "QueryUserIDIPLimitLogin", - Handler: _AdminCMS_QueryUserIDIPLimitLogin_Handler, - }, - { - MethodName: "AddUserIPLimitLogin", - Handler: _AdminCMS_AddUserIPLimitLogin_Handler, - }, - { - MethodName: "RemoveUserIPLimit", - Handler: _AdminCMS_RemoveUserIPLimit_Handler, - }, - { - MethodName: "GetClientInitConfig", - Handler: _AdminCMS_GetClientInitConfig_Handler, - }, - { - MethodName: "SetClientInitConfig", - Handler: _AdminCMS_SetClientInitConfig_Handler, - }, - { - MethodName: "GetUserFriends", - Handler: _AdminCMS_GetUserFriends_Handler, - }, - { - MethodName: "GetUserIDByEmailAndPhoneNumber", - Handler: _AdminCMS_GetUserIDByEmailAndPhoneNumber_Handler, - }, - { - MethodName: "GetUserToken", - Handler: _AdminCMS_GetUserToken_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "admin_cms/admin_cms.proto", -} - -func init() { - proto.RegisterFile("admin_cms/admin_cms.proto", fileDescriptor_admin_cms_49bc09b1772ecee1) -} - -var fileDescriptor_admin_cms_49bc09b1772ecee1 = []byte{ - // 2301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x1a, 0x4d, 0x6f, 0x1c, 0x49, - 0x55, 0x3d, 0x1f, 0xfe, 0x78, 0xfe, 0x2e, 0x3b, 0xce, 0xb8, 0xb3, 0x6b, 0xec, 0x26, 0x5e, 0x0c, - 0xda, 0xd8, 0xc8, 0x11, 0x97, 0x45, 0x0a, 0x72, 0x3c, 0xb1, 0x99, 0xc8, 0x76, 0x86, 0x9e, 0x78, - 0x25, 0x60, 0xb5, 0xa6, 0x33, 0x53, 0x9e, 0xb4, 0xec, 0xe9, 0xae, 0x74, 0xb5, 0xbd, 0xb1, 0x56, - 0x7b, 0xdd, 0x0b, 0x17, 0x24, 0x24, 0x0e, 0x9c, 0xb9, 0x71, 0xe0, 0x80, 0xc4, 0x11, 0x89, 0xdf, - 0xc1, 0x21, 0x42, 0xfc, 0x0a, 0x6e, 0xa8, 0xaa, 0xfa, 0xa3, 0xaa, 0xba, 0x67, 0xa6, 0xd3, 0x8e, - 0x72, 0x9b, 0xf7, 0xfa, 0xd5, 0xfb, 0xae, 0x57, 0xaf, 0x5e, 0x0d, 0xac, 0x39, 0xbd, 0x81, 0xeb, - 0x9d, 0x77, 0x07, 0x74, 0x37, 0xf9, 0xb5, 0x43, 0x02, 0x3f, 0xf4, 0xd1, 0x74, 0x82, 0x30, 0xb7, - 0x5f, 0x10, 0xec, 0x3d, 0x6a, 0x9d, 0x3c, 0xea, 0xe0, 0xe0, 0x06, 0x07, 0xbb, 0xe4, 0xb2, 0xbf, - 0xcb, 0x89, 0x76, 0x69, 0xef, 0xf2, 0xfc, 0x1b, 0xba, 0xfb, 0x4d, 0xb4, 0xc8, 0x7a, 0x02, 0x70, - 0xe0, 0x0f, 0x06, 0xbe, 0x67, 0x63, 0x4a, 0x50, 0x03, 0x26, 0x71, 0x10, 0x1c, 0xf8, 0x3d, 0xdc, - 0x30, 0x36, 0x8c, 0xed, 0xba, 0x1d, 0x83, 0x68, 0x15, 0x26, 0x70, 0x10, 0x9c, 0xd0, 0x7e, 0xa3, - 0xb2, 0x61, 0x6c, 0x4f, 0xdb, 0x11, 0x64, 0x75, 0x61, 0x6e, 0x9f, 0x89, 0x3d, 0xf6, 0xfb, 0xae, - 0x67, 0xe3, 0x37, 0x68, 0x03, 0x66, 0x7c, 0x82, 0x03, 0x27, 0x74, 0x7d, 0xaf, 0xd5, 0xe4, 0x6c, - 0xa6, 0x6d, 0x19, 0xc5, 0x84, 0x70, 0x4d, 0x5b, 0xcd, 0x88, 0x57, 0x0c, 0x32, 0x21, 0x14, 0x77, - 0x03, 0x1c, 0x36, 0xaa, 0x42, 0x88, 0x80, 0xac, 0x3f, 0x1a, 0x30, 0x2f, 0x4b, 0xa1, 0x04, 0xad, - 0x40, 0x3d, 0xf4, 0x2f, 0xb1, 0x17, 0x09, 0x10, 0x00, 0x32, 0x61, 0xea, 0x9a, 0xe2, 0xe0, 0xd4, - 0x19, 0xe0, 0x88, 0x77, 0x02, 0x33, 0xb1, 0x17, 0x4e, 0x17, 0x9f, 0xd9, 0xc7, 0x11, 0xf7, 0x18, - 0x44, 0x3f, 0x03, 0xe8, 0x26, 0x3e, 0x68, 0xd4, 0x36, 0x8c, 0xed, 0x99, 0xbd, 0x7b, 0x3b, 0xa9, - 0x7b, 0x53, 0x07, 0xd9, 0x12, 0xa1, 0x75, 0x09, 0x0b, 0x47, 0x38, 0x3c, 0xa3, 0x38, 0x78, 0xc9, - 0x84, 0x17, 0x33, 0x7e, 0x15, 0x26, 0x98, 0x46, 0x89, 0xed, 0x11, 0x84, 0xd6, 0x01, 0xc8, 0x95, - 0x13, 0x5e, 0xf8, 0xc1, 0xa0, 0xd5, 0xe4, 0x0a, 0xd6, 0x6d, 0x09, 0x63, 0xdd, 0xc2, 0xa2, 0x2a, - 0x8c, 0x12, 0x4d, 0x6f, 0xa3, 0xa0, 0xde, 0xa9, 0xeb, 0x2a, 0xb2, 0xeb, 0x58, 0xe8, 0xdf, 0x92, - 0x97, 0xee, 0x00, 0x73, 0xe9, 0x55, 0x3b, 0x06, 0x2d, 0x0c, 0x9b, 0xfb, 0xbd, 0x1e, 0x13, 0x6d, - 0xe3, 0xbe, 0x4b, 0x43, 0x1c, 0xec, 0xf7, 0x7a, 0x87, 0x81, 0x8b, 0xbd, 0x5e, 0xab, 0x79, 0xec, - 0xd2, 0xb0, 0x98, 0xe5, 0xeb, 0x00, 0xc2, 0x56, 0xb6, 0xa4, 0x51, 0xd9, 0xa8, 0x6e, 0x4f, 0xdb, - 0x12, 0xc6, 0xfa, 0x2d, 0x58, 0xe3, 0xc4, 0x94, 0xb6, 0xd9, 0xfa, 0xde, 0x80, 0x87, 0x36, 0xee, - 0x5d, 0x77, 0xf1, 0x9d, 0xed, 0xf8, 0x04, 0xa6, 0x13, 0x90, 0xbb, 0xb0, 0x6e, 0xa7, 0x08, 0xcd, - 0xca, 0x6a, 0xc6, 0xca, 0xaf, 0x61, 0xab, 0x80, 0x1e, 0xe5, 0x0d, 0xfd, 0xbd, 0x01, 0x9b, 0x51, - 0xa2, 0xdc, 0xc9, 0xca, 0x26, 0x00, 0x71, 0xfa, 0xae, 0x97, 0x9a, 0x39, 0xb3, 0xf7, 0x70, 0x87, - 0xf2, 0x72, 0x72, 0xee, 0x10, 0xf7, 0x9c, 0x38, 0x81, 0x33, 0xa0, 0x3b, 0x36, 0x7e, 0x73, 0x8d, - 0x69, 0xd8, 0x4e, 0x68, 0x6d, 0x69, 0x9d, 0xf5, 0x5f, 0x03, 0xac, 0x71, 0xda, 0x50, 0x82, 0x7e, - 0x01, 0xb3, 0xdc, 0x45, 0xde, 0x85, 0xcf, 0xdd, 0x66, 0x6c, 0x54, 0xb7, 0x67, 0xf6, 0x1e, 0xe4, - 0x88, 0x3b, 0x8b, 0xc8, 0x6c, 0x65, 0x01, 0x7a, 0x96, 0xa3, 0xed, 0x56, 0xae, 0xb6, 0x94, 0xf8, - 0x1e, 0xc5, 0xf9, 0xea, 0x6a, 0x3e, 0xaf, 0x16, 0xf5, 0xf9, 0x3f, 0x2b, 0x30, 0x7f, 0x84, 0xc3, - 0x83, 0xd7, 0x4e, 0x78, 0xec, 0xf7, 0x29, 0x73, 0x70, 0x03, 0x26, 0xbb, 0xbe, 0x17, 0x62, 0x2f, - 0x8c, 0x9c, 0x1b, 0x83, 0xa2, 0xc6, 0x31, 0xeb, 0xe3, 0x02, 0x20, 0x20, 0x86, 0x0f, 0x70, 0xf7, - 0x26, 0xda, 0xfc, 0xd3, 0x76, 0x04, 0xb1, 0x92, 0xc6, 0x28, 0xf8, 0xc6, 0xac, 0x89, 0x92, 0x16, - 0xc3, 0x2c, 0x8c, 0x14, 0x53, 0xea, 0xfa, 0xde, 0xcb, 0x5b, 0x82, 0x1b, 0x75, 0x9e, 0x8c, 0x32, - 0x8a, 0x51, 0x44, 0x82, 0x39, 0xc5, 0x84, 0xa0, 0x90, 0x50, 0x5a, 0xa0, 0x27, 0xcb, 0x05, 0x5a, - 0x4f, 0xa8, 0xa9, 0x6c, 0x42, 0x99, 0x30, 0xe5, 0x93, 0x33, 0x51, 0xfa, 0xa6, 0x85, 0x1d, 0x31, - 0x6c, 0xfd, 0xad, 0x06, 0x93, 0x91, 0xf7, 0x84, 0x4d, 0x4c, 0xf8, 0x09, 0xed, 0xa7, 0xa9, 0x29, - 0xa1, 0xb8, 0x4d, 0x57, 0x2e, 0xf6, 0x42, 0x41, 0x21, 0xdc, 0x28, 0xa3, 0x24, 0x1f, 0x57, 0x87, - 0xf8, 0xb8, 0xa6, 0xf8, 0xb8, 0x01, 0x93, 0xfd, 0xc0, 0xbf, 0x26, 0xad, 0x26, 0xf7, 0xe1, 0xb4, - 0x1d, 0x83, 0xc8, 0x82, 0x59, 0x46, 0x73, 0xea, 0x76, 0x2f, 0x3d, 0x76, 0xa8, 0x4c, 0xf0, 0xcf, - 0x0a, 0x0e, 0xfd, 0x04, 0x16, 0x19, 0x7f, 0x1c, 0xb4, 0xd3, 0x02, 0x3e, 0xc9, 0x1d, 0x9d, 0xc1, - 0xa3, 0xcf, 0x60, 0x5e, 0xe0, 0x12, 0x8e, 0xc2, 0x55, 0x1a, 0x16, 0x3d, 0x84, 0x39, 0x81, 0x39, - 0x8c, 0x8e, 0x2c, 0xe1, 0x32, 0x15, 0xc9, 0x4a, 0x11, 0x57, 0x94, 0x9f, 0x77, 0xc0, 0x29, 0x52, - 0x84, 0x9e, 0x1d, 0x33, 0xd9, 0xec, 0x68, 0xc0, 0xe4, 0x80, 0xf6, 0x0f, 0x03, 0x7f, 0xd0, 0x98, - 0x15, 0xc7, 0x7d, 0x04, 0xea, 0x79, 0x33, 0x97, 0xcd, 0x1b, 0x29, 0xc3, 0xe7, 0xb3, 0x19, 0x1e, - 0x3a, 0xe1, 0x35, 0x6d, 0x2c, 0xf0, 0x65, 0x11, 0xa4, 0x64, 0xf2, 0x22, 0x3f, 0x62, 0xd2, 0x4c, - 0x5e, 0x07, 0xe8, 0x06, 0xd8, 0x09, 0x31, 0xff, 0xba, 0xc4, 0xbf, 0x4a, 0x18, 0x34, 0x0f, 0x15, - 0xfc, 0xb6, 0x81, 0xb8, 0xa0, 0x0a, 0x7e, 0x6b, 0xfd, 0xc7, 0xe0, 0x87, 0x6f, 0xba, 0xe5, 0x28, - 0x41, 0x3b, 0x30, 0xd5, 0x8d, 0xe0, 0xa8, 0x82, 0x20, 0x79, 0xef, 0x8a, 0x4f, 0x76, 0x42, 0xf3, - 0xa1, 0x8a, 0x06, 0x73, 0x55, 0xc4, 0xf2, 0xf4, 0x7a, 0x10, 0x1d, 0xdd, 0x32, 0xaa, 0x6c, 0x7f, - 0xf1, 0x18, 0xe6, 0x3a, 0xa1, 0x13, 0xba, 0x34, 0x74, 0xbb, 0xbc, 0xa8, 0x20, 0xa8, 0x5d, 0xb0, - 0x58, 0x89, 0x3d, 0xc1, 0x7f, 0x33, 0xc7, 0x84, 0x7e, 0xb4, 0x07, 0x2a, 0xa1, 0x6f, 0x85, 0xbc, - 0x4f, 0xd8, 0xef, 0x86, 0xee, 0x4d, 0x74, 0xc4, 0xbc, 0x41, 0x4f, 0x60, 0x8e, 0xca, 0x8c, 0xa2, - 0xd3, 0xa4, 0x21, 0xa9, 0xa0, 0x08, 0xb2, 0x55, 0x72, 0x7d, 0x73, 0x57, 0x32, 0x9b, 0xdb, 0xfa, - 0x1a, 0xa6, 0x84, 0x30, 0x4a, 0x58, 0x98, 0x3d, 0xb7, 0x7b, 0xc9, 0x73, 0x52, 0x68, 0x9a, 0xc0, - 0xa3, 0xba, 0x9f, 0x01, 0xa6, 0xd4, 0xe9, 0xe3, 0xd4, 0x85, 0x12, 0xc6, 0xba, 0x86, 0x25, 0xcd, - 0x2a, 0x4a, 0xd0, 0x8f, 0xa1, 0xce, 0x7e, 0xc7, 0xc1, 0x5e, 0x96, 0xcc, 0x89, 0x69, 0x6c, 0x41, - 0xa1, 0x45, 0xa0, 0x52, 0x34, 0x02, 0xb2, 0xd8, 0x23, 0xb6, 0xaf, 0x3e, 0x8e, 0x37, 0xff, 0x6c, - 0xc0, 0x74, 0x24, 0x8e, 0x12, 0xb6, 0xc9, 0x8f, 0x92, 0x4d, 0x2e, 0x1c, 0x9a, 0x22, 0xd8, 0x36, - 0xe4, 0x40, 0xab, 0x17, 0x37, 0xd3, 0x11, 0xc8, 0x7c, 0x7a, 0x92, 0xf1, 0x69, 0x8a, 0x29, 0x9b, - 0x95, 0xb7, 0x80, 0x74, 0x9f, 0x50, 0x82, 0x3e, 0x87, 0x09, 0x0e, 0xc4, 0xc1, 0x58, 0x91, 0x18, - 0x25, 0x54, 0x76, 0x44, 0x53, 0x36, 0x1c, 0x8f, 0x61, 0xa6, 0xe9, 0x84, 0x4c, 0x79, 0x7e, 0xe8, - 0x23, 0xa8, 0x31, 0x30, 0xde, 0x0e, 0xec, 0x37, 0x5a, 0x84, 0x2a, 0xb3, 0x56, 0xb4, 0x65, 0xec, - 0xa7, 0xf5, 0x2d, 0xdc, 0x3f, 0xc2, 0x61, 0x64, 0xb7, 0xba, 0x9f, 0x9e, 0x68, 0x1b, 0x6c, 0x7c, - 0x24, 0x3b, 0x7a, 0x24, 0x5f, 0x64, 0x23, 0x29, 0xa1, 0xac, 0x7f, 0x55, 0xa0, 0x91, 0x2f, 0x9d, - 0xfb, 0x6c, 0xa9, 0x1d, 0xb8, 0x37, 0x4e, 0x88, 0xa5, 0x38, 0x89, 0x6b, 0x57, 0xf6, 0x03, 0xda, - 0x86, 0x05, 0xee, 0x3d, 0x89, 0x56, 0x58, 0xa9, 0xa3, 0xd1, 0x31, 0xdc, 0xcb, 0x2c, 0x4f, 0xba, - 0xd1, 0x99, 0xbd, 0x55, 0xc9, 0x3c, 0xc9, 0x9d, 0x76, 0xfe, 0x22, 0xf4, 0x4b, 0x58, 0xd6, 0x04, - 0x70, 0x5e, 0xb5, 0x91, 0xbc, 0xf2, 0x96, 0x68, 0x51, 0xaf, 0x17, 0x4f, 0xb8, 0x7b, 0x47, 0x38, - 0xe4, 0x0c, 0x3f, 0x76, 0xf8, 0xfe, 0x5e, 0x81, 0xd5, 0x3c, 0xd9, 0x94, 0xb0, 0x43, 0xbf, 0xe5, - 0xb1, 0x03, 0x8a, 0x8a, 0x5d, 0x90, 0xc6, 0x2e, 0x83, 0x67, 0x87, 0xf9, 0x4b, 0x3f, 0x74, 0xae, - 0x12, 0x42, 0x11, 0x38, 0x15, 0x89, 0x9e, 0xc3, 0x8a, 0xbe, 0xb2, 0x40, 0xd4, 0x72, 0xd7, 0xa0, - 0x26, 0x2c, 0x29, 0xcc, 0x0b, 0x84, 0x2c, 0xbb, 0xa0, 0x6c, 0xc0, 0xde, 0xc2, 0x4a, 0xd4, 0xf3, - 0x7f, 0xec, 0x78, 0xfd, 0xa9, 0xca, 0x73, 0x45, 0x17, 0x4d, 0x09, 0xdb, 0x3d, 0xb1, 0xa3, 0xd8, - 0xd7, 0x34, 0x5a, 0x3a, 0x9a, 0x05, 0x2b, 0x3d, 0x67, 0xa4, 0x60, 0x29, 0x48, 0xd6, 0x17, 0x72, - 0x7f, 0xc5, 0x44, 0xa2, 0xbc, 0x2a, 0x38, 0xb6, 0x73, 0x34, 0xe6, 0x45, 0x76, 0x4e, 0xce, 0x12, - 0x16, 0x4e, 0x45, 0x3c, 0xe7, 0x53, 0x1f, 0x1d, 0xce, 0xcc, 0x02, 0xf4, 0x14, 0x16, 0x65, 0xfd, - 0x38, 0x93, 0x89, 0x91, 0x4c, 0x32, 0xf4, 0x5a, 0x4a, 0x4c, 0x16, 0x4d, 0x89, 0x37, 0xb0, 0x76, - 0x84, 0x3d, 0x16, 0x28, 0xdc, 0xf2, 0x6e, 0xdc, 0x90, 0x07, 0xec, 0xc0, 0xef, 0xe1, 0xc2, 0x13, - 0xa3, 0xae, 0xdf, 0xc3, 0xc7, 0x38, 0xbe, 0x70, 0xc7, 0x60, 0xfc, 0x25, 0x0d, 0x41, 0x0c, 0x5a, - 0x1d, 0x30, 0x87, 0x89, 0x2c, 0x7f, 0xbb, 0xfe, 0xab, 0xc1, 0x13, 0x4c, 0x65, 0x48, 0x8b, 0x19, - 0x81, 0xa0, 0xc6, 0x74, 0x8b, 0xf2, 0x96, 0xff, 0x96, 0x5a, 0xe5, 0xaa, 0xd2, 0x2a, 0xab, 0x97, - 0xb2, 0x5a, 0xc9, 0xdb, 0xf7, 0x5f, 0x0c, 0x98, 0x77, 0x15, 0x55, 0xd9, 0xfd, 0x43, 0xc5, 0x44, - 0x9a, 0xea, 0x74, 0x6a, 0x3f, 0x2e, 0x9c, 0x2e, 0xf7, 0xe3, 0x26, 0x4c, 0x5d, 0x39, 0x34, 0x4c, - 0xc6, 0x45, 0x75, 0x3b, 0x81, 0xa5, 0x26, 0xaf, 0xa6, 0x34, 0x79, 0xa9, 0xb1, 0x75, 0xd9, 0x58, - 0xeb, 0xdf, 0x06, 0xaf, 0xb2, 0x19, 0xa7, 0x52, 0x82, 0x0e, 0x60, 0x41, 0x55, 0x2c, 0xee, 0x2f, - 0xd6, 0xa4, 0x58, 0xa9, 0x14, 0xb6, 0xbe, 0x82, 0xf5, 0xf9, 0xed, 0xb2, 0x7d, 0x7e, 0xfb, 0xce, - 0xc3, 0x81, 0x43, 0x40, 0xbf, 0xba, 0xc6, 0xc1, 0x6d, 0xab, 0x1d, 0x4f, 0x40, 0x8a, 0xa5, 0xcb, - 0x3c, 0x54, 0x5a, 0xed, 0xb8, 0xb1, 0x6f, 0xb5, 0xad, 0x7f, 0x18, 0xb0, 0x9c, 0x61, 0x44, 0x49, - 0x44, 0x67, 0xc4, 0x74, 0x8c, 0x73, 0xfc, 0x3d, 0xad, 0x5e, 0x32, 0x8a, 0xc5, 0xa1, 0xa3, 0x24, - 0x9d, 0x80, 0xb4, 0xd1, 0x55, 0x4d, 0x1f, 0x5d, 0x95, 0x3d, 0x0e, 0xce, 0x61, 0x6e, 0xbf, 0xd7, - 0x6b, 0xb5, 0x8f, 0xdd, 0x81, 0x1b, 0x96, 0xb2, 0x9d, 0xb5, 0xc0, 0x57, 0x6c, 0xb5, 0x94, 0x6e, - 0x29, 0xc2, 0x3a, 0x82, 0x79, 0x59, 0x40, 0xf9, 0xdd, 0xdd, 0x84, 0x45, 0x1b, 0x0f, 0xfc, 0x1b, - 0x7c, 0x17, 0x65, 0xad, 0xe7, 0xb0, 0xa4, 0x71, 0x29, 0xaf, 0xd1, 0x97, 0x60, 0xf2, 0x98, 0x8b, - 0x39, 0x49, 0xc4, 0xf0, 0x3d, 0x46, 0xed, 0x43, 0xee, 0x5b, 0xd6, 0x19, 0xcc, 0x70, 0x96, 0x82, - 0xa1, 0x44, 0x66, 0x28, 0x3b, 0x56, 0x8f, 0x83, 0x5a, 0x15, 0xaa, 0x7a, 0x55, 0xb0, 0xfe, 0x60, - 0xc0, 0x83, 0xa1, 0xfa, 0x52, 0x82, 0xbe, 0x80, 0x59, 0x49, 0x6c, 0xbc, 0x97, 0x57, 0xb5, 0x8b, - 0x5b, 0xec, 0x37, 0x85, 0xb6, 0xec, 0x9d, 0xe1, 0x15, 0xac, 0x46, 0x53, 0x65, 0xdd, 0x7b, 0xc3, - 0x8c, 0x1e, 0x7b, 0x3f, 0x8b, 0xdc, 0x52, 0x4d, 0x22, 0xde, 0x86, 0xfb, 0xb9, 0x32, 0xca, 0xc7, - 0xfd, 0x77, 0xb0, 0x22, 0x72, 0x48, 0xf6, 0xc7, 0x07, 0xd5, 0xf9, 0x14, 0xee, 0xe5, 0x48, 0x28, - 0xaf, 0xf1, 0x17, 0xbc, 0x86, 0x1f, 0xf0, 0x21, 0x5c, 0xcb, 0x73, 0xc3, 0x03, 0xdf, 0xbb, 0x70, - 0xfb, 0x85, 0xb2, 0x94, 0xf9, 0x2f, 0x77, 0x6d, 0x79, 0x6d, 0x7a, 0xb0, 0xda, 0x29, 0xa9, 0x0d, - 0x6b, 0x15, 0x7b, 0x2e, 0xed, 0xfa, 0x37, 0x38, 0x68, 0x3b, 0x7d, 0x3e, 0x7c, 0x13, 0xfe, 0xd4, - 0xd1, 0x4c, 0xef, 0xce, 0x87, 0xd5, 0xfb, 0x9d, 0xc1, 0x27, 0x0e, 0x2c, 0x26, 0x62, 0x48, 0x4e, - 0xef, 0xf6, 0xaa, 0x64, 0xc1, 0xec, 0x05, 0xe7, 0x13, 0x0d, 0x5e, 0x45, 0xfc, 0x15, 0x1c, 0x6b, - 0x09, 0x52, 0x98, 0x0f, 0x19, 0xc4, 0xb1, 0xad, 0x61, 0xb5, 0x9e, 0xa4, 0x5e, 0xb2, 0x27, 0xf9, - 0x9f, 0xc1, 0xe7, 0x07, 0x8a, 0x85, 0x94, 0x68, 0xb3, 0x38, 0xa3, 0xec, 0x2c, 0xee, 0x59, 0x6c, - 0x4b, 0xf2, 0x94, 0x50, 0xe1, 0x25, 0xe6, 0xd3, 0x1c, 0x56, 0x87, 0x09, 0xa1, 0xad, 0x2d, 0x62, - 0x75, 0x4e, 0x60, 0x4e, 0xaf, 0x07, 0xf1, 0x29, 0x29, 0x61, 0xca, 0x8e, 0x4e, 0xbe, 0x4b, 0x9e, - 0x66, 0x5a, 0xcd, 0xa7, 0xb7, 0xcf, 0x06, 0x8e, 0x7b, 0xb5, 0xef, 0xf5, 0xda, 0xaf, 0x7d, 0x8f, - 0x75, 0xac, 0xaf, 0x8a, 0x76, 0x06, 0x2b, 0x50, 0xc7, 0x6c, 0x6d, 0xfc, 0x7e, 0xc7, 0x01, 0xb6, - 0x8e, 0xa4, 0x9c, 0xa2, 0x48, 0xcb, 0x28, 0xeb, 0xdb, 0xe4, 0x2d, 0x66, 0xa8, 0x78, 0x4a, 0xb4, - 0x2e, 0xc0, 0x18, 0xd3, 0x05, 0x14, 0xad, 0xc3, 0x7b, 0xef, 0x16, 0x61, 0x8a, 0x13, 0x1d, 0x9c, - 0x74, 0xd0, 0x3e, 0x40, 0xfa, 0x9c, 0x8b, 0xe4, 0x0b, 0xa0, 0xf2, 0x96, 0x6c, 0xae, 0x0d, 0xf9, - 0x42, 0x09, 0xfa, 0x0e, 0xd6, 0x47, 0xbf, 0x16, 0xa2, 0xcf, 0x95, 0xc5, 0x63, 0xde, 0x2f, 0xcd, - 0x47, 0xef, 0x41, 0x4d, 0x09, 0xfa, 0xde, 0x80, 0xcd, 0xb1, 0xef, 0x78, 0x68, 0x57, 0x62, 0x5a, - 0xe4, 0xf5, 0xd1, 0xfc, 0xe9, 0xfb, 0x2d, 0x10, 0x7e, 0x18, 0xfd, 0xc0, 0xa6, 0xf8, 0x61, 0xec, - 0xcb, 0xa0, 0xe2, 0x87, 0x02, 0x2f, 0x77, 0x4d, 0x98, 0x91, 0xc6, 0xf0, 0x68, 0x4d, 0x5d, 0x2d, - 0xbd, 0x88, 0x99, 0xe6, 0xb0, 0x4f, 0x94, 0xa0, 0xe7, 0x30, 0xa7, 0x8c, 0x77, 0xd1, 0x03, 0x95, - 0x58, 0x19, 0x67, 0x9b, 0x9f, 0x0c, 0xff, 0x48, 0x09, 0x3a, 0xe1, 0x6f, 0x71, 0xd2, 0x7c, 0x12, - 0xe5, 0xd2, 0xc7, 0xe3, 0x5c, 0xf3, 0xd3, 0x11, 0x5f, 0x29, 0x41, 0xe7, 0x7c, 0x98, 0x91, 0x19, - 0xe0, 0x21, 0x4b, 0x5d, 0x96, 0x37, 0x5f, 0x34, 0x7f, 0x38, 0x96, 0x86, 0x12, 0xf4, 0x6b, 0x5e, - 0x0f, 0xb5, 0x11, 0x13, 0xda, 0x50, 0x97, 0x66, 0xa7, 0x5f, 0xe6, 0xe6, 0x18, 0x0a, 0x4a, 0xd0, - 0x97, 0xc9, 0x61, 0x22, 0x71, 0xfe, 0x41, 0x36, 0xc0, 0x2a, 0xe3, 0x8d, 0xd1, 0x04, 0x94, 0x20, - 0xcc, 0xce, 0xfa, 0xbc, 0xab, 0x35, 0x7a, 0xa8, 0xac, 0x1d, 0x72, 0xe1, 0x37, 0xb7, 0x0a, 0x50, - 0x25, 0x9e, 0xd1, 0xae, 0x85, 0xba, 0x67, 0xb2, 0x57, 0x71, 0xdd, 0x33, 0x79, 0xf7, 0xca, 0x36, - 0x2c, 0x68, 0x77, 0x29, 0x24, 0xe7, 0x41, 0xf6, 0xc2, 0x66, 0xae, 0x8f, 0xfa, 0x4c, 0x89, 0x28, - 0x69, 0xf1, 0x25, 0x44, 0x2b, 0x69, 0xd2, 0xe5, 0x47, 0x2b, 0x69, 0xca, 0xad, 0xe5, 0x39, 0xcc, - 0x29, 0x17, 0x07, 0x65, 0x17, 0xe8, 0x17, 0x13, 0x65, 0x17, 0x64, 0xef, 0x1b, 0xaf, 0xe1, 0xfe, - 0x90, 0x46, 0x1c, 0x6d, 0xe9, 0x96, 0xe4, 0x5e, 0x2e, 0xcc, 0xcf, 0x8a, 0x90, 0x51, 0x82, 0xbe, - 0x82, 0xe5, 0x9c, 0xe6, 0x17, 0x6d, 0x66, 0xeb, 0xa9, 0x2e, 0xc1, 0x1a, 0x47, 0x22, 0x52, 0x38, - 0xd3, 0xa6, 0x2a, 0x29, 0x9c, 0xd7, 0x26, 0x2b, 0x29, 0x9c, 0xdf, 0xe5, 0x7e, 0x05, 0xcb, 0x39, - 0x2d, 0x27, 0xd2, 0x52, 0x27, 0xa7, 0x81, 0x34, 0xad, 0x71, 0x24, 0x82, 0x7b, 0x67, 0x0c, 0xf7, - 0xce, 0x78, 0xee, 0xc3, 0x7a, 0x4b, 0x51, 0xe1, 0xa4, 0x0e, 0x4a, 0xaf, 0x70, 0x6a, 0xfb, 0xa8, - 0x57, 0x38, 0xbd, 0xf5, 0x4a, 0x4f, 0x90, 0x21, 0x6d, 0x41, 0xde, 0x09, 0x32, 0xbc, 0x81, 0xc9, - 0x3b, 0x41, 0x46, 0xf5, 0x1b, 0x47, 0x30, 0x2b, 0xff, 0xb1, 0x09, 0x99, 0xd9, 0xe5, 0xf1, 0xdf, - 0xab, 0xcc, 0x07, 0x43, 0xbf, 0x51, 0xf2, 0xf4, 0x47, 0xbf, 0xd9, 0x7a, 0x41, 0xb0, 0x77, 0xde, - 0x3a, 0x91, 0xfe, 0xee, 0x96, 0xd0, 0xff, 0x3c, 0xf9, 0xf5, 0x6a, 0x82, 0x7f, 0x7a, 0xfc, 0xff, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x1c, 0xab, 0x91, 0x4b, 0x27, 0x00, 0x00, -} diff --git a/tools/data-conversion/proto/admin_cms/admin_cms.proto b/tools/data-conversion/proto/admin_cms/admin_cms.proto deleted file mode 100644 index 0e1aa1e7d..000000000 --- a/tools/data-conversion/proto/admin_cms/admin_cms.proto +++ /dev/null @@ -1,375 +0,0 @@ -syntax = "proto3"; -option go_package = "Open_IM/pkg/proto/admin_cms;admin_cms"; -import "conversion/proto/sdk_ws/ws.proto"; -package admin_cms; - - -message CommonResp { - int32 errCode = 1; - string errMsg = 2; -} - -message AdminLoginReq { - string operationID = 1; - string adminID = 2; - string secret = 3; -} - - -message AdminLoginResp { - string token = 1; - string userName = 2; - string faceURL = 3; - CommonResp commonResp = 4; -} - -message GetUserTokenReq { - string operationID = 1; - string userID = 2; - int32 platformID = 3; -} - -message GetUserTokenResp { - CommonResp commonResp = 1; - string token = 2; - int64 expTime = 3; -} - -message AddUserRegisterAddFriendIDListReq { - string operationID = 1; - repeated string userIDList = 2; -} - -message AddUserRegisterAddFriendIDListResp { - CommonResp commonResp = 1; -} - -message ReduceUserRegisterAddFriendIDListReq { - string operationID = 1; - int32 operation = 2; - repeated string userIDList = 3; -} - -message ReduceUserRegisterAddFriendIDListResp { - CommonResp commonResp = 1; -} - -message GetUserRegisterAddFriendIDListReq { - string operationID = 1; - server_api_params.RequestPagination pagination = 2; -} - -message GetUserRegisterAddFriendIDListResp { - repeated server_api_params.UserInfo userInfoList = 1; - server_api_params.ResponsePagination pagination = 2; - CommonResp commonResp = 3; -} - -message GetChatLogsReq { - string content = 1; - string sendID = 2; - string recvID = 3; - string sendTime = 4; - int32 sessionType = 5; - int32 contentType = 6; - server_api_params.RequestPagination pagination = 7; - string operationID = 8; - string opUserID = 9; -} - -message ChatLog { - string serverMsgID = 1; - string clientMsgID = 2; - string sendID = 3; - string recvID = 4; - string groupID = 5; - string recvNickname = 6; - int32 senderPlatformID = 7; - string senderNickname = 8; - string senderFaceURL = 9; - string groupName = 10; - int32 sessionType = 11; - int32 msgFrom = 12; - int32 contentType = 13; - string content = 14; - int32 status = 15; - int64 sendTime = 16; - int64 createTime = 17; - string ex = 18; -} - -message GetChatLogsResp { - repeated ChatLog chatLogs = 1; - server_api_params.ResponsePagination pagination = 2; - int32 chatLogsNum = 3; - CommonResp commonResp = 4; -} - - -message StatisticsReq { - string from = 1; - string to = 2; -} - -message GetActiveUserReq{ - StatisticsReq statisticsReq = 1; - string operationID = 2; -} - -message UserResp{ - string nickName = 1; - string userID = 2; - int32 messageNum = 3; -} - -message GetActiveUserResp { - repeated UserResp Users = 1; - CommonResp commonResp = 2; -} - -message GetActiveGroupReq{ - StatisticsReq statisticsReq = 1; - string operationID = 2; -} - -message GroupResp { - string GroupName = 1; - string GroupId = 2; - int32 MessageNum = 3; - CommonResp commonResp = 4; -} - -message GetActiveGroupResp { - repeated GroupResp Groups = 1; - CommonResp commonResp = 2; -} - -message DateNumList { - string Date = 1; - int32 Num = 2; -} - - -message GetMessageStatisticsReq { - StatisticsReq StatisticsReq = 1; - string OperationID = 2; -} - - -message GetMessageStatisticsResp { - int32 PrivateMessageNum = 1; - int32 GroupMessageNum = 2; - repeated DateNumList PrivateMessageNumList = 3; - repeated DateNumList GroupMessageNumList = 4; - CommonResp commonResp = 5; -} - -message GetGroupStatisticsReq { - StatisticsReq StatisticsReq = 1; - string OperationID = 2; -} - - -message GetGroupStatisticsResp { - int32 IncreaseGroupNum = 1; - int32 TotalGroupNum = 2; - repeated DateNumList IncreaseGroupNumList = 3; - repeated DateNumList TotalGroupNumList = 4; - CommonResp commonResp = 5; -} - -message GetUserStatisticsReq { - StatisticsReq StatisticsReq = 1; - string OperationID = 2; -} - -message GetUserStatisticsResp { - int32 IncreaseUserNum = 1; - int32 ActiveUserNum = 2; - int32 TotalUserNum = 3; - repeated DateNumList IncreaseUserNumList = 4; - repeated DateNumList ActiveUserNumList = 5; - repeated DateNumList TotalUserNumList = 6; - CommonResp commonResp = 7; -} - -message GenerateInvitationCodeReq { - string operationID = 1; - int32 codeLen = 2; - int32 codeNum = 3; -} - -message GenerateInvitationCodeResp { - CommonResp commonResp = 1; -} - -message GetInvitationCodesReq { - string operationID = 1; - string code = 2; - int32 status = 3; - server_api_params.RequestPagination pagination = 4; -} - -message invitationCode { - string invitationCode = 1; - int32 createTime = 2; - int32 lastTime = 3; - string userID = 4; - int32 status = 5; -} - -message GetInvitationCodesResp { - repeated invitationCode invitationCodes = 1; - server_api_params.ResponsePagination Pagination = 2; - CommonResp commonResp = 3; -} - -message QueryIPRegisterReq { - string operationID = 1; - string IP = 2; -} - -message QueryIPRegisterResp { - string IP = 1; - int32 RegisterNum = 2; - int32 Status = 3; - repeated string userIDList = 4; - CommonResp commonResp = 5; -} - -message AddIPLimitReq { - string operationID = 1; - string IP = 2; - int32 limitTime = 3; -} - -message AddIPLimitResp { - CommonResp commonResp = 1; -} - -message RemoveIPLimitReq { - string operationID = 1; - string IP = 2; -} - -message RemoveIPLimitResp { - CommonResp commonResp = 1; -} - -message QueryUserIDIPLimitLoginReq { - string operationID = 1; - string userID = 2; -} - -message UserIPLimit { - string userID = 1; - string IP = 2; - int32 createTime = 3; -} - -message QueryUserIDIPLimitLoginResp { - repeated UserIPLimit UserIPLimits = 1; - CommonResp commonResp = 2; -} - -message AddUserIPLimitLoginReq { - string userID = 1; - string operationID = 2; - string IP = 3; -} - -message AddUserIPLimitLoginResp { - CommonResp commonResp = 1; -} - -message RemoveUserIPLimitReq { - string userID = 1; - string operationID = 2; - string IP = 3; -} - -message RemoveUserIPLimitResp { - CommonResp commonResp = 1; -} - -message GetClientInitConfigReq { - string operationID = 1; -} - -message GetClientInitConfigResp { - CommonResp commonResp = 1; -} - -message SetClientInitConfigReq { - string operationID = 1; - string discoverPageURL = 2; -} - -message SetClientInitConfigResp { - CommonResp commonResp = 1; -} - -message GetUserFriendsReq { - string operationID = 1; - string userID = 2; - string friendUserID = 3; - string friendUserName = 4; - server_api_params.RequestPagination pagination = 5; -} - - -message GetUserFriendsResp { - server_api_params.ResponsePagination pagination = 1; - repeated server_api_params.FriendInfo friendInfoList = 2; - int32 friendNums = 3; - CommonResp commonResp = 4; -} - -message GetUserIDByEmailAndPhoneNumberReq{ - string operationID = 1; - string email = 2; - string phoneNumber = 3; -} - -message GetUserIDByEmailAndPhoneNumberResp{ - repeated string userIDList = 1; - CommonResp commonResp = 2; -} - - - -service adminCMS { - rpc AdminLogin(AdminLoginReq) returns(AdminLoginResp); - - rpc AddUserRegisterAddFriendIDList(AddUserRegisterAddFriendIDListReq) returns(AddUserRegisterAddFriendIDListResp); - rpc ReduceUserRegisterAddFriendIDList(ReduceUserRegisterAddFriendIDListReq) returns(ReduceUserRegisterAddFriendIDListResp); - rpc GetUserRegisterAddFriendIDList(GetUserRegisterAddFriendIDListReq) returns(GetUserRegisterAddFriendIDListResp); - - - rpc GetChatLogs(GetChatLogsReq) returns(GetChatLogsResp); - - rpc GetActiveUser(GetActiveUserReq) returns(GetActiveUserResp); - rpc GetActiveGroup(GetActiveGroupReq) returns(GetActiveGroupResp); - rpc GetMessageStatistics(GetMessageStatisticsReq) returns(GetMessageStatisticsResp); - rpc GetGroupStatistics(GetGroupStatisticsReq) returns(GetGroupStatisticsResp); - rpc GetUserStatistics(GetUserStatisticsReq) returns(GetUserStatisticsResp); - - rpc GenerateInvitationCode(GenerateInvitationCodeReq) returns(GenerateInvitationCodeResp); - rpc GetInvitationCodes(GetInvitationCodesReq) returns(GetInvitationCodesResp); - - rpc QueryIPRegister(QueryIPRegisterReq) returns(QueryIPRegisterResp); - rpc AddIPLimit(AddIPLimitReq) returns(AddIPLimitResp); - rpc RemoveIPLimit(RemoveIPLimitReq) returns(RemoveIPLimitResp); - rpc QueryUserIDIPLimitLogin(QueryUserIDIPLimitLoginReq) returns(QueryUserIDIPLimitLoginResp); - rpc AddUserIPLimitLogin(AddUserIPLimitLoginReq) returns(AddUserIPLimitLoginResp); - rpc RemoveUserIPLimit(RemoveUserIPLimitReq) returns(RemoveUserIPLimitResp); - - rpc GetClientInitConfig(GetClientInitConfigReq) returns(GetClientInitConfigResp); - rpc SetClientInitConfig(SetClientInitConfigReq) returns(SetClientInitConfigResp); - - rpc GetUserFriends(GetUserFriendsReq) returns(GetUserFriendsResp); - - rpc GetUserIDByEmailAndPhoneNumber(GetUserIDByEmailAndPhoneNumberReq) returns(GetUserIDByEmailAndPhoneNumberResp); - - rpc GetUserToken(GetUserTokenReq) returns(GetUserTokenResp); -} diff --git a/tools/data-conversion/proto/auth/auth.pb.go b/tools/data-conversion/proto/auth/auth.pb.go deleted file mode 100644 index e96a232d9..000000000 --- a/tools/data-conversion/proto/auth/auth.pb.go +++ /dev/null @@ -1,1028 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.15.5 -// source: auth/auth.proto - -package pbAuth - -import ( - sdk_ws "Open_IM/pkg/proto/sdk_ws" - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type CommonResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *CommonResp) Reset() { - *x = CommonResp{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_auth_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommonResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommonResp) ProtoMessage() {} - -func (x *CommonResp) ProtoReflect() protoreflect.Message { - mi := &file_auth_auth_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommonResp.ProtoReflect.Descriptor instead. -func (*CommonResp) Descriptor() ([]byte, []int) { - return file_auth_auth_proto_rawDescGZIP(), []int{0} -} - -func (x *CommonResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *CommonResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type UserRegisterReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=UserInfo,proto3" json:"UserInfo,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *UserRegisterReq) Reset() { - *x = UserRegisterReq{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_auth_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserRegisterReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserRegisterReq) ProtoMessage() {} - -func (x *UserRegisterReq) ProtoReflect() protoreflect.Message { - mi := &file_auth_auth_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserRegisterReq.ProtoReflect.Descriptor instead. -func (*UserRegisterReq) Descriptor() ([]byte, []int) { - return file_auth_auth_proto_rawDescGZIP(), []int{1} -} - -func (x *UserRegisterReq) GetUserInfo() *sdk_ws.UserInfo { - if x != nil { - return x.UserInfo - } - return nil -} - -func (x *UserRegisterReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type UserRegisterResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *UserRegisterResp) Reset() { - *x = UserRegisterResp{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_auth_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserRegisterResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserRegisterResp) ProtoMessage() {} - -func (x *UserRegisterResp) ProtoReflect() protoreflect.Message { - mi := &file_auth_auth_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserRegisterResp.ProtoReflect.Descriptor instead. -func (*UserRegisterResp) Descriptor() ([]byte, []int) { - return file_auth_auth_proto_rawDescGZIP(), []int{2} -} - -func (x *UserRegisterResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type UserTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Platform int32 `protobuf:"varint,1,opt,name=Platform,proto3" json:"Platform,omitempty"` - FromUserID string `protobuf:"bytes,2,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID,omitempty"` - LoginIp string `protobuf:"bytes,5,opt,name=LoginIp,proto3" json:"LoginIp,omitempty"` -} - -func (x *UserTokenReq) Reset() { - *x = UserTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_auth_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserTokenReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTokenReq) ProtoMessage() {} - -func (x *UserTokenReq) ProtoReflect() protoreflect.Message { - mi := &file_auth_auth_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTokenReq.ProtoReflect.Descriptor instead. -func (*UserTokenReq) Descriptor() ([]byte, []int) { - return file_auth_auth_proto_rawDescGZIP(), []int{3} -} - -func (x *UserTokenReq) GetPlatform() int32 { - if x != nil { - return x.Platform - } - return 0 -} - -func (x *UserTokenReq) GetFromUserID() string { - if x != nil { - return x.FromUserID - } - return "" -} - -func (x *UserTokenReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *UserTokenReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *UserTokenReq) GetLoginIp() string { - if x != nil { - return x.LoginIp - } - return "" -} - -type UserTokenResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` - Token string `protobuf:"bytes,2,opt,name=Token,proto3" json:"Token,omitempty"` - ExpiredTime int64 `protobuf:"varint,3,opt,name=ExpiredTime,proto3" json:"ExpiredTime,omitempty"` -} - -func (x *UserTokenResp) Reset() { - *x = UserTokenResp{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_auth_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserTokenResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserTokenResp) ProtoMessage() {} - -func (x *UserTokenResp) ProtoReflect() protoreflect.Message { - mi := &file_auth_auth_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserTokenResp.ProtoReflect.Descriptor instead. -func (*UserTokenResp) Descriptor() ([]byte, []int) { - return file_auth_auth_proto_rawDescGZIP(), []int{4} -} - -func (x *UserTokenResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *UserTokenResp) GetToken() string { - if x != nil { - return x.Token - } - return "" -} - -func (x *UserTokenResp) GetExpiredTime() int64 { - if x != nil { - return x.ExpiredTime - } - return 0 -} - -type ForceLogoutReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Platform int32 `protobuf:"varint,1,opt,name=Platform,proto3" json:"Platform,omitempty"` - FromUserID string `protobuf:"bytes,2,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *ForceLogoutReq) Reset() { - *x = ForceLogoutReq{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_auth_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ForceLogoutReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ForceLogoutReq) ProtoMessage() {} - -func (x *ForceLogoutReq) ProtoReflect() protoreflect.Message { - mi := &file_auth_auth_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ForceLogoutReq.ProtoReflect.Descriptor instead. -func (*ForceLogoutReq) Descriptor() ([]byte, []int) { - return file_auth_auth_proto_rawDescGZIP(), []int{5} -} - -func (x *ForceLogoutReq) GetPlatform() int32 { - if x != nil { - return x.Platform - } - return 0 -} - -func (x *ForceLogoutReq) GetFromUserID() string { - if x != nil { - return x.FromUserID - } - return "" -} - -func (x *ForceLogoutReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *ForceLogoutReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type ForceLogoutResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *ForceLogoutResp) Reset() { - *x = ForceLogoutResp{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_auth_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ForceLogoutResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ForceLogoutResp) ProtoMessage() {} - -func (x *ForceLogoutResp) ProtoReflect() protoreflect.Message { - mi := &file_auth_auth_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ForceLogoutResp.ProtoReflect.Descriptor instead. -func (*ForceLogoutResp) Descriptor() ([]byte, []int) { - return file_auth_auth_proto_rawDescGZIP(), []int{6} -} - -func (x *ForceLogoutResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type ParseTokenReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *ParseTokenReq) Reset() { - *x = ParseTokenReq{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_auth_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ParseTokenReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ParseTokenReq) ProtoMessage() {} - -func (x *ParseTokenReq) ProtoReflect() protoreflect.Message { - mi := &file_auth_auth_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ParseTokenReq.ProtoReflect.Descriptor instead. -func (*ParseTokenReq) Descriptor() ([]byte, []int) { - return file_auth_auth_proto_rawDescGZIP(), []int{7} -} - -func (x *ParseTokenReq) GetToken() string { - if x != nil { - return x.Token - } - return "" -} - -func (x *ParseTokenReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type ParseTokenResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,3,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - ExpireTimeSeconds uint32 `protobuf:"varint,4,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds,omitempty"` -} - -func (x *ParseTokenResp) Reset() { - *x = ParseTokenResp{} - if protoimpl.UnsafeEnabled { - mi := &file_auth_auth_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ParseTokenResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ParseTokenResp) ProtoMessage() {} - -func (x *ParseTokenResp) ProtoReflect() protoreflect.Message { - mi := &file_auth_auth_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ParseTokenResp.ProtoReflect.Descriptor instead. -func (*ParseTokenResp) Descriptor() ([]byte, []int) { - return file_auth_auth_proto_rawDescGZIP(), []int{8} -} - -func (x *ParseTokenResp) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *ParseTokenResp) GetPlatform() string { - if x != nil { - return x.Platform - } - return "" -} - -func (x *ParseTokenResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *ParseTokenResp) GetExpireTimeSeconds() uint32 { - if x != nil { - return x.ExpireTimeSeconds - } - return 0 -} - -var File_auth_auth_proto protoreflect.FileDescriptor - -var file_auth_auth_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x06, 0x70, 0x62, 0x41, 0x75, 0x74, 0x68, 0x1a, 0x28, 0x4f, 0x70, 0x65, 0x6e, 0x2d, - 0x49, 0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x5f, 0x77, 0x73, 0x2f, 0x77, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, - 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, - 0x4d, 0x73, 0x67, 0x22, 0x6c, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x37, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, - 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x22, 0x46, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x41, 0x75, - 0x74, 0x68, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0xa2, 0x01, 0x0a, 0x0c, 0x55, 0x73, - 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46, 0x72, 0x6f, 0x6d, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x49, 0x70, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x49, 0x70, 0x22, 0x7b, - 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x32, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x43, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x78, 0x70, - 0x69, 0x72, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, - 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x0e, - 0x46, 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, - 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x72, - 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x45, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x63, - 0x65, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x70, 0x62, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, - 0x47, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x73, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, - 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xa6, 0x01, 0x0a, 0x0e, 0x50, 0x61, 0x72, - 0x73, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, - 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x43, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, - 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, - 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, - 0x73, 0x32, 0x80, 0x02, 0x0a, 0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 0x41, 0x0a, 0x0c, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x41, - 0x75, 0x74, 0x68, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, - 0x09, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x41, - 0x75, 0x74, 0x68, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, - 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3e, 0x0a, 0x0b, 0x46, 0x6f, 0x72, 0x63, 0x65, - 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x41, 0x75, 0x74, 0x68, 0x2e, - 0x46, 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x17, - 0x2e, 0x70, 0x62, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x67, - 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3b, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x73, 0x65, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x50, - 0x61, 0x72, 0x73, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x70, - 0x62, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x42, 0x1f, 0x5a, 0x1d, 0x4f, 0x70, 0x65, 0x6e, 0x5f, 0x49, 0x4d, 0x2f, - 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x3b, 0x70, - 0x62, 0x41, 0x75, 0x74, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_auth_auth_proto_rawDescOnce sync.Once - file_auth_auth_proto_rawDescData = file_auth_auth_proto_rawDesc -) - -func file_auth_auth_proto_rawDescGZIP() []byte { - file_auth_auth_proto_rawDescOnce.Do(func() { - file_auth_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_auth_auth_proto_rawDescData) - }) - return file_auth_auth_proto_rawDescData -} - -var file_auth_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_auth_auth_proto_goTypes = []interface{}{ - (*CommonResp)(nil), // 0: pbAuth.CommonResp - (*UserRegisterReq)(nil), // 1: pbAuth.UserRegisterReq - (*UserRegisterResp)(nil), // 2: pbAuth.UserRegisterResp - (*UserTokenReq)(nil), // 3: pbAuth.UserTokenReq - (*UserTokenResp)(nil), // 4: pbAuth.UserTokenResp - (*ForceLogoutReq)(nil), // 5: pbAuth.ForceLogoutReq - (*ForceLogoutResp)(nil), // 6: pbAuth.ForceLogoutResp - (*ParseTokenReq)(nil), // 7: pbAuth.ParseTokenReq - (*ParseTokenResp)(nil), // 8: pbAuth.ParseTokenResp - (*sdk_ws.UserInfo)(nil), // 9: server_api_params.UserInfo -} -var file_auth_auth_proto_depIdxs = []int32{ - 9, // 0: pbAuth.UserRegisterReq.UserInfo:type_name -> server_api_params.UserInfo - 0, // 1: pbAuth.UserRegisterResp.CommonResp:type_name -> pbAuth.CommonResp - 0, // 2: pbAuth.UserTokenResp.CommonResp:type_name -> pbAuth.CommonResp - 0, // 3: pbAuth.ForceLogoutResp.CommonResp:type_name -> pbAuth.CommonResp - 0, // 4: pbAuth.ParseTokenResp.commonResp:type_name -> pbAuth.CommonResp - 1, // 5: pbAuth.Auth.UserRegister:input_type -> pbAuth.UserRegisterReq - 3, // 6: pbAuth.Auth.UserToken:input_type -> pbAuth.UserTokenReq - 5, // 7: pbAuth.Auth.ForceLogout:input_type -> pbAuth.ForceLogoutReq - 7, // 8: pbAuth.Auth.ParseToken:input_type -> pbAuth.ParseTokenReq - 2, // 9: pbAuth.Auth.UserRegister:output_type -> pbAuth.UserRegisterResp - 4, // 10: pbAuth.Auth.UserToken:output_type -> pbAuth.UserTokenResp - 6, // 11: pbAuth.Auth.ForceLogout:output_type -> pbAuth.ForceLogoutResp - 8, // 12: pbAuth.Auth.ParseToken:output_type -> pbAuth.ParseTokenResp - 9, // [9:13] is the sub-list for method output_type - 5, // [5:9] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_auth_auth_proto_init() } -func file_auth_auth_proto_init() { - if File_auth_auth_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_auth_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommonResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserRegisterReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserRegisterResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_auth_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserTokenResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_auth_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ForceLogoutReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_auth_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ForceLogoutResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_auth_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParseTokenReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_auth_auth_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParseTokenResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_auth_auth_proto_rawDesc, - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_auth_auth_proto_goTypes, - DependencyIndexes: file_auth_auth_proto_depIdxs, - MessageInfos: file_auth_auth_proto_msgTypes, - }.Build() - File_auth_auth_proto = out.File - file_auth_auth_proto_rawDesc = nil - file_auth_auth_proto_goTypes = nil - file_auth_auth_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// AuthClient is the client API for Auth service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AuthClient interface { - UserRegister(ctx context.Context, in *UserRegisterReq, opts ...grpc.CallOption) (*UserRegisterResp, error) - UserToken(ctx context.Context, in *UserTokenReq, opts ...grpc.CallOption) (*UserTokenResp, error) - ForceLogout(ctx context.Context, in *ForceLogoutReq, opts ...grpc.CallOption) (*ForceLogoutResp, error) - ParseToken(ctx context.Context, in *ParseTokenReq, opts ...grpc.CallOption) (*ParseTokenResp, error) -} - -type authClient struct { - cc grpc.ClientConnInterface -} - -func NewAuthClient(cc grpc.ClientConnInterface) AuthClient { - return &authClient{cc} -} - -func (c *authClient) UserRegister(ctx context.Context, in *UserRegisterReq, opts ...grpc.CallOption) (*UserRegisterResp, error) { - out := new(UserRegisterResp) - err := c.cc.Invoke(ctx, "/pbAuth.Auth/UserRegister", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authClient) UserToken(ctx context.Context, in *UserTokenReq, opts ...grpc.CallOption) (*UserTokenResp, error) { - out := new(UserTokenResp) - err := c.cc.Invoke(ctx, "/pbAuth.Auth/UserToken", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authClient) ForceLogout(ctx context.Context, in *ForceLogoutReq, opts ...grpc.CallOption) (*ForceLogoutResp, error) { - out := new(ForceLogoutResp) - err := c.cc.Invoke(ctx, "/pbAuth.Auth/ForceLogout", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authClient) ParseToken(ctx context.Context, in *ParseTokenReq, opts ...grpc.CallOption) (*ParseTokenResp, error) { - out := new(ParseTokenResp) - err := c.cc.Invoke(ctx, "/pbAuth.Auth/ParseToken", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AuthServer is the server API for Auth service. -type AuthServer interface { - UserRegister(context.Context, *UserRegisterReq) (*UserRegisterResp, error) - UserToken(context.Context, *UserTokenReq) (*UserTokenResp, error) - ForceLogout(context.Context, *ForceLogoutReq) (*ForceLogoutResp, error) - ParseToken(context.Context, *ParseTokenReq) (*ParseTokenResp, error) -} - -// UnimplementedAuthServer can be embedded to have forward compatible implementations. -type UnimplementedAuthServer struct { -} - -func (*UnimplementedAuthServer) UserRegister(context.Context, *UserRegisterReq) (*UserRegisterResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserRegister not implemented") -} -func (*UnimplementedAuthServer) UserToken(context.Context, *UserTokenReq) (*UserTokenResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserToken not implemented") -} -func (*UnimplementedAuthServer) ForceLogout(context.Context, *ForceLogoutReq) (*ForceLogoutResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method ForceLogout not implemented") -} -func (*UnimplementedAuthServer) ParseToken(context.Context, *ParseTokenReq) (*ParseTokenResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method ParseToken not implemented") -} - -func RegisterAuthServer(s *grpc.Server, srv AuthServer) { - s.RegisterService(&_Auth_serviceDesc, srv) -} - -func _Auth_UserRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserRegisterReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServer).UserRegister(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pbAuth.Auth/UserRegister", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServer).UserRegister(ctx, req.(*UserRegisterReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Auth_UserToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserTokenReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServer).UserToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pbAuth.Auth/UserToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServer).UserToken(ctx, req.(*UserTokenReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Auth_ForceLogout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ForceLogoutReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServer).ForceLogout(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pbAuth.Auth/ForceLogout", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServer).ForceLogout(ctx, req.(*ForceLogoutReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Auth_ParseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ParseTokenReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServer).ParseToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pbAuth.Auth/ParseToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServer).ParseToken(ctx, req.(*ParseTokenReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _Auth_serviceDesc = grpc.ServiceDesc{ - ServiceName: "pbAuth.Auth", - HandlerType: (*AuthServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UserRegister", - Handler: _Auth_UserRegister_Handler, - }, - { - MethodName: "UserToken", - Handler: _Auth_UserToken_Handler, - }, - { - MethodName: "ForceLogout", - Handler: _Auth_ForceLogout_Handler, - }, - { - MethodName: "ParseToken", - Handler: _Auth_ParseToken_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "auth/auth.proto", -} diff --git a/tools/data-conversion/proto/auth/auth.proto b/tools/data-conversion/proto/auth/auth.proto deleted file mode 100644 index 9370ef916..000000000 --- a/tools/data-conversion/proto/auth/auth.proto +++ /dev/null @@ -1,65 +0,0 @@ -syntax = "proto3"; -import "Open-IM-Server/pkg/proto/sdk_ws/ws.proto"; -package pbAuth; -option go_package = "Open_IM/pkg/proto/auth;pbAuth"; - -message CommonResp{ - int32 errCode = 1; - string errMsg = 2; -} - -message UserRegisterReq { - server_api_params.UserInfo UserInfo = 1; - string OperationID = 2; -} -message UserRegisterResp { - CommonResp CommonResp = 1; -} - - -message UserTokenReq { - int32 Platform = 1; - string FromUserID = 2; - string OpUserID = 3; - string OperationID = 4; - string LoginIp = 5; -} -message UserTokenResp { - CommonResp CommonResp = 1; - string Token = 2; - int64 ExpiredTime = 3; -} - - -message ForceLogoutReq { - int32 Platform = 1; - string FromUserID = 2; - string OpUserID = 3; - string OperationID = 4; -} -message ForceLogoutResp { - CommonResp CommonResp = 1; -} - -message ParseTokenReq{ - string token = 1; - string operationID = 2; -} - - -message ParseTokenResp{ - string userID = 1; - string platform = 2; - CommonResp commonResp = 3; - uint32 expireTimeSeconds = 4; -} - - -service Auth { - rpc UserRegister(UserRegisterReq) returns(UserRegisterResp); - rpc UserToken(UserTokenReq) returns(UserTokenResp); - rpc ForceLogout(ForceLogoutReq) returns(ForceLogoutResp); - rpc ParseToken(ParseTokenReq)returns(ParseTokenResp); -} - - diff --git a/tools/data-conversion/proto/cache/cache.pb.go b/tools/data-conversion/proto/cache/cache.pb.go deleted file mode 100644 index e8da57bb6..000000000 --- a/tools/data-conversion/proto/cache/cache.pb.go +++ /dev/null @@ -1,1350 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.15.5 -// source: cache/cache.proto - -package cache - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type CommonResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *CommonResp) Reset() { - *x = CommonResp{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommonResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommonResp) ProtoMessage() {} - -func (x *CommonResp) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommonResp.ProtoReflect.Descriptor instead. -func (*CommonResp) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{0} -} - -func (x *CommonResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *CommonResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type GetFriendIDListFromCacheReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetFriendIDListFromCacheReq) Reset() { - *x = GetFriendIDListFromCacheReq{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetFriendIDListFromCacheReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFriendIDListFromCacheReq) ProtoMessage() {} - -func (x *GetFriendIDListFromCacheReq) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFriendIDListFromCacheReq.ProtoReflect.Descriptor instead. -func (*GetFriendIDListFromCacheReq) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{1} -} - -func (x *GetFriendIDListFromCacheReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetFriendIDListFromCacheReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetFriendIDListFromCacheResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *GetFriendIDListFromCacheResp) Reset() { - *x = GetFriendIDListFromCacheResp{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetFriendIDListFromCacheResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFriendIDListFromCacheResp) ProtoMessage() {} - -func (x *GetFriendIDListFromCacheResp) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFriendIDListFromCacheResp.ProtoReflect.Descriptor instead. -func (*GetFriendIDListFromCacheResp) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{2} -} - -func (x *GetFriendIDListFromCacheResp) GetUserIDList() []string { - if x != nil { - return x.UserIDList - } - return nil -} - -func (x *GetFriendIDListFromCacheResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type DelFriendIDListFromCacheReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *DelFriendIDListFromCacheReq) Reset() { - *x = DelFriendIDListFromCacheReq{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DelFriendIDListFromCacheReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DelFriendIDListFromCacheReq) ProtoMessage() {} - -func (x *DelFriendIDListFromCacheReq) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DelFriendIDListFromCacheReq.ProtoReflect.Descriptor instead. -func (*DelFriendIDListFromCacheReq) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{3} -} - -func (x *DelFriendIDListFromCacheReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *DelFriendIDListFromCacheReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type DelFriendIDListFromCacheResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *DelFriendIDListFromCacheResp) Reset() { - *x = DelFriendIDListFromCacheResp{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DelFriendIDListFromCacheResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DelFriendIDListFromCacheResp) ProtoMessage() {} - -func (x *DelFriendIDListFromCacheResp) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DelFriendIDListFromCacheResp.ProtoReflect.Descriptor instead. -func (*DelFriendIDListFromCacheResp) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{4} -} - -func (x *DelFriendIDListFromCacheResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type GetBlackIDListFromCacheReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetBlackIDListFromCacheReq) Reset() { - *x = GetBlackIDListFromCacheReq{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlackIDListFromCacheReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlackIDListFromCacheReq) ProtoMessage() {} - -func (x *GetBlackIDListFromCacheReq) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlackIDListFromCacheReq.ProtoReflect.Descriptor instead. -func (*GetBlackIDListFromCacheReq) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{5} -} - -func (x *GetBlackIDListFromCacheReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetBlackIDListFromCacheReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetBlackIDListFromCacheResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,2,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *GetBlackIDListFromCacheResp) Reset() { - *x = GetBlackIDListFromCacheResp{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlackIDListFromCacheResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlackIDListFromCacheResp) ProtoMessage() {} - -func (x *GetBlackIDListFromCacheResp) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlackIDListFromCacheResp.ProtoReflect.Descriptor instead. -func (*GetBlackIDListFromCacheResp) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{6} -} - -func (x *GetBlackIDListFromCacheResp) GetUserIDList() []string { - if x != nil { - return x.UserIDList - } - return nil -} - -func (x *GetBlackIDListFromCacheResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type DelBlackIDListFromCacheReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *DelBlackIDListFromCacheReq) Reset() { - *x = DelBlackIDListFromCacheReq{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DelBlackIDListFromCacheReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DelBlackIDListFromCacheReq) ProtoMessage() {} - -func (x *DelBlackIDListFromCacheReq) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DelBlackIDListFromCacheReq.ProtoReflect.Descriptor instead. -func (*DelBlackIDListFromCacheReq) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{7} -} - -func (x *DelBlackIDListFromCacheReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *DelBlackIDListFromCacheReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type DelBlackIDListFromCacheResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *DelBlackIDListFromCacheResp) Reset() { - *x = DelBlackIDListFromCacheResp{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DelBlackIDListFromCacheResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DelBlackIDListFromCacheResp) ProtoMessage() {} - -func (x *DelBlackIDListFromCacheResp) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DelBlackIDListFromCacheResp.ProtoReflect.Descriptor instead. -func (*DelBlackIDListFromCacheResp) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{8} -} - -func (x *DelBlackIDListFromCacheResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type GetGroupMemberIDListFromCacheReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OperationID string `protobuf:"bytes,1,opt,name=operationID,proto3" json:"operationID,omitempty"` - GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"` -} - -func (x *GetGroupMemberIDListFromCacheReq) Reset() { - *x = GetGroupMemberIDListFromCacheReq{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetGroupMemberIDListFromCacheReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetGroupMemberIDListFromCacheReq) ProtoMessage() {} - -func (x *GetGroupMemberIDListFromCacheReq) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetGroupMemberIDListFromCacheReq.ProtoReflect.Descriptor instead. -func (*GetGroupMemberIDListFromCacheReq) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{9} -} - -func (x *GetGroupMemberIDListFromCacheReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *GetGroupMemberIDListFromCacheReq) GetGroupID() string { - if x != nil { - return x.GroupID - } - return "" -} - -type GetGroupMemberIDListFromCacheResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - UserIDList []string `protobuf:"bytes,2,rep,name=userIDList,proto3" json:"userIDList,omitempty"` -} - -func (x *GetGroupMemberIDListFromCacheResp) Reset() { - *x = GetGroupMemberIDListFromCacheResp{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetGroupMemberIDListFromCacheResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetGroupMemberIDListFromCacheResp) ProtoMessage() {} - -func (x *GetGroupMemberIDListFromCacheResp) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetGroupMemberIDListFromCacheResp.ProtoReflect.Descriptor instead. -func (*GetGroupMemberIDListFromCacheResp) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{10} -} - -func (x *GetGroupMemberIDListFromCacheResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetGroupMemberIDListFromCacheResp) GetUserIDList() []string { - if x != nil { - return x.UserIDList - } - return nil -} - -type DelGroupMemberIDListFromCacheReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *DelGroupMemberIDListFromCacheReq) Reset() { - *x = DelGroupMemberIDListFromCacheReq{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DelGroupMemberIDListFromCacheReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DelGroupMemberIDListFromCacheReq) ProtoMessage() {} - -func (x *DelGroupMemberIDListFromCacheReq) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DelGroupMemberIDListFromCacheReq.ProtoReflect.Descriptor instead. -func (*DelGroupMemberIDListFromCacheReq) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{11} -} - -func (x *DelGroupMemberIDListFromCacheReq) GetGroupID() string { - if x != nil { - return x.GroupID - } - return "" -} - -func (x *DelGroupMemberIDListFromCacheReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type DelGroupMemberIDListFromCacheResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *DelGroupMemberIDListFromCacheResp) Reset() { - *x = DelGroupMemberIDListFromCacheResp{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_cache_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DelGroupMemberIDListFromCacheResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DelGroupMemberIDListFromCacheResp) ProtoMessage() {} - -func (x *DelGroupMemberIDListFromCacheResp) ProtoReflect() protoreflect.Message { - mi := &file_cache_cache_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DelGroupMemberIDListFromCacheResp.ProtoReflect.Descriptor instead. -func (*DelGroupMemberIDListFromCacheResp) Descriptor() ([]byte, []int) { - return file_cache_cache_proto_rawDescGZIP(), []int{12} -} - -func (x *DelGroupMemberIDListFromCacheResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -var File_cache_cache_proto protoreflect.FileDescriptor - -var file_cache_cache_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x22, 0x3e, 0x0a, 0x0a, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, - 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x57, 0x0a, 0x1b, 0x47, 0x65, - 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, - 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x22, 0x71, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, - 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, - 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x57, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x46, 0x72, 0x69, - 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, - 0x51, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, - 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x22, 0x56, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, - 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, - 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x70, 0x0a, 0x1b, 0x47, 0x65, - 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, - 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x56, 0x0a, 0x1a, - 0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, - 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x50, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b, - 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x5e, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, - 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x22, 0x76, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, - 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, - 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x5e, - 0x0a, 0x20, 0x44, 0x65, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, - 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x56, - 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x32, 0xfd, 0x04, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, - 0x12, 0x63, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, - 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x22, 0x2e, 0x63, - 0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44, - 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, - 0x1a, 0x23, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, - 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x63, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x46, 0x72, 0x69, 0x65, - 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x12, 0x22, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x46, 0x72, 0x69, - 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x44, 0x65, - 0x6c, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, - 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x60, 0x0a, 0x17, 0x47, 0x65, - 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, - 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x21, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x65, - 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, - 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, - 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, - 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x60, 0x0a, 0x17, - 0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, - 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x21, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, - 0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, - 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x63, 0x61, 0x63, - 0x68, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x49, 0x44, 0x4c, 0x69, 0x73, - 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x72, - 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, - 0x27, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, - 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, - 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, - 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x72, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, - 0x63, 0x68, 0x65, 0x12, 0x27, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, - 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x63, - 0x61, 0x63, 0x68, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x42, 0x1f, 0x5a, 0x1d, 0x4f, 0x70, 0x65, 0x6e, 0x5f, 0x49, - 0x4d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x61, 0x63, 0x68, - 0x65, 0x3b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_cache_cache_proto_rawDescOnce sync.Once - file_cache_cache_proto_rawDescData = file_cache_cache_proto_rawDesc -) - -func file_cache_cache_proto_rawDescGZIP() []byte { - file_cache_cache_proto_rawDescOnce.Do(func() { - file_cache_cache_proto_rawDescData = protoimpl.X.CompressGZIP(file_cache_cache_proto_rawDescData) - }) - return file_cache_cache_proto_rawDescData -} - -var file_cache_cache_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_cache_cache_proto_goTypes = []interface{}{ - (*CommonResp)(nil), // 0: cache.CommonResp - (*GetFriendIDListFromCacheReq)(nil), // 1: cache.GetFriendIDListFromCacheReq - (*GetFriendIDListFromCacheResp)(nil), // 2: cache.GetFriendIDListFromCacheResp - (*DelFriendIDListFromCacheReq)(nil), // 3: cache.DelFriendIDListFromCacheReq - (*DelFriendIDListFromCacheResp)(nil), // 4: cache.DelFriendIDListFromCacheResp - (*GetBlackIDListFromCacheReq)(nil), // 5: cache.GetBlackIDListFromCacheReq - (*GetBlackIDListFromCacheResp)(nil), // 6: cache.GetBlackIDListFromCacheResp - (*DelBlackIDListFromCacheReq)(nil), // 7: cache.DelBlackIDListFromCacheReq - (*DelBlackIDListFromCacheResp)(nil), // 8: cache.DelBlackIDListFromCacheResp - (*GetGroupMemberIDListFromCacheReq)(nil), // 9: cache.GetGroupMemberIDListFromCacheReq - (*GetGroupMemberIDListFromCacheResp)(nil), // 10: cache.GetGroupMemberIDListFromCacheResp - (*DelGroupMemberIDListFromCacheReq)(nil), // 11: cache.DelGroupMemberIDListFromCacheReq - (*DelGroupMemberIDListFromCacheResp)(nil), // 12: cache.DelGroupMemberIDListFromCacheResp -} -var file_cache_cache_proto_depIdxs = []int32{ - 0, // 0: cache.GetFriendIDListFromCacheResp.commonResp:type_name -> cache.CommonResp - 0, // 1: cache.DelFriendIDListFromCacheResp.commonResp:type_name -> cache.CommonResp - 0, // 2: cache.GetBlackIDListFromCacheResp.commonResp:type_name -> cache.CommonResp - 0, // 3: cache.DelBlackIDListFromCacheResp.commonResp:type_name -> cache.CommonResp - 0, // 4: cache.GetGroupMemberIDListFromCacheResp.commonResp:type_name -> cache.CommonResp - 0, // 5: cache.DelGroupMemberIDListFromCacheResp.commonResp:type_name -> cache.CommonResp - 1, // 6: cache.cache.GetFriendIDListFromCache:input_type -> cache.GetFriendIDListFromCacheReq - 3, // 7: cache.cache.DelFriendIDListFromCache:input_type -> cache.DelFriendIDListFromCacheReq - 5, // 8: cache.cache.GetBlackIDListFromCache:input_type -> cache.GetBlackIDListFromCacheReq - 7, // 9: cache.cache.DelBlackIDListFromCache:input_type -> cache.DelBlackIDListFromCacheReq - 9, // 10: cache.cache.GetGroupMemberIDListFromCache:input_type -> cache.GetGroupMemberIDListFromCacheReq - 11, // 11: cache.cache.DelGroupMemberIDListFromCache:input_type -> cache.DelGroupMemberIDListFromCacheReq - 2, // 12: cache.cache.GetFriendIDListFromCache:output_type -> cache.GetFriendIDListFromCacheResp - 4, // 13: cache.cache.DelFriendIDListFromCache:output_type -> cache.DelFriendIDListFromCacheResp - 6, // 14: cache.cache.GetBlackIDListFromCache:output_type -> cache.GetBlackIDListFromCacheResp - 8, // 15: cache.cache.DelBlackIDListFromCache:output_type -> cache.DelBlackIDListFromCacheResp - 10, // 16: cache.cache.GetGroupMemberIDListFromCache:output_type -> cache.GetGroupMemberIDListFromCacheResp - 12, // 17: cache.cache.DelGroupMemberIDListFromCache:output_type -> cache.DelGroupMemberIDListFromCacheResp - 12, // [12:18] is the sub-list for method output_type - 6, // [6:12] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_cache_cache_proto_init() } -func file_cache_cache_proto_init() { - if File_cache_cache_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_cache_cache_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommonResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFriendIDListFromCacheReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFriendIDListFromCacheResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelFriendIDListFromCacheReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelFriendIDListFromCacheResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlackIDListFromCacheReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlackIDListFromCacheResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelBlackIDListFromCacheReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelBlackIDListFromCacheResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGroupMemberIDListFromCacheReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGroupMemberIDListFromCacheResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelGroupMemberIDListFromCacheReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_cache_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelGroupMemberIDListFromCacheResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cache_cache_proto_rawDesc, - NumEnums: 0, - NumMessages: 13, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_cache_cache_proto_goTypes, - DependencyIndexes: file_cache_cache_proto_depIdxs, - MessageInfos: file_cache_cache_proto_msgTypes, - }.Build() - File_cache_cache_proto = out.File - file_cache_cache_proto_rawDesc = nil - file_cache_cache_proto_goTypes = nil - file_cache_cache_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// CacheClient is the client API for Cache service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CacheClient interface { - // friendInfo - GetFriendIDListFromCache(ctx context.Context, in *GetFriendIDListFromCacheReq, opts ...grpc.CallOption) (*GetFriendIDListFromCacheResp, error) - // for dtm - DelFriendIDListFromCache(ctx context.Context, in *DelFriendIDListFromCacheReq, opts ...grpc.CallOption) (*DelFriendIDListFromCacheResp, error) - // blackList - GetBlackIDListFromCache(ctx context.Context, in *GetBlackIDListFromCacheReq, opts ...grpc.CallOption) (*GetBlackIDListFromCacheResp, error) - // for dtm - DelBlackIDListFromCache(ctx context.Context, in *DelBlackIDListFromCacheReq, opts ...grpc.CallOption) (*DelBlackIDListFromCacheResp, error) - // group - GetGroupMemberIDListFromCache(ctx context.Context, in *GetGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*GetGroupMemberIDListFromCacheResp, error) - // for dtm - DelGroupMemberIDListFromCache(ctx context.Context, in *DelGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*DelGroupMemberIDListFromCacheResp, error) -} - -type cacheClient struct { - cc grpc.ClientConnInterface -} - -func NewCacheClient(cc grpc.ClientConnInterface) CacheClient { - return &cacheClient{cc} -} - -func (c *cacheClient) GetFriendIDListFromCache(ctx context.Context, in *GetFriendIDListFromCacheReq, opts ...grpc.CallOption) (*GetFriendIDListFromCacheResp, error) { - out := new(GetFriendIDListFromCacheResp) - err := c.cc.Invoke(ctx, "/cache.cache/GetFriendIDListFromCache", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cacheClient) DelFriendIDListFromCache(ctx context.Context, in *DelFriendIDListFromCacheReq, opts ...grpc.CallOption) (*DelFriendIDListFromCacheResp, error) { - out := new(DelFriendIDListFromCacheResp) - err := c.cc.Invoke(ctx, "/cache.cache/DelFriendIDListFromCache", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cacheClient) GetBlackIDListFromCache(ctx context.Context, in *GetBlackIDListFromCacheReq, opts ...grpc.CallOption) (*GetBlackIDListFromCacheResp, error) { - out := new(GetBlackIDListFromCacheResp) - err := c.cc.Invoke(ctx, "/cache.cache/GetBlackIDListFromCache", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cacheClient) DelBlackIDListFromCache(ctx context.Context, in *DelBlackIDListFromCacheReq, opts ...grpc.CallOption) (*DelBlackIDListFromCacheResp, error) { - out := new(DelBlackIDListFromCacheResp) - err := c.cc.Invoke(ctx, "/cache.cache/DelBlackIDListFromCache", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cacheClient) GetGroupMemberIDListFromCache(ctx context.Context, in *GetGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*GetGroupMemberIDListFromCacheResp, error) { - out := new(GetGroupMemberIDListFromCacheResp) - err := c.cc.Invoke(ctx, "/cache.cache/GetGroupMemberIDListFromCache", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cacheClient) DelGroupMemberIDListFromCache(ctx context.Context, in *DelGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*DelGroupMemberIDListFromCacheResp, error) { - out := new(DelGroupMemberIDListFromCacheResp) - err := c.cc.Invoke(ctx, "/cache.cache/DelGroupMemberIDListFromCache", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CacheServer is the server API for Cache service. -type CacheServer interface { - // friendInfo - GetFriendIDListFromCache(context.Context, *GetFriendIDListFromCacheReq) (*GetFriendIDListFromCacheResp, error) - // for dtm - DelFriendIDListFromCache(context.Context, *DelFriendIDListFromCacheReq) (*DelFriendIDListFromCacheResp, error) - // blackList - GetBlackIDListFromCache(context.Context, *GetBlackIDListFromCacheReq) (*GetBlackIDListFromCacheResp, error) - // for dtm - DelBlackIDListFromCache(context.Context, *DelBlackIDListFromCacheReq) (*DelBlackIDListFromCacheResp, error) - // group - GetGroupMemberIDListFromCache(context.Context, *GetGroupMemberIDListFromCacheReq) (*GetGroupMemberIDListFromCacheResp, error) - // for dtm - DelGroupMemberIDListFromCache(context.Context, *DelGroupMemberIDListFromCacheReq) (*DelGroupMemberIDListFromCacheResp, error) -} - -// UnimplementedCacheServer can be embedded to have forward compatible implementations. -type UnimplementedCacheServer struct { -} - -func (*UnimplementedCacheServer) GetFriendIDListFromCache(context.Context, *GetFriendIDListFromCacheReq) (*GetFriendIDListFromCacheResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFriendIDListFromCache not implemented") -} -func (*UnimplementedCacheServer) DelFriendIDListFromCache(context.Context, *DelFriendIDListFromCacheReq) (*DelFriendIDListFromCacheResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DelFriendIDListFromCache not implemented") -} -func (*UnimplementedCacheServer) GetBlackIDListFromCache(context.Context, *GetBlackIDListFromCacheReq) (*GetBlackIDListFromCacheResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlackIDListFromCache not implemented") -} -func (*UnimplementedCacheServer) DelBlackIDListFromCache(context.Context, *DelBlackIDListFromCacheReq) (*DelBlackIDListFromCacheResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DelBlackIDListFromCache not implemented") -} -func (*UnimplementedCacheServer) GetGroupMemberIDListFromCache(context.Context, *GetGroupMemberIDListFromCacheReq) (*GetGroupMemberIDListFromCacheResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGroupMemberIDListFromCache not implemented") -} -func (*UnimplementedCacheServer) DelGroupMemberIDListFromCache(context.Context, *DelGroupMemberIDListFromCacheReq) (*DelGroupMemberIDListFromCacheResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DelGroupMemberIDListFromCache not implemented") -} - -func RegisterCacheServer(s *grpc.Server, srv CacheServer) { - s.RegisterService(&_Cache_serviceDesc, srv) -} - -func _Cache_GetFriendIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFriendIDListFromCacheReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CacheServer).GetFriendIDListFromCache(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cache.cache/GetFriendIDListFromCache", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CacheServer).GetFriendIDListFromCache(ctx, req.(*GetFriendIDListFromCacheReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Cache_DelFriendIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DelFriendIDListFromCacheReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CacheServer).DelFriendIDListFromCache(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cache.cache/DelFriendIDListFromCache", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CacheServer).DelFriendIDListFromCache(ctx, req.(*DelFriendIDListFromCacheReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Cache_GetBlackIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBlackIDListFromCacheReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CacheServer).GetBlackIDListFromCache(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cache.cache/GetBlackIDListFromCache", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CacheServer).GetBlackIDListFromCache(ctx, req.(*GetBlackIDListFromCacheReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Cache_DelBlackIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DelBlackIDListFromCacheReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CacheServer).DelBlackIDListFromCache(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cache.cache/DelBlackIDListFromCache", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CacheServer).DelBlackIDListFromCache(ctx, req.(*DelBlackIDListFromCacheReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Cache_GetGroupMemberIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGroupMemberIDListFromCacheReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CacheServer).GetGroupMemberIDListFromCache(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cache.cache/GetGroupMemberIDListFromCache", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CacheServer).GetGroupMemberIDListFromCache(ctx, req.(*GetGroupMemberIDListFromCacheReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Cache_DelGroupMemberIDListFromCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DelGroupMemberIDListFromCacheReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CacheServer).DelGroupMemberIDListFromCache(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cache.cache/DelGroupMemberIDListFromCache", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CacheServer).DelGroupMemberIDListFromCache(ctx, req.(*DelGroupMemberIDListFromCacheReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _Cache_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cache.cache", - HandlerType: (*CacheServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetFriendIDListFromCache", - Handler: _Cache_GetFriendIDListFromCache_Handler, - }, - { - MethodName: "DelFriendIDListFromCache", - Handler: _Cache_DelFriendIDListFromCache_Handler, - }, - { - MethodName: "GetBlackIDListFromCache", - Handler: _Cache_GetBlackIDListFromCache_Handler, - }, - { - MethodName: "DelBlackIDListFromCache", - Handler: _Cache_DelBlackIDListFromCache_Handler, - }, - { - MethodName: "GetGroupMemberIDListFromCache", - Handler: _Cache_GetGroupMemberIDListFromCache_Handler, - }, - { - MethodName: "DelGroupMemberIDListFromCache", - Handler: _Cache_DelGroupMemberIDListFromCache_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cache/cache.proto", -} diff --git a/tools/data-conversion/proto/cache/cache.proto b/tools/data-conversion/proto/cache/cache.proto deleted file mode 100644 index 970a77a58..000000000 --- a/tools/data-conversion/proto/cache/cache.proto +++ /dev/null @@ -1,88 +0,0 @@ -syntax = "proto3"; -option go_package = "Open_IM/pkg/proto/cache;cache"; -package cache; - -message CommonResp{ - int32 errCode = 1; - string errMsg = 2; -} - -message GetFriendIDListFromCacheReq { - string userID = 1; - string operationID = 2; -} - -message GetFriendIDListFromCacheResp { - repeated string userIDList = 1; - CommonResp commonResp = 2; -} - -message DelFriendIDListFromCacheReq { - string userID = 1; - string operationID = 2; -} - -message DelFriendIDListFromCacheResp { - CommonResp commonResp = 1; -} - -message GetBlackIDListFromCacheReq { - string userID = 1; - string operationID = 2; -} - -message GetBlackIDListFromCacheResp { - repeated string userIDList = 1; - CommonResp commonResp = 2; -} - -message DelBlackIDListFromCacheReq { - string userID = 1; - string operationID = 2; -} - -message DelBlackIDListFromCacheResp { - CommonResp commonResp = 1; -} - -message GetGroupMemberIDListFromCacheReq { - string operationID = 1; - string groupID = 2; -} - -message GetGroupMemberIDListFromCacheResp { - CommonResp commonResp = 1; - repeated string userIDList = 2; -} - -message DelGroupMemberIDListFromCacheReq { - string groupID = 1; - string operationID = 2; -} - -message DelGroupMemberIDListFromCacheResp { - CommonResp commonResp = 1; -} - -service cache{ - - // friendInfo - rpc GetFriendIDListFromCache(GetFriendIDListFromCacheReq) returns(GetFriendIDListFromCacheResp); - - // for dtm - rpc DelFriendIDListFromCache(DelFriendIDListFromCacheReq) returns(DelFriendIDListFromCacheResp); - - // blackList - rpc GetBlackIDListFromCache(GetBlackIDListFromCacheReq) returns(GetBlackIDListFromCacheResp); - - // for dtm - rpc DelBlackIDListFromCache(DelBlackIDListFromCacheReq) returns (DelBlackIDListFromCacheResp); - - // group - rpc GetGroupMemberIDListFromCache(GetGroupMemberIDListFromCacheReq) returns(GetGroupMemberIDListFromCacheResp); - - // for dtm - rpc DelGroupMemberIDListFromCache(DelGroupMemberIDListFromCacheReq) returns(DelGroupMemberIDListFromCacheResp); -} - - diff --git a/tools/data-conversion/proto/conversation/conversation.pb.go b/tools/data-conversion/proto/conversation/conversation.pb.go deleted file mode 100644 index ddb265d42..000000000 --- a/tools/data-conversion/proto/conversation/conversation.pb.go +++ /dev/null @@ -1,448 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: conversation/conversation.proto - -package conversation // import "Open_IM/pkg/proto/conversation" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" - -import ( - context "golang.org/x/net/context" - grpc "google.golang.org/grpc" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - -type CommonResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommonResp) Reset() { *m = CommonResp{} } -func (m *CommonResp) String() string { return proto.CompactTextString(m) } -func (*CommonResp) ProtoMessage() {} -func (*CommonResp) Descriptor() ([]byte, []int) { - return fileDescriptor_conversation_7438d6c35155b4e4, []int{0} -} -func (m *CommonResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommonResp.Unmarshal(m, b) -} -func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic) -} -func (dst *CommonResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonResp.Merge(dst, src) -} -func (m *CommonResp) XXX_Size() int { - return xxx_messageInfo_CommonResp.Size(m) -} -func (m *CommonResp) XXX_DiscardUnknown() { - xxx_messageInfo_CommonResp.DiscardUnknown(m) -} - -var xxx_messageInfo_CommonResp proto.InternalMessageInfo - -func (m *CommonResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *CommonResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -type Conversation struct { - OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"` - ConversationID string `protobuf:"bytes,2,opt,name=conversationID" json:"conversationID,omitempty"` - RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt" json:"recvMsgOpt,omitempty"` - ConversationType int32 `protobuf:"varint,4,opt,name=conversationType" json:"conversationType,omitempty"` - UserID string `protobuf:"bytes,5,opt,name=userID" json:"userID,omitempty"` - GroupID string `protobuf:"bytes,6,opt,name=groupID" json:"groupID,omitempty"` - UnreadCount int32 `protobuf:"varint,7,opt,name=unreadCount" json:"unreadCount,omitempty"` - DraftTextTime int64 `protobuf:"varint,8,opt,name=draftTextTime" json:"draftTextTime,omitempty"` - IsPinned bool `protobuf:"varint,9,opt,name=isPinned" json:"isPinned,omitempty"` - AttachedInfo string `protobuf:"bytes,10,opt,name=attachedInfo" json:"attachedInfo,omitempty"` - IsPrivateChat bool `protobuf:"varint,11,opt,name=isPrivateChat" json:"isPrivateChat,omitempty"` - GroupAtType int32 `protobuf:"varint,12,opt,name=groupAtType" json:"groupAtType,omitempty"` - IsNotInGroup bool `protobuf:"varint,13,opt,name=isNotInGroup" json:"isNotInGroup,omitempty"` - Ex string `protobuf:"bytes,14,opt,name=ex" json:"ex,omitempty"` - UpdateUnreadCountTime int64 `protobuf:"varint,15,opt,name=updateUnreadCountTime" json:"updateUnreadCountTime,omitempty"` - BurnDuration int32 `protobuf:"varint,16,opt,name=burnDuration" json:"burnDuration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Conversation) Reset() { *m = Conversation{} } -func (m *Conversation) String() string { return proto.CompactTextString(m) } -func (*Conversation) ProtoMessage() {} -func (*Conversation) Descriptor() ([]byte, []int) { - return fileDescriptor_conversation_7438d6c35155b4e4, []int{1} -} -func (m *Conversation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Conversation.Unmarshal(m, b) -} -func (m *Conversation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Conversation.Marshal(b, m, deterministic) -} -func (dst *Conversation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Conversation.Merge(dst, src) -} -func (m *Conversation) XXX_Size() int { - return xxx_messageInfo_Conversation.Size(m) -} -func (m *Conversation) XXX_DiscardUnknown() { - xxx_messageInfo_Conversation.DiscardUnknown(m) -} - -var xxx_messageInfo_Conversation proto.InternalMessageInfo - -func (m *Conversation) GetOwnerUserID() string { - if m != nil { - return m.OwnerUserID - } - return "" -} - -func (m *Conversation) GetConversationID() string { - if m != nil { - return m.ConversationID - } - return "" -} - -func (m *Conversation) GetRecvMsgOpt() int32 { - if m != nil { - return m.RecvMsgOpt - } - return 0 -} - -func (m *Conversation) GetConversationType() int32 { - if m != nil { - return m.ConversationType - } - return 0 -} - -func (m *Conversation) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *Conversation) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *Conversation) GetUnreadCount() int32 { - if m != nil { - return m.UnreadCount - } - return 0 -} - -func (m *Conversation) GetDraftTextTime() int64 { - if m != nil { - return m.DraftTextTime - } - return 0 -} - -func (m *Conversation) GetIsPinned() bool { - if m != nil { - return m.IsPinned - } - return false -} - -func (m *Conversation) GetAttachedInfo() string { - if m != nil { - return m.AttachedInfo - } - return "" -} - -func (m *Conversation) GetIsPrivateChat() bool { - if m != nil { - return m.IsPrivateChat - } - return false -} - -func (m *Conversation) GetGroupAtType() int32 { - if m != nil { - return m.GroupAtType - } - return 0 -} - -func (m *Conversation) GetIsNotInGroup() bool { - if m != nil { - return m.IsNotInGroup - } - return false -} - -func (m *Conversation) GetEx() string { - if m != nil { - return m.Ex - } - return "" -} - -func (m *Conversation) GetUpdateUnreadCountTime() int64 { - if m != nil { - return m.UpdateUnreadCountTime - } - return 0 -} - -func (m *Conversation) GetBurnDuration() int32 { - if m != nil { - return m.BurnDuration - } - return 0 -} - -type ModifyConversationFieldReq struct { - Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"` - FieldType int32 `protobuf:"varint,2,opt,name=fieldType" json:"fieldType,omitempty"` - UserIDList []string `protobuf:"bytes,3,rep,name=userIDList" json:"userIDList,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ModifyConversationFieldReq) Reset() { *m = ModifyConversationFieldReq{} } -func (m *ModifyConversationFieldReq) String() string { return proto.CompactTextString(m) } -func (*ModifyConversationFieldReq) ProtoMessage() {} -func (*ModifyConversationFieldReq) Descriptor() ([]byte, []int) { - return fileDescriptor_conversation_7438d6c35155b4e4, []int{2} -} -func (m *ModifyConversationFieldReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyConversationFieldReq.Unmarshal(m, b) -} -func (m *ModifyConversationFieldReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyConversationFieldReq.Marshal(b, m, deterministic) -} -func (dst *ModifyConversationFieldReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyConversationFieldReq.Merge(dst, src) -} -func (m *ModifyConversationFieldReq) XXX_Size() int { - return xxx_messageInfo_ModifyConversationFieldReq.Size(m) -} -func (m *ModifyConversationFieldReq) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyConversationFieldReq.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyConversationFieldReq proto.InternalMessageInfo - -func (m *ModifyConversationFieldReq) GetConversation() *Conversation { - if m != nil { - return m.Conversation - } - return nil -} - -func (m *ModifyConversationFieldReq) GetFieldType() int32 { - if m != nil { - return m.FieldType - } - return 0 -} - -func (m *ModifyConversationFieldReq) GetUserIDList() []string { - if m != nil { - return m.UserIDList - } - return nil -} - -func (m *ModifyConversationFieldReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type ModifyConversationFieldResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ModifyConversationFieldResp) Reset() { *m = ModifyConversationFieldResp{} } -func (m *ModifyConversationFieldResp) String() string { return proto.CompactTextString(m) } -func (*ModifyConversationFieldResp) ProtoMessage() {} -func (*ModifyConversationFieldResp) Descriptor() ([]byte, []int) { - return fileDescriptor_conversation_7438d6c35155b4e4, []int{3} -} -func (m *ModifyConversationFieldResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyConversationFieldResp.Unmarshal(m, b) -} -func (m *ModifyConversationFieldResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyConversationFieldResp.Marshal(b, m, deterministic) -} -func (dst *ModifyConversationFieldResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyConversationFieldResp.Merge(dst, src) -} -func (m *ModifyConversationFieldResp) XXX_Size() int { - return xxx_messageInfo_ModifyConversationFieldResp.Size(m) -} -func (m *ModifyConversationFieldResp) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyConversationFieldResp.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyConversationFieldResp proto.InternalMessageInfo - -func (m *ModifyConversationFieldResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func init() { - proto.RegisterType((*CommonResp)(nil), "conversation.CommonResp") - proto.RegisterType((*Conversation)(nil), "conversation.Conversation") - proto.RegisterType((*ModifyConversationFieldReq)(nil), "conversation.ModifyConversationFieldReq") - proto.RegisterType((*ModifyConversationFieldResp)(nil), "conversation.ModifyConversationFieldResp") -} - -// 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 - -// Client API for Conversation service - -type ConversationClient interface { - ModifyConversationField(ctx context.Context, in *ModifyConversationFieldReq, opts ...grpc.CallOption) (*ModifyConversationFieldResp, error) -} - -type conversationClient struct { - cc *grpc.ClientConn -} - -func NewConversationClient(cc *grpc.ClientConn) ConversationClient { - return &conversationClient{cc} -} - -func (c *conversationClient) ModifyConversationField(ctx context.Context, in *ModifyConversationFieldReq, opts ...grpc.CallOption) (*ModifyConversationFieldResp, error) { - out := new(ModifyConversationFieldResp) - err := grpc.Invoke(ctx, "/conversation.conversation/ModifyConversationField", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Server API for Conversation service - -type ConversationServer interface { - ModifyConversationField(context.Context, *ModifyConversationFieldReq) (*ModifyConversationFieldResp, error) -} - -func RegisterConversationServer(s *grpc.Server, srv ConversationServer) { - s.RegisterService(&_Conversation_serviceDesc, srv) -} - -func _Conversation_ModifyConversationField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ModifyConversationFieldReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConversationServer).ModifyConversationField(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/conversation.conversation/ModifyConversationField", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConversationServer).ModifyConversationField(ctx, req.(*ModifyConversationFieldReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _Conversation_serviceDesc = grpc.ServiceDesc{ - ServiceName: "conversation.conversation", - HandlerType: (*ConversationServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ModifyConversationField", - Handler: _Conversation_ModifyConversationField_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "conversation/conversation.proto", -} - -func init() { - proto.RegisterFile("conversation/conversation.proto", fileDescriptor_conversation_7438d6c35155b4e4) -} - -var fileDescriptor_conversation_7438d6c35155b4e4 = []byte{ - // 520 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xd1, 0x6b, 0x13, 0x41, - 0x10, 0xc6, 0xb9, 0xb4, 0x4d, 0x93, 0x49, 0x1a, 0xcb, 0x82, 0xba, 0x44, 0xd1, 0x10, 0x44, 0x4e, - 0xc5, 0x06, 0xaa, 0x0f, 0x82, 0x50, 0xd0, 0x04, 0xe5, 0xc0, 0xd8, 0x72, 0xa4, 0x08, 0xbe, 0xc8, - 0x35, 0x37, 0x49, 0x0f, 0xcd, 0xee, 0xba, 0xbb, 0x17, 0xd3, 0x17, 0xff, 0x2a, 0x1f, 0xfd, 0xe3, - 0x64, 0x27, 0x49, 0xb3, 0x5b, 0x0d, 0xf8, 0x38, 0xbf, 0x9d, 0xfb, 0xe6, 0x9b, 0xcd, 0x97, 0x85, - 0x87, 0x63, 0x29, 0xe6, 0xa8, 0x4d, 0x66, 0x0b, 0x29, 0x7a, 0x7e, 0x71, 0xa4, 0xb4, 0xb4, 0x92, - 0x35, 0x7d, 0xd6, 0x3d, 0x01, 0xe8, 0xcb, 0xd9, 0x4c, 0x8a, 0x14, 0x8d, 0x62, 0x1c, 0xf6, 0x51, - 0xeb, 0xbe, 0xcc, 0x91, 0x47, 0x9d, 0x28, 0xde, 0x4b, 0xd7, 0x25, 0xbb, 0x03, 0x55, 0xd4, 0x7a, - 0x68, 0xa6, 0xbc, 0xd2, 0x89, 0xe2, 0x7a, 0xba, 0xaa, 0xba, 0xbf, 0x76, 0xa1, 0xd9, 0xf7, 0x04, - 0x59, 0x07, 0x1a, 0xf2, 0x87, 0x40, 0x7d, 0x6e, 0x50, 0x27, 0x03, 0x92, 0xa9, 0xa7, 0x3e, 0x62, - 0x8f, 0xa1, 0xe5, 0x5b, 0x48, 0x06, 0x2b, 0xc9, 0x1b, 0x94, 0x3d, 0x00, 0xd0, 0x38, 0x9e, 0x0f, - 0xcd, 0xf4, 0x54, 0x59, 0xbe, 0x43, 0x7e, 0x3c, 0xc2, 0x9e, 0xc2, 0xa1, 0xff, 0xc5, 0xe8, 0x4a, - 0x21, 0xdf, 0xa5, 0xae, 0xbf, 0xb8, 0xb3, 0x5f, 0x2e, 0x0d, 0xed, 0x2d, 0xed, 0x2f, 0x2b, 0xb7, - 0xf0, 0x54, 0xcb, 0x52, 0x25, 0x03, 0x5e, 0xa5, 0x83, 0x75, 0xe9, 0xf6, 0x28, 0x85, 0xc6, 0x2c, - 0xef, 0xcb, 0x52, 0x58, 0xbe, 0x4f, 0xc2, 0x3e, 0x62, 0x8f, 0xe0, 0x20, 0xd7, 0xd9, 0xc4, 0x8e, - 0x70, 0x61, 0x47, 0xc5, 0x0c, 0x79, 0xad, 0x13, 0xc5, 0x3b, 0x69, 0x08, 0x59, 0x1b, 0x6a, 0x85, - 0x39, 0x2b, 0x84, 0xc0, 0x9c, 0xd7, 0x3b, 0x51, 0x5c, 0x4b, 0xaf, 0x6b, 0xd6, 0x85, 0x66, 0x66, - 0x6d, 0x36, 0xbe, 0xc4, 0x3c, 0x11, 0x13, 0xc9, 0x81, 0x2c, 0x04, 0xcc, 0x4d, 0x29, 0xcc, 0x99, - 0x2e, 0xe6, 0x99, 0xc5, 0xfe, 0x65, 0x66, 0x79, 0x83, 0x44, 0x42, 0xe8, 0xdc, 0x92, 0xf1, 0x37, - 0x96, 0xae, 0xa1, 0xb9, 0x74, 0xeb, 0x21, 0x37, 0xab, 0x30, 0x1f, 0xa5, 0x4d, 0xc4, 0x7b, 0x47, - 0xf9, 0x01, 0xc9, 0x04, 0x8c, 0xb5, 0xa0, 0x82, 0x0b, 0xde, 0x22, 0x17, 0x15, 0x5c, 0xb0, 0x97, - 0x70, 0xbb, 0x54, 0x79, 0x66, 0xf1, 0x7c, 0xb3, 0x36, 0x6d, 0x7a, 0x8b, 0x36, 0xfd, 0xf7, 0xa1, - 0x9b, 0x74, 0x51, 0x6a, 0x31, 0x28, 0x35, 0xdd, 0x3f, 0x3f, 0x24, 0x33, 0x01, 0xeb, 0xfe, 0x8e, - 0xa0, 0x3d, 0x94, 0x79, 0x31, 0xb9, 0xf2, 0xc3, 0xf3, 0xae, 0xc0, 0x6f, 0x79, 0x8a, 0xdf, 0xd9, - 0x09, 0x04, 0x29, 0xa5, 0x14, 0x35, 0x8e, 0xdb, 0x47, 0x41, 0x9c, 0xfd, 0x2f, 0xd3, 0xa0, 0x9f, - 0xdd, 0x87, 0xfa, 0xc4, 0x69, 0xd1, 0x65, 0x54, 0x68, 0xfe, 0x06, 0xb8, 0x60, 0x2d, 0x7f, 0xfe, - 0x0f, 0x85, 0x71, 0xc1, 0xda, 0x89, 0xeb, 0xa9, 0x47, 0x28, 0xc2, 0x0a, 0xf5, 0x3a, 0x9d, 0xbb, - 0xab, 0x08, 0x6f, 0x50, 0xf7, 0x13, 0xdc, 0xdb, 0xea, 0xde, 0x28, 0xf6, 0x0a, 0x60, 0x7c, 0xfd, - 0xa7, 0x5a, 0x99, 0xe7, 0x37, 0xcd, 0xaf, 0xcf, 0x53, 0xaf, 0xf7, 0xf8, 0x67, 0xb8, 0x38, 0x13, - 0x70, 0x77, 0xcb, 0x20, 0x16, 0x87, 0x82, 0xdb, 0x6f, 0xb3, 0xfd, 0xe4, 0x3f, 0x3b, 0x8d, 0x7a, - 0xfb, 0xfc, 0xf3, 0xb3, 0x53, 0x85, 0xe2, 0x4b, 0x32, 0xec, 0xa9, 0xaf, 0xd3, 0x1e, 0xbd, 0x18, - 0xc1, 0x23, 0xf2, 0xda, 0x2f, 0x2e, 0xaa, 0xd4, 0xf0, 0xe2, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xb3, 0xd2, 0x40, 0x56, 0x75, 0x04, 0x00, 0x00, -} diff --git a/tools/data-conversion/proto/conversation/conversation.proto b/tools/data-conversion/proto/conversation/conversation.proto deleted file mode 100644 index ec10bfd2f..000000000 --- a/tools/data-conversion/proto/conversation/conversation.proto +++ /dev/null @@ -1,41 +0,0 @@ -syntax = "proto3"; -option go_package = "Open_IM/pkg/proto/conversation;conversation"; -package conversation; - -message CommonResp{ - int32 errCode = 1; - string errMsg = 2; -} -message Conversation{ - string ownerUserID = 1; - string conversationID = 2; - int32 recvMsgOpt = 3; - int32 conversationType = 4; - string userID = 5; - string groupID = 6; - int32 unreadCount = 7; - int64 draftTextTime = 8; - bool isPinned = 9; - string attachedInfo = 10; - bool isPrivateChat = 11; - int32 groupAtType = 12; - bool isNotInGroup = 13; - string ex = 14; - int64 updateUnreadCountTime = 15; - int32 burnDuration = 16; - -} -message ModifyConversationFieldReq{ - Conversation conversation = 1; - int32 fieldType = 2; - repeated string userIDList = 3; - string operationID = 4; -} - -message ModifyConversationFieldResp{ - CommonResp commonResp = 1; -} -service conversation { - rpc ModifyConversationField(ModifyConversationFieldReq)returns(ModifyConversationFieldResp); - -} diff --git a/tools/data-conversion/proto/friend/friend.pb.go b/tools/data-conversion/proto/friend/friend.pb.go deleted file mode 100644 index f9a65ef5a..000000000 --- a/tools/data-conversion/proto/friend/friend.pb.go +++ /dev/null @@ -1,2970 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.15.5 -// source: friend/friend.proto - -package friend - -import ( - sdk_ws "Open_IM/pkg/proto/sdk_ws" - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type CommonResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *CommonResp) Reset() { - *x = CommonResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommonResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommonResp) ProtoMessage() {} - -func (x *CommonResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommonResp.ProtoReflect.Descriptor instead. -func (*CommonResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{0} -} - -func (x *CommonResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *CommonResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type CommID struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OpUserID string `protobuf:"bytes,1,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"` - ToUserID string `protobuf:"bytes,4,opt,name=ToUserID,proto3" json:"ToUserID,omitempty"` - FromUserID string `protobuf:"bytes,5,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"` -} - -func (x *CommID) Reset() { - *x = CommID{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommID) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommID) ProtoMessage() {} - -func (x *CommID) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommID.ProtoReflect.Descriptor instead. -func (*CommID) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{1} -} - -func (x *CommID) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *CommID) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *CommID) GetToUserID() string { - if x != nil { - return x.ToUserID - } - return "" -} - -func (x *CommID) GetFromUserID() string { - if x != nil { - return x.FromUserID - } - return "" -} - -type GetFriendsInfoReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *GetFriendsInfoReq) Reset() { - *x = GetFriendsInfoReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetFriendsInfoReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFriendsInfoReq) ProtoMessage() {} - -func (x *GetFriendsInfoReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFriendsInfoReq.ProtoReflect.Descriptor instead. -func (*GetFriendsInfoReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{2} -} - -func (x *GetFriendsInfoReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type GetFriendInfoResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` - FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,3,rep,name=FriendInfoList,proto3" json:"FriendInfoList,omitempty"` // int32 IsBlack = 4; -} - -func (x *GetFriendInfoResp) Reset() { - *x = GetFriendInfoResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetFriendInfoResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFriendInfoResp) ProtoMessage() {} - -func (x *GetFriendInfoResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFriendInfoResp.ProtoReflect.Descriptor instead. -func (*GetFriendInfoResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{3} -} - -func (x *GetFriendInfoResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetFriendInfoResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetFriendInfoResp) GetFriendInfoList() []*sdk_ws.FriendInfo { - if x != nil { - return x.FriendInfoList - } - return nil -} - -type AddFriendReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` - ReqMsg string `protobuf:"bytes,2,opt,name=ReqMsg,proto3" json:"ReqMsg,omitempty"` -} - -func (x *AddFriendReq) Reset() { - *x = AddFriendReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddFriendReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddFriendReq) ProtoMessage() {} - -func (x *AddFriendReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddFriendReq.ProtoReflect.Descriptor instead. -func (*AddFriendReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{4} -} - -func (x *AddFriendReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -func (x *AddFriendReq) GetReqMsg() string { - if x != nil { - return x.ReqMsg - } - return "" -} - -type AddFriendResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *AddFriendResp) Reset() { - *x = AddFriendResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddFriendResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddFriendResp) ProtoMessage() {} - -func (x *AddFriendResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddFriendResp.ProtoReflect.Descriptor instead. -func (*AddFriendResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{5} -} - -func (x *AddFriendResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type ImportFriendReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FriendUserIDList []string `protobuf:"bytes,1,rep,name=FriendUserIDList,proto3" json:"FriendUserIDList,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"` - FromUserID string `protobuf:"bytes,3,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"` - OpUserID string `protobuf:"bytes,4,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` -} - -func (x *ImportFriendReq) Reset() { - *x = ImportFriendReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ImportFriendReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ImportFriendReq) ProtoMessage() {} - -func (x *ImportFriendReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ImportFriendReq.ProtoReflect.Descriptor instead. -func (*ImportFriendReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{6} -} - -func (x *ImportFriendReq) GetFriendUserIDList() []string { - if x != nil { - return x.FriendUserIDList - } - return nil -} - -func (x *ImportFriendReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *ImportFriendReq) GetFromUserID() string { - if x != nil { - return x.FromUserID - } - return "" -} - -func (x *ImportFriendReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type UserIDResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"` - Result int32 `protobuf:"varint,2,opt,name=Result,proto3" json:"Result,omitempty"` -} - -func (x *UserIDResult) Reset() { - *x = UserIDResult{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserIDResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserIDResult) ProtoMessage() {} - -func (x *UserIDResult) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserIDResult.ProtoReflect.Descriptor instead. -func (*UserIDResult) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{7} -} - -func (x *UserIDResult) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *UserIDResult) GetResult() int32 { - if x != nil { - return x.Result - } - return 0 -} - -type ImportFriendResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` - UserIDResultList []*UserIDResult `protobuf:"bytes,2,rep,name=UserIDResultList,proto3" json:"UserIDResultList,omitempty"` -} - -func (x *ImportFriendResp) Reset() { - *x = ImportFriendResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ImportFriendResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ImportFriendResp) ProtoMessage() {} - -func (x *ImportFriendResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ImportFriendResp.ProtoReflect.Descriptor instead. -func (*ImportFriendResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{8} -} - -func (x *ImportFriendResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *ImportFriendResp) GetUserIDResultList() []*UserIDResult { - if x != nil { - return x.UserIDResultList - } - return nil -} - -type GetFriendApplyListReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *GetFriendApplyListReq) Reset() { - *x = GetFriendApplyListReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetFriendApplyListReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFriendApplyListReq) ProtoMessage() {} - -func (x *GetFriendApplyListReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFriendApplyListReq.ProtoReflect.Descriptor instead. -func (*GetFriendApplyListReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{9} -} - -func (x *GetFriendApplyListReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type GetFriendApplyListResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` - FriendRequestList []*sdk_ws.FriendRequest `protobuf:"bytes,3,rep,name=FriendRequestList,proto3" json:"FriendRequestList,omitempty"` -} - -func (x *GetFriendApplyListResp) Reset() { - *x = GetFriendApplyListResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetFriendApplyListResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFriendApplyListResp) ProtoMessage() {} - -func (x *GetFriendApplyListResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFriendApplyListResp.ProtoReflect.Descriptor instead. -func (*GetFriendApplyListResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{10} -} - -func (x *GetFriendApplyListResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetFriendApplyListResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetFriendApplyListResp) GetFriendRequestList() []*sdk_ws.FriendRequest { - if x != nil { - return x.FriendRequestList - } - return nil -} - -type GetFriendListReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *GetFriendListReq) Reset() { - *x = GetFriendListReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetFriendListReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFriendListReq) ProtoMessage() {} - -func (x *GetFriendListReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFriendListReq.ProtoReflect.Descriptor instead. -func (*GetFriendListReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{11} -} - -func (x *GetFriendListReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type GetFriendListResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` - FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,3,rep,name=FriendInfoList,proto3" json:"FriendInfoList,omitempty"` -} - -func (x *GetFriendListResp) Reset() { - *x = GetFriendListResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetFriendListResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFriendListResp) ProtoMessage() {} - -func (x *GetFriendListResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFriendListResp.ProtoReflect.Descriptor instead. -func (*GetFriendListResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{12} -} - -func (x *GetFriendListResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetFriendListResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetFriendListResp) GetFriendInfoList() []*sdk_ws.FriendInfo { - if x != nil { - return x.FriendInfoList - } - return nil -} - -type AddBlacklistReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *AddBlacklistReq) Reset() { - *x = AddBlacklistReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddBlacklistReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddBlacklistReq) ProtoMessage() {} - -func (x *AddBlacklistReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddBlacklistReq.ProtoReflect.Descriptor instead. -func (*AddBlacklistReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{13} -} - -func (x *AddBlacklistReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type AddBlacklistResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *AddBlacklistResp) Reset() { - *x = AddBlacklistResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddBlacklistResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddBlacklistResp) ProtoMessage() {} - -func (x *AddBlacklistResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddBlacklistResp.ProtoReflect.Descriptor instead. -func (*AddBlacklistResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{14} -} - -func (x *AddBlacklistResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type RemoveBlacklistReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *RemoveBlacklistReq) Reset() { - *x = RemoveBlacklistReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveBlacklistReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveBlacklistReq) ProtoMessage() {} - -func (x *RemoveBlacklistReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveBlacklistReq.ProtoReflect.Descriptor instead. -func (*RemoveBlacklistReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{15} -} - -func (x *RemoveBlacklistReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type RemoveBlacklistResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *RemoveBlacklistResp) Reset() { - *x = RemoveBlacklistResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveBlacklistResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveBlacklistResp) ProtoMessage() {} - -func (x *RemoveBlacklistResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveBlacklistResp.ProtoReflect.Descriptor instead. -func (*RemoveBlacklistResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{16} -} - -func (x *RemoveBlacklistResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type GetBlacklistReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *GetBlacklistReq) Reset() { - *x = GetBlacklistReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlacklistReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlacklistReq) ProtoMessage() {} - -func (x *GetBlacklistReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlacklistReq.ProtoReflect.Descriptor instead. -func (*GetBlacklistReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{17} -} - -func (x *GetBlacklistReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type GetBlacklistResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` - BlackUserInfoList []*sdk_ws.PublicUserInfo `protobuf:"bytes,3,rep,name=BlackUserInfoList,proto3" json:"BlackUserInfoList,omitempty"` -} - -func (x *GetBlacklistResp) Reset() { - *x = GetBlacklistResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlacklistResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlacklistResp) ProtoMessage() {} - -func (x *GetBlacklistResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlacklistResp.ProtoReflect.Descriptor instead. -func (*GetBlacklistResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{18} -} - -func (x *GetBlacklistResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetBlacklistResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetBlacklistResp) GetBlackUserInfoList() []*sdk_ws.PublicUserInfo { - if x != nil { - return x.BlackUserInfoList - } - return nil -} - -type IsFriendReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *IsFriendReq) Reset() { - *x = IsFriendReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IsFriendReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IsFriendReq) ProtoMessage() {} - -func (x *IsFriendReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IsFriendReq.ProtoReflect.Descriptor instead. -func (*IsFriendReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{19} -} - -func (x *IsFriendReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type IsFriendResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` - Response bool `protobuf:"varint,3,opt,name=Response,proto3" json:"Response,omitempty"` -} - -func (x *IsFriendResp) Reset() { - *x = IsFriendResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IsFriendResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IsFriendResp) ProtoMessage() {} - -func (x *IsFriendResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IsFriendResp.ProtoReflect.Descriptor instead. -func (*IsFriendResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{20} -} - -func (x *IsFriendResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *IsFriendResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *IsFriendResp) GetResponse() bool { - if x != nil { - return x.Response - } - return false -} - -type IsInBlackListReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *IsInBlackListReq) Reset() { - *x = IsInBlackListReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IsInBlackListReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IsInBlackListReq) ProtoMessage() {} - -func (x *IsInBlackListReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IsInBlackListReq.ProtoReflect.Descriptor instead. -func (*IsInBlackListReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{21} -} - -func (x *IsInBlackListReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type IsInBlackListResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` - Response bool `protobuf:"varint,3,opt,name=Response,proto3" json:"Response,omitempty"` -} - -func (x *IsInBlackListResp) Reset() { - *x = IsInBlackListResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IsInBlackListResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IsInBlackListResp) ProtoMessage() {} - -func (x *IsInBlackListResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IsInBlackListResp.ProtoReflect.Descriptor instead. -func (*IsInBlackListResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{22} -} - -func (x *IsInBlackListResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *IsInBlackListResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *IsInBlackListResp) GetResponse() bool { - if x != nil { - return x.Response - } - return false -} - -type DeleteFriendReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *DeleteFriendReq) Reset() { - *x = DeleteFriendReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteFriendReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteFriendReq) ProtoMessage() {} - -func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteFriendReq.ProtoReflect.Descriptor instead. -func (*DeleteFriendReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{23} -} - -func (x *DeleteFriendReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type DeleteFriendResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *DeleteFriendResp) Reset() { - *x = DeleteFriendResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteFriendResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteFriendResp) ProtoMessage() {} - -func (x *DeleteFriendResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteFriendResp.ProtoReflect.Descriptor instead. -func (*DeleteFriendResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{24} -} - -func (x *DeleteFriendResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -// process -type AddFriendResponseReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` - HandleResult int32 `protobuf:"varint,2,opt,name=handleResult,proto3" json:"handleResult,omitempty"` - HandleMsg string `protobuf:"bytes,3,opt,name=handleMsg,proto3" json:"handleMsg,omitempty"` -} - -func (x *AddFriendResponseReq) Reset() { - *x = AddFriendResponseReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddFriendResponseReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddFriendResponseReq) ProtoMessage() {} - -func (x *AddFriendResponseReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddFriendResponseReq.ProtoReflect.Descriptor instead. -func (*AddFriendResponseReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{25} -} - -func (x *AddFriendResponseReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -func (x *AddFriendResponseReq) GetHandleResult() int32 { - if x != nil { - return x.HandleResult - } - return 0 -} - -func (x *AddFriendResponseReq) GetHandleMsg() string { - if x != nil { - return x.HandleMsg - } - return "" -} - -type AddFriendResponseResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *AddFriendResponseResp) Reset() { - *x = AddFriendResponseResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddFriendResponseResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddFriendResponseResp) ProtoMessage() {} - -func (x *AddFriendResponseResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddFriendResponseResp.ProtoReflect.Descriptor instead. -func (*AddFriendResponseResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{26} -} - -func (x *AddFriendResponseResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type SetFriendRemarkReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` - Remark string `protobuf:"bytes,2,opt,name=Remark,proto3" json:"Remark,omitempty"` -} - -func (x *SetFriendRemarkReq) Reset() { - *x = SetFriendRemarkReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetFriendRemarkReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetFriendRemarkReq) ProtoMessage() {} - -func (x *SetFriendRemarkReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetFriendRemarkReq.ProtoReflect.Descriptor instead. -func (*SetFriendRemarkReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{27} -} - -func (x *SetFriendRemarkReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -func (x *SetFriendRemarkReq) GetRemark() string { - if x != nil { - return x.Remark - } - return "" -} - -type SetFriendRemarkResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *SetFriendRemarkResp) Reset() { - *x = SetFriendRemarkResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetFriendRemarkResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetFriendRemarkResp) ProtoMessage() {} - -func (x *SetFriendRemarkResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetFriendRemarkResp.ProtoReflect.Descriptor instead. -func (*SetFriendRemarkResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{28} -} - -func (x *SetFriendRemarkResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type GetSelfApplyListReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` -} - -func (x *GetSelfApplyListReq) Reset() { - *x = GetSelfApplyListReq{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSelfApplyListReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSelfApplyListReq) ProtoMessage() {} - -func (x *GetSelfApplyListReq) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSelfApplyListReq.ProtoReflect.Descriptor instead. -func (*GetSelfApplyListReq) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{29} -} - -func (x *GetSelfApplyListReq) GetCommID() *CommID { - if x != nil { - return x.CommID - } - return nil -} - -type GetSelfApplyListResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` - FriendRequestList []*sdk_ws.FriendRequest `protobuf:"bytes,3,rep,name=FriendRequestList,proto3" json:"FriendRequestList,omitempty"` -} - -func (x *GetSelfApplyListResp) Reset() { - *x = GetSelfApplyListResp{} - if protoimpl.UnsafeEnabled { - mi := &file_friend_friend_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSelfApplyListResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSelfApplyListResp) ProtoMessage() {} - -func (x *GetSelfApplyListResp) ProtoReflect() protoreflect.Message { - mi := &file_friend_friend_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSelfApplyListResp.ProtoReflect.Descriptor instead. -func (*GetSelfApplyListResp) Descriptor() ([]byte, []int) { - return file_friend_friend_proto_rawDescGZIP(), []int{30} -} - -func (x *GetSelfApplyListResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetSelfApplyListResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetSelfApplyListResp) GetFriendRequestList() []*sdk_ws.FriendRequest { - if x != nil { - return x.FriendRequestList - } - return nil -} - -var File_friend_friend_proto protoreflect.FileDescriptor - -var file_friend_friend_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x1a, 0x28, 0x4f, - 0x70, 0x65, 0x6e, 0x2d, 0x49, 0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6b, - 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x5f, 0x77, 0x73, 0x2f, 0x77, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x82, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, - 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, - 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, - 0x12, 0x1a, 0x0a, 0x08, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, - 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x3b, 0x0a, 0x11, - 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x71, 0x12, 0x26, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0e, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, - 0x44, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x22, 0x8c, 0x01, 0x0a, 0x11, 0x47, 0x65, - 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, - 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, - 0x67, 0x12, 0x45, 0x0a, 0x0e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, - 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x46, 0x72, - 0x69, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, - 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x46, - 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, - 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x71, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x52, 0x65, 0x71, 0x4d, 0x73, 0x67, 0x22, 0x43, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x46, - 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x9b, 0x01, - 0x0a, 0x0f, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, - 0x71, 0x12, 0x2a, 0x0a, 0x10, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x46, 0x72, 0x69, - 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, - 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, - 0x1e, 0x0a, 0x0a, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, - 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x3e, 0x0a, 0x0c, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x88, 0x01, 0x0a, 0x10, - 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x32, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x52, 0x10, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, - 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, - 0x26, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0e, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, - 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x22, 0x9a, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x46, - 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72, - 0x72, 0x4d, 0x73, 0x67, 0x12, 0x4e, 0x0a, 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x52, 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x22, 0x3a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, - 0x22, 0x8c, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x45, 0x0a, 0x0e, 0x46, 0x72, 0x69, 0x65, - 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x0e, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x39, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x71, 0x12, 0x26, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x49, 0x44, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x22, 0x46, 0x0a, 0x10, 0x41, 0x64, - 0x64, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, - 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x22, 0x3c, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x6c, 0x61, 0x63, - 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, - 0x22, 0x49, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x72, - 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, - 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x39, 0x0a, 0x0f, 0x47, - 0x65, 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, - 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, - 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, - 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x22, 0x95, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c, - 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, - 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, - 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x4f, 0x0a, - 0x11, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, - 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x50, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x42, 0x6c, 0x61, - 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x35, - 0x0a, 0x0b, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, - 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, 0x43, - 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x22, 0x5c, 0x0a, 0x0c, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x0a, 0x10, 0x49, 0x73, 0x49, 0x6e, 0x42, 0x6c, 0x61, 0x63, 0x6b, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, - 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, - 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x22, - 0x61, 0x0a, 0x11, 0x49, 0x73, 0x49, 0x6e, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x39, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, - 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x22, 0x46, 0x0a, - 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x80, 0x01, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, - 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x71, 0x12, 0x26, - 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, - 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, - 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x68, 0x61, - 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x61, - 0x6e, 0x64, 0x6c, 0x65, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68, - 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x4d, 0x73, 0x67, 0x22, 0x4b, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x46, - 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x54, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, - 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x06, 0x43, - 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x66, 0x72, - 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, 0x43, 0x6f, 0x6d, - 0x6d, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x22, 0x49, 0x0a, 0x13, 0x53, - 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x3d, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x65, 0x6c, - 0x66, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, - 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x52, 0x06, 0x43, - 0x6f, 0x6d, 0x6d, 0x49, 0x44, 0x22, 0x98, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x65, 0x6c, - 0x66, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, - 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, - 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, - 0x12, 0x4e, 0x0a, 0x11, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, - 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x11, 0x46, - 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, - 0x32, 0x9f, 0x07, 0x0a, 0x06, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x38, 0x0a, 0x09, 0x61, - 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x14, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x15, - 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x53, 0x0a, 0x12, 0x67, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, - 0x6e, 0x64, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x2e, 0x66, 0x72, - 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x70, - 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x66, 0x72, 0x69, - 0x65, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, - 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4d, 0x0a, 0x10, 0x67, 0x65, - 0x74, 0x53, 0x65, 0x6c, 0x66, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, - 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x66, 0x41, - 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x66, 0x72, - 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x66, 0x41, 0x70, 0x70, 0x6c, - 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x44, 0x0a, 0x0d, 0x67, 0x65, 0x74, - 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x2e, 0x66, 0x72, 0x69, - 0x65, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x47, 0x65, - 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x41, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x12, - 0x17, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x41, 0x64, 0x64, 0x42, 0x6c, 0x61, 0x63, - 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x2e, 0x41, 0x64, 0x64, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x4a, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x6c, 0x61, 0x63, - 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x71, 0x1a, 0x1b, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x35, - 0x0a, 0x08, 0x69, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x13, 0x2e, 0x66, 0x72, 0x69, - 0x65, 0x6e, 0x64, 0x2e, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, - 0x14, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x44, 0x0a, 0x0d, 0x69, 0x73, 0x49, 0x6e, 0x42, 0x6c, 0x61, - 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, - 0x49, 0x73, 0x49, 0x6e, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, - 0x1a, 0x19, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x49, 0x73, 0x49, 0x6e, 0x42, 0x6c, - 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x41, 0x0a, 0x0c, 0x67, - 0x65, 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x2e, 0x66, 0x72, - 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x47, 0x65, - 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x41, - 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x17, - 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, - 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x50, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, - 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x41, 0x64, - 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x4a, 0x0a, 0x0f, 0x73, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, - 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1a, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, - 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x52, - 0x65, 0x71, 0x1a, 0x1b, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x53, 0x65, 0x74, 0x46, - 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x41, 0x0a, 0x0c, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, - 0x17, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x46, - 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x66, 0x72, 0x69, 0x65, 0x6e, - 0x64, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x42, 0x21, 0x5a, 0x1f, 0x4f, 0x70, 0x65, 0x6e, 0x5f, 0x49, 0x4d, 0x2f, 0x70, 0x6b, - 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x3b, 0x66, - 0x72, 0x69, 0x65, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_friend_friend_proto_rawDescOnce sync.Once - file_friend_friend_proto_rawDescData = file_friend_friend_proto_rawDesc -) - -func file_friend_friend_proto_rawDescGZIP() []byte { - file_friend_friend_proto_rawDescOnce.Do(func() { - file_friend_friend_proto_rawDescData = protoimpl.X.CompressGZIP(file_friend_friend_proto_rawDescData) - }) - return file_friend_friend_proto_rawDescData -} - -var file_friend_friend_proto_msgTypes = make([]protoimpl.MessageInfo, 31) -var file_friend_friend_proto_goTypes = []interface{}{ - (*CommonResp)(nil), // 0: friend.CommonResp - (*CommID)(nil), // 1: friend.CommID - (*GetFriendsInfoReq)(nil), // 2: friend.GetFriendsInfoReq - (*GetFriendInfoResp)(nil), // 3: friend.GetFriendInfoResp - (*AddFriendReq)(nil), // 4: friend.AddFriendReq - (*AddFriendResp)(nil), // 5: friend.AddFriendResp - (*ImportFriendReq)(nil), // 6: friend.ImportFriendReq - (*UserIDResult)(nil), // 7: friend.UserIDResult - (*ImportFriendResp)(nil), // 8: friend.ImportFriendResp - (*GetFriendApplyListReq)(nil), // 9: friend.GetFriendApplyListReq - (*GetFriendApplyListResp)(nil), // 10: friend.GetFriendApplyListResp - (*GetFriendListReq)(nil), // 11: friend.GetFriendListReq - (*GetFriendListResp)(nil), // 12: friend.GetFriendListResp - (*AddBlacklistReq)(nil), // 13: friend.AddBlacklistReq - (*AddBlacklistResp)(nil), // 14: friend.AddBlacklistResp - (*RemoveBlacklistReq)(nil), // 15: friend.RemoveBlacklistReq - (*RemoveBlacklistResp)(nil), // 16: friend.RemoveBlacklistResp - (*GetBlacklistReq)(nil), // 17: friend.GetBlacklistReq - (*GetBlacklistResp)(nil), // 18: friend.GetBlacklistResp - (*IsFriendReq)(nil), // 19: friend.IsFriendReq - (*IsFriendResp)(nil), // 20: friend.IsFriendResp - (*IsInBlackListReq)(nil), // 21: friend.IsInBlackListReq - (*IsInBlackListResp)(nil), // 22: friend.IsInBlackListResp - (*DeleteFriendReq)(nil), // 23: friend.DeleteFriendReq - (*DeleteFriendResp)(nil), // 24: friend.DeleteFriendResp - (*AddFriendResponseReq)(nil), // 25: friend.AddFriendResponseReq - (*AddFriendResponseResp)(nil), // 26: friend.AddFriendResponseResp - (*SetFriendRemarkReq)(nil), // 27: friend.SetFriendRemarkReq - (*SetFriendRemarkResp)(nil), // 28: friend.SetFriendRemarkResp - (*GetSelfApplyListReq)(nil), // 29: friend.GetSelfApplyListReq - (*GetSelfApplyListResp)(nil), // 30: friend.GetSelfApplyListResp - (*sdk_ws.FriendInfo)(nil), // 31: server_api_params.FriendInfo - (*sdk_ws.FriendRequest)(nil), // 32: server_api_params.FriendRequest - (*sdk_ws.PublicUserInfo)(nil), // 33: server_api_params.PublicUserInfo -} -var file_friend_friend_proto_depIdxs = []int32{ - 1, // 0: friend.GetFriendsInfoReq.CommID:type_name -> friend.CommID - 31, // 1: friend.GetFriendInfoResp.FriendInfoList:type_name -> server_api_params.FriendInfo - 1, // 2: friend.AddFriendReq.CommID:type_name -> friend.CommID - 0, // 3: friend.AddFriendResp.CommonResp:type_name -> friend.CommonResp - 0, // 4: friend.ImportFriendResp.CommonResp:type_name -> friend.CommonResp - 7, // 5: friend.ImportFriendResp.UserIDResultList:type_name -> friend.UserIDResult - 1, // 6: friend.GetFriendApplyListReq.CommID:type_name -> friend.CommID - 32, // 7: friend.GetFriendApplyListResp.FriendRequestList:type_name -> server_api_params.FriendRequest - 1, // 8: friend.GetFriendListReq.CommID:type_name -> friend.CommID - 31, // 9: friend.GetFriendListResp.FriendInfoList:type_name -> server_api_params.FriendInfo - 1, // 10: friend.AddBlacklistReq.CommID:type_name -> friend.CommID - 0, // 11: friend.AddBlacklistResp.CommonResp:type_name -> friend.CommonResp - 1, // 12: friend.RemoveBlacklistReq.CommID:type_name -> friend.CommID - 0, // 13: friend.RemoveBlacklistResp.CommonResp:type_name -> friend.CommonResp - 1, // 14: friend.GetBlacklistReq.CommID:type_name -> friend.CommID - 33, // 15: friend.GetBlacklistResp.BlackUserInfoList:type_name -> server_api_params.PublicUserInfo - 1, // 16: friend.IsFriendReq.CommID:type_name -> friend.CommID - 1, // 17: friend.IsInBlackListReq.CommID:type_name -> friend.CommID - 1, // 18: friend.DeleteFriendReq.CommID:type_name -> friend.CommID - 0, // 19: friend.DeleteFriendResp.CommonResp:type_name -> friend.CommonResp - 1, // 20: friend.AddFriendResponseReq.CommID:type_name -> friend.CommID - 0, // 21: friend.AddFriendResponseResp.CommonResp:type_name -> friend.CommonResp - 1, // 22: friend.SetFriendRemarkReq.CommID:type_name -> friend.CommID - 0, // 23: friend.SetFriendRemarkResp.CommonResp:type_name -> friend.CommonResp - 1, // 24: friend.GetSelfApplyListReq.CommID:type_name -> friend.CommID - 32, // 25: friend.GetSelfApplyListResp.FriendRequestList:type_name -> server_api_params.FriendRequest - 4, // 26: friend.friend.addFriend:input_type -> friend.AddFriendReq - 9, // 27: friend.friend.getFriendApplyList:input_type -> friend.GetFriendApplyListReq - 29, // 28: friend.friend.getSelfApplyList:input_type -> friend.GetSelfApplyListReq - 11, // 29: friend.friend.getFriendList:input_type -> friend.GetFriendListReq - 13, // 30: friend.friend.addBlacklist:input_type -> friend.AddBlacklistReq - 15, // 31: friend.friend.removeBlacklist:input_type -> friend.RemoveBlacklistReq - 19, // 32: friend.friend.isFriend:input_type -> friend.IsFriendReq - 21, // 33: friend.friend.isInBlackList:input_type -> friend.IsInBlackListReq - 17, // 34: friend.friend.getBlacklist:input_type -> friend.GetBlacklistReq - 23, // 35: friend.friend.deleteFriend:input_type -> friend.DeleteFriendReq - 25, // 36: friend.friend.addFriendResponse:input_type -> friend.AddFriendResponseReq - 27, // 37: friend.friend.setFriendRemark:input_type -> friend.SetFriendRemarkReq - 6, // 38: friend.friend.importFriend:input_type -> friend.ImportFriendReq - 5, // 39: friend.friend.addFriend:output_type -> friend.AddFriendResp - 10, // 40: friend.friend.getFriendApplyList:output_type -> friend.GetFriendApplyListResp - 30, // 41: friend.friend.getSelfApplyList:output_type -> friend.GetSelfApplyListResp - 12, // 42: friend.friend.getFriendList:output_type -> friend.GetFriendListResp - 14, // 43: friend.friend.addBlacklist:output_type -> friend.AddBlacklistResp - 16, // 44: friend.friend.removeBlacklist:output_type -> friend.RemoveBlacklistResp - 20, // 45: friend.friend.isFriend:output_type -> friend.IsFriendResp - 22, // 46: friend.friend.isInBlackList:output_type -> friend.IsInBlackListResp - 18, // 47: friend.friend.getBlacklist:output_type -> friend.GetBlacklistResp - 24, // 48: friend.friend.deleteFriend:output_type -> friend.DeleteFriendResp - 26, // 49: friend.friend.addFriendResponse:output_type -> friend.AddFriendResponseResp - 28, // 50: friend.friend.setFriendRemark:output_type -> friend.SetFriendRemarkResp - 8, // 51: friend.friend.importFriend:output_type -> friend.ImportFriendResp - 39, // [39:52] is the sub-list for method output_type - 26, // [26:39] is the sub-list for method input_type - 26, // [26:26] is the sub-list for extension type_name - 26, // [26:26] is the sub-list for extension extendee - 0, // [0:26] is the sub-list for field type_name -} - -func init() { file_friend_friend_proto_init() } -func file_friend_friend_proto_init() { - if File_friend_friend_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_friend_friend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommonResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFriendsInfoReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFriendInfoResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddFriendReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddFriendResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImportFriendReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserIDResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImportFriendResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFriendApplyListReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFriendApplyListResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFriendListReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFriendListResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddBlacklistReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddBlacklistResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveBlacklistReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveBlacklistResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlacklistReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlacklistResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsFriendReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsFriendResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsInBlackListReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsInBlackListResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteFriendReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteFriendResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddFriendResponseReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddFriendResponseResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetFriendRemarkReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetFriendRemarkResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSelfApplyListReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_friend_friend_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSelfApplyListResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_friend_friend_proto_rawDesc, - NumEnums: 0, - NumMessages: 31, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_friend_friend_proto_goTypes, - DependencyIndexes: file_friend_friend_proto_depIdxs, - MessageInfos: file_friend_friend_proto_msgTypes, - }.Build() - File_friend_friend_proto = out.File - file_friend_friend_proto_rawDesc = nil - file_friend_friend_proto_goTypes = nil - file_friend_friend_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// FriendClient is the client API for Friend service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FriendClient interface { - // rpc getFriendsInfo(GetFriendsInfoReq) returns(GetFriendInfoResp); - AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*AddFriendResp, error) - GetFriendApplyList(ctx context.Context, in *GetFriendApplyListReq, opts ...grpc.CallOption) (*GetFriendApplyListResp, error) - GetSelfApplyList(ctx context.Context, in *GetSelfApplyListReq, opts ...grpc.CallOption) (*GetSelfApplyListResp, error) - GetFriendList(ctx context.Context, in *GetFriendListReq, opts ...grpc.CallOption) (*GetFriendListResp, error) - AddBlacklist(ctx context.Context, in *AddBlacklistReq, opts ...grpc.CallOption) (*AddBlacklistResp, error) - RemoveBlacklist(ctx context.Context, in *RemoveBlacklistReq, opts ...grpc.CallOption) (*RemoveBlacklistResp, error) - IsFriend(ctx context.Context, in *IsFriendReq, opts ...grpc.CallOption) (*IsFriendResp, error) - IsInBlackList(ctx context.Context, in *IsInBlackListReq, opts ...grpc.CallOption) (*IsInBlackListResp, error) - GetBlacklist(ctx context.Context, in *GetBlacklistReq, opts ...grpc.CallOption) (*GetBlacklistResp, error) - DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error) - AddFriendResponse(ctx context.Context, in *AddFriendResponseReq, opts ...grpc.CallOption) (*AddFriendResponseResp, error) - SetFriendRemark(ctx context.Context, in *SetFriendRemarkReq, opts ...grpc.CallOption) (*SetFriendRemarkResp, error) - ImportFriend(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, error) -} - -type friendClient struct { - cc grpc.ClientConnInterface -} - -func NewFriendClient(cc grpc.ClientConnInterface) FriendClient { - return &friendClient{cc} -} - -func (c *friendClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*AddFriendResp, error) { - out := new(AddFriendResp) - err := c.cc.Invoke(ctx, "/friend.friend/addFriend", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) GetFriendApplyList(ctx context.Context, in *GetFriendApplyListReq, opts ...grpc.CallOption) (*GetFriendApplyListResp, error) { - out := new(GetFriendApplyListResp) - err := c.cc.Invoke(ctx, "/friend.friend/getFriendApplyList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) GetSelfApplyList(ctx context.Context, in *GetSelfApplyListReq, opts ...grpc.CallOption) (*GetSelfApplyListResp, error) { - out := new(GetSelfApplyListResp) - err := c.cc.Invoke(ctx, "/friend.friend/getSelfApplyList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) GetFriendList(ctx context.Context, in *GetFriendListReq, opts ...grpc.CallOption) (*GetFriendListResp, error) { - out := new(GetFriendListResp) - err := c.cc.Invoke(ctx, "/friend.friend/getFriendList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) AddBlacklist(ctx context.Context, in *AddBlacklistReq, opts ...grpc.CallOption) (*AddBlacklistResp, error) { - out := new(AddBlacklistResp) - err := c.cc.Invoke(ctx, "/friend.friend/addBlacklist", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) RemoveBlacklist(ctx context.Context, in *RemoveBlacklistReq, opts ...grpc.CallOption) (*RemoveBlacklistResp, error) { - out := new(RemoveBlacklistResp) - err := c.cc.Invoke(ctx, "/friend.friend/removeBlacklist", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) IsFriend(ctx context.Context, in *IsFriendReq, opts ...grpc.CallOption) (*IsFriendResp, error) { - out := new(IsFriendResp) - err := c.cc.Invoke(ctx, "/friend.friend/isFriend", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) IsInBlackList(ctx context.Context, in *IsInBlackListReq, opts ...grpc.CallOption) (*IsInBlackListResp, error) { - out := new(IsInBlackListResp) - err := c.cc.Invoke(ctx, "/friend.friend/isInBlackList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) GetBlacklist(ctx context.Context, in *GetBlacklistReq, opts ...grpc.CallOption) (*GetBlacklistResp, error) { - out := new(GetBlacklistResp) - err := c.cc.Invoke(ctx, "/friend.friend/getBlacklist", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error) { - out := new(DeleteFriendResp) - err := c.cc.Invoke(ctx, "/friend.friend/deleteFriend", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) AddFriendResponse(ctx context.Context, in *AddFriendResponseReq, opts ...grpc.CallOption) (*AddFriendResponseResp, error) { - out := new(AddFriendResponseResp) - err := c.cc.Invoke(ctx, "/friend.friend/addFriendResponse", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) SetFriendRemark(ctx context.Context, in *SetFriendRemarkReq, opts ...grpc.CallOption) (*SetFriendRemarkResp, error) { - out := new(SetFriendRemarkResp) - err := c.cc.Invoke(ctx, "/friend.friend/setFriendRemark", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *friendClient) ImportFriend(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, error) { - out := new(ImportFriendResp) - err := c.cc.Invoke(ctx, "/friend.friend/importFriend", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FriendServer is the server API for Friend service. -type FriendServer interface { - // rpc getFriendsInfo(GetFriendsInfoReq) returns(GetFriendInfoResp); - AddFriend(context.Context, *AddFriendReq) (*AddFriendResp, error) - GetFriendApplyList(context.Context, *GetFriendApplyListReq) (*GetFriendApplyListResp, error) - GetSelfApplyList(context.Context, *GetSelfApplyListReq) (*GetSelfApplyListResp, error) - GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error) - AddBlacklist(context.Context, *AddBlacklistReq) (*AddBlacklistResp, error) - RemoveBlacklist(context.Context, *RemoveBlacklistReq) (*RemoveBlacklistResp, error) - IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error) - IsInBlackList(context.Context, *IsInBlackListReq) (*IsInBlackListResp, error) - GetBlacklist(context.Context, *GetBlacklistReq) (*GetBlacklistResp, error) - DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error) - AddFriendResponse(context.Context, *AddFriendResponseReq) (*AddFriendResponseResp, error) - SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error) - ImportFriend(context.Context, *ImportFriendReq) (*ImportFriendResp, error) -} - -// UnimplementedFriendServer can be embedded to have forward compatible implementations. -type UnimplementedFriendServer struct { -} - -func (*UnimplementedFriendServer) AddFriend(context.Context, *AddFriendReq) (*AddFriendResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddFriend not implemented") -} -func (*UnimplementedFriendServer) GetFriendApplyList(context.Context, *GetFriendApplyListReq) (*GetFriendApplyListResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFriendApplyList not implemented") -} -func (*UnimplementedFriendServer) GetSelfApplyList(context.Context, *GetSelfApplyListReq) (*GetSelfApplyListResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSelfApplyList not implemented") -} -func (*UnimplementedFriendServer) GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFriendList not implemented") -} -func (*UnimplementedFriendServer) AddBlacklist(context.Context, *AddBlacklistReq) (*AddBlacklistResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddBlacklist not implemented") -} -func (*UnimplementedFriendServer) RemoveBlacklist(context.Context, *RemoveBlacklistReq) (*RemoveBlacklistResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveBlacklist not implemented") -} -func (*UnimplementedFriendServer) IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method IsFriend not implemented") -} -func (*UnimplementedFriendServer) IsInBlackList(context.Context, *IsInBlackListReq) (*IsInBlackListResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method IsInBlackList not implemented") -} -func (*UnimplementedFriendServer) GetBlacklist(context.Context, *GetBlacklistReq) (*GetBlacklistResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlacklist not implemented") -} -func (*UnimplementedFriendServer) DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteFriend not implemented") -} -func (*UnimplementedFriendServer) AddFriendResponse(context.Context, *AddFriendResponseReq) (*AddFriendResponseResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddFriendResponse not implemented") -} -func (*UnimplementedFriendServer) SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetFriendRemark not implemented") -} -func (*UnimplementedFriendServer) ImportFriend(context.Context, *ImportFriendReq) (*ImportFriendResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportFriend not implemented") -} - -func RegisterFriendServer(s *grpc.Server, srv FriendServer) { - s.RegisterService(&_Friend_serviceDesc, srv) -} - -func _Friend_AddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddFriendReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).AddFriend(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/AddFriend", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).AddFriend(ctx, req.(*AddFriendReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_GetFriendApplyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFriendApplyListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).GetFriendApplyList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/GetFriendApplyList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).GetFriendApplyList(ctx, req.(*GetFriendApplyListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_GetSelfApplyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSelfApplyListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).GetSelfApplyList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/GetSelfApplyList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).GetSelfApplyList(ctx, req.(*GetSelfApplyListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_GetFriendList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFriendListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).GetFriendList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/GetFriendList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).GetFriendList(ctx, req.(*GetFriendListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_AddBlacklist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddBlacklistReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).AddBlacklist(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/AddBlacklist", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).AddBlacklist(ctx, req.(*AddBlacklistReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_RemoveBlacklist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveBlacklistReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).RemoveBlacklist(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/RemoveBlacklist", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).RemoveBlacklist(ctx, req.(*RemoveBlacklistReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_IsFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IsFriendReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).IsFriend(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/IsFriend", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).IsFriend(ctx, req.(*IsFriendReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_IsInBlackList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IsInBlackListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).IsInBlackList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/IsInBlackList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).IsInBlackList(ctx, req.(*IsInBlackListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_GetBlacklist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBlacklistReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).GetBlacklist(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/GetBlacklist", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).GetBlacklist(ctx, req.(*GetBlacklistReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_DeleteFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteFriendReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).DeleteFriend(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/DeleteFriend", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).DeleteFriend(ctx, req.(*DeleteFriendReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_AddFriendResponse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddFriendResponseReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).AddFriendResponse(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/AddFriendResponse", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).AddFriendResponse(ctx, req.(*AddFriendResponseReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_SetFriendRemark_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetFriendRemarkReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).SetFriendRemark(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/SetFriendRemark", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).SetFriendRemark(ctx, req.(*SetFriendRemarkReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Friend_ImportFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportFriendReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FriendServer).ImportFriend(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/friend.friend/ImportFriend", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FriendServer).ImportFriend(ctx, req.(*ImportFriendReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _Friend_serviceDesc = grpc.ServiceDesc{ - ServiceName: "friend.friend", - HandlerType: (*FriendServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "addFriend", - Handler: _Friend_AddFriend_Handler, - }, - { - MethodName: "getFriendApplyList", - Handler: _Friend_GetFriendApplyList_Handler, - }, - { - MethodName: "getSelfApplyList", - Handler: _Friend_GetSelfApplyList_Handler, - }, - { - MethodName: "getFriendList", - Handler: _Friend_GetFriendList_Handler, - }, - { - MethodName: "addBlacklist", - Handler: _Friend_AddBlacklist_Handler, - }, - { - MethodName: "removeBlacklist", - Handler: _Friend_RemoveBlacklist_Handler, - }, - { - MethodName: "isFriend", - Handler: _Friend_IsFriend_Handler, - }, - { - MethodName: "isInBlackList", - Handler: _Friend_IsInBlackList_Handler, - }, - { - MethodName: "getBlacklist", - Handler: _Friend_GetBlacklist_Handler, - }, - { - MethodName: "deleteFriend", - Handler: _Friend_DeleteFriend_Handler, - }, - { - MethodName: "addFriendResponse", - Handler: _Friend_AddFriendResponse_Handler, - }, - { - MethodName: "setFriendRemark", - Handler: _Friend_SetFriendRemark_Handler, - }, - { - MethodName: "importFriend", - Handler: _Friend_ImportFriend_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "friend/friend.proto", -} diff --git a/tools/data-conversion/proto/friend/friend.proto b/tools/data-conversion/proto/friend/friend.proto deleted file mode 100644 index 8245ba68f..000000000 --- a/tools/data-conversion/proto/friend/friend.proto +++ /dev/null @@ -1,172 +0,0 @@ -syntax = "proto3"; -import "Open-IM-Server/pkg/proto/sdk_ws/ws.proto"; -option go_package = "Open_IM/pkg/proto/friend;friend"; -package friend; - -message CommonResp{ - int32 errCode = 1; - string errMsg = 2; -} - -message CommID{ - string OpUserID = 1; - string OperationID = 2; - string ToUserID = 4; - string FromUserID = 5; -} - - -message GetFriendsInfoReq{ - CommID CommID = 1; -} -message GetFriendInfoResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.FriendInfo FriendInfoList = 3; -// int32 IsBlack = 4; -} - - -message AddFriendReq{ - CommID CommID = 1; - string ReqMsg = 2; -} -message AddFriendResp{ - CommonResp CommonResp = 1; -} - - -message ImportFriendReq{ - repeated string FriendUserIDList = 1; - string OperationID = 2; - string FromUserID = 3; - string OpUserID = 4; -} -message UserIDResult{ - string UserID = 1; - int32 Result = 2; -} -message ImportFriendResp{ - CommonResp CommonResp = 1; - repeated UserIDResult UserIDResultList = 2; -} - - -message GetFriendApplyListReq{ - CommID CommID = 1; -} -message GetFriendApplyListResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.FriendRequest FriendRequestList = 3; -} - - -message GetFriendListReq{ - CommID CommID = 1; -} -message GetFriendListResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.FriendInfo FriendInfoList = 3; -} - - -message AddBlacklistReq{ - CommID CommID = 1; -} -message AddBlacklistResp{ - CommonResp CommonResp = 1; -} - - -message RemoveBlacklistReq{ - CommID CommID = 1; -} -message RemoveBlacklistResp{ - CommonResp CommonResp = 1; -} - -message GetBlacklistReq{ - CommID CommID = 1; -} -message GetBlacklistResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.PublicUserInfo BlackUserInfoList = 3; -} - - -message IsFriendReq{ - CommID CommID = 1; -} -message IsFriendResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - bool Response = 3; -} - - -message IsInBlackListReq{ - CommID CommID = 1; -} -message IsInBlackListResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - bool Response = 3; -} - - -message DeleteFriendReq{ - CommID CommID = 1; -} -message DeleteFriendResp{ - CommonResp CommonResp = 1; -} - -//process -message AddFriendResponseReq{ - CommID CommID = 1; - int32 handleResult = 2; - string handleMsg = 3; -} -message AddFriendResponseResp{ - CommonResp CommonResp = 1; -} - -message SetFriendRemarkReq{ - CommID CommID = 1; - string Remark = 2; -} -message SetFriendRemarkResp{ - CommonResp CommonResp = 1; -} - -message GetSelfApplyListReq{ - CommID CommID = 1; -} -message GetSelfApplyListResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.FriendRequest FriendRequestList = 3; -} - -service friend{ - // rpc getFriendsInfo(GetFriendsInfoReq) returns(GetFriendInfoResp); - rpc addFriend(AddFriendReq) returns(AddFriendResp); - rpc getFriendApplyList(GetFriendApplyListReq) returns(GetFriendApplyListResp); - rpc getSelfApplyList(GetSelfApplyListReq) returns(GetSelfApplyListResp); - rpc getFriendList(GetFriendListReq) returns(GetFriendListResp); - rpc addBlacklist(AddBlacklistReq) returns(AddBlacklistResp); - rpc removeBlacklist(RemoveBlacklistReq) returns(RemoveBlacklistResp); - rpc isFriend(IsFriendReq) returns(IsFriendResp); - rpc isInBlackList(IsInBlackListReq) returns(IsInBlackListResp); - rpc getBlacklist(GetBlacklistReq) returns(GetBlacklistResp); - rpc deleteFriend(DeleteFriendReq) returns(DeleteFriendResp); - rpc addFriendResponse(AddFriendResponseReq) returns(AddFriendResponseResp); - rpc setFriendRemark(SetFriendRemarkReq) returns(SetFriendRemarkResp); - rpc importFriend(ImportFriendReq) returns(ImportFriendResp); - - // rpc CheckFriendFromCache(IsFriendReq) returns(IsFriendResp); - // rpc CheckBlockFromCache(IsInBlackListReq) returns(IsFriendResp); -} \ No newline at end of file diff --git a/tools/data-conversion/proto/group/group.pb.go b/tools/data-conversion/proto/group/group.pb.go deleted file mode 100644 index aa983171f..000000000 --- a/tools/data-conversion/proto/group/group.pb.go +++ /dev/null @@ -1,4817 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: group/group.proto - -package group // import "Open_IM/pkg/proto/group" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import sdk_ws "Open_IM/pkg/proto/sdk_ws" -import wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - -import ( - context "golang.org/x/net/context" - grpc "google.golang.org/grpc" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - -type CommonResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommonResp) Reset() { *m = CommonResp{} } -func (m *CommonResp) String() string { return proto.CompactTextString(m) } -func (*CommonResp) ProtoMessage() {} -func (*CommonResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{0} -} -func (m *CommonResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommonResp.Unmarshal(m, b) -} -func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic) -} -func (dst *CommonResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonResp.Merge(dst, src) -} -func (m *CommonResp) XXX_Size() int { - return xxx_messageInfo_CommonResp.Size(m) -} -func (m *CommonResp) XXX_DiscardUnknown() { - xxx_messageInfo_CommonResp.DiscardUnknown(m) -} - -var xxx_messageInfo_CommonResp proto.InternalMessageInfo - -func (m *CommonResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *CommonResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -type GroupAddMemberInfo struct { - UserID string `protobuf:"bytes,1,opt,name=UserID" json:"UserID,omitempty"` - RoleLevel int32 `protobuf:"varint,2,opt,name=RoleLevel" json:"RoleLevel,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupAddMemberInfo) Reset() { *m = GroupAddMemberInfo{} } -func (m *GroupAddMemberInfo) String() string { return proto.CompactTextString(m) } -func (*GroupAddMemberInfo) ProtoMessage() {} -func (*GroupAddMemberInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{1} -} -func (m *GroupAddMemberInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupAddMemberInfo.Unmarshal(m, b) -} -func (m *GroupAddMemberInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupAddMemberInfo.Marshal(b, m, deterministic) -} -func (dst *GroupAddMemberInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupAddMemberInfo.Merge(dst, src) -} -func (m *GroupAddMemberInfo) XXX_Size() int { - return xxx_messageInfo_GroupAddMemberInfo.Size(m) -} -func (m *GroupAddMemberInfo) XXX_DiscardUnknown() { - xxx_messageInfo_GroupAddMemberInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupAddMemberInfo proto.InternalMessageInfo - -func (m *GroupAddMemberInfo) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *GroupAddMemberInfo) GetRoleLevel() int32 { - if m != nil { - return m.RoleLevel - } - return 0 -} - -type CreateGroupReq struct { - InitMemberList []*GroupAddMemberInfo `protobuf:"bytes,1,rep,name=InitMemberList" json:"InitMemberList,omitempty"` - GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,2,opt,name=GroupInfo" json:"GroupInfo,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"` - OpUserID string `protobuf:"bytes,4,opt,name=OpUserID" json:"OpUserID,omitempty"` - OwnerUserID string `protobuf:"bytes,5,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{2} -} -func (m *CreateGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateGroupReq.Unmarshal(m, b) -} -func (m *CreateGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateGroupReq.Marshal(b, m, deterministic) -} -func (dst *CreateGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateGroupReq.Merge(dst, src) -} -func (m *CreateGroupReq) XXX_Size() int { - return xxx_messageInfo_CreateGroupReq.Size(m) -} -func (m *CreateGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_CreateGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateGroupReq proto.InternalMessageInfo - -func (m *CreateGroupReq) GetInitMemberList() []*GroupAddMemberInfo { - if m != nil { - return m.InitMemberList - } - return nil -} - -func (m *CreateGroupReq) GetGroupInfo() *sdk_ws.GroupInfo { - if m != nil { - return m.GroupInfo - } - return nil -} - -func (m *CreateGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *CreateGroupReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *CreateGroupReq) GetOwnerUserID() string { - if m != nil { - return m.OwnerUserID - } - return "" -} - -type CreateGroupResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,3,opt,name=GroupInfo" json:"GroupInfo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{3} -} -func (m *CreateGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateGroupResp.Unmarshal(m, b) -} -func (m *CreateGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateGroupResp.Marshal(b, m, deterministic) -} -func (dst *CreateGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateGroupResp.Merge(dst, src) -} -func (m *CreateGroupResp) XXX_Size() int { - return xxx_messageInfo_CreateGroupResp.Size(m) -} -func (m *CreateGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_CreateGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateGroupResp proto.InternalMessageInfo - -func (m *CreateGroupResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *CreateGroupResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *CreateGroupResp) GetGroupInfo() *sdk_ws.GroupInfo { - if m != nil { - return m.GroupInfo - } - return nil -} - -type GetGroupsInfoReq struct { - GroupIDList []string `protobuf:"bytes,1,rep,name=GroupIDList" json:"GroupIDList,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{4} -} -func (m *GetGroupsInfoReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupsInfoReq.Unmarshal(m, b) -} -func (m *GetGroupsInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupsInfoReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupsInfoReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupsInfoReq.Merge(dst, src) -} -func (m *GetGroupsInfoReq) XXX_Size() int { - return xxx_messageInfo_GetGroupsInfoReq.Size(m) -} -func (m *GetGroupsInfoReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupsInfoReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupsInfoReq proto.InternalMessageInfo - -func (m *GetGroupsInfoReq) GetGroupIDList() []string { - if m != nil { - return m.GroupIDList - } - return nil -} - -func (m *GetGroupsInfoReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetGroupsInfoReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type GetGroupsInfoResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - GroupInfoList []*sdk_ws.GroupInfo `protobuf:"bytes,3,rep,name=GroupInfoList" json:"GroupInfoList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{5} -} -func (m *GetGroupsInfoResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupsInfoResp.Unmarshal(m, b) -} -func (m *GetGroupsInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupsInfoResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupsInfoResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupsInfoResp.Merge(dst, src) -} -func (m *GetGroupsInfoResp) XXX_Size() int { - return xxx_messageInfo_GetGroupsInfoResp.Size(m) -} -func (m *GetGroupsInfoResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupsInfoResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupsInfoResp proto.InternalMessageInfo - -func (m *GetGroupsInfoResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *GetGroupsInfoResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *GetGroupsInfoResp) GetGroupInfoList() []*sdk_ws.GroupInfo { - if m != nil { - return m.GroupInfoList - } - return nil -} - -type SetGroupInfoReq struct { - GroupInfoForSet *sdk_ws.GroupInfoForSet `protobuf:"bytes,1,opt,name=groupInfoForSet" json:"groupInfoForSet,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{6} -} -func (m *SetGroupInfoReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetGroupInfoReq.Unmarshal(m, b) -} -func (m *SetGroupInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetGroupInfoReq.Marshal(b, m, deterministic) -} -func (dst *SetGroupInfoReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetGroupInfoReq.Merge(dst, src) -} -func (m *SetGroupInfoReq) XXX_Size() int { - return xxx_messageInfo_SetGroupInfoReq.Size(m) -} -func (m *SetGroupInfoReq) XXX_DiscardUnknown() { - xxx_messageInfo_SetGroupInfoReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SetGroupInfoReq proto.InternalMessageInfo - -func (m *SetGroupInfoReq) GetGroupInfoForSet() *sdk_ws.GroupInfoForSet { - if m != nil { - return m.GroupInfoForSet - } - return nil -} - -func (m *SetGroupInfoReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SetGroupInfoReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type SetGroupInfoResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{7} -} -func (m *SetGroupInfoResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetGroupInfoResp.Unmarshal(m, b) -} -func (m *SetGroupInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetGroupInfoResp.Marshal(b, m, deterministic) -} -func (dst *SetGroupInfoResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetGroupInfoResp.Merge(dst, src) -} -func (m *SetGroupInfoResp) XXX_Size() int { - return xxx_messageInfo_SetGroupInfoResp.Size(m) -} -func (m *SetGroupInfoResp) XXX_DiscardUnknown() { - xxx_messageInfo_SetGroupInfoResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SetGroupInfoResp proto.InternalMessageInfo - -func (m *SetGroupInfoResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetGroupApplicationListReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=OpUserID" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - FromUserID string `protobuf:"bytes,3,opt,name=FromUserID" json:"FromUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{8} -} -func (m *GetGroupApplicationListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupApplicationListReq.Unmarshal(m, b) -} -func (m *GetGroupApplicationListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupApplicationListReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupApplicationListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupApplicationListReq.Merge(dst, src) -} -func (m *GetGroupApplicationListReq) XXX_Size() int { - return xxx_messageInfo_GetGroupApplicationListReq.Size(m) -} -func (m *GetGroupApplicationListReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupApplicationListReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupApplicationListReq proto.InternalMessageInfo - -func (m *GetGroupApplicationListReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *GetGroupApplicationListReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetGroupApplicationListReq) GetFromUserID() string { - if m != nil { - return m.FromUserID - } - return "" -} - -type GetGroupApplicationListResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - GroupRequestList []*sdk_ws.GroupRequest `protobuf:"bytes,3,rep,name=GroupRequestList" json:"GroupRequestList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{9} -} -func (m *GetGroupApplicationListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupApplicationListResp.Unmarshal(m, b) -} -func (m *GetGroupApplicationListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupApplicationListResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupApplicationListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupApplicationListResp.Merge(dst, src) -} -func (m *GetGroupApplicationListResp) XXX_Size() int { - return xxx_messageInfo_GetGroupApplicationListResp.Size(m) -} -func (m *GetGroupApplicationListResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupApplicationListResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupApplicationListResp proto.InternalMessageInfo - -func (m *GetGroupApplicationListResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *GetGroupApplicationListResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *GetGroupApplicationListResp) GetGroupRequestList() []*sdk_ws.GroupRequest { - if m != nil { - return m.GroupRequestList - } - return nil -} - -type GetUserReqApplicationListReq struct { - UserID string `protobuf:"bytes,1,opt,name=UserID" json:"UserID,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{10} -} -func (m *GetUserReqApplicationListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserReqApplicationListReq.Unmarshal(m, b) -} -func (m *GetUserReqApplicationListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserReqApplicationListReq.Marshal(b, m, deterministic) -} -func (dst *GetUserReqApplicationListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserReqApplicationListReq.Merge(dst, src) -} -func (m *GetUserReqApplicationListReq) XXX_Size() int { - return xxx_messageInfo_GetUserReqApplicationListReq.Size(m) -} -func (m *GetUserReqApplicationListReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserReqApplicationListReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserReqApplicationListReq proto.InternalMessageInfo - -func (m *GetUserReqApplicationListReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *GetUserReqApplicationListReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *GetUserReqApplicationListReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetUserReqApplicationListResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - GroupRequestList []*sdk_ws.GroupRequest `protobuf:"bytes,2,rep,name=GroupRequestList" json:"GroupRequestList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{11} -} -func (m *GetUserReqApplicationListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserReqApplicationListResp.Unmarshal(m, b) -} -func (m *GetUserReqApplicationListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserReqApplicationListResp.Marshal(b, m, deterministic) -} -func (dst *GetUserReqApplicationListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserReqApplicationListResp.Merge(dst, src) -} -func (m *GetUserReqApplicationListResp) XXX_Size() int { - return xxx_messageInfo_GetUserReqApplicationListResp.Size(m) -} -func (m *GetUserReqApplicationListResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserReqApplicationListResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserReqApplicationListResp proto.InternalMessageInfo - -func (m *GetUserReqApplicationListResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *GetUserReqApplicationListResp) GetGroupRequestList() []*sdk_ws.GroupRequest { - if m != nil { - return m.GroupRequestList - } - return nil -} - -type TransferGroupOwnerReq struct { - GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` - OldOwnerUserID string `protobuf:"bytes,2,opt,name=OldOwnerUserID" json:"OldOwnerUserID,omitempty"` - NewOwnerUserID string `protobuf:"bytes,3,opt,name=NewOwnerUserID" json:"NewOwnerUserID,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=OperationID" json:"OperationID,omitempty"` - OpUserID string `protobuf:"bytes,5,opt,name=OpUserID" json:"OpUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{12} -} -func (m *TransferGroupOwnerReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferGroupOwnerReq.Unmarshal(m, b) -} -func (m *TransferGroupOwnerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferGroupOwnerReq.Marshal(b, m, deterministic) -} -func (dst *TransferGroupOwnerReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferGroupOwnerReq.Merge(dst, src) -} -func (m *TransferGroupOwnerReq) XXX_Size() int { - return xxx_messageInfo_TransferGroupOwnerReq.Size(m) -} -func (m *TransferGroupOwnerReq) XXX_DiscardUnknown() { - xxx_messageInfo_TransferGroupOwnerReq.DiscardUnknown(m) -} - -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 "" -} - -func (m *TransferGroupOwnerReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *TransferGroupOwnerReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type TransferGroupOwnerResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{13} -} -func (m *TransferGroupOwnerResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferGroupOwnerResp.Unmarshal(m, b) -} -func (m *TransferGroupOwnerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferGroupOwnerResp.Marshal(b, m, deterministic) -} -func (dst *TransferGroupOwnerResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferGroupOwnerResp.Merge(dst, src) -} -func (m *TransferGroupOwnerResp) XXX_Size() int { - return xxx_messageInfo_TransferGroupOwnerResp.Size(m) -} -func (m *TransferGroupOwnerResp) XXX_DiscardUnknown() { - xxx_messageInfo_TransferGroupOwnerResp.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferGroupOwnerResp proto.InternalMessageInfo - -func (m *TransferGroupOwnerResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type JoinGroupReq struct { - GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` - ReqMessage string `protobuf:"bytes,2,opt,name=ReqMessage" json:"ReqMessage,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=OperationID" json:"OperationID,omitempty"` - JoinSource int32 `protobuf:"varint,5,opt,name=JoinSource" json:"JoinSource,omitempty"` - InviterUserID string `protobuf:"bytes,6,opt,name=InviterUserID" json:"InviterUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{14} -} -func (m *JoinGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JoinGroupReq.Unmarshal(m, b) -} -func (m *JoinGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JoinGroupReq.Marshal(b, m, deterministic) -} -func (dst *JoinGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_JoinGroupReq.Merge(dst, src) -} -func (m *JoinGroupReq) XXX_Size() int { - return xxx_messageInfo_JoinGroupReq.Size(m) -} -func (m *JoinGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_JoinGroupReq.DiscardUnknown(m) -} - -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) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *JoinGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - 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 { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{15} -} -func (m *JoinGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JoinGroupResp.Unmarshal(m, b) -} -func (m *JoinGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JoinGroupResp.Marshal(b, m, deterministic) -} -func (dst *JoinGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_JoinGroupResp.Merge(dst, src) -} -func (m *JoinGroupResp) XXX_Size() int { - return xxx_messageInfo_JoinGroupResp.Size(m) -} -func (m *JoinGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_JoinGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_JoinGroupResp proto.InternalMessageInfo - -func (m *JoinGroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GroupApplicationResponseReq struct { - OperationID string `protobuf:"bytes,1,opt,name=OperationID" json:"OperationID,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=GroupID" json:"GroupID,omitempty"` - FromUserID string `protobuf:"bytes,4,opt,name=FromUserID" json:"FromUserID,omitempty"` - HandledMsg string `protobuf:"bytes,5,opt,name=HandledMsg" json:"HandledMsg,omitempty"` - HandleResult int32 `protobuf:"varint,6,opt,name=HandleResult" json:"HandleResult,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{16} -} -func (m *GroupApplicationResponseReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupApplicationResponseReq.Unmarshal(m, b) -} -func (m *GroupApplicationResponseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupApplicationResponseReq.Marshal(b, m, deterministic) -} -func (dst *GroupApplicationResponseReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupApplicationResponseReq.Merge(dst, src) -} -func (m *GroupApplicationResponseReq) XXX_Size() int { - return xxx_messageInfo_GroupApplicationResponseReq.Size(m) -} -func (m *GroupApplicationResponseReq) XXX_DiscardUnknown() { - xxx_messageInfo_GroupApplicationResponseReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupApplicationResponseReq proto.InternalMessageInfo - -func (m *GroupApplicationResponseReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GroupApplicationResponseReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -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 { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{17} -} -func (m *GroupApplicationResponseResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupApplicationResponseResp.Unmarshal(m, b) -} -func (m *GroupApplicationResponseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupApplicationResponseResp.Marshal(b, m, deterministic) -} -func (dst *GroupApplicationResponseResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupApplicationResponseResp.Merge(dst, src) -} -func (m *GroupApplicationResponseResp) XXX_Size() int { - return xxx_messageInfo_GroupApplicationResponseResp.Size(m) -} -func (m *GroupApplicationResponseResp) XXX_DiscardUnknown() { - xxx_messageInfo_GroupApplicationResponseResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupApplicationResponseResp proto.InternalMessageInfo - -func (m *GroupApplicationResponseResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type QuitGroupReq struct { - GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{18} -} -func (m *QuitGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuitGroupReq.Unmarshal(m, b) -} -func (m *QuitGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuitGroupReq.Marshal(b, m, deterministic) -} -func (dst *QuitGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuitGroupReq.Merge(dst, src) -} -func (m *QuitGroupReq) XXX_Size() int { - return xxx_messageInfo_QuitGroupReq.Size(m) -} -func (m *QuitGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_QuitGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_QuitGroupReq proto.InternalMessageInfo - -func (m *QuitGroupReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *QuitGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *QuitGroupReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type QuitGroupResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{19} -} -func (m *QuitGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuitGroupResp.Unmarshal(m, b) -} -func (m *QuitGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuitGroupResp.Marshal(b, m, deterministic) -} -func (dst *QuitGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuitGroupResp.Merge(dst, src) -} -func (m *QuitGroupResp) XXX_Size() int { - return xxx_messageInfo_QuitGroupResp.Size(m) -} -func (m *QuitGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_QuitGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_QuitGroupResp proto.InternalMessageInfo - -func (m *QuitGroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetGroupMemberListReq struct { - GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"` - Filter int32 `protobuf:"varint,4,opt,name=Filter" json:"Filter,omitempty"` - NextSeq int32 `protobuf:"varint,5,opt,name=NextSeq" json:"NextSeq,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{20} -} -func (m *GetGroupMemberListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupMemberListReq.Unmarshal(m, b) -} -func (m *GetGroupMemberListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupMemberListReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupMemberListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupMemberListReq.Merge(dst, src) -} -func (m *GetGroupMemberListReq) XXX_Size() int { - return xxx_messageInfo_GetGroupMemberListReq.Size(m) -} -func (m *GetGroupMemberListReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupMemberListReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupMemberListReq proto.InternalMessageInfo - -func (m *GetGroupMemberListReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *GetGroupMemberListReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *GetGroupMemberListReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetGroupMemberListReq) GetFilter() int32 { - if m != nil { - return m.Filter - } - return 0 -} - -func (m *GetGroupMemberListReq) GetNextSeq() int32 { - if m != nil { - return m.NextSeq - } - return 0 -} - -type GetGroupMemberListResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList" json:"memberList,omitempty"` - NextSeq int32 `protobuf:"varint,4,opt,name=nextSeq" json:"nextSeq,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{21} -} -func (m *GetGroupMemberListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupMemberListResp.Unmarshal(m, b) -} -func (m *GetGroupMemberListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupMemberListResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupMemberListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupMemberListResp.Merge(dst, src) -} -func (m *GetGroupMemberListResp) XXX_Size() int { - return xxx_messageInfo_GetGroupMemberListResp.Size(m) -} -func (m *GetGroupMemberListResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupMemberListResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupMemberListResp proto.InternalMessageInfo - -func (m *GetGroupMemberListResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *GetGroupMemberListResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *GetGroupMemberListResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo { - if m != nil { - return m.MemberList - } - return nil -} - -func (m *GetGroupMemberListResp) GetNextSeq() int32 { - if m != nil { - return m.NextSeq - } - return 0 -} - -type GetGroupMembersInfoReq struct { - GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` - MemberList []string `protobuf:"bytes,2,rep,name=memberList" json:"memberList,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=OperationID" json:"OperationID,omitempty"` - NoCache bool `protobuf:"varint,5,opt,name=noCache" json:"noCache,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{22} -} -func (m *GetGroupMembersInfoReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupMembersInfoReq.Unmarshal(m, b) -} -func (m *GetGroupMembersInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupMembersInfoReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupMembersInfoReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupMembersInfoReq.Merge(dst, src) -} -func (m *GetGroupMembersInfoReq) XXX_Size() int { - return xxx_messageInfo_GetGroupMembersInfoReq.Size(m) -} -func (m *GetGroupMembersInfoReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupMembersInfoReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupMembersInfoReq proto.InternalMessageInfo - -func (m *GetGroupMembersInfoReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *GetGroupMembersInfoReq) GetMemberList() []string { - if m != nil { - return m.MemberList - } - return nil -} - -func (m *GetGroupMembersInfoReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *GetGroupMembersInfoReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetGroupMembersInfoReq) GetNoCache() bool { - if m != nil { - return m.NoCache - } - return false -} - -type GetGroupMembersInfoResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList" json:"memberList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{23} -} -func (m *GetGroupMembersInfoResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupMembersInfoResp.Unmarshal(m, b) -} -func (m *GetGroupMembersInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupMembersInfoResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupMembersInfoResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupMembersInfoResp.Merge(dst, src) -} -func (m *GetGroupMembersInfoResp) XXX_Size() int { - return xxx_messageInfo_GetGroupMembersInfoResp.Size(m) -} -func (m *GetGroupMembersInfoResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupMembersInfoResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupMembersInfoResp proto.InternalMessageInfo - -func (m *GetGroupMembersInfoResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *GetGroupMembersInfoResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *GetGroupMembersInfoResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo { - if m != nil { - return m.MemberList - } - return nil -} - -type KickGroupMemberReq struct { - GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` - KickedUserIDList []string `protobuf:"bytes,2,rep,name=KickedUserIDList" json:"KickedUserIDList,omitempty"` - Reason string `protobuf:"bytes,3,opt,name=Reason" json:"Reason,omitempty"` - OperationID string `protobuf:"bytes,5,opt,name=OperationID" json:"OperationID,omitempty"` - OpUserID string `protobuf:"bytes,6,opt,name=OpUserID" json:"OpUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{24} -} -func (m *KickGroupMemberReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KickGroupMemberReq.Unmarshal(m, b) -} -func (m *KickGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KickGroupMemberReq.Marshal(b, m, deterministic) -} -func (dst *KickGroupMemberReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_KickGroupMemberReq.Merge(dst, src) -} -func (m *KickGroupMemberReq) XXX_Size() int { - return xxx_messageInfo_KickGroupMemberReq.Size(m) -} -func (m *KickGroupMemberReq) XXX_DiscardUnknown() { - xxx_messageInfo_KickGroupMemberReq.DiscardUnknown(m) -} - -var xxx_messageInfo_KickGroupMemberReq proto.InternalMessageInfo - -func (m *KickGroupMemberReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *KickGroupMemberReq) GetKickedUserIDList() []string { - if m != nil { - return m.KickedUserIDList - } - return nil -} - -func (m *KickGroupMemberReq) GetReason() string { - if m != nil { - return m.Reason - } - return "" -} - -func (m *KickGroupMemberReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *KickGroupMemberReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type Id2Result struct { - UserID string `protobuf:"bytes,1,opt,name=UserID" json:"UserID,omitempty"` - Result int32 `protobuf:"varint,2,opt,name=Result" json:"Result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Id2Result) Reset() { *m = Id2Result{} } -func (m *Id2Result) String() string { return proto.CompactTextString(m) } -func (*Id2Result) ProtoMessage() {} -func (*Id2Result) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{25} -} -func (m *Id2Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Id2Result.Unmarshal(m, b) -} -func (m *Id2Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Id2Result.Marshal(b, m, deterministic) -} -func (dst *Id2Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_Id2Result.Merge(dst, src) -} -func (m *Id2Result) XXX_Size() int { - return xxx_messageInfo_Id2Result.Size(m) -} -func (m *Id2Result) XXX_DiscardUnknown() { - xxx_messageInfo_Id2Result.DiscardUnknown(m) -} - -var xxx_messageInfo_Id2Result proto.InternalMessageInfo - -func (m *Id2Result) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *Id2Result) GetResult() int32 { - if m != nil { - return m.Result - } - return 0 -} - -type KickGroupMemberResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - Id2ResultList []*Id2Result `protobuf:"bytes,3,rep,name=Id2ResultList" json:"Id2ResultList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{26} -} -func (m *KickGroupMemberResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KickGroupMemberResp.Unmarshal(m, b) -} -func (m *KickGroupMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KickGroupMemberResp.Marshal(b, m, deterministic) -} -func (dst *KickGroupMemberResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_KickGroupMemberResp.Merge(dst, src) -} -func (m *KickGroupMemberResp) XXX_Size() int { - return xxx_messageInfo_KickGroupMemberResp.Size(m) -} -func (m *KickGroupMemberResp) XXX_DiscardUnknown() { - xxx_messageInfo_KickGroupMemberResp.DiscardUnknown(m) -} - -var xxx_messageInfo_KickGroupMemberResp proto.InternalMessageInfo - -func (m *KickGroupMemberResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *KickGroupMemberResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *KickGroupMemberResp) GetId2ResultList() []*Id2Result { - if m != nil { - return m.Id2ResultList - } - return nil -} - -type GetJoinedGroupListReq struct { - FromUserID string `protobuf:"bytes,1,opt,name=FromUserID" json:"FromUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{27} -} -func (m *GetJoinedGroupListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetJoinedGroupListReq.Unmarshal(m, b) -} -func (m *GetJoinedGroupListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetJoinedGroupListReq.Marshal(b, m, deterministic) -} -func (dst *GetJoinedGroupListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJoinedGroupListReq.Merge(dst, src) -} -func (m *GetJoinedGroupListReq) XXX_Size() int { - return xxx_messageInfo_GetJoinedGroupListReq.Size(m) -} -func (m *GetJoinedGroupListReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetJoinedGroupListReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetJoinedGroupListReq proto.InternalMessageInfo - -func (m *GetJoinedGroupListReq) GetFromUserID() string { - if m != nil { - return m.FromUserID - } - return "" -} - -func (m *GetJoinedGroupListReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetJoinedGroupListReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type GetJoinedGroupListResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - GroupList []*sdk_ws.GroupInfo `protobuf:"bytes,3,rep,name=GroupList" json:"GroupList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{28} -} -func (m *GetJoinedGroupListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetJoinedGroupListResp.Unmarshal(m, b) -} -func (m *GetJoinedGroupListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetJoinedGroupListResp.Marshal(b, m, deterministic) -} -func (dst *GetJoinedGroupListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJoinedGroupListResp.Merge(dst, src) -} -func (m *GetJoinedGroupListResp) XXX_Size() int { - return xxx_messageInfo_GetJoinedGroupListResp.Size(m) -} -func (m *GetJoinedGroupListResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetJoinedGroupListResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetJoinedGroupListResp proto.InternalMessageInfo - -func (m *GetJoinedGroupListResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *GetJoinedGroupListResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *GetJoinedGroupListResp) GetGroupList() []*sdk_ws.GroupInfo { - if m != nil { - return m.GroupList - } - return nil -} - -type InviteUserToGroupReq struct { - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=GroupID" json:"GroupID,omitempty"` - Reason string `protobuf:"bytes,4,opt,name=Reason" json:"Reason,omitempty"` - InvitedUserIDList []string `protobuf:"bytes,5,rep,name=InvitedUserIDList" json:"InvitedUserIDList,omitempty"` - OpUserID string `protobuf:"bytes,6,opt,name=OpUserID" json:"OpUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{29} -} -func (m *InviteUserToGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InviteUserToGroupReq.Unmarshal(m, b) -} -func (m *InviteUserToGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InviteUserToGroupReq.Marshal(b, m, deterministic) -} -func (dst *InviteUserToGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_InviteUserToGroupReq.Merge(dst, src) -} -func (m *InviteUserToGroupReq) XXX_Size() int { - return xxx_messageInfo_InviteUserToGroupReq.Size(m) -} -func (m *InviteUserToGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_InviteUserToGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_InviteUserToGroupReq proto.InternalMessageInfo - -func (m *InviteUserToGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -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) GetInvitedUserIDList() []string { - if m != nil { - return m.InvitedUserIDList - } - return nil -} - -func (m *InviteUserToGroupReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type InviteUserToGroupResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - Id2ResultList []*Id2Result `protobuf:"bytes,3,rep,name=Id2ResultList" json:"Id2ResultList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{30} -} -func (m *InviteUserToGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InviteUserToGroupResp.Unmarshal(m, b) -} -func (m *InviteUserToGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InviteUserToGroupResp.Marshal(b, m, deterministic) -} -func (dst *InviteUserToGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_InviteUserToGroupResp.Merge(dst, src) -} -func (m *InviteUserToGroupResp) XXX_Size() int { - return xxx_messageInfo_InviteUserToGroupResp.Size(m) -} -func (m *InviteUserToGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_InviteUserToGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_InviteUserToGroupResp proto.InternalMessageInfo - -func (m *InviteUserToGroupResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *InviteUserToGroupResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *InviteUserToGroupResp) GetId2ResultList() []*Id2Result { - if m != nil { - return m.Id2ResultList - } - return nil -} - -type InviteUserToGroupsReq struct { - OperationID string `protobuf:"bytes,1,opt,name=OperationID" json:"OperationID,omitempty"` - GroupIDList []string `protobuf:"bytes,2,rep,name=groupIDList" json:"groupIDList,omitempty"` - Reason string `protobuf:"bytes,3,opt,name=Reason" json:"Reason,omitempty"` - InvitedUserID string `protobuf:"bytes,4,opt,name=invitedUserID" json:"invitedUserID,omitempty"` - OpUserID string `protobuf:"bytes,5,opt,name=OpUserID" json:"OpUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InviteUserToGroupsReq) Reset() { *m = InviteUserToGroupsReq{} } -func (m *InviteUserToGroupsReq) String() string { return proto.CompactTextString(m) } -func (*InviteUserToGroupsReq) ProtoMessage() {} -func (*InviteUserToGroupsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{31} -} -func (m *InviteUserToGroupsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InviteUserToGroupsReq.Unmarshal(m, b) -} -func (m *InviteUserToGroupsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InviteUserToGroupsReq.Marshal(b, m, deterministic) -} -func (dst *InviteUserToGroupsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_InviteUserToGroupsReq.Merge(dst, src) -} -func (m *InviteUserToGroupsReq) XXX_Size() int { - return xxx_messageInfo_InviteUserToGroupsReq.Size(m) -} -func (m *InviteUserToGroupsReq) XXX_DiscardUnknown() { - xxx_messageInfo_InviteUserToGroupsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_InviteUserToGroupsReq proto.InternalMessageInfo - -func (m *InviteUserToGroupsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *InviteUserToGroupsReq) GetGroupIDList() []string { - if m != nil { - return m.GroupIDList - } - return nil -} - -func (m *InviteUserToGroupsReq) GetReason() string { - if m != nil { - return m.Reason - } - return "" -} - -func (m *InviteUserToGroupsReq) GetInvitedUserID() string { - if m != nil { - return m.InvitedUserID - } - return "" -} - -func (m *InviteUserToGroupsReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type InviteUserToGroupsResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InviteUserToGroupsResp) Reset() { *m = InviteUserToGroupsResp{} } -func (m *InviteUserToGroupsResp) String() string { return proto.CompactTextString(m) } -func (*InviteUserToGroupsResp) ProtoMessage() {} -func (*InviteUserToGroupsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{32} -} -func (m *InviteUserToGroupsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InviteUserToGroupsResp.Unmarshal(m, b) -} -func (m *InviteUserToGroupsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InviteUserToGroupsResp.Marshal(b, m, deterministic) -} -func (dst *InviteUserToGroupsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_InviteUserToGroupsResp.Merge(dst, src) -} -func (m *InviteUserToGroupsResp) XXX_Size() int { - return xxx_messageInfo_InviteUserToGroupsResp.Size(m) -} -func (m *InviteUserToGroupsResp) XXX_DiscardUnknown() { - xxx_messageInfo_InviteUserToGroupsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_InviteUserToGroupsResp proto.InternalMessageInfo - -func (m *InviteUserToGroupsResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *InviteUserToGroupsResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -type GetGroupAllMemberReq struct { - GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"` - Offset int32 `protobuf:"varint,4,opt,name=Offset" json:"Offset,omitempty"` - Count int32 `protobuf:"varint,5,opt,name=Count" json:"Count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{33} -} -func (m *GetGroupAllMemberReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupAllMemberReq.Unmarshal(m, b) -} -func (m *GetGroupAllMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupAllMemberReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupAllMemberReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupAllMemberReq.Merge(dst, src) -} -func (m *GetGroupAllMemberReq) XXX_Size() int { - return xxx_messageInfo_GetGroupAllMemberReq.Size(m) -} -func (m *GetGroupAllMemberReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupAllMemberReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupAllMemberReq proto.InternalMessageInfo - -func (m *GetGroupAllMemberReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *GetGroupAllMemberReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *GetGroupAllMemberReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetGroupAllMemberReq) GetOffset() int32 { - if m != nil { - return m.Offset - } - return 0 -} - -func (m *GetGroupAllMemberReq) GetCount() int32 { - if m != nil { - return m.Count - } - return 0 -} - -type GetGroupAllMemberResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` - MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList" json:"memberList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{34} -} -func (m *GetGroupAllMemberResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupAllMemberResp.Unmarshal(m, b) -} -func (m *GetGroupAllMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupAllMemberResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupAllMemberResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupAllMemberResp.Merge(dst, src) -} -func (m *GetGroupAllMemberResp) XXX_Size() int { - return xxx_messageInfo_GetGroupAllMemberResp.Size(m) -} -func (m *GetGroupAllMemberResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupAllMemberResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupAllMemberResp proto.InternalMessageInfo - -func (m *GetGroupAllMemberResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *GetGroupAllMemberResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *GetGroupAllMemberResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo { - if m != nil { - return m.MemberList - } - return nil -} - -type CMSGroup struct { - GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,1,opt,name=GroupInfo" json:"GroupInfo,omitempty"` - GroupOwnerUserName string `protobuf:"bytes,2,opt,name=GroupOwnerUserName" json:"GroupOwnerUserName,omitempty"` - GroupOwnerUserID string `protobuf:"bytes,3,opt,name=GroupOwnerUserID" json:"GroupOwnerUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{35} -} -func (m *CMSGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CMSGroup.Unmarshal(m, b) -} -func (m *CMSGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CMSGroup.Marshal(b, m, deterministic) -} -func (dst *CMSGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_CMSGroup.Merge(dst, src) -} -func (m *CMSGroup) XXX_Size() int { - return xxx_messageInfo_CMSGroup.Size(m) -} -func (m *CMSGroup) XXX_DiscardUnknown() { - xxx_messageInfo_CMSGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_CMSGroup proto.InternalMessageInfo - -func (m *CMSGroup) GetGroupInfo() *sdk_ws.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 *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=Pagination" json:"Pagination,omitempty"` - GroupName string `protobuf:"bytes,2,opt,name=GroupName" json:"GroupName,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=GroupID" json:"GroupID,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{36} -} -func (m *GetGroupsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupsReq.Unmarshal(m, b) -} -func (m *GetGroupsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupsReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupsReq.Merge(dst, src) -} -func (m *GetGroupsReq) XXX_Size() int { - return xxx_messageInfo_GetGroupsReq.Size(m) -} -func (m *GetGroupsReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupsReq proto.InternalMessageInfo - -func (m *GetGroupsReq) GetPagination() *sdk_ws.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 "" -} - -func (m *GetGroupsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetGroupsResp struct { - CMSGroups []*CMSGroup `protobuf:"bytes,1,rep,name=CMSGroups" json:"CMSGroups,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=Pagination" json:"Pagination,omitempty"` - GroupNum int32 `protobuf:"varint,3,opt,name=GroupNum" json:"GroupNum,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{37} -} -func (m *GetGroupsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupsResp.Unmarshal(m, b) -} -func (m *GetGroupsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupsResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupsResp.Merge(dst, src) -} -func (m *GetGroupsResp) XXX_Size() int { - return xxx_messageInfo_GetGroupsResp.Size(m) -} -func (m *GetGroupsResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupsResp proto.InternalMessageInfo - -func (m *GetGroupsResp) GetCMSGroups() []*CMSGroup { - if m != nil { - return m.CMSGroups - } - return nil -} - -func (m *GetGroupsResp) GetPagination() *sdk_ws.ResponsePagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetGroupsResp) GetGroupNum() int32 { - if m != nil { - return m.GroupNum - } - return 0 -} - -func (m *GetGroupsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetGroupMemberReq struct { - GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{38} -} -func (m *GetGroupMemberReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupMemberReq.Unmarshal(m, b) -} -func (m *GetGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupMemberReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupMemberReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupMemberReq.Merge(dst, src) -} -func (m *GetGroupMemberReq) XXX_Size() int { - return xxx_messageInfo_GetGroupMemberReq.Size(m) -} -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 "" -} - -func (m *GetGroupMemberReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetGroupMembersCMSReq struct { - GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=UserName" json:"UserName,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,3,opt,name=Pagination" json:"Pagination,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=OperationID" json:"OperationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{39} -} -func (m *GetGroupMembersCMSReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupMembersCMSReq.Unmarshal(m, b) -} -func (m *GetGroupMembersCMSReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupMembersCMSReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupMembersCMSReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupMembersCMSReq.Merge(dst, src) -} -func (m *GetGroupMembersCMSReq) XXX_Size() int { - return xxx_messageInfo_GetGroupMembersCMSReq.Size(m) -} -func (m *GetGroupMembersCMSReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupMembersCMSReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupMembersCMSReq proto.InternalMessageInfo - -func (m *GetGroupMembersCMSReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *GetGroupMembersCMSReq) GetUserName() string { - if m != nil { - return m.UserName - } - return "" -} - -func (m *GetGroupMembersCMSReq) GetPagination() *sdk_ws.RequestPagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetGroupMembersCMSReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetGroupMembersCMSResp struct { - Members []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members" json:"members,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=Pagination" json:"Pagination,omitempty"` - MemberNums int32 `protobuf:"varint,3,opt,name=MemberNums" json:"MemberNums,omitempty"` - CommonResp *CommonResp `protobuf:"bytes,4,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{40} -} -func (m *GetGroupMembersCMSResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupMembersCMSResp.Unmarshal(m, b) -} -func (m *GetGroupMembersCMSResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupMembersCMSResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupMembersCMSResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupMembersCMSResp.Merge(dst, src) -} -func (m *GetGroupMembersCMSResp) XXX_Size() int { - return xxx_messageInfo_GetGroupMembersCMSResp.Size(m) -} -func (m *GetGroupMembersCMSResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupMembersCMSResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupMembersCMSResp proto.InternalMessageInfo - -func (m *GetGroupMembersCMSResp) GetMembers() []*sdk_ws.GroupMemberFullInfo { - if m != nil { - return m.Members - } - return nil -} - -func (m *GetGroupMembersCMSResp) GetPagination() *sdk_ws.ResponsePagination { - if m != nil { - return m.Pagination - } - return nil -} - -func (m *GetGroupMembersCMSResp) GetMemberNums() int32 { - if m != nil { - return m.MemberNums - } - return 0 -} - -func (m *GetGroupMembersCMSResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type DismissGroupReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=groupID" json:"groupID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{41} -} -func (m *DismissGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismissGroupReq.Unmarshal(m, b) -} -func (m *DismissGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismissGroupReq.Marshal(b, m, deterministic) -} -func (dst *DismissGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissGroupReq.Merge(dst, src) -} -func (m *DismissGroupReq) XXX_Size() int { - return xxx_messageInfo_DismissGroupReq.Size(m) -} -func (m *DismissGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_DismissGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_DismissGroupReq proto.InternalMessageInfo - -func (m *DismissGroupReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *DismissGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *DismissGroupReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -type DismissGroupResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{42} -} -func (m *DismissGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DismissGroupResp.Unmarshal(m, b) -} -func (m *DismissGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DismissGroupResp.Marshal(b, m, deterministic) -} -func (dst *DismissGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissGroupResp.Merge(dst, src) -} -func (m *DismissGroupResp) XXX_Size() int { - return xxx_messageInfo_DismissGroupResp.Size(m) -} -func (m *DismissGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_DismissGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_DismissGroupResp proto.InternalMessageInfo - -func (m *DismissGroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type MuteGroupMemberReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=groupID" json:"groupID,omitempty"` - UserID string `protobuf:"bytes,4,opt,name=userID" json:"userID,omitempty"` - MutedSeconds uint32 `protobuf:"varint,5,opt,name=mutedSeconds" json:"mutedSeconds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{43} -} -func (m *MuteGroupMemberReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MuteGroupMemberReq.Unmarshal(m, b) -} -func (m *MuteGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MuteGroupMemberReq.Marshal(b, m, deterministic) -} -func (dst *MuteGroupMemberReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_MuteGroupMemberReq.Merge(dst, src) -} -func (m *MuteGroupMemberReq) XXX_Size() int { - return xxx_messageInfo_MuteGroupMemberReq.Size(m) -} -func (m *MuteGroupMemberReq) XXX_DiscardUnknown() { - xxx_messageInfo_MuteGroupMemberReq.DiscardUnknown(m) -} - -var xxx_messageInfo_MuteGroupMemberReq proto.InternalMessageInfo - -func (m *MuteGroupMemberReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *MuteGroupMemberReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -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 { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{44} -} -func (m *MuteGroupMemberResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MuteGroupMemberResp.Unmarshal(m, b) -} -func (m *MuteGroupMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MuteGroupMemberResp.Marshal(b, m, deterministic) -} -func (dst *MuteGroupMemberResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_MuteGroupMemberResp.Merge(dst, src) -} -func (m *MuteGroupMemberResp) XXX_Size() int { - return xxx_messageInfo_MuteGroupMemberResp.Size(m) -} -func (m *MuteGroupMemberResp) XXX_DiscardUnknown() { - xxx_messageInfo_MuteGroupMemberResp.DiscardUnknown(m) -} - -var xxx_messageInfo_MuteGroupMemberResp proto.InternalMessageInfo - -func (m *MuteGroupMemberResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type CancelMuteGroupMemberReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=groupID" json:"groupID,omitempty"` - UserID string `protobuf:"bytes,4,opt,name=userID" json:"userID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{45} -} -func (m *CancelMuteGroupMemberReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelMuteGroupMemberReq.Unmarshal(m, b) -} -func (m *CancelMuteGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelMuteGroupMemberReq.Marshal(b, m, deterministic) -} -func (dst *CancelMuteGroupMemberReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelMuteGroupMemberReq.Merge(dst, src) -} -func (m *CancelMuteGroupMemberReq) XXX_Size() int { - return xxx_messageInfo_CancelMuteGroupMemberReq.Size(m) -} -func (m *CancelMuteGroupMemberReq) XXX_DiscardUnknown() { - xxx_messageInfo_CancelMuteGroupMemberReq.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelMuteGroupMemberReq proto.InternalMessageInfo - -func (m *CancelMuteGroupMemberReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *CancelMuteGroupMemberReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -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 { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{46} -} -func (m *CancelMuteGroupMemberResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelMuteGroupMemberResp.Unmarshal(m, b) -} -func (m *CancelMuteGroupMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelMuteGroupMemberResp.Marshal(b, m, deterministic) -} -func (dst *CancelMuteGroupMemberResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelMuteGroupMemberResp.Merge(dst, src) -} -func (m *CancelMuteGroupMemberResp) XXX_Size() int { - return xxx_messageInfo_CancelMuteGroupMemberResp.Size(m) -} -func (m *CancelMuteGroupMemberResp) XXX_DiscardUnknown() { - xxx_messageInfo_CancelMuteGroupMemberResp.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelMuteGroupMemberResp proto.InternalMessageInfo - -func (m *CancelMuteGroupMemberResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type MuteGroupReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=groupID" json:"groupID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{47} -} -func (m *MuteGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MuteGroupReq.Unmarshal(m, b) -} -func (m *MuteGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MuteGroupReq.Marshal(b, m, deterministic) -} -func (dst *MuteGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_MuteGroupReq.Merge(dst, src) -} -func (m *MuteGroupReq) XXX_Size() int { - return xxx_messageInfo_MuteGroupReq.Size(m) -} -func (m *MuteGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_MuteGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_MuteGroupReq proto.InternalMessageInfo - -func (m *MuteGroupReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *MuteGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *MuteGroupReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -type MuteGroupResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{48} -} -func (m *MuteGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MuteGroupResp.Unmarshal(m, b) -} -func (m *MuteGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MuteGroupResp.Marshal(b, m, deterministic) -} -func (dst *MuteGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_MuteGroupResp.Merge(dst, src) -} -func (m *MuteGroupResp) XXX_Size() int { - return xxx_messageInfo_MuteGroupResp.Size(m) -} -func (m *MuteGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_MuteGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_MuteGroupResp proto.InternalMessageInfo - -func (m *MuteGroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type CancelMuteGroupReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=groupID" json:"groupID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{49} -} -func (m *CancelMuteGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelMuteGroupReq.Unmarshal(m, b) -} -func (m *CancelMuteGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelMuteGroupReq.Marshal(b, m, deterministic) -} -func (dst *CancelMuteGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelMuteGroupReq.Merge(dst, src) -} -func (m *CancelMuteGroupReq) XXX_Size() int { - return xxx_messageInfo_CancelMuteGroupReq.Size(m) -} -func (m *CancelMuteGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_CancelMuteGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelMuteGroupReq proto.InternalMessageInfo - -func (m *CancelMuteGroupReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *CancelMuteGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *CancelMuteGroupReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -type CancelMuteGroupResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{50} -} -func (m *CancelMuteGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelMuteGroupResp.Unmarshal(m, b) -} -func (m *CancelMuteGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelMuteGroupResp.Marshal(b, m, deterministic) -} -func (dst *CancelMuteGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelMuteGroupResp.Merge(dst, src) -} -func (m *CancelMuteGroupResp) XXX_Size() int { - return xxx_messageInfo_CancelMuteGroupResp.Size(m) -} -func (m *CancelMuteGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_CancelMuteGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelMuteGroupResp proto.InternalMessageInfo - -func (m *CancelMuteGroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type SetGroupMemberNicknameReq struct { - GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` - Nickname string `protobuf:"bytes,2,opt,name=nickname" json:"nickname,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"` - UserID string `protobuf:"bytes,5,opt,name=userID" json:"userID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SetGroupMemberNicknameReq) Reset() { *m = SetGroupMemberNicknameReq{} } -func (m *SetGroupMemberNicknameReq) String() string { return proto.CompactTextString(m) } -func (*SetGroupMemberNicknameReq) ProtoMessage() {} -func (*SetGroupMemberNicknameReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{51} -} -func (m *SetGroupMemberNicknameReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetGroupMemberNicknameReq.Unmarshal(m, b) -} -func (m *SetGroupMemberNicknameReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetGroupMemberNicknameReq.Marshal(b, m, deterministic) -} -func (dst *SetGroupMemberNicknameReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetGroupMemberNicknameReq.Merge(dst, src) -} -func (m *SetGroupMemberNicknameReq) XXX_Size() int { - return xxx_messageInfo_SetGroupMemberNicknameReq.Size(m) -} -func (m *SetGroupMemberNicknameReq) XXX_DiscardUnknown() { - xxx_messageInfo_SetGroupMemberNicknameReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SetGroupMemberNicknameReq proto.InternalMessageInfo - -func (m *SetGroupMemberNicknameReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *SetGroupMemberNicknameReq) GetNickname() string { - if m != nil { - return m.Nickname - } - return "" -} - -func (m *SetGroupMemberNicknameReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SetGroupMemberNicknameReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *SetGroupMemberNicknameReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -type SetGroupMemberNicknameResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SetGroupMemberNicknameResp) Reset() { *m = SetGroupMemberNicknameResp{} } -func (m *SetGroupMemberNicknameResp) String() string { return proto.CompactTextString(m) } -func (*SetGroupMemberNicknameResp) ProtoMessage() {} -func (*SetGroupMemberNicknameResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{52} -} -func (m *SetGroupMemberNicknameResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetGroupMemberNicknameResp.Unmarshal(m, b) -} -func (m *SetGroupMemberNicknameResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetGroupMemberNicknameResp.Marshal(b, m, deterministic) -} -func (dst *SetGroupMemberNicknameResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetGroupMemberNicknameResp.Merge(dst, src) -} -func (m *SetGroupMemberNicknameResp) XXX_Size() int { - return xxx_messageInfo_SetGroupMemberNicknameResp.Size(m) -} -func (m *SetGroupMemberNicknameResp) XXX_DiscardUnknown() { - xxx_messageInfo_SetGroupMemberNicknameResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SetGroupMemberNicknameResp proto.InternalMessageInfo - -func (m *SetGroupMemberNicknameResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetJoinedSuperGroupListReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{53} -} -func (m *GetJoinedSuperGroupListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetJoinedSuperGroupListReq.Unmarshal(m, b) -} -func (m *GetJoinedSuperGroupListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetJoinedSuperGroupListReq.Marshal(b, m, deterministic) -} -func (dst *GetJoinedSuperGroupListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJoinedSuperGroupListReq.Merge(dst, src) -} -func (m *GetJoinedSuperGroupListReq) XXX_Size() int { - return xxx_messageInfo_GetJoinedSuperGroupListReq.Size(m) -} -func (m *GetJoinedSuperGroupListReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetJoinedSuperGroupListReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetJoinedSuperGroupListReq proto.InternalMessageInfo - -func (m *GetJoinedSuperGroupListReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetJoinedSuperGroupListReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *GetJoinedSuperGroupListReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type GetJoinedSuperGroupListResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - GroupList []*sdk_ws.GroupInfo `protobuf:"bytes,3,rep,name=GroupList" json:"GroupList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{54} -} -func (m *GetJoinedSuperGroupListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetJoinedSuperGroupListResp.Unmarshal(m, b) -} -func (m *GetJoinedSuperGroupListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetJoinedSuperGroupListResp.Marshal(b, m, deterministic) -} -func (dst *GetJoinedSuperGroupListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJoinedSuperGroupListResp.Merge(dst, src) -} -func (m *GetJoinedSuperGroupListResp) XXX_Size() int { - return xxx_messageInfo_GetJoinedSuperGroupListResp.Size(m) -} -func (m *GetJoinedSuperGroupListResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetJoinedSuperGroupListResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetJoinedSuperGroupListResp proto.InternalMessageInfo - -func (m *GetJoinedSuperGroupListResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *GetJoinedSuperGroupListResp) GetGroupList() []*sdk_ws.GroupInfo { - if m != nil { - return m.GroupList - } - return nil -} - -type GetSuperGroupsInfoReq struct { - GroupIDList []string `protobuf:"bytes,1,rep,name=GroupIDList" json:"GroupIDList,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{55} -} -func (m *GetSuperGroupsInfoReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSuperGroupsInfoReq.Unmarshal(m, b) -} -func (m *GetSuperGroupsInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSuperGroupsInfoReq.Marshal(b, m, deterministic) -} -func (dst *GetSuperGroupsInfoReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSuperGroupsInfoReq.Merge(dst, src) -} -func (m *GetSuperGroupsInfoReq) XXX_Size() int { - return xxx_messageInfo_GetSuperGroupsInfoReq.Size(m) -} -func (m *GetSuperGroupsInfoReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetSuperGroupsInfoReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSuperGroupsInfoReq proto.InternalMessageInfo - -func (m *GetSuperGroupsInfoReq) GetGroupIDList() []string { - if m != nil { - return m.GroupIDList - } - return nil -} - -func (m *GetSuperGroupsInfoReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetSuperGroupsInfoReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type GetSuperGroupsInfoResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - GroupInfoList []*sdk_ws.GroupInfo `protobuf:"bytes,3,rep,name=GroupInfoList" json:"GroupInfoList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{56} -} -func (m *GetSuperGroupsInfoResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSuperGroupsInfoResp.Unmarshal(m, b) -} -func (m *GetSuperGroupsInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSuperGroupsInfoResp.Marshal(b, m, deterministic) -} -func (dst *GetSuperGroupsInfoResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSuperGroupsInfoResp.Merge(dst, src) -} -func (m *GetSuperGroupsInfoResp) XXX_Size() int { - return xxx_messageInfo_GetSuperGroupsInfoResp.Size(m) -} -func (m *GetSuperGroupsInfoResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetSuperGroupsInfoResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSuperGroupsInfoResp proto.InternalMessageInfo - -func (m *GetSuperGroupsInfoResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *GetSuperGroupsInfoResp) GetGroupInfoList() []*sdk_ws.GroupInfo { - if m != nil { - return m.GroupInfoList - } - return nil -} - -type SetGroupMemberInfoReq struct { - GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"` - Nickname *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=nickname" json:"nickname,omitempty"` - FaceURL *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=faceURL" json:"faceURL,omitempty"` - RoleLevel *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=roleLevel" json:"roleLevel,omitempty"` - Ex *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=ex" json:"ex,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{57} -} -func (m *SetGroupMemberInfoReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetGroupMemberInfoReq.Unmarshal(m, b) -} -func (m *SetGroupMemberInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetGroupMemberInfoReq.Marshal(b, m, deterministic) -} -func (dst *SetGroupMemberInfoReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetGroupMemberInfoReq.Merge(dst, src) -} -func (m *SetGroupMemberInfoReq) XXX_Size() int { - return xxx_messageInfo_SetGroupMemberInfoReq.Size(m) -} -func (m *SetGroupMemberInfoReq) XXX_DiscardUnknown() { - xxx_messageInfo_SetGroupMemberInfoReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SetGroupMemberInfoReq proto.InternalMessageInfo - -func (m *SetGroupMemberInfoReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *SetGroupMemberInfoReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *SetGroupMemberInfoReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SetGroupMemberInfoReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *SetGroupMemberInfoReq) GetNickname() *wrapperspb.StringValue { - if m != nil { - return m.Nickname - } - return nil -} - -func (m *SetGroupMemberInfoReq) GetFaceURL() *wrapperspb.StringValue { - if m != nil { - return m.FaceURL - } - return nil -} - -func (m *SetGroupMemberInfoReq) GetRoleLevel() *wrapperspb.Int32Value { - if m != nil { - return m.RoleLevel - } - return nil -} - -func (m *SetGroupMemberInfoReq) GetEx() *wrapperspb.StringValue { - if m != nil { - return m.Ex - } - return nil -} - -type SetGroupMemberInfoResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{58} -} -func (m *SetGroupMemberInfoResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetGroupMemberInfoResp.Unmarshal(m, b) -} -func (m *SetGroupMemberInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetGroupMemberInfoResp.Marshal(b, m, deterministic) -} -func (dst *SetGroupMemberInfoResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetGroupMemberInfoResp.Merge(dst, src) -} -func (m *SetGroupMemberInfoResp) XXX_Size() int { - return xxx_messageInfo_SetGroupMemberInfoResp.Size(m) -} -func (m *SetGroupMemberInfoResp) XXX_DiscardUnknown() { - xxx_messageInfo_SetGroupMemberInfoResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SetGroupMemberInfoResp proto.InternalMessageInfo - -func (m *SetGroupMemberInfoResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -type GetGroupAbstractInfoReq struct { - GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=opUserID" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{59} -} -func (m *GetGroupAbstractInfoReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupAbstractInfoReq.Unmarshal(m, b) -} -func (m *GetGroupAbstractInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupAbstractInfoReq.Marshal(b, m, deterministic) -} -func (dst *GetGroupAbstractInfoReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupAbstractInfoReq.Merge(dst, src) -} -func (m *GetGroupAbstractInfoReq) XXX_Size() int { - return xxx_messageInfo_GetGroupAbstractInfoReq.Size(m) -} -func (m *GetGroupAbstractInfoReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupAbstractInfoReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupAbstractInfoReq proto.InternalMessageInfo - -func (m *GetGroupAbstractInfoReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *GetGroupAbstractInfoReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *GetGroupAbstractInfoReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetGroupAbstractInfoResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - GroupMemberNumber int32 `protobuf:"varint,2,opt,name=groupMemberNumber" json:"groupMemberNumber,omitempty"` - GroupMemberListHash uint64 `protobuf:"varint,3,opt,name=groupMemberListHash" json:"groupMemberListHash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_group_e55c79105d50978e, []int{60} -} -func (m *GetGroupAbstractInfoResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupAbstractInfoResp.Unmarshal(m, b) -} -func (m *GetGroupAbstractInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupAbstractInfoResp.Marshal(b, m, deterministic) -} -func (dst *GetGroupAbstractInfoResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupAbstractInfoResp.Merge(dst, src) -} -func (m *GetGroupAbstractInfoResp) XXX_Size() int { - return xxx_messageInfo_GetGroupAbstractInfoResp.Size(m) -} -func (m *GetGroupAbstractInfoResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupAbstractInfoResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupAbstractInfoResp proto.InternalMessageInfo - -func (m *GetGroupAbstractInfoResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *GetGroupAbstractInfoResp) GetGroupMemberNumber() int32 { - if m != nil { - return m.GroupMemberNumber - } - return 0 -} - -func (m *GetGroupAbstractInfoResp) GetGroupMemberListHash() uint64 { - if m != nil { - return m.GroupMemberListHash - } - return 0 -} - -type GroupIsExistReq struct { - GroupIDList []string `protobuf:"bytes,1,rep,name=groupIDList" json:"groupIDList,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=opUserID" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupIsExistReq) Reset() { *m = GroupIsExistReq{} } -func (m *GroupIsExistReq) String() string { return proto.CompactTextString(m) } -func (*GroupIsExistReq) ProtoMessage() {} -func (*GroupIsExistReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{61} -} -func (m *GroupIsExistReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupIsExistReq.Unmarshal(m, b) -} -func (m *GroupIsExistReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupIsExistReq.Marshal(b, m, deterministic) -} -func (dst *GroupIsExistReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupIsExistReq.Merge(dst, src) -} -func (m *GroupIsExistReq) XXX_Size() int { - return xxx_messageInfo_GroupIsExistReq.Size(m) -} -func (m *GroupIsExistReq) XXX_DiscardUnknown() { - xxx_messageInfo_GroupIsExistReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupIsExistReq proto.InternalMessageInfo - -func (m *GroupIsExistReq) GetGroupIDList() []string { - if m != nil { - return m.GroupIDList - } - return nil -} - -func (m *GroupIsExistReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *GroupIsExistReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GroupIsExistResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - IsExistMap map[string]bool `protobuf:"bytes,2,rep,name=IsExistMap" json:"IsExistMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupIsExistResp) Reset() { *m = GroupIsExistResp{} } -func (m *GroupIsExistResp) String() string { return proto.CompactTextString(m) } -func (*GroupIsExistResp) ProtoMessage() {} -func (*GroupIsExistResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{62} -} -func (m *GroupIsExistResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupIsExistResp.Unmarshal(m, b) -} -func (m *GroupIsExistResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupIsExistResp.Marshal(b, m, deterministic) -} -func (dst *GroupIsExistResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupIsExistResp.Merge(dst, src) -} -func (m *GroupIsExistResp) XXX_Size() int { - return xxx_messageInfo_GroupIsExistResp.Size(m) -} -func (m *GroupIsExistResp) XXX_DiscardUnknown() { - xxx_messageInfo_GroupIsExistResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupIsExistResp proto.InternalMessageInfo - -func (m *GroupIsExistResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *GroupIsExistResp) GetIsExistMap() map[string]bool { - if m != nil { - return m.IsExistMap - } - return nil -} - -type UserIsInGroupReq struct { - GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` - UserIDList []string `protobuf:"bytes,2,rep,name=userIDList" json:"userIDList,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserIsInGroupReq) Reset() { *m = UserIsInGroupReq{} } -func (m *UserIsInGroupReq) String() string { return proto.CompactTextString(m) } -func (*UserIsInGroupReq) ProtoMessage() {} -func (*UserIsInGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{63} -} -func (m *UserIsInGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserIsInGroupReq.Unmarshal(m, b) -} -func (m *UserIsInGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserIsInGroupReq.Marshal(b, m, deterministic) -} -func (dst *UserIsInGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserIsInGroupReq.Merge(dst, src) -} -func (m *UserIsInGroupReq) XXX_Size() int { - return xxx_messageInfo_UserIsInGroupReq.Size(m) -} -func (m *UserIsInGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_UserIsInGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_UserIsInGroupReq proto.InternalMessageInfo - -func (m *UserIsInGroupReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *UserIsInGroupReq) GetUserIDList() []string { - if m != nil { - return m.UserIDList - } - return nil -} - -func (m *UserIsInGroupReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type UserIsInGroupResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - IsExistMap map[string]bool `protobuf:"bytes,2,rep,name=IsExistMap" json:"IsExistMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserIsInGroupResp) Reset() { *m = UserIsInGroupResp{} } -func (m *UserIsInGroupResp) String() string { return proto.CompactTextString(m) } -func (*UserIsInGroupResp) ProtoMessage() {} -func (*UserIsInGroupResp) Descriptor() ([]byte, []int) { - return fileDescriptor_group_e55c79105d50978e, []int{64} -} -func (m *UserIsInGroupResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserIsInGroupResp.Unmarshal(m, b) -} -func (m *UserIsInGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserIsInGroupResp.Marshal(b, m, deterministic) -} -func (dst *UserIsInGroupResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserIsInGroupResp.Merge(dst, src) -} -func (m *UserIsInGroupResp) XXX_Size() int { - return xxx_messageInfo_UserIsInGroupResp.Size(m) -} -func (m *UserIsInGroupResp) XXX_DiscardUnknown() { - xxx_messageInfo_UserIsInGroupResp.DiscardUnknown(m) -} - -var xxx_messageInfo_UserIsInGroupResp proto.InternalMessageInfo - -func (m *UserIsInGroupResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *UserIsInGroupResp) GetIsExistMap() map[string]bool { - if m != nil { - return m.IsExistMap - } - return nil -} - -func init() { - proto.RegisterType((*CommonResp)(nil), "group.CommonResp") - proto.RegisterType((*GroupAddMemberInfo)(nil), "group.GroupAddMemberInfo") - proto.RegisterType((*CreateGroupReq)(nil), "group.CreateGroupReq") - proto.RegisterType((*CreateGroupResp)(nil), "group.CreateGroupResp") - proto.RegisterType((*GetGroupsInfoReq)(nil), "group.GetGroupsInfoReq") - proto.RegisterType((*GetGroupsInfoResp)(nil), "group.GetGroupsInfoResp") - proto.RegisterType((*SetGroupInfoReq)(nil), "group.SetGroupInfoReq") - proto.RegisterType((*SetGroupInfoResp)(nil), "group.SetGroupInfoResp") - proto.RegisterType((*GetGroupApplicationListReq)(nil), "group.GetGroupApplicationListReq") - proto.RegisterType((*GetGroupApplicationListResp)(nil), "group.GetGroupApplicationListResp") - proto.RegisterType((*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((*Id2Result)(nil), "group.Id2Result") - proto.RegisterType((*KickGroupMemberResp)(nil), "group.KickGroupMemberResp") - proto.RegisterType((*GetJoinedGroupListReq)(nil), "group.GetJoinedGroupListReq") - proto.RegisterType((*GetJoinedGroupListResp)(nil), "group.GetJoinedGroupListResp") - proto.RegisterType((*InviteUserToGroupReq)(nil), "group.InviteUserToGroupReq") - proto.RegisterType((*InviteUserToGroupResp)(nil), "group.InviteUserToGroupResp") - proto.RegisterType((*InviteUserToGroupsReq)(nil), "group.InviteUserToGroupsReq") - proto.RegisterType((*InviteUserToGroupsResp)(nil), "group.InviteUserToGroupsResp") - 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((*SetGroupMemberNicknameReq)(nil), "group.SetGroupMemberNicknameReq") - proto.RegisterType((*SetGroupMemberNicknameResp)(nil), "group.SetGroupMemberNicknameResp") - 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((*SetGroupMemberInfoReq)(nil), "group.SetGroupMemberInfoReq") - proto.RegisterType((*SetGroupMemberInfoResp)(nil), "group.SetGroupMemberInfoResp") - proto.RegisterType((*GetGroupAbstractInfoReq)(nil), "group.GetGroupAbstractInfoReq") - proto.RegisterType((*GetGroupAbstractInfoResp)(nil), "group.GetGroupAbstractInfoResp") - proto.RegisterType((*GroupIsExistReq)(nil), "group.GroupIsExistReq") - proto.RegisterType((*GroupIsExistResp)(nil), "group.GroupIsExistResp") - proto.RegisterMapType((map[string]bool)(nil), "group.GroupIsExistResp.IsExistMapEntry") - proto.RegisterType((*UserIsInGroupReq)(nil), "group.UserIsInGroupReq") - proto.RegisterType((*UserIsInGroupResp)(nil), "group.UserIsInGroupResp") - proto.RegisterMapType((map[string]bool)(nil), "group.UserIsInGroupResp.IsExistMapEntry") -} - -// 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 - -// Client API for Group service - -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) - InviteUserToGroups(ctx context.Context, in *InviteUserToGroupsReq, opts ...grpc.CallOption) (*InviteUserToGroupsResp, error) - GetGroupAllMember(ctx context.Context, in *GetGroupAllMemberReq, opts ...grpc.CallOption) (*GetGroupAllMemberResp, 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) - SetGroupMemberNickname(ctx context.Context, in *SetGroupMemberNicknameReq, opts ...grpc.CallOption) (*SetGroupMemberNicknameResp, 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) - GetGroupAbstractInfo(ctx context.Context, in *GetGroupAbstractInfoReq, opts ...grpc.CallOption) (*GetGroupAbstractInfoResp, error) - GroupIsExist(ctx context.Context, in *GroupIsExistReq, opts ...grpc.CallOption) (*GroupIsExistResp, error) - UserIsInGroup(ctx context.Context, in *UserIsInGroupReq, opts ...grpc.CallOption) (*UserIsInGroupResp, 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 := grpc.Invoke(ctx, "/group.group/createGroup", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/joinGroup", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/quitGroup", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/getGroupsInfo", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/setGroupInfo", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/getGroupApplicationList", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/getUserReqApplicationList", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/transferGroupOwner", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/groupApplicationResponse", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/getGroupMemberList", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/getGroupMembersInfo", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/kickGroupMember", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/getJoinedGroupList", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/inviteUserToGroup", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupClient) InviteUserToGroups(ctx context.Context, in *InviteUserToGroupsReq, opts ...grpc.CallOption) (*InviteUserToGroupsResp, error) { - out := new(InviteUserToGroupsResp) - err := grpc.Invoke(ctx, "/group.group/inviteUserToGroups", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupClient) GetGroupAllMember(ctx context.Context, in *GetGroupAllMemberReq, opts ...grpc.CallOption) (*GetGroupAllMemberResp, error) { - out := new(GetGroupAllMemberResp) - err := grpc.Invoke(ctx, "/group.group/getGroupAllMember", in, out, c.cc, opts...) - 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 := grpc.Invoke(ctx, "/group.group/GetGroups", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/GetGroupMembersCMS", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/DismissGroup", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/MuteGroupMember", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/CancelMuteGroupMember", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/MuteGroup", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/CancelMuteGroup", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupClient) SetGroupMemberNickname(ctx context.Context, in *SetGroupMemberNicknameReq, opts ...grpc.CallOption) (*SetGroupMemberNicknameResp, error) { - out := new(SetGroupMemberNicknameResp) - err := grpc.Invoke(ctx, "/group.group/SetGroupMemberNickname", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/GetJoinedSuperGroupList", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/GetSuperGroupsInfo", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/SetGroupMemberInfo", in, out, c.cc, 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 := grpc.Invoke(ctx, "/group.group/GetGroupAbstractInfo", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupClient) GroupIsExist(ctx context.Context, in *GroupIsExistReq, opts ...grpc.CallOption) (*GroupIsExistResp, error) { - out := new(GroupIsExistResp) - err := grpc.Invoke(ctx, "/group.group/GroupIsExist", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupClient) UserIsInGroup(ctx context.Context, in *UserIsInGroupReq, opts ...grpc.CallOption) (*UserIsInGroupResp, error) { - out := new(UserIsInGroupResp) - err := grpc.Invoke(ctx, "/group.group/UserIsInGroup", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// 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) - InviteUserToGroups(context.Context, *InviteUserToGroupsReq) (*InviteUserToGroupsResp, error) - GetGroupAllMember(context.Context, *GetGroupAllMemberReq) (*GetGroupAllMemberResp, 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) - SetGroupMemberNickname(context.Context, *SetGroupMemberNicknameReq) (*SetGroupMemberNicknameResp, error) - GetJoinedSuperGroupList(context.Context, *GetJoinedSuperGroupListReq) (*GetJoinedSuperGroupListResp, error) - GetSuperGroupsInfo(context.Context, *GetSuperGroupsInfoReq) (*GetSuperGroupsInfoResp, error) - SetGroupMemberInfo(context.Context, *SetGroupMemberInfoReq) (*SetGroupMemberInfoResp, error) - GetGroupAbstractInfo(context.Context, *GetGroupAbstractInfoReq) (*GetGroupAbstractInfoResp, error) - GroupIsExist(context.Context, *GroupIsExistReq) (*GroupIsExistResp, error) - UserIsInGroup(context.Context, *UserIsInGroupReq) (*UserIsInGroupResp, error) -} - -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_InviteUserToGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InviteUserToGroupsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServer).InviteUserToGroups(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/group.group/InviteUserToGroups", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).InviteUserToGroups(ctx, req.(*InviteUserToGroupsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Group_GetGroupAllMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGroupAllMemberReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServer).GetGroupAllMember(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/group.group/GetGroupAllMember", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).GetGroupAllMember(ctx, req.(*GetGroupAllMemberReq)) - } - 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_SetGroupMemberNickname_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetGroupMemberNicknameReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServer).SetGroupMemberNickname(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/group.group/SetGroupMemberNickname", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).SetGroupMemberNickname(ctx, req.(*SetGroupMemberNicknameReq)) - } - 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_GroupIsExist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GroupIsExistReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServer).GroupIsExist(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/group.group/GroupIsExist", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).GroupIsExist(ctx, req.(*GroupIsExistReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Group_UserIsInGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserIsInGroupReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServer).UserIsInGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/group.group/UserIsInGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).UserIsInGroup(ctx, req.(*UserIsInGroupReq)) - } - 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: "inviteUserToGroups", - Handler: _Group_InviteUserToGroups_Handler, - }, - { - MethodName: "getGroupAllMember", - Handler: _Group_GetGroupAllMember_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: "SetGroupMemberNickname", - Handler: _Group_SetGroupMemberNickname_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: "GroupIsExist", - Handler: _Group_GroupIsExist_Handler, - }, - { - MethodName: "UserIsInGroup", - Handler: _Group_UserIsInGroup_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "group/group.proto", -} - -func init() { proto.RegisterFile("group/group.proto", fileDescriptor_group_e55c79105d50978e) } - -var fileDescriptor_group_e55c79105d50978e = []byte{ - // 2425 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x1a, 0x4d, 0x6f, 0x1c, 0x49, - 0x55, 0x3d, 0xe3, 0x89, 0xed, 0x67, 0x4f, 0xc6, 0x2e, 0xc7, 0xce, 0xa4, 0xe3, 0x38, 0xde, 0xde, - 0xb0, 0x58, 0x28, 0xb1, 0xc1, 0x2b, 0x45, 0xcb, 0x2e, 0xb0, 0xc4, 0x5f, 0xf1, 0x24, 0xb1, 0x8d, - 0x7b, 0xb2, 0x20, 0xad, 0x84, 0x42, 0x7b, 0xa6, 0xdc, 0x3b, 0x78, 0xa6, 0xbb, 0xdd, 0xd5, 0x13, - 0x67, 0xb9, 0xac, 0xb8, 0x20, 0x81, 0x90, 0x10, 0xe2, 0xba, 0x08, 0xc1, 0x05, 0x84, 0x60, 0xc5, - 0x01, 0xce, 0xfc, 0x01, 0x10, 0x17, 0x2e, 0x5c, 0xf9, 0x03, 0x5c, 0xf8, 0x01, 0xab, 0xae, 0xaa, - 0xae, 0xae, 0xee, 0xea, 0xee, 0x99, 0x6d, 0x6f, 0x36, 0x97, 0xd1, 0xd4, 0xab, 0x57, 0x55, 0xef, - 0xbd, 0x7a, 0xef, 0xd5, 0xfb, 0x68, 0x98, 0xb7, 0x7d, 0x77, 0xe8, 0x6d, 0xd0, 0xdf, 0x75, 0xcf, - 0x77, 0x03, 0x17, 0xd5, 0xe8, 0x40, 0x5f, 0x3b, 0xf2, 0xb0, 0x73, 0xaf, 0x75, 0x70, 0xaf, 0x8d, - 0xfd, 0xe7, 0xd8, 0xdf, 0xf0, 0xce, 0xec, 0x0d, 0x8a, 0xb0, 0x41, 0xba, 0x67, 0xcf, 0x2e, 0xc8, - 0xc6, 0x05, 0x61, 0x0b, 0xf4, 0xf5, 0x91, 0x98, 0xbe, 0xe5, 0x79, 0xd8, 0xe7, 0xf8, 0xc6, 0xb7, - 0x00, 0xb6, 0xdd, 0xc1, 0xc0, 0x75, 0x4c, 0x4c, 0x3c, 0xd4, 0x84, 0xc9, 0x5d, 0xdf, 0xdf, 0x76, - 0xbb, 0xb8, 0xa9, 0xad, 0x6a, 0x6b, 0x35, 0x33, 0x1a, 0xa2, 0x25, 0xb8, 0xb2, 0xeb, 0xfb, 0x07, - 0xc4, 0x6e, 0x56, 0x56, 0xb5, 0xb5, 0x69, 0x93, 0x8f, 0x8c, 0x47, 0x80, 0x1e, 0x86, 0x24, 0x3e, - 0xe8, 0x76, 0x0f, 0xf0, 0xe0, 0x04, 0xfb, 0x2d, 0xe7, 0xd4, 0x0d, 0xb1, 0xdf, 0x23, 0xd8, 0x6f, - 0xed, 0xd0, 0x6d, 0xa6, 0x4d, 0x3e, 0x42, 0xcb, 0x30, 0x6d, 0xba, 0x7d, 0xfc, 0x04, 0x3f, 0xc7, - 0x7d, 0xba, 0x51, 0xcd, 0x8c, 0x01, 0xc6, 0xff, 0x34, 0xb8, 0xba, 0xed, 0x63, 0x2b, 0xc0, 0x74, - 0x4b, 0x13, 0x9f, 0xa3, 0x07, 0x70, 0xb5, 0xe5, 0xf4, 0x02, 0xb6, 0xf5, 0x93, 0x1e, 0x09, 0x9a, - 0xda, 0x6a, 0x75, 0x6d, 0x66, 0xf3, 0xc6, 0x3a, 0x93, 0x92, 0x7a, 0xb6, 0x99, 0x5a, 0x80, 0xde, - 0x86, 0x69, 0x8a, 0x15, 0x4e, 0xd2, 0x33, 0x67, 0x36, 0x97, 0xd7, 0x09, 0x95, 0xce, 0x33, 0xcb, - 0xeb, 0x3d, 0xf3, 0x2c, 0xdf, 0x1a, 0x90, 0x75, 0x81, 0x63, 0xc6, 0xe8, 0x68, 0x15, 0x66, 0x8e, - 0x3c, 0xec, 0x5b, 0x41, 0xcf, 0x75, 0x5a, 0x3b, 0xcd, 0x2a, 0x65, 0x46, 0x06, 0x21, 0x1d, 0xa6, - 0x8e, 0x3c, 0xce, 0xeb, 0x04, 0x9d, 0x16, 0x63, 0xba, 0xfa, 0xc2, 0xc1, 0x3e, 0x9f, 0xae, 0xf1, - 0xd5, 0x31, 0xc8, 0xf8, 0x08, 0x1a, 0x09, 0x86, 0xcb, 0x5c, 0x41, 0x92, 0xc1, 0xea, 0x67, 0x62, - 0xd0, 0xf0, 0x61, 0xee, 0x21, 0x0e, 0xe8, 0x98, 0xd0, 0x39, 0x7c, 0x1e, 0x92, 0xcd, 0x10, 0x76, - 0x84, 0xc0, 0xa7, 0x4d, 0x19, 0x94, 0x16, 0x4b, 0xa5, 0x58, 0x2c, 0xd5, 0xa4, 0x58, 0x8c, 0x9f, - 0x6a, 0x30, 0x9f, 0x3a, 0xb4, 0x14, 0xdf, 0x5b, 0x50, 0x17, 0x8c, 0x50, 0x4a, 0xab, 0x54, 0x35, - 0x8a, 0x79, 0x4f, 0x2e, 0x31, 0x7e, 0xad, 0x41, 0xa3, 0xcd, 0x69, 0x89, 0xf8, 0x7f, 0x02, 0x0d, - 0x3b, 0x1a, 0xef, 0xb9, 0x7e, 0x1b, 0x07, 0x94, 0xa2, 0x99, 0x4d, 0xa3, 0x68, 0x67, 0x86, 0x69, - 0xa6, 0x97, 0x26, 0x24, 0x51, 0xc9, 0x50, 0x90, 0x42, 0xf5, 0x32, 0x76, 0x61, 0x2e, 0x49, 0x1e, - 0xf1, 0xd0, 0xd7, 0x64, 0x93, 0xe5, 0xa4, 0xcd, 0x73, 0x7b, 0x88, 0x27, 0x4c, 0x09, 0xc9, 0xf8, - 0x11, 0xe8, 0x91, 0xc4, 0x1f, 0x78, 0x5e, 0xbf, 0xd7, 0xa1, 0xfb, 0x87, 0x12, 0x08, 0x19, 0x96, - 0x49, 0xd4, 0x8a, 0x49, 0xcc, 0xb8, 0xea, 0x15, 0x80, 0x3d, 0xdf, 0x1d, 0x24, 0x2e, 0x5b, 0x82, - 0x18, 0x1f, 0x6b, 0x70, 0x33, 0xf7, 0xf0, 0x52, 0x17, 0xff, 0x18, 0xe6, 0x22, 0x07, 0x31, 0xc4, - 0x24, 0x90, 0xee, 0xfe, 0x76, 0xde, 0x0d, 0x71, 0x54, 0x53, 0x59, 0x68, 0x04, 0xb0, 0xfc, 0x10, - 0x07, 0x21, 0xad, 0x26, 0x3e, 0xcf, 0x10, 0x4e, 0x9e, 0x2b, 0xbb, 0xdc, 0xbd, 0xfe, 0x46, 0x83, - 0x5b, 0x05, 0xc7, 0x96, 0xba, 0xe5, 0x4c, 0xb9, 0x54, 0xca, 0xca, 0xe5, 0xef, 0x1a, 0x2c, 0x3e, - 0xf5, 0x2d, 0x87, 0x9c, 0x62, 0x9f, 0x4e, 0x52, 0xbf, 0x15, 0x4a, 0xa4, 0x09, 0x93, 0xdc, 0x19, - 0x70, 0x91, 0x44, 0x43, 0xf4, 0x06, 0x5c, 0x3d, 0xea, 0x77, 0x65, 0x9f, 0xc7, 0x24, 0x93, 0x82, - 0x86, 0x78, 0x87, 0xf8, 0x42, 0xc6, 0x63, 0x22, 0x4a, 0x41, 0xd3, 0x72, 0x9c, 0x28, 0xf6, 0x33, - 0xb5, 0x94, 0x9f, 0x79, 0x0c, 0x4b, 0x59, 0x0c, 0x94, 0xb3, 0xa0, 0x7f, 0x68, 0x30, 0xfb, 0xc8, - 0xed, 0x39, 0xe2, 0x65, 0xca, 0x97, 0xc2, 0x0a, 0x80, 0x89, 0xcf, 0x0f, 0x30, 0x21, 0x96, 0x8d, - 0xb9, 0x04, 0x24, 0x48, 0x91, 0x6f, 0x1c, 0x83, 0xe3, 0x15, 0x80, 0x90, 0x8e, 0xb6, 0x3b, 0xf4, - 0x3b, 0x98, 0xf2, 0x5c, 0x33, 0x25, 0x08, 0xba, 0x03, 0xf5, 0x96, 0xf3, 0xbc, 0x17, 0x08, 0xd1, - 0x5e, 0xa1, 0x7b, 0x24, 0x81, 0xc6, 0x16, 0xd4, 0x25, 0x6e, 0xca, 0x89, 0xe4, 0x3f, 0xa1, 0x61, - 0xa7, 0xac, 0x3a, 0x9c, 0x70, 0x1d, 0x82, 0xf9, 0x3b, 0x22, 0xf3, 0xa2, 0x15, 0xdf, 0x5e, 0xda, - 0x86, 0x24, 0xf9, 0x56, 0x15, 0xf9, 0x4a, 0x0e, 0x67, 0x22, 0xed, 0x70, 0xc2, 0xf9, 0x7d, 0xcb, - 0xe9, 0xf6, 0x71, 0x37, 0x74, 0x1d, 0x4c, 0x2b, 0x24, 0x08, 0x32, 0x60, 0x96, 0x8d, 0x4c, 0x4c, - 0x86, 0xfd, 0x80, 0x0a, 0xa8, 0x66, 0x26, 0x60, 0xc6, 0x31, 0x2c, 0xe7, 0xb3, 0x56, 0x4e, 0x5c, - 0xa7, 0x30, 0x7b, 0x3c, 0xec, 0x05, 0x63, 0x28, 0xd0, 0xe5, 0x9e, 0xd7, 0x2d, 0xa8, 0x4b, 0xe7, - 0x94, 0xa3, 0xf5, 0xb7, 0x1a, 0x2c, 0x46, 0x3e, 0x3b, 0x0e, 0xa5, 0x8a, 0xa9, 0xbe, 0x94, 0x43, - 0x0c, 0xdd, 0xec, 0x5e, 0xaf, 0x1f, 0x60, 0x9f, 0x5e, 0x68, 0xcd, 0xe4, 0xa3, 0xf0, 0xbc, 0x43, - 0xfc, 0x22, 0x68, 0xe3, 0x73, 0xae, 0xeb, 0xd1, 0xd0, 0xf8, 0x93, 0x06, 0x4b, 0x59, 0x34, 0x96, - 0x7a, 0x52, 0xf6, 0x00, 0x06, 0x71, 0x8c, 0xc9, 0x1e, 0x93, 0x37, 0xf2, 0x9c, 0x26, 0x3b, 0x6d, - 0x6f, 0xd8, 0xef, 0xd3, 0x37, 0x59, 0x5a, 0x19, 0x9e, 0xec, 0x70, 0x72, 0x19, 0x1f, 0xd1, 0xd0, - 0xf8, 0xa3, 0x42, 0xae, 0x08, 0xb8, 0x0a, 0x5d, 0x89, 0x44, 0x56, 0x85, 0x46, 0x62, 0xf2, 0x71, - 0x97, 0x73, 0x25, 0x21, 0xb1, 0xee, 0xb6, 0xd5, 0xf9, 0x80, 0xf9, 0x91, 0x29, 0x33, 0x1a, 0x1a, - 0xbf, 0xd2, 0xe0, 0x7a, 0x26, 0xb1, 0xaf, 0x52, 0xb8, 0xc6, 0x5f, 0x34, 0x40, 0x8f, 0x7b, 0x9d, - 0x33, 0x09, 0xaf, 0x58, 0x7c, 0x5f, 0x81, 0xb9, 0x10, 0x1f, 0x77, 0x99, 0x48, 0x24, 0x21, 0x2a, - 0xf0, 0x90, 0x78, 0x13, 0x5b, 0xc4, 0x75, 0xb8, 0x20, 0xf9, 0x28, 0x2d, 0xc6, 0x5a, 0xb1, 0x31, - 0x5e, 0x49, 0x19, 0xe3, 0x3b, 0x30, 0xdd, 0xea, 0x6e, 0x32, 0xa7, 0x92, 0x1b, 0x4a, 0xd0, 0xa3, - 0xa9, 0x2b, 0x62, 0x29, 0x11, 0x1f, 0x19, 0x1f, 0xc1, 0x82, 0xc2, 0x6e, 0xa9, 0x0b, 0xb8, 0x0f, - 0x75, 0x41, 0x85, 0x74, 0x07, 0x73, 0xdc, 0x09, 0x88, 0x39, 0x33, 0x89, 0x66, 0x0c, 0xa9, 0x17, - 0x08, 0x1f, 0x0a, 0xdc, 0xa5, 0x54, 0x44, 0x5e, 0x20, 0xe9, 0x82, 0x35, 0xc5, 0x05, 0xaf, 0xc2, - 0x8c, 0xab, 0x7a, 0x30, 0x77, 0x4c, 0x0f, 0xf6, 0x13, 0x66, 0x2a, 0xca, 0xb9, 0x97, 0xca, 0x8e, - 0xc6, 0xce, 0x10, 0x62, 0x74, 0xe3, 0xaf, 0x1a, 0x5c, 0x63, 0xef, 0x66, 0x48, 0xd9, 0x53, 0x57, - 0xf8, 0xee, 0xd1, 0x1e, 0x3a, 0xff, 0xf9, 0x8a, 0x15, 0x6d, 0x22, 0xa1, 0x68, 0x77, 0x61, 0x9e, - 0x9d, 0x25, 0x6b, 0x6b, 0x8d, 0x6a, 0xab, 0x3a, 0x51, 0xa8, 0x74, 0x3f, 0xd6, 0x60, 0x31, 0x83, - 0xec, 0x2f, 0x54, 0x75, 0xfe, 0x96, 0x45, 0x03, 0x19, 0x2f, 0x2c, 0x58, 0x85, 0x19, 0x5b, 0x4a, - 0x40, 0x99, 0xc5, 0xca, 0xa0, 0x5c, 0x63, 0xbd, 0x03, 0xf5, 0x9e, 0x2c, 0x2a, 0x2e, 0xe2, 0x24, - 0xb0, 0x30, 0x68, 0x7c, 0x04, 0x4b, 0x59, 0x64, 0x97, 0xaa, 0x8d, 0x7c, 0xac, 0xc1, 0x35, 0x91, - 0xf9, 0xf4, 0xfb, 0xe3, 0x78, 0xac, 0x4b, 0x3f, 0xa2, 0x47, 0xa7, 0xa7, 0x04, 0x07, 0xd1, 0x23, - 0xca, 0x46, 0xe8, 0x1a, 0xd4, 0xb6, 0xdd, 0xa1, 0x13, 0xf0, 0x27, 0x94, 0x0d, 0x8c, 0x5f, 0x4a, - 0x8f, 0xbc, 0x44, 0xde, 0x2b, 0x75, 0xf1, 0xbf, 0xd3, 0x60, 0x6a, 0xfb, 0xa0, 0x4d, 0xd1, 0x92, - 0x85, 0x0d, 0xed, 0xb3, 0x55, 0x6e, 0xd6, 0x79, 0x5d, 0x4a, 0xa4, 0x13, 0x87, 0xd6, 0x20, 0x0a, - 0xc6, 0x33, 0x66, 0xc2, 0xa7, 0x22, 0x09, 0x15, 0x12, 0x56, 0xe0, 0xc6, 0x27, 0x1a, 0xcc, 0x8a, - 0x02, 0x46, 0x78, 0x9f, 0x3b, 0x00, 0xdf, 0xb1, 0xec, 0x9e, 0x43, 0xef, 0x81, 0x53, 0x7a, 0x27, - 0x83, 0x52, 0x9e, 0x5f, 0xc5, 0xb8, 0xa6, 0xb4, 0x0e, 0x2d, 0x73, 0x76, 0x25, 0x4a, 0x63, 0x40, - 0x81, 0x43, 0x19, 0xf9, 0xd0, 0x1b, 0xff, 0xd6, 0xa0, 0x2e, 0x11, 0x4c, 0x3c, 0x74, 0x0f, 0xa6, - 0x23, 0x31, 0x13, 0x5e, 0x52, 0x6b, 0x44, 0x21, 0x21, 0x87, 0x9b, 0x31, 0x06, 0xda, 0x4d, 0x30, - 0xc8, 0x8a, 0x68, 0x5f, 0xca, 0x64, 0x90, 0xc5, 0xc8, 0x39, 0x1c, 0xea, 0x30, 0xc5, 0x18, 0x1a, - 0x0e, 0x28, 0x13, 0x35, 0x53, 0x8c, 0xc3, 0x28, 0xb5, 0x13, 0x47, 0xa9, 0x13, 0xb9, 0x51, 0x6a, - 0x8c, 0x64, 0x1c, 0xc5, 0x75, 0xa4, 0x71, 0x6c, 0x6b, 0xa4, 0xd3, 0xa6, 0x4e, 0x2b, 0x15, 0xf6, - 0x6c, 0x1f, 0xb4, 0x47, 0x5a, 0x6c, 0x4a, 0xbd, 0xc4, 0x38, 0xa5, 0x17, 0xd5, 0x92, 0x7a, 0x31, - 0xfa, 0x7e, 0xff, 0xaf, 0xc6, 0x96, 0x94, 0x6e, 0xe2, 0xa1, 0x6f, 0xc3, 0x24, 0x33, 0xaf, 0xe8, - 0x9a, 0xc7, 0xb5, 0xca, 0x68, 0xd9, 0xe7, 0x75, 0xf7, 0x2b, 0x00, 0xec, 0x84, 0xc3, 0xe1, 0x80, - 0xf0, 0xdb, 0x97, 0x20, 0x65, 0xee, 0xbf, 0x07, 0x8d, 0x9d, 0x1e, 0x19, 0xf4, 0x08, 0x11, 0x0f, - 0xb3, 0x0e, 0x53, 0x6e, 0xaa, 0x94, 0xe5, 0x7a, 0x63, 0x07, 0x25, 0x4d, 0x98, 0xb4, 0x93, 0x36, - 0xc6, 0x87, 0xc6, 0x2e, 0xcc, 0x25, 0x8f, 0x62, 0x79, 0x55, 0x67, 0x9c, 0xbc, 0x4a, 0xa2, 0xf8, - 0x0f, 0x1a, 0xa0, 0x83, 0x21, 0x2f, 0xf7, 0xc6, 0x3a, 0xfb, 0x92, 0xa8, 0x0e, 0xbd, 0xf5, 0x50, - 0x7e, 0x07, 0xf9, 0x28, 0xcc, 0x80, 0x07, 0xc3, 0x00, 0x77, 0xdb, 0xb8, 0xe3, 0x3a, 0x5d, 0x42, - 0x9f, 0x85, 0xba, 0x99, 0x80, 0x19, 0xfb, 0xb0, 0xa0, 0x50, 0x5a, 0x8e, 0xe9, 0x9f, 0x69, 0xd0, - 0xdc, 0xb6, 0x9c, 0x0e, 0xee, 0xbf, 0x7a, 0xd6, 0x8d, 0x43, 0xb8, 0x91, 0x43, 0x4b, 0x39, 0xe6, - 0x4e, 0x61, 0x56, 0xec, 0xf4, 0x32, 0x15, 0x70, 0x0b, 0xea, 0xd2, 0x39, 0xe5, 0x68, 0xed, 0x03, - 0x4a, 0xf1, 0xfe, 0x32, 0x29, 0xde, 0x87, 0x05, 0xe5, 0xb4, 0x72, 0x74, 0xff, 0x5e, 0x83, 0x1b, - 0xed, 0x84, 0x7b, 0x3b, 0xec, 0x75, 0xce, 0x1c, 0x6b, 0x80, 0xb9, 0x6b, 0xb6, 0x93, 0xae, 0xd9, - 0x8e, 0x5d, 0xb3, 0xc3, 0x11, 0x23, 0xd7, 0x1c, 0x8d, 0x13, 0x5c, 0x57, 0x8b, 0xb9, 0x9e, 0x50, - 0xb9, 0x8e, 0xb5, 0xab, 0x96, 0xd0, 0xae, 0x23, 0xd0, 0xf3, 0x08, 0x2d, 0x57, 0x88, 0xf1, 0x69, - 0xe1, 0x9e, 0x65, 0x42, 0xed, 0xa1, 0xc7, 0x2b, 0x99, 0x51, 0x1a, 0x96, 0x22, 0x54, 0x2b, 0x22, - 0xb4, 0x92, 0xf0, 0x00, 0x05, 0xec, 0x1b, 0x3f, 0x67, 0x05, 0xfb, 0xec, 0x43, 0x4b, 0xdd, 0xe0, - 0xa5, 0x92, 0xb0, 0x0b, 0xfa, 0x26, 0xc7, 0x74, 0x7c, 0x61, 0x7d, 0xaa, 0x5f, 0xb0, 0x57, 0x55, - 0x39, 0xb9, 0x9c, 0x08, 0x3e, 0x8f, 0x6e, 0xd5, 0x7f, 0x2b, 0xb0, 0x98, 0xd4, 0x2f, 0xa9, 0x84, - 0x94, 0x63, 0x04, 0x25, 0x34, 0x60, 0x0c, 0x03, 0x78, 0x4b, 0x32, 0xad, 0x1a, 0x8f, 0xcc, 0x6d, - 0xd7, 0xb5, 0xfb, 0x98, 0xf5, 0x95, 0x4f, 0x86, 0xa7, 0xeb, 0xed, 0xc0, 0xef, 0x39, 0xf6, 0x77, - 0xad, 0xfe, 0x10, 0x4b, 0x86, 0x77, 0x1f, 0x26, 0x4f, 0xad, 0x0e, 0x7e, 0xcf, 0x7c, 0x42, 0xf3, - 0xd6, 0x51, 0x0b, 0x23, 0x64, 0xf4, 0x75, 0x98, 0xf6, 0x45, 0xeb, 0x78, 0x92, 0xae, 0xbc, 0xa9, - 0xac, 0x6c, 0x39, 0xc1, 0x9b, 0x9b, 0x6c, 0x61, 0x8c, 0x8d, 0xee, 0x42, 0x05, 0xbf, 0x68, 0x4e, - 0x8d, 0x71, 0x5a, 0x05, 0xbf, 0x30, 0x1e, 0xc3, 0x52, 0x96, 0x8c, 0xcb, 0xd9, 0xef, 0x79, 0x5c, - 0x47, 0x7b, 0x70, 0x42, 0x02, 0xdf, 0xea, 0x04, 0xa3, 0xaf, 0x4c, 0xbe, 0x9a, 0x4a, 0xf1, 0xd5, - 0x54, 0x95, 0xab, 0x31, 0xfe, 0xac, 0x41, 0x33, 0xfb, 0xcc, 0x72, 0x5d, 0xa5, 0xbb, 0xfc, 0xbb, - 0x04, 0x11, 0xab, 0x9d, 0x60, 0x9f, 0x17, 0xaa, 0xd4, 0x09, 0xf4, 0x55, 0x58, 0xb0, 0x93, 0x15, - 0xd9, 0x7d, 0x8b, 0x7c, 0x40, 0xe9, 0x9c, 0x30, 0xb3, 0xa6, 0x8c, 0x73, 0x68, 0x30, 0x2d, 0x27, - 0xbb, 0x2f, 0x62, 0xbf, 0x66, 0xab, 0x96, 0x2d, 0x17, 0x00, 0x2e, 0x27, 0xa2, 0x7f, 0x6a, 0x3c, - 0xdb, 0x13, 0x67, 0x96, 0x13, 0xcd, 0x43, 0x00, 0xbe, 0xc3, 0x81, 0xe5, 0xf1, 0x56, 0xdb, 0x97, - 0xe5, 0x2f, 0x13, 0xa4, 0xfd, 0xd7, 0x63, 0xcc, 0x5d, 0x27, 0xf0, 0x3f, 0x34, 0xa5, 0xa5, 0xfa, - 0x37, 0xa1, 0x91, 0x9a, 0x46, 0x73, 0x50, 0x3d, 0xc3, 0x1f, 0x72, 0xd5, 0x08, 0xff, 0x86, 0x59, - 0xfc, 0xf3, 0x50, 0x4b, 0x29, 0xc3, 0x53, 0x26, 0x1b, 0xbc, 0x5d, 0x79, 0x4b, 0x33, 0x1c, 0x98, - 0xa3, 0xbc, 0x93, 0x56, 0xa2, 0x3f, 0x95, 0xa3, 0x5e, 0x2b, 0x00, 0xc3, 0x74, 0x3d, 0x54, 0x82, - 0x8c, 0x21, 0xbf, 0x7f, 0x69, 0x30, 0x9f, 0x3a, 0xb0, 0x9c, 0x00, 0xf7, 0x33, 0x04, 0xb8, 0xc6, - 0x97, 0x28, 0x07, 0xbc, 0x44, 0x09, 0x6e, 0x7e, 0x82, 0x80, 0x7d, 0x6a, 0x83, 0xbe, 0x01, 0x33, - 0x9d, 0xf8, 0x93, 0x0c, 0xb4, 0x18, 0x31, 0x90, 0xf8, 0x2e, 0x45, 0x5f, 0xca, 0x02, 0x13, 0x0f, - 0xdd, 0x87, 0xe9, 0x1f, 0x46, 0x7d, 0x35, 0xb4, 0xc0, 0x91, 0xe4, 0xbe, 0xa1, 0x7e, 0x4d, 0x05, - 0xb2, 0x75, 0xe7, 0x51, 0xd3, 0x46, 0xac, 0x93, 0xdb, 0x45, 0x62, 0x5d, 0xb2, 0xb7, 0xb3, 0x05, - 0x75, 0x5b, 0xfe, 0x94, 0x02, 0x5d, 0x8f, 0xd4, 0x2f, 0xf5, 0x55, 0x87, 0xde, 0xcc, 0x9e, 0x20, - 0x1e, 0x7a, 0x17, 0x66, 0x89, 0xf4, 0x8d, 0x01, 0x8a, 0x78, 0x4b, 0x7d, 0x17, 0xa1, 0x5f, 0xcf, - 0x84, 0x13, 0x0f, 0xfd, 0x00, 0xae, 0xdb, 0xd9, 0x0d, 0x7e, 0xf4, 0x5a, 0xea, 0x54, 0xb5, 0xc1, - 0xae, 0x1b, 0xa3, 0x50, 0x88, 0x87, 0x4e, 0xe1, 0x86, 0x9d, 0xd7, 0x2d, 0x47, 0xaf, 0xc7, 0x1b, - 0xe4, 0xb6, 0xf1, 0xf5, 0x3b, 0xa3, 0x91, 0x88, 0x87, 0x8e, 0x01, 0x05, 0x4a, 0xcb, 0x18, 0x2d, - 0xf3, 0xb5, 0x99, 0xed, 0x70, 0xfd, 0x56, 0xc1, 0x2c, 0xf1, 0x50, 0x07, 0x9a, 0x76, 0x4e, 0x27, - 0x11, 0x19, 0x89, 0xaf, 0x98, 0x32, 0xbb, 0xa8, 0xfa, 0xeb, 0x23, 0x71, 0x18, 0xdd, 0xb6, 0xd2, - 0x0a, 0x13, 0x74, 0x67, 0x76, 0xf2, 0x04, 0xdd, 0x39, 0x3d, 0xb4, 0xa7, 0xb0, 0x60, 0xab, 0x1d, - 0x20, 0x94, 0xbd, 0x4a, 0x68, 0xd9, 0x4a, 0xd1, 0x34, 0x35, 0xf8, 0xc6, 0x59, 0xb2, 0xa5, 0x81, - 0xa2, 0x4f, 0xb9, 0xd4, 0xce, 0x8e, 0xae, 0xe7, 0x4d, 0x09, 0x96, 0x53, 0x3d, 0x02, 0x99, 0x65, - 0xb5, 0x6d, 0x21, 0xb3, 0x9c, 0xd5, 0x5c, 0x38, 0x84, 0xf9, 0x5e, 0xba, 0xf6, 0x8b, 0x6e, 0x46, - 0x95, 0xee, 0x8c, 0x3e, 0x80, 0xbe, 0x9c, 0x3f, 0xc9, 0x48, 0x54, 0xf6, 0x23, 0x28, 0x77, 0x0d, - 0x91, 0x49, 0xcc, 0x29, 0x42, 0x1f, 0xc2, 0xbc, 0x9d, 0x2e, 0xd9, 0x0a, 0x12, 0xb3, 0x6a, 0xcd, - 0xfa, 0x72, 0xfe, 0x24, 0xf3, 0x3b, 0xc2, 0x21, 0x08, 0xbf, 0x23, 0xd7, 0x36, 0x85, 0xdf, 0x49, - 0xd6, 0x0f, 0x8f, 0x01, 0xa9, 0x05, 0xa7, 0x1c, 0x85, 0xe3, 0x35, 0xb4, 0x1c, 0x85, 0x13, 0x95, - 0xaa, 0x77, 0x61, 0x56, 0x2e, 0xb1, 0x08, 0x37, 0x94, 0x2a, 0xf1, 0x08, 0x37, 0xa4, 0xd4, 0x63, - 0xf6, 0xa1, 0x91, 0x4a, 0xea, 0x85, 0x6e, 0xa9, 0x85, 0x07, 0xa1, 0x5b, 0x59, 0x75, 0x80, 0xf7, - 0x61, 0x31, 0xb3, 0x48, 0x80, 0x6e, 0x47, 0x6e, 0x3f, 0xa7, 0x9c, 0xa1, 0xaf, 0x16, 0x23, 0x30, - 0x89, 0x0b, 0xb0, 0x90, 0xb8, 0x9c, 0x90, 0x0b, 0x89, 0x27, 0xf3, 0xe6, 0x7d, 0x68, 0xa4, 0x36, - 0x15, 0xdc, 0xa9, 0x49, 0xbd, 0xe0, 0x2e, 0x2b, 0x03, 0xff, 0x7e, 0x3a, 0xc0, 0x8d, 0x92, 0x54, - 0xb4, 0x9a, 0xf2, 0xf0, 0x4a, 0xb2, 0xad, 0xbf, 0x36, 0x02, 0x83, 0xbd, 0x06, 0x39, 0xd9, 0xa3, - 0xfc, 0x1a, 0xe4, 0xa4, 0xb4, 0xf2, 0x6b, 0x90, 0x9b, 0x80, 0x32, 0xe5, 0x4b, 0xe5, 0x65, 0xb2, - 0xf2, 0xa9, 0xc9, 0xa2, 0xac, 0x7c, 0x59, 0x09, 0xdd, 0x31, 0x20, 0x35, 0xe8, 0x17, 0x5b, 0x66, - 0xe6, 0x5c, 0x62, 0xcb, 0x9c, 0x6c, 0xe1, 0x7b, 0x52, 0xf3, 0x47, 0x0a, 0xc3, 0x51, 0xda, 0x45, - 0xa6, 0xf2, 0x02, 0xfd, 0x76, 0xe1, 0x3c, 0x33, 0x14, 0x39, 0xb8, 0x14, 0x86, 0x92, 0x8a, 0xa2, - 0x85, 0xa1, 0x28, 0x91, 0xee, 0x16, 0xd4, 0x13, 0xc1, 0x95, 0x08, 0x1a, 0xd2, 0x41, 0xa4, 0x08, - 0x1a, 0x94, 0x58, 0x6c, 0xeb, 0xf6, 0xfb, 0xb7, 0x8e, 0x3c, 0xec, 0x3c, 0x6b, 0x1d, 0x48, 0x9f, - 0x18, 0x53, 0xe4, 0x77, 0xe8, 0xef, 0xc9, 0x15, 0x0a, 0x7a, 0xf3, 0xd3, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x7a, 0x7b, 0x02, 0xb3, 0xd5, 0x2c, 0x00, 0x00, -} diff --git a/tools/data-conversion/proto/group/group.proto b/tools/data-conversion/proto/group/group.proto deleted file mode 100644 index 8968b7e8e..000000000 --- a/tools/data-conversion/proto/group/group.proto +++ /dev/null @@ -1,454 +0,0 @@ -syntax = "proto3"; -import "Open-IM-Server/pkg/proto/sdk_ws/ws.proto"; -import "Open-IM-Server/pkg/proto/sdk_ws/wrappers.proto"; -option go_package = "Open_IM/pkg/proto/group;group"; -package group; - -message CommonResp{ - int32 ErrCode = 1; - string ErrMsg = 2; -} - -message GroupAddMemberInfo{ - string UserID = 1; - int32 RoleLevel = 2; -} - -message CreateGroupReq{ - repeated GroupAddMemberInfo InitMemberList = 1; - server_api_params.GroupInfo GroupInfo = 2; - string OperationID = 3; - string OpUserID = 4; //app manager or group owner - string OwnerUserID = 5; //owner - - -} -message CreateGroupResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - server_api_params.GroupInfo GroupInfo = 3; -} - - -message GetGroupsInfoReq{ - repeated string GroupIDList = 1; - string OperationID = 2; - string OpUserID = 3; //No verification permission -} -message GetGroupsInfoResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.GroupInfo GroupInfoList = 3; -} - - -message SetGroupInfoReq{ - server_api_params.GroupInfoForSet groupInfoForSet = 1; - string OpUserID = 2; //app manager or group owner - string OperationID = 3; -} -message SetGroupInfoResp{ - CommonResp CommonResp = 1; -} - - -message GetGroupApplicationListReq { - string OpUserID = 1; //app manager or group owner(manager) - string OperationID = 2; - string FromUserID = 3; //owner or manager -} -message GetGroupApplicationListResp { - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.GroupRequest GroupRequestList = 3; -} - -message GetUserReqApplicationListReq{ - string UserID = 1; - string OpUserID = 2; - string OperationID = 3; -} - -message GetUserReqApplicationListResp{ - CommonResp CommonResp = 1; - repeated server_api_params.GroupRequest GroupRequestList = 2; -} - - -message TransferGroupOwnerReq { - string GroupID = 1; - string OldOwnerUserID = 2; - string NewOwnerUserID = 3; - string OperationID = 4; - string OpUserID = 5; //app manager or group owner -} -message TransferGroupOwnerResp{ - CommonResp CommonResp = 1; -} - -message JoinGroupReq{ - string GroupID = 1; - string ReqMessage = 2; - string OpUserID = 3; - string OperationID = 4; - int32 JoinSource = 5; - string InviterUserID = 6; - -} -message JoinGroupResp{ - CommonResp CommonResp = 1; -} - - -message GroupApplicationResponseReq{ - string OperationID = 1; - string OpUserID = 2; - string GroupID = 3; - string FromUserID = 4; // - string HandledMsg = 5; - int32 HandleResult = 6; -} -message GroupApplicationResponseResp{ - CommonResp CommonResp = 1; -} - - - -message QuitGroupReq{ - string GroupID = 1; - string OperationID = 2; - string OpUserID = 3; -} -message QuitGroupResp{ - CommonResp CommonResp = 1; -} - - - -message GetGroupMemberListReq { - string GroupID = 1; - string OpUserID = 2; //No verification permission - string OperationID = 3; - int32 Filter = 4; - int32 NextSeq = 5; -} - -message GetGroupMemberListResp { - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.GroupMemberFullInfo memberList = 3; - int32 nextSeq = 4; -} - - -message GetGroupMembersInfoReq { - string GroupID = 1; - repeated string memberList = 2; - string OpUserID = 3; //No verification permission - string OperationID = 4; - bool noCache = 5; -} - -message GetGroupMembersInfoResp { - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.GroupMemberFullInfo memberList = 3; -} - -message KickGroupMemberReq { - string GroupID = 1; - repeated string KickedUserIDList = 2; - string Reason = 3; - string OperationID = 5; - string OpUserID = 6; //app manger or group manager -} - -message Id2Result { - string UserID = 1; - int32 Result = 2; //0 ok; -1 error -} - -message KickGroupMemberResp { - int32 ErrCode = 1; - string ErrMsg = 2; - repeated Id2Result Id2ResultList = 3; -} - - -message GetJoinedGroupListReq { - string FromUserID = 1; - string operationID = 2; - string OpUserID = 3; //app manager or FromUserID -} -message GetJoinedGroupListResp{ - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.GroupInfo GroupList = 3; -} - - -message InviteUserToGroupReq { - string OperationID = 2; - string GroupID = 3; - string Reason = 4; - repeated string InvitedUserIDList = 5; - string OpUserID = 6; //group member or app manager -} -message InviteUserToGroupResp { - int32 ErrCode = 1; - string ErrMsg = 2; - repeated Id2Result Id2ResultList = 3; // 0 ok, -1 error -} - -message InviteUserToGroupsReq { - string OperationID = 1; - repeated string groupIDList = 2; - string Reason = 3; - string invitedUserID = 4; - string OpUserID = 5; //group member or app manager -} -message InviteUserToGroupsResp { - int32 ErrCode = 1; - string ErrMsg = 2; -} - -message GetGroupAllMemberReq { - string GroupID = 1; - string OpUserID = 2; //No verification permission - string OperationID = 3; - int32 Offset = 4; - int32 Count = 5; -} -message GetGroupAllMemberResp { - int32 ErrCode = 1; - string ErrMsg = 2; - repeated server_api_params.GroupMemberFullInfo memberList = 3; -} - -message CMSGroup { - server_api_params.GroupInfo GroupInfo = 1; - string GroupOwnerUserName = 2; - string GroupOwnerUserID = 3; -} - - -message GetGroupsReq { - server_api_params.RequestPagination Pagination = 1; - string GroupName = 2; - string GroupID = 3; - string OperationID = 4; -} - -message GetGroupsResp { - repeated CMSGroup CMSGroups = 1; - server_api_params.ResponsePagination Pagination = 2; - int32 GroupNum = 3; - CommonResp commonResp = 4; -} - -message GetGroupMemberReq { - string GroupID = 1; - string OperationID = 2; -} - -message GetGroupMembersCMSReq { - string GroupID = 1; - string UserName = 2; - server_api_params.RequestPagination Pagination = 3; - string OperationID = 4; -} - -message GetGroupMembersCMSResp { - repeated server_api_params.GroupMemberFullInfo members = 1; - server_api_params.ResponsePagination Pagination = 2; - int32 MemberNums = 3; - CommonResp commonResp = 4; -} - -message DismissGroupReq{ - string opUserID = 1; //group or app manager - string operationID = 2; - string groupID = 3; -} - -message DismissGroupResp{ - CommonResp commonResp = 1; -} - - -message MuteGroupMemberReq{ - string opUserID = 1; //group or app manager - string operationID = 2; - string groupID = 3; - string userID = 4; - uint32 mutedSeconds = 5; -} - -message MuteGroupMemberResp{ - CommonResp commonResp = 1; -} - - - -message CancelMuteGroupMemberReq{ - string opUserID = 1; //group or app manager - string operationID = 2; - string groupID = 3; - string userID = 4; -} - -message CancelMuteGroupMemberResp{ - CommonResp commonResp = 1; -} - - -message MuteGroupReq{ - string opUserID = 1; //group or app manager - string operationID = 2; - string groupID = 3; -} - -message MuteGroupResp{ - CommonResp commonResp = 1; -} - - - -message CancelMuteGroupReq{ - string opUserID = 1; //group or app manager - string operationID = 2; - string groupID = 3; -} - -message CancelMuteGroupResp{ - CommonResp commonResp = 1; -} - - - - -message SetGroupMemberNicknameReq{ - string groupID = 1; - string nickname = 2; - string opUserID = 3; - string operationID = 4; - string userID = 5; -} -message SetGroupMemberNicknameResp{ - CommonResp CommonResp = 1; -} - -message GetJoinedSuperGroupListReq { - string operationID = 1; - string userID = 2; - string opUserID = 3; -} - -message GetJoinedSuperGroupListResp { - CommonResp commonResp = 1; - repeated server_api_params.GroupInfo GroupList = 3; -} - -message GetSuperGroupsInfoReq { - repeated string GroupIDList = 1; - string OperationID = 2; - string OpUserID = 3; //No verification permission -} - -message GetSuperGroupsInfoResp { - CommonResp commonResp = 1; - repeated server_api_params.GroupInfo GroupInfoList = 3; -} - -message SetGroupMemberInfoReq{ - string groupID = 1; - string userID = 2; - string opUserID = 3; - string operationID = 4; - google.protobuf.StringValue nickname = 5; - google.protobuf.StringValue faceURL = 6; - google.protobuf.Int32Value roleLevel = 7; - google.protobuf.StringValue ex = 8; -} - -message SetGroupMemberInfoResp{ - CommonResp CommonResp = 1; -} - -message GetGroupAbstractInfoReq{ - string groupID = 1; - string opUserID = 2; - string operationID = 3; -} - -message GetGroupAbstractInfoResp{ - CommonResp CommonResp = 1; - int32 groupMemberNumber = 2; - uint64 groupMemberListHash = 3; -} - -message GroupIsExistReq { - repeated string groupIDList = 1; - string opUserID = 2; - string operationID = 3; -} - -message GroupIsExistResp { - CommonResp CommonResp = 1; - map IsExistMap = 2; -} - -message UserIsInGroupReq { - string groupID = 1; - repeated string userIDList = 2; - string operationID = 3; -} - -message UserIsInGroupResp { - CommonResp CommonResp = 1; - map IsExistMap = 2; -} - -service group{ - rpc createGroup(CreateGroupReq) returns(CreateGroupResp); - rpc joinGroup(JoinGroupReq) returns(JoinGroupResp); - rpc quitGroup(QuitGroupReq) returns(QuitGroupResp); - rpc getGroupsInfo(GetGroupsInfoReq) returns(GetGroupsInfoResp); - rpc setGroupInfo(SetGroupInfoReq) returns(SetGroupInfoResp); - rpc getGroupApplicationList(GetGroupApplicationListReq) returns(GetGroupApplicationListResp); - rpc getUserReqApplicationList(GetUserReqApplicationListReq) returns(GetUserReqApplicationListResp); - rpc transferGroupOwner(TransferGroupOwnerReq) returns(TransferGroupOwnerResp); - rpc groupApplicationResponse(GroupApplicationResponseReq) returns(GroupApplicationResponseResp); - rpc getGroupMemberList(GetGroupMemberListReq) returns(GetGroupMemberListResp); - rpc getGroupMembersInfo(GetGroupMembersInfoReq) returns(GetGroupMembersInfoResp); - rpc kickGroupMember(KickGroupMemberReq) returns (KickGroupMemberResp); - rpc getJoinedGroupList(GetJoinedGroupListReq) returns (GetJoinedGroupListResp); - rpc inviteUserToGroup(InviteUserToGroupReq) returns (InviteUserToGroupResp); - rpc inviteUserToGroups(InviteUserToGroupsReq) returns (InviteUserToGroupsResp); - rpc getGroupAllMember(GetGroupAllMemberReq) returns(GetGroupAllMemberResp); - - rpc GetGroups(GetGroupsReq) returns(GetGroupsResp); - rpc GetGroupMembersCMS(GetGroupMembersCMSReq) returns(GetGroupMembersCMSResp); - - - rpc DismissGroup(DismissGroupReq) returns(DismissGroupResp); - rpc MuteGroupMember(MuteGroupMemberReq) returns(MuteGroupMemberResp); - rpc CancelMuteGroupMember(CancelMuteGroupMemberReq) returns(CancelMuteGroupMemberResp); - rpc MuteGroup(MuteGroupReq) returns(MuteGroupResp); - rpc CancelMuteGroup(CancelMuteGroupReq) returns(CancelMuteGroupResp); - - rpc SetGroupMemberNickname(SetGroupMemberNicknameReq) returns (SetGroupMemberNicknameResp); - rpc GetJoinedSuperGroupList(GetJoinedSuperGroupListReq) returns (GetJoinedSuperGroupListResp); - rpc GetSuperGroupsInfo(GetSuperGroupsInfoReq) returns (GetSuperGroupsInfoResp); - rpc SetGroupMemberInfo(SetGroupMemberInfoReq) returns (SetGroupMemberInfoResp); - rpc GetGroupAbstractInfo(GetGroupAbstractInfoReq) returns (GetGroupAbstractInfoResp); - rpc GroupIsExist(GroupIsExistReq) returns(GroupIsExistResp); - rpc UserIsInGroup(UserIsInGroupReq) returns(UserIsInGroupResp); -} - - - - - - - diff --git a/tools/data-conversion/proto/office/office.pb.go b/tools/data-conversion/proto/office/office.pb.go deleted file mode 100644 index 92feb549e..000000000 --- a/tools/data-conversion/proto/office/office.pb.go +++ /dev/null @@ -1,4729 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.15.5 -// source: office/office.proto - -package office - -import ( - sdk_ws "Open_IM/pkg/proto/sdk_ws" - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type CommonResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *CommonResp) Reset() { - *x = CommonResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommonResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommonResp) ProtoMessage() {} - -func (x *CommonResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommonResp.ProtoReflect.Descriptor instead. -func (*CommonResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{0} -} - -func (x *CommonResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *CommonResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type TagUser struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` -} - -func (x *TagUser) Reset() { - *x = TagUser{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TagUser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TagUser) ProtoMessage() {} - -func (x *TagUser) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TagUser.ProtoReflect.Descriptor instead. -func (*TagUser) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{1} -} - -func (x *TagUser) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *TagUser) GetUserName() string { - if x != nil { - return x.UserName - } - return "" -} - -type Tag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TagID string `protobuf:"bytes,1,opt,name=tagID,proto3" json:"tagID,omitempty"` - TagName string `protobuf:"bytes,2,opt,name=tagName,proto3" json:"tagName,omitempty"` - UserList []*TagUser `protobuf:"bytes,3,rep,name=userList,proto3" json:"userList,omitempty"` -} - -func (x *Tag) Reset() { - *x = Tag{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Tag) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Tag) ProtoMessage() {} - -func (x *Tag) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Tag.ProtoReflect.Descriptor instead. -func (*Tag) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{2} -} - -func (x *Tag) GetTagID() string { - if x != nil { - return x.TagID - } - return "" -} - -func (x *Tag) GetTagName() string { - if x != nil { - return x.TagName - } - return "" -} - -func (x *Tag) GetUserList() []*TagUser { - if x != nil { - return x.UserList - } - return nil -} - -type GetUserTagsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetUserTagsReq) Reset() { - *x = GetUserTagsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserTagsReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserTagsReq) ProtoMessage() {} - -func (x *GetUserTagsReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserTagsReq.ProtoReflect.Descriptor instead. -func (*GetUserTagsReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{3} -} - -func (x *GetUserTagsReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetUserTagsReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetUserTagsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - Tags []*Tag `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` -} - -func (x *GetUserTagsResp) Reset() { - *x = GetUserTagsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserTagsResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserTagsResp) ProtoMessage() {} - -func (x *GetUserTagsResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserTagsResp.ProtoReflect.Descriptor instead. -func (*GetUserTagsResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{4} -} - -func (x *GetUserTagsResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetUserTagsResp) GetTags() []*Tag { - if x != nil { - return x.Tags - } - return nil -} - -type CreateTagReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TagName string `protobuf:"bytes,1,opt,name=tagName,proto3" json:"tagName,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` - UserIDList []string `protobuf:"bytes,3,rep,name=userIDList,proto3" json:"userIDList,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *CreateTagReq) Reset() { - *x = CreateTagReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateTagReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTagReq) ProtoMessage() {} - -func (x *CreateTagReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateTagReq.ProtoReflect.Descriptor instead. -func (*CreateTagReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{5} -} - -func (x *CreateTagReq) GetTagName() string { - if x != nil { - return x.TagName - } - return "" -} - -func (x *CreateTagReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *CreateTagReq) GetUserIDList() []string { - if x != nil { - return x.UserIDList - } - return nil -} - -func (x *CreateTagReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type CreateTagResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *CreateTagResp) Reset() { - *x = CreateTagResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateTagResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTagResp) ProtoMessage() {} - -func (x *CreateTagResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateTagResp.ProtoReflect.Descriptor instead. -func (*CreateTagResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{6} -} - -func (x *CreateTagResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type DeleteTagReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - TagID string `protobuf:"bytes,2,opt,name=tagID,proto3" json:"tagID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *DeleteTagReq) Reset() { - *x = DeleteTagReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteTagReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteTagReq) ProtoMessage() {} - -func (x *DeleteTagReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteTagReq.ProtoReflect.Descriptor instead. -func (*DeleteTagReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{7} -} - -func (x *DeleteTagReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *DeleteTagReq) GetTagID() string { - if x != nil { - return x.TagID - } - return "" -} - -func (x *DeleteTagReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type DeleteTagResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *DeleteTagResp) Reset() { - *x = DeleteTagResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteTagResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteTagResp) ProtoMessage() {} - -func (x *DeleteTagResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteTagResp.ProtoReflect.Descriptor instead. -func (*DeleteTagResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{8} -} - -func (x *DeleteTagResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type SetTagReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - TagID string `protobuf:"bytes,2,opt,name=tagID,proto3" json:"tagID,omitempty"` - NewName string `protobuf:"bytes,3,opt,name=newName,proto3" json:"newName,omitempty"` - IncreaseUserIDList []string `protobuf:"bytes,4,rep,name=increaseUserIDList,proto3" json:"increaseUserIDList,omitempty"` - ReduceUserIDList []string `protobuf:"bytes,5,rep,name=reduceUserIDList,proto3" json:"reduceUserIDList,omitempty"` - OperationID string `protobuf:"bytes,6,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *SetTagReq) Reset() { - *x = SetTagReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetTagReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetTagReq) ProtoMessage() {} - -func (x *SetTagReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetTagReq.ProtoReflect.Descriptor instead. -func (*SetTagReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{9} -} - -func (x *SetTagReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *SetTagReq) GetTagID() string { - if x != nil { - return x.TagID - } - return "" -} - -func (x *SetTagReq) GetNewName() string { - if x != nil { - return x.NewName - } - return "" -} - -func (x *SetTagReq) GetIncreaseUserIDList() []string { - if x != nil { - return x.IncreaseUserIDList - } - return nil -} - -func (x *SetTagReq) GetReduceUserIDList() []string { - if x != nil { - return x.ReduceUserIDList - } - return nil -} - -func (x *SetTagReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type SetTagResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *SetTagResp) Reset() { - *x = SetTagResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetTagResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetTagResp) ProtoMessage() {} - -func (x *SetTagResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetTagResp.ProtoReflect.Descriptor instead. -func (*SetTagResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{10} -} - -func (x *SetTagResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type SendMsg2TagReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TagList []string `protobuf:"bytes,1,rep,name=tagList,proto3" json:"tagList,omitempty"` - UserList []string `protobuf:"bytes,2,rep,name=UserList,proto3" json:"UserList,omitempty"` - GroupList []string `protobuf:"bytes,3,rep,name=GroupList,proto3" json:"GroupList,omitempty"` - SendID string `protobuf:"bytes,4,opt,name=sendID,proto3" json:"sendID,omitempty"` - SenderPlatformID int32 `protobuf:"varint,5,opt,name=senderPlatformID,proto3" json:"senderPlatformID,omitempty"` - Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` - OperationID string `protobuf:"bytes,7,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *SendMsg2TagReq) Reset() { - *x = SendMsg2TagReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SendMsg2TagReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendMsg2TagReq) ProtoMessage() {} - -func (x *SendMsg2TagReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendMsg2TagReq.ProtoReflect.Descriptor instead. -func (*SendMsg2TagReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{11} -} - -func (x *SendMsg2TagReq) GetTagList() []string { - if x != nil { - return x.TagList - } - return nil -} - -func (x *SendMsg2TagReq) GetUserList() []string { - if x != nil { - return x.UserList - } - return nil -} - -func (x *SendMsg2TagReq) GetGroupList() []string { - if x != nil { - return x.GroupList - } - return nil -} - -func (x *SendMsg2TagReq) GetSendID() string { - if x != nil { - return x.SendID - } - return "" -} - -func (x *SendMsg2TagReq) GetSenderPlatformID() int32 { - if x != nil { - return x.SenderPlatformID - } - return 0 -} - -func (x *SendMsg2TagReq) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *SendMsg2TagReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type SendMsg2TagResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *SendMsg2TagResp) Reset() { - *x = SendMsg2TagResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SendMsg2TagResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendMsg2TagResp) ProtoMessage() {} - -func (x *SendMsg2TagResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendMsg2TagResp.ProtoReflect.Descriptor instead. -func (*SendMsg2TagResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{12} -} - -func (x *SendMsg2TagResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type GetTagSendLogsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=Pagination,proto3" json:"Pagination,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetTagSendLogsReq) Reset() { - *x = GetTagSendLogsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTagSendLogsReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTagSendLogsReq) ProtoMessage() {} - -func (x *GetTagSendLogsReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTagSendLogsReq.ProtoReflect.Descriptor instead. -func (*GetTagSendLogsReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{13} -} - -func (x *GetTagSendLogsReq) GetPagination() *sdk_ws.RequestPagination { - if x != nil { - return x.Pagination - } - return nil -} - -func (x *GetTagSendLogsReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetTagSendLogsReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type TagSendLog struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserList []*TagUser `protobuf:"bytes,1,rep,name=userList,proto3" json:"userList,omitempty"` - Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime,omitempty"` -} - -func (x *TagSendLog) Reset() { - *x = TagSendLog{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TagSendLog) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TagSendLog) ProtoMessage() {} - -func (x *TagSendLog) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TagSendLog.ProtoReflect.Descriptor instead. -func (*TagSendLog) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{14} -} - -func (x *TagSendLog) GetUserList() []*TagUser { - if x != nil { - return x.UserList - } - return nil -} - -func (x *TagSendLog) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *TagSendLog) GetSendTime() int64 { - if x != nil { - return x.SendTime - } - return 0 -} - -type GetTagSendLogsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,2,opt,name=Pagination,proto3" json:"Pagination,omitempty"` - TagSendLogs []*TagSendLog `protobuf:"bytes,3,rep,name=tagSendLogs,proto3" json:"tagSendLogs,omitempty"` -} - -func (x *GetTagSendLogsResp) Reset() { - *x = GetTagSendLogsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTagSendLogsResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTagSendLogsResp) ProtoMessage() {} - -func (x *GetTagSendLogsResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTagSendLogsResp.ProtoReflect.Descriptor instead. -func (*GetTagSendLogsResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{15} -} - -func (x *GetTagSendLogsResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetTagSendLogsResp) GetPagination() *sdk_ws.ResponsePagination { - if x != nil { - return x.Pagination - } - return nil -} - -func (x *GetTagSendLogsResp) GetTagSendLogs() []*TagSendLog { - if x != nil { - return x.TagSendLogs - } - return nil -} - -type GetUserTagByIDReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - TagID string `protobuf:"bytes,2,opt,name=tagID,proto3" json:"tagID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetUserTagByIDReq) Reset() { - *x = GetUserTagByIDReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserTagByIDReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserTagByIDReq) ProtoMessage() {} - -func (x *GetUserTagByIDReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserTagByIDReq.ProtoReflect.Descriptor instead. -func (*GetUserTagByIDReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{16} -} - -func (x *GetUserTagByIDReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetUserTagByIDReq) GetTagID() string { - if x != nil { - return x.TagID - } - return "" -} - -func (x *GetUserTagByIDReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetUserTagByIDResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` -} - -func (x *GetUserTagByIDResp) Reset() { - *x = GetUserTagByIDResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserTagByIDResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserTagByIDResp) ProtoMessage() {} - -func (x *GetUserTagByIDResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserTagByIDResp.ProtoReflect.Descriptor instead. -func (*GetUserTagByIDResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{17} -} - -func (x *GetUserTagByIDResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetUserTagByIDResp) GetTag() *Tag { - if x != nil { - return x.Tag - } - return nil -} - -type LikeUser struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` -} - -func (x *LikeUser) Reset() { - *x = LikeUser{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LikeUser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LikeUser) ProtoMessage() {} - -func (x *LikeUser) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LikeUser.ProtoReflect.Descriptor instead. -func (*LikeUser) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{18} -} - -func (x *LikeUser) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *LikeUser) GetUserName() string { - if x != nil { - return x.UserName - } - return "" -} - -type NotificationUser struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` -} - -func (x *NotificationUser) Reset() { - *x = NotificationUser{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NotificationUser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NotificationUser) ProtoMessage() {} - -func (x *NotificationUser) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NotificationUser.ProtoReflect.Descriptor instead. -func (*NotificationUser) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{19} -} - -func (x *NotificationUser) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *NotificationUser) GetUserName() string { - if x != nil { - return x.UserName - } - return "" -} - -type Comment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` - FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL,omitempty"` - ReplyUserID string `protobuf:"bytes,4,opt,name=replyUserID,proto3" json:"replyUserID,omitempty"` - ReplyUserName string `protobuf:"bytes,5,opt,name=replyUserName,proto3" json:"replyUserName,omitempty"` - ContentID string `protobuf:"bytes,6,opt,name=contentID,proto3" json:"contentID,omitempty"` - Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` - CreateTime int32 `protobuf:"varint,8,opt,name=createTime,proto3" json:"createTime,omitempty"` -} - -func (x *Comment) Reset() { - *x = Comment{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Comment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Comment) ProtoMessage() {} - -func (x *Comment) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Comment.ProtoReflect.Descriptor instead. -func (*Comment) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{20} -} - -func (x *Comment) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *Comment) GetUserName() string { - if x != nil { - return x.UserName - } - return "" -} - -func (x *Comment) GetFaceURL() string { - if x != nil { - return x.FaceURL - } - return "" -} - -func (x *Comment) GetReplyUserID() string { - if x != nil { - return x.ReplyUserID - } - return "" -} - -func (x *Comment) GetReplyUserName() string { - if x != nil { - return x.ReplyUserName - } - return "" -} - -func (x *Comment) GetContentID() string { - if x != nil { - return x.ContentID - } - return "" -} - -func (x *Comment) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *Comment) GetCreateTime() int32 { - if x != nil { - return x.CreateTime - } - return 0 -} - -type PermissionGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupName string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"` - GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"` -} - -func (x *PermissionGroup) Reset() { - *x = PermissionGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PermissionGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PermissionGroup) ProtoMessage() {} - -func (x *PermissionGroup) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PermissionGroup.ProtoReflect.Descriptor instead. -func (*PermissionGroup) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{21} -} - -func (x *PermissionGroup) GetGroupName() string { - if x != nil { - return x.GroupName - } - return "" -} - -func (x *PermissionGroup) GetGroupID() string { - if x != nil { - return x.GroupID - } - return "" -} - -type WorkMomentUser struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` -} - -func (x *WorkMomentUser) Reset() { - *x = WorkMomentUser{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WorkMomentUser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkMomentUser) ProtoMessage() {} - -func (x *WorkMomentUser) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkMomentUser.ProtoReflect.Descriptor instead. -func (*WorkMomentUser) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{22} -} - -func (x *WorkMomentUser) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *WorkMomentUser) GetUserName() string { - if x != nil { - return x.UserName - } - return "" -} - -type WorkMoment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` - UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"` - FaceURL string `protobuf:"bytes,4,opt,name=faceURL,proto3" json:"faceURL,omitempty"` - Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` - LikeUserList []*WorkMomentUser `protobuf:"bytes,6,rep,name=likeUserList,proto3" json:"likeUserList,omitempty"` - Comments []*Comment `protobuf:"bytes,7,rep,name=comments,proto3" json:"comments,omitempty"` - Permission int32 `protobuf:"varint,8,opt,name=permission,proto3" json:"permission,omitempty"` - PermissionUserList []*WorkMomentUser `protobuf:"bytes,9,rep,name=permissionUserList,proto3" json:"permissionUserList,omitempty"` - PermissionGroupList []*PermissionGroup `protobuf:"bytes,10,rep,name=permissionGroupList,proto3" json:"permissionGroupList,omitempty"` - AtUserList []*WorkMomentUser `protobuf:"bytes,11,rep,name=atUserList,proto3" json:"atUserList,omitempty"` - CreateTime int32 `protobuf:"varint,12,opt,name=createTime,proto3" json:"createTime,omitempty"` -} - -func (x *WorkMoment) Reset() { - *x = WorkMoment{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WorkMoment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkMoment) ProtoMessage() {} - -func (x *WorkMoment) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkMoment.ProtoReflect.Descriptor instead. -func (*WorkMoment) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{23} -} - -func (x *WorkMoment) GetWorkMomentID() string { - if x != nil { - return x.WorkMomentID - } - return "" -} - -func (x *WorkMoment) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *WorkMoment) GetUserName() string { - if x != nil { - return x.UserName - } - return "" -} - -func (x *WorkMoment) GetFaceURL() string { - if x != nil { - return x.FaceURL - } - return "" -} - -func (x *WorkMoment) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *WorkMoment) GetLikeUserList() []*WorkMomentUser { - if x != nil { - return x.LikeUserList - } - return nil -} - -func (x *WorkMoment) GetComments() []*Comment { - if x != nil { - return x.Comments - } - return nil -} - -func (x *WorkMoment) GetPermission() int32 { - if x != nil { - return x.Permission - } - return 0 -} - -func (x *WorkMoment) GetPermissionUserList() []*WorkMomentUser { - if x != nil { - return x.PermissionUserList - } - return nil -} - -func (x *WorkMoment) GetPermissionGroupList() []*PermissionGroup { - if x != nil { - return x.PermissionGroupList - } - return nil -} - -func (x *WorkMoment) GetAtUserList() []*WorkMomentUser { - if x != nil { - return x.AtUserList - } - return nil -} - -func (x *WorkMoment) GetCreateTime() int32 { - if x != nil { - return x.CreateTime - } - return 0 -} - -type CreateOneWorkMomentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkMoment *WorkMoment `protobuf:"bytes,1,opt,name=workMoment,proto3" json:"workMoment,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *CreateOneWorkMomentReq) Reset() { - *x = CreateOneWorkMomentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateOneWorkMomentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateOneWorkMomentReq) ProtoMessage() {} - -func (x *CreateOneWorkMomentReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateOneWorkMomentReq.ProtoReflect.Descriptor instead. -func (*CreateOneWorkMomentReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{24} -} - -func (x *CreateOneWorkMomentReq) GetWorkMoment() *WorkMoment { - if x != nil { - return x.WorkMoment - } - return nil -} - -func (x *CreateOneWorkMomentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type CreateOneWorkMomentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *CreateOneWorkMomentResp) Reset() { - *x = CreateOneWorkMomentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateOneWorkMomentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateOneWorkMomentResp) ProtoMessage() {} - -func (x *CreateOneWorkMomentResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateOneWorkMomentResp.ProtoReflect.Descriptor instead. -func (*CreateOneWorkMomentResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{25} -} - -func (x *CreateOneWorkMomentResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type DeleteOneWorkMomentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *DeleteOneWorkMomentReq) Reset() { - *x = DeleteOneWorkMomentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteOneWorkMomentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOneWorkMomentReq) ProtoMessage() {} - -func (x *DeleteOneWorkMomentReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteOneWorkMomentReq.ProtoReflect.Descriptor instead. -func (*DeleteOneWorkMomentReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{26} -} - -func (x *DeleteOneWorkMomentReq) GetWorkMomentID() string { - if x != nil { - return x.WorkMomentID - } - return "" -} - -func (x *DeleteOneWorkMomentReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *DeleteOneWorkMomentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type DeleteOneWorkMomentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *DeleteOneWorkMomentResp) Reset() { - *x = DeleteOneWorkMomentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteOneWorkMomentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOneWorkMomentResp) ProtoMessage() {} - -func (x *DeleteOneWorkMomentResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteOneWorkMomentResp.ProtoReflect.Descriptor instead. -func (*DeleteOneWorkMomentResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{27} -} - -func (x *DeleteOneWorkMomentResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type LikeOneWorkMomentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - WorkMomentID string `protobuf:"bytes,2,opt,name=WorkMomentID,proto3" json:"WorkMomentID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *LikeOneWorkMomentReq) Reset() { - *x = LikeOneWorkMomentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LikeOneWorkMomentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LikeOneWorkMomentReq) ProtoMessage() {} - -func (x *LikeOneWorkMomentReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LikeOneWorkMomentReq.ProtoReflect.Descriptor instead. -func (*LikeOneWorkMomentReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{28} -} - -func (x *LikeOneWorkMomentReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *LikeOneWorkMomentReq) GetWorkMomentID() string { - if x != nil { - return x.WorkMomentID - } - return "" -} - -func (x *LikeOneWorkMomentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type LikeOneWorkMomentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *LikeOneWorkMomentResp) Reset() { - *x = LikeOneWorkMomentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LikeOneWorkMomentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LikeOneWorkMomentResp) ProtoMessage() {} - -func (x *LikeOneWorkMomentResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LikeOneWorkMomentResp.ProtoReflect.Descriptor instead. -func (*LikeOneWorkMomentResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{29} -} - -func (x *LikeOneWorkMomentResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type CommentOneWorkMomentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - WorkMomentID string `protobuf:"bytes,2,opt,name=workMomentID,proto3" json:"workMomentID,omitempty"` - ReplyUserID string `protobuf:"bytes,3,opt,name=replyUserID,proto3" json:"replyUserID,omitempty"` - Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` - OperationID string `protobuf:"bytes,5,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *CommentOneWorkMomentReq) Reset() { - *x = CommentOneWorkMomentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommentOneWorkMomentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommentOneWorkMomentReq) ProtoMessage() {} - -func (x *CommentOneWorkMomentReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommentOneWorkMomentReq.ProtoReflect.Descriptor instead. -func (*CommentOneWorkMomentReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{30} -} - -func (x *CommentOneWorkMomentReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *CommentOneWorkMomentReq) GetWorkMomentID() string { - if x != nil { - return x.WorkMomentID - } - return "" -} - -func (x *CommentOneWorkMomentReq) GetReplyUserID() string { - if x != nil { - return x.ReplyUserID - } - return "" -} - -func (x *CommentOneWorkMomentReq) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *CommentOneWorkMomentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type CommentOneWorkMomentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *CommentOneWorkMomentResp) Reset() { - *x = CommentOneWorkMomentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommentOneWorkMomentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommentOneWorkMomentResp) ProtoMessage() {} - -func (x *CommentOneWorkMomentResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommentOneWorkMomentResp.ProtoReflect.Descriptor instead. -func (*CommentOneWorkMomentResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{31} -} - -func (x *CommentOneWorkMomentResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type DeleteCommentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID,omitempty"` - ContentID string `protobuf:"bytes,2,opt,name=contentID,proto3" json:"contentID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *DeleteCommentReq) Reset() { - *x = DeleteCommentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteCommentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteCommentReq) ProtoMessage() {} - -func (x *DeleteCommentReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteCommentReq.ProtoReflect.Descriptor instead. -func (*DeleteCommentReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{32} -} - -func (x *DeleteCommentReq) GetWorkMomentID() string { - if x != nil { - return x.WorkMomentID - } - return "" -} - -func (x *DeleteCommentReq) GetContentID() string { - if x != nil { - return x.ContentID - } - return "" -} - -func (x *DeleteCommentReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *DeleteCommentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type DeleteCommentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *DeleteCommentResp) Reset() { - *x = DeleteCommentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteCommentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteCommentResp) ProtoMessage() {} - -func (x *DeleteCommentResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteCommentResp.ProtoReflect.Descriptor instead. -func (*DeleteCommentResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{33} -} - -func (x *DeleteCommentResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type GetWorkMomentByIDReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=opUserID,proto3" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetWorkMomentByIDReq) Reset() { - *x = GetWorkMomentByIDReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetWorkMomentByIDReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkMomentByIDReq) ProtoMessage() {} - -func (x *GetWorkMomentByIDReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkMomentByIDReq.ProtoReflect.Descriptor instead. -func (*GetWorkMomentByIDReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{34} -} - -func (x *GetWorkMomentByIDReq) GetWorkMomentID() string { - if x != nil { - return x.WorkMomentID - } - return "" -} - -func (x *GetWorkMomentByIDReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *GetWorkMomentByIDReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetWorkMomentByIDResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - WorkMoment *WorkMoment `protobuf:"bytes,2,opt,name=workMoment,proto3" json:"workMoment,omitempty"` -} - -func (x *GetWorkMomentByIDResp) Reset() { - *x = GetWorkMomentByIDResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetWorkMomentByIDResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetWorkMomentByIDResp) ProtoMessage() {} - -func (x *GetWorkMomentByIDResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetWorkMomentByIDResp.ProtoReflect.Descriptor instead. -func (*GetWorkMomentByIDResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{35} -} - -func (x *GetWorkMomentByIDResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetWorkMomentByIDResp) GetWorkMoment() *WorkMoment { - if x != nil { - return x.WorkMoment - } - return nil -} - -type ChangeWorkMomentPermissionReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=opUserID,proto3" json:"opUserID,omitempty"` - Permission int32 `protobuf:"varint,3,opt,name=permission,proto3" json:"permission,omitempty"` - PermissionUserIDList []string `protobuf:"bytes,4,rep,name=permissionUserIDList,proto3" json:"permissionUserIDList,omitempty"` - OperationID string `protobuf:"bytes,5,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *ChangeWorkMomentPermissionReq) Reset() { - *x = ChangeWorkMomentPermissionReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangeWorkMomentPermissionReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangeWorkMomentPermissionReq) ProtoMessage() {} - -func (x *ChangeWorkMomentPermissionReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChangeWorkMomentPermissionReq.ProtoReflect.Descriptor instead. -func (*ChangeWorkMomentPermissionReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{36} -} - -func (x *ChangeWorkMomentPermissionReq) GetWorkMomentID() string { - if x != nil { - return x.WorkMomentID - } - return "" -} - -func (x *ChangeWorkMomentPermissionReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *ChangeWorkMomentPermissionReq) GetPermission() int32 { - if x != nil { - return x.Permission - } - return 0 -} - -func (x *ChangeWorkMomentPermissionReq) GetPermissionUserIDList() []string { - if x != nil { - return x.PermissionUserIDList - } - return nil -} - -func (x *ChangeWorkMomentPermissionReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type ChangeWorkMomentPermissionResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *ChangeWorkMomentPermissionResp) Reset() { - *x = ChangeWorkMomentPermissionResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangeWorkMomentPermissionResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangeWorkMomentPermissionResp) ProtoMessage() {} - -func (x *ChangeWorkMomentPermissionResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChangeWorkMomentPermissionResp.ProtoReflect.Descriptor instead. -func (*ChangeWorkMomentPermissionResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{37} -} - -func (x *ChangeWorkMomentPermissionResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type GetUserWorkMomentsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=opUserID,proto3" json:"opUserID,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,3,opt,name=Pagination,proto3" json:"Pagination,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetUserWorkMomentsReq) Reset() { - *x = GetUserWorkMomentsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserWorkMomentsReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserWorkMomentsReq) ProtoMessage() {} - -func (x *GetUserWorkMomentsReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserWorkMomentsReq.ProtoReflect.Descriptor instead. -func (*GetUserWorkMomentsReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{38} -} - -func (x *GetUserWorkMomentsReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetUserWorkMomentsReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *GetUserWorkMomentsReq) GetPagination() *sdk_ws.RequestPagination { - if x != nil { - return x.Pagination - } - return nil -} - -func (x *GetUserWorkMomentsReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetUserWorkMomentsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - WorkMoments []*WorkMoment `protobuf:"bytes,2,rep,name=workMoments,proto3" json:"workMoments,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,3,opt,name=Pagination,proto3" json:"Pagination,omitempty"` -} - -func (x *GetUserWorkMomentsResp) Reset() { - *x = GetUserWorkMomentsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserWorkMomentsResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserWorkMomentsResp) ProtoMessage() {} - -func (x *GetUserWorkMomentsResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserWorkMomentsResp.ProtoReflect.Descriptor instead. -func (*GetUserWorkMomentsResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{39} -} - -func (x *GetUserWorkMomentsResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetUserWorkMomentsResp) GetWorkMoments() []*WorkMoment { - if x != nil { - return x.WorkMoments - } - return nil -} - -func (x *GetUserWorkMomentsResp) GetPagination() *sdk_ws.ResponsePagination { - if x != nil { - return x.Pagination - } - return nil -} - -type GetUserFriendWorkMomentsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,2,opt,name=Pagination,proto3" json:"Pagination,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetUserFriendWorkMomentsReq) Reset() { - *x = GetUserFriendWorkMomentsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserFriendWorkMomentsReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserFriendWorkMomentsReq) ProtoMessage() {} - -func (x *GetUserFriendWorkMomentsReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserFriendWorkMomentsReq.ProtoReflect.Descriptor instead. -func (*GetUserFriendWorkMomentsReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{40} -} - -func (x *GetUserFriendWorkMomentsReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetUserFriendWorkMomentsReq) GetPagination() *sdk_ws.RequestPagination { - if x != nil { - return x.Pagination - } - return nil -} - -func (x *GetUserFriendWorkMomentsReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetUserFriendWorkMomentsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - WorkMoments []*WorkMoment `protobuf:"bytes,2,rep,name=workMoments,proto3" json:"workMoments,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,3,opt,name=Pagination,proto3" json:"Pagination,omitempty"` -} - -func (x *GetUserFriendWorkMomentsResp) Reset() { - *x = GetUserFriendWorkMomentsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserFriendWorkMomentsResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserFriendWorkMomentsResp) ProtoMessage() {} - -func (x *GetUserFriendWorkMomentsResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserFriendWorkMomentsResp.ProtoReflect.Descriptor instead. -func (*GetUserFriendWorkMomentsResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{41} -} - -func (x *GetUserFriendWorkMomentsResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetUserFriendWorkMomentsResp) GetWorkMoments() []*WorkMoment { - if x != nil { - return x.WorkMoments - } - return nil -} - -func (x *GetUserFriendWorkMomentsResp) GetPagination() *sdk_ws.ResponsePagination { - if x != nil { - return x.Pagination - } - return nil -} - -type WorkMomentNotificationMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NotificationMsgType int32 `protobuf:"varint,1,opt,name=notificationMsgType,proto3" json:"notificationMsgType,omitempty"` - ReplyUserName string `protobuf:"bytes,2,opt,name=replyUserName,proto3" json:"replyUserName,omitempty"` - ReplyUserID string `protobuf:"bytes,3,opt,name=replyUserID,proto3" json:"replyUserID,omitempty"` - Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` - ContentID string `protobuf:"bytes,5,opt,name=contentID,proto3" json:"contentID,omitempty"` - WorkMomentID string `protobuf:"bytes,6,opt,name=workMomentID,proto3" json:"workMomentID,omitempty"` - UserID string `protobuf:"bytes,7,opt,name=userID,proto3" json:"userID,omitempty"` - UserName string `protobuf:"bytes,8,opt,name=userName,proto3" json:"userName,omitempty"` - FaceURL string `protobuf:"bytes,9,opt,name=faceURL,proto3" json:"faceURL,omitempty"` - WorkMomentContent string `protobuf:"bytes,10,opt,name=workMomentContent,proto3" json:"workMomentContent,omitempty"` - CreateTime int32 `protobuf:"varint,11,opt,name=createTime,proto3" json:"createTime,omitempty"` -} - -func (x *WorkMomentNotificationMsg) Reset() { - *x = WorkMomentNotificationMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WorkMomentNotificationMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorkMomentNotificationMsg) ProtoMessage() {} - -func (x *WorkMomentNotificationMsg) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorkMomentNotificationMsg.ProtoReflect.Descriptor instead. -func (*WorkMomentNotificationMsg) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{42} -} - -func (x *WorkMomentNotificationMsg) GetNotificationMsgType() int32 { - if x != nil { - return x.NotificationMsgType - } - return 0 -} - -func (x *WorkMomentNotificationMsg) GetReplyUserName() string { - if x != nil { - return x.ReplyUserName - } - return "" -} - -func (x *WorkMomentNotificationMsg) GetReplyUserID() string { - if x != nil { - return x.ReplyUserID - } - return "" -} - -func (x *WorkMomentNotificationMsg) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -func (x *WorkMomentNotificationMsg) GetContentID() string { - if x != nil { - return x.ContentID - } - return "" -} - -func (x *WorkMomentNotificationMsg) GetWorkMomentID() string { - if x != nil { - return x.WorkMomentID - } - return "" -} - -func (x *WorkMomentNotificationMsg) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *WorkMomentNotificationMsg) GetUserName() string { - if x != nil { - return x.UserName - } - return "" -} - -func (x *WorkMomentNotificationMsg) GetFaceURL() string { - if x != nil { - return x.FaceURL - } - return "" -} - -func (x *WorkMomentNotificationMsg) GetWorkMomentContent() string { - if x != nil { - return x.WorkMomentContent - } - return "" -} - -func (x *WorkMomentNotificationMsg) GetCreateTime() int32 { - if x != nil { - return x.CreateTime - } - return 0 -} - -type SetUserWorkMomentsLevelReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *SetUserWorkMomentsLevelReq) Reset() { - *x = SetUserWorkMomentsLevelReq{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetUserWorkMomentsLevelReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetUserWorkMomentsLevelReq) ProtoMessage() {} - -func (x *SetUserWorkMomentsLevelReq) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetUserWorkMomentsLevelReq.ProtoReflect.Descriptor instead. -func (*SetUserWorkMomentsLevelReq) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{43} -} - -func (x *SetUserWorkMomentsLevelReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *SetUserWorkMomentsLevelReq) GetLevel() int32 { - if x != nil { - return x.Level - } - return 0 -} - -func (x *SetUserWorkMomentsLevelReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type SetUserWorkMomentsLevelResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *SetUserWorkMomentsLevelResp) Reset() { - *x = SetUserWorkMomentsLevelResp{} - if protoimpl.UnsafeEnabled { - mi := &file_office_office_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetUserWorkMomentsLevelResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetUserWorkMomentsLevelResp) ProtoMessage() {} - -func (x *SetUserWorkMomentsLevelResp) ProtoReflect() protoreflect.Message { - mi := &file_office_office_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetUserWorkMomentsLevelResp.ProtoReflect.Descriptor instead. -func (*SetUserWorkMomentsLevelResp) Descriptor() ([]byte, []int) { - return file_office_office_proto_rawDescGZIP(), []int{44} -} - -func (x *SetUserWorkMomentsLevelResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -var File_office_office_proto protoreflect.FileDescriptor - -var file_office_office_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2f, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x1a, 0x28, 0x4f, - 0x70, 0x65, 0x6e, 0x2d, 0x49, 0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6b, - 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x5f, 0x77, 0x73, 0x2f, 0x77, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x3d, 0x0a, 0x07, 0x54, 0x61, 0x67, 0x55, 0x73, - 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x62, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x14, 0x0a, - 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, - 0x67, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, - 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x0f, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4a, 0x0a, 0x0e, 0x47, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x66, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, - 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6f, 0x66, - 0x66, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x82, - 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x12, - 0x18, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x22, 0x43, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, - 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x5e, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, - 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x43, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0xd1, 0x01, - 0x0a, 0x09, 0x53, 0x65, 0x74, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x77, - 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, - 0x65, 0x64, 0x75, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x22, 0x40, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x22, 0xe4, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x32, - 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, - 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, - 0x6e, 0x64, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, - 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x73, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x44, 0x12, 0x18, - 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x45, 0x0a, 0x0f, 0x53, 0x65, - 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x32, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, - 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x22, 0x93, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, - 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x12, 0x44, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, - 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x6f, 0x0a, 0x0a, 0x54, 0x61, 0x67, 0x53, 0x65, - 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x12, 0x2b, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, - 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, - 0x2e, 0x54, 0x61, 0x67, 0x55, 0x73, 0x65, 0x72, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, - 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, - 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, - 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x45, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, - 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x0b, 0x74, 0x61, - 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, - 0x4c, 0x6f, 0x67, 0x52, 0x0b, 0x74, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, - 0x22, 0x63, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x42, 0x79, - 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, - 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, - 0x67, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x67, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x54, 0x61, 0x67, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x1d, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6f, - 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x3e, - 0x0a, 0x08, 0x4c, 0x69, 0x6b, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x46, - 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, - 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xf7, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61, 0x63, 0x65, 0x55, 0x52, - 0x4c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61, 0x63, 0x65, 0x55, 0x52, 0x4c, - 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x79, - 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x22, 0x49, 0x0a, 0x0f, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x22, 0x44, 0x0a, 0x0e, 0x57, - 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, - 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0x8c, 0x04, 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, - 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, - 0x6e, 0x74, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, - 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61, 0x63, 0x65, - 0x55, 0x52, 0x4c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61, 0x63, 0x65, 0x55, - 0x52, 0x4c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x0c, - 0x6c, 0x69, 0x6b, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0c, 0x6c, 0x69, 0x6b, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6f, 0x66, 0x66, - 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6d, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x12, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, - 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x12, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, - 0x13, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x66, 0x66, - 0x69, 0x63, 0x65, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x52, 0x13, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6f, - 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x0a, 0x61, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x22, 0x6e, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, - 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x32, 0x0a, 0x0a, 0x77, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x20, - 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, - 0x22, 0x4d, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, - 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, - 0x76, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, - 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, - 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x16, 0x0a, - 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x4d, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x74, 0x0a, 0x14, 0x4c, 0x69, 0x6b, 0x65, 0x4f, 0x6e, - 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, - 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, - 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x57, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x4b, 0x0a, 0x15, - 0x4c, 0x69, 0x6b, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, - 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0xb3, 0x01, 0x0a, 0x17, 0x43, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x22, 0x0a, - 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, - 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, - 0x4e, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, - 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, - 0x92, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, - 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, - 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x47, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x78, 0x0a, - 0x14, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, - 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, - 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, - 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x7f, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x57, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, - 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, - 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x77, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xd5, 0x01, 0x0a, 0x1d, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1a, - 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x14, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, - 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, - 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, - 0x22, 0x54, 0x0a, 0x1e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, - 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0xb3, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x12, 0x44, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, - 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xc9, 0x01, 0x0a, - 0x16, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, - 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, - 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x0b, 0x77, - 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, - 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x50, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, - 0x12, 0x44, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, - 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x50, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xcf, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x34, 0x0a, - 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, - 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8d, 0x03, 0x0a, 0x19, 0x57, - 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x30, 0x0a, 0x13, 0x6e, 0x6f, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, - 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x16, - 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61, 0x63, 0x65, 0x55, 0x52, 0x4c, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61, 0x63, 0x65, 0x55, 0x52, 0x4c, 0x12, 0x2c, 0x0a, 0x11, - 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, - 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x6c, 0x0a, 0x1a, 0x53, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, - 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, - 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x51, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x55, - 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x65, - 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6f, 0x66, - 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, - 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x32, 0xc8, 0x0a, 0x0a, 0x0d, - 0x4f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3e, 0x0a, - 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x12, 0x16, 0x2e, 0x6f, - 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, - 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, - 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x12, 0x14, 0x2e, 0x6f, 0x66, 0x66, - 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, - 0x1a, 0x15, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x54, 0x61, 0x67, 0x12, 0x14, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x6f, 0x66, 0x66, - 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x2f, 0x0a, 0x06, 0x53, 0x65, 0x74, 0x54, 0x61, 0x67, 0x12, 0x11, 0x2e, 0x6f, 0x66, - 0x66, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x12, - 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x67, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x3e, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x32, 0x54, 0x61, - 0x67, 0x12, 0x16, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, - 0x73, 0x67, 0x32, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6f, 0x66, 0x66, 0x69, - 0x63, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x32, 0x54, 0x61, 0x67, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x47, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, - 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x19, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, - 0x74, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x1a, - 0x1a, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, - 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x0e, 0x47, - 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x42, 0x79, 0x49, 0x44, 0x12, 0x19, 0x2e, - 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, - 0x67, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, - 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x42, 0x79, 0x49, 0x44, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x56, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x6e, - 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x6f, 0x66, - 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6f, 0x66, - 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x56, 0x0a, 0x13, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, - 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x50, 0x0a, 0x11, 0x4c, 0x69, 0x6b, 0x65, 0x4f, 0x6e, 0x65, 0x57, - 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x2e, 0x6f, 0x66, 0x66, 0x69, - 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, - 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x59, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x74, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, - 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, - 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, - 0x20, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, - 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x44, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x18, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x6f, - 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x50, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x57, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x44, 0x12, 0x1c, 0x2e, 0x6f, - 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, - 0x65, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x6f, 0x66, 0x66, - 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, - 0x74, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6b, 0x0a, 0x1a, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, - 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, - 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x26, - 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x53, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x6f, - 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, - 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6f, 0x66, - 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, - 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x65, 0x0a, 0x18, 0x47, - 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x57, 0x6f, 0x72, 0x6b, - 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, - 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x57, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x6f, - 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, - 0x65, 0x6e, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x62, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, - 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x22, 0x2e, - 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, - 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, - 0x71, 0x1a, 0x23, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x65, 0x76, - 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x42, 0x21, 0x5a, 0x1f, 0x4f, 0x70, 0x65, 0x6e, 0x5f, 0x49, - 0x4d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x66, 0x66, 0x69, - 0x63, 0x65, 0x3b, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_office_office_proto_rawDescOnce sync.Once - file_office_office_proto_rawDescData = file_office_office_proto_rawDesc -) - -func file_office_office_proto_rawDescGZIP() []byte { - file_office_office_proto_rawDescOnce.Do(func() { - file_office_office_proto_rawDescData = protoimpl.X.CompressGZIP(file_office_office_proto_rawDescData) - }) - return file_office_office_proto_rawDescData -} - -var file_office_office_proto_msgTypes = make([]protoimpl.MessageInfo, 45) -var file_office_office_proto_goTypes = []interface{}{ - (*CommonResp)(nil), // 0: office.CommonResp - (*TagUser)(nil), // 1: office.TagUser - (*Tag)(nil), // 2: office.Tag - (*GetUserTagsReq)(nil), // 3: office.GetUserTagsReq - (*GetUserTagsResp)(nil), // 4: office.GetUserTagsResp - (*CreateTagReq)(nil), // 5: office.CreateTagReq - (*CreateTagResp)(nil), // 6: office.CreateTagResp - (*DeleteTagReq)(nil), // 7: office.DeleteTagReq - (*DeleteTagResp)(nil), // 8: office.DeleteTagResp - (*SetTagReq)(nil), // 9: office.SetTagReq - (*SetTagResp)(nil), // 10: office.SetTagResp - (*SendMsg2TagReq)(nil), // 11: office.SendMsg2TagReq - (*SendMsg2TagResp)(nil), // 12: office.SendMsg2TagResp - (*GetTagSendLogsReq)(nil), // 13: office.GetTagSendLogsReq - (*TagSendLog)(nil), // 14: office.TagSendLog - (*GetTagSendLogsResp)(nil), // 15: office.GetTagSendLogsResp - (*GetUserTagByIDReq)(nil), // 16: office.GetUserTagByIDReq - (*GetUserTagByIDResp)(nil), // 17: office.GetUserTagByIDResp - (*LikeUser)(nil), // 18: office.LikeUser - (*NotificationUser)(nil), // 19: office.NotificationUser - (*Comment)(nil), // 20: office.Comment - (*PermissionGroup)(nil), // 21: office.PermissionGroup - (*WorkMomentUser)(nil), // 22: office.WorkMomentUser - (*WorkMoment)(nil), // 23: office.WorkMoment - (*CreateOneWorkMomentReq)(nil), // 24: office.CreateOneWorkMomentReq - (*CreateOneWorkMomentResp)(nil), // 25: office.CreateOneWorkMomentResp - (*DeleteOneWorkMomentReq)(nil), // 26: office.DeleteOneWorkMomentReq - (*DeleteOneWorkMomentResp)(nil), // 27: office.DeleteOneWorkMomentResp - (*LikeOneWorkMomentReq)(nil), // 28: office.LikeOneWorkMomentReq - (*LikeOneWorkMomentResp)(nil), // 29: office.LikeOneWorkMomentResp - (*CommentOneWorkMomentReq)(nil), // 30: office.CommentOneWorkMomentReq - (*CommentOneWorkMomentResp)(nil), // 31: office.CommentOneWorkMomentResp - (*DeleteCommentReq)(nil), // 32: office.DeleteCommentReq - (*DeleteCommentResp)(nil), // 33: office.DeleteCommentResp - (*GetWorkMomentByIDReq)(nil), // 34: office.GetWorkMomentByIDReq - (*GetWorkMomentByIDResp)(nil), // 35: office.GetWorkMomentByIDResp - (*ChangeWorkMomentPermissionReq)(nil), // 36: office.ChangeWorkMomentPermissionReq - (*ChangeWorkMomentPermissionResp)(nil), // 37: office.ChangeWorkMomentPermissionResp - (*GetUserWorkMomentsReq)(nil), // 38: office.GetUserWorkMomentsReq - (*GetUserWorkMomentsResp)(nil), // 39: office.GetUserWorkMomentsResp - (*GetUserFriendWorkMomentsReq)(nil), // 40: office.GetUserFriendWorkMomentsReq - (*GetUserFriendWorkMomentsResp)(nil), // 41: office.GetUserFriendWorkMomentsResp - (*WorkMomentNotificationMsg)(nil), // 42: office.WorkMomentNotificationMsg - (*SetUserWorkMomentsLevelReq)(nil), // 43: office.SetUserWorkMomentsLevelReq - (*SetUserWorkMomentsLevelResp)(nil), // 44: office.SetUserWorkMomentsLevelResp - (*sdk_ws.RequestPagination)(nil), // 45: server_api_params.RequestPagination - (*sdk_ws.ResponsePagination)(nil), // 46: server_api_params.ResponsePagination -} -var file_office_office_proto_depIdxs = []int32{ - 1, // 0: office.Tag.userList:type_name -> office.TagUser - 0, // 1: office.GetUserTagsResp.commonResp:type_name -> office.CommonResp - 2, // 2: office.GetUserTagsResp.tags:type_name -> office.Tag - 0, // 3: office.CreateTagResp.commonResp:type_name -> office.CommonResp - 0, // 4: office.DeleteTagResp.commonResp:type_name -> office.CommonResp - 0, // 5: office.SetTagResp.commonResp:type_name -> office.CommonResp - 0, // 6: office.SendMsg2TagResp.commonResp:type_name -> office.CommonResp - 45, // 7: office.GetTagSendLogsReq.Pagination:type_name -> server_api_params.RequestPagination - 1, // 8: office.TagSendLog.userList:type_name -> office.TagUser - 0, // 9: office.GetTagSendLogsResp.commonResp:type_name -> office.CommonResp - 46, // 10: office.GetTagSendLogsResp.Pagination:type_name -> server_api_params.ResponsePagination - 14, // 11: office.GetTagSendLogsResp.tagSendLogs:type_name -> office.TagSendLog - 0, // 12: office.GetUserTagByIDResp.commonResp:type_name -> office.CommonResp - 2, // 13: office.GetUserTagByIDResp.tag:type_name -> office.Tag - 22, // 14: office.WorkMoment.likeUserList:type_name -> office.WorkMomentUser - 20, // 15: office.WorkMoment.comments:type_name -> office.Comment - 22, // 16: office.WorkMoment.permissionUserList:type_name -> office.WorkMomentUser - 21, // 17: office.WorkMoment.permissionGroupList:type_name -> office.PermissionGroup - 22, // 18: office.WorkMoment.atUserList:type_name -> office.WorkMomentUser - 23, // 19: office.CreateOneWorkMomentReq.workMoment:type_name -> office.WorkMoment - 0, // 20: office.CreateOneWorkMomentResp.commonResp:type_name -> office.CommonResp - 0, // 21: office.DeleteOneWorkMomentResp.commonResp:type_name -> office.CommonResp - 0, // 22: office.LikeOneWorkMomentResp.commonResp:type_name -> office.CommonResp - 0, // 23: office.CommentOneWorkMomentResp.commonResp:type_name -> office.CommonResp - 0, // 24: office.DeleteCommentResp.commonResp:type_name -> office.CommonResp - 0, // 25: office.GetWorkMomentByIDResp.commonResp:type_name -> office.CommonResp - 23, // 26: office.GetWorkMomentByIDResp.workMoment:type_name -> office.WorkMoment - 0, // 27: office.ChangeWorkMomentPermissionResp.commonResp:type_name -> office.CommonResp - 45, // 28: office.GetUserWorkMomentsReq.Pagination:type_name -> server_api_params.RequestPagination - 0, // 29: office.GetUserWorkMomentsResp.commonResp:type_name -> office.CommonResp - 23, // 30: office.GetUserWorkMomentsResp.workMoments:type_name -> office.WorkMoment - 46, // 31: office.GetUserWorkMomentsResp.Pagination:type_name -> server_api_params.ResponsePagination - 45, // 32: office.GetUserFriendWorkMomentsReq.Pagination:type_name -> server_api_params.RequestPagination - 0, // 33: office.GetUserFriendWorkMomentsResp.commonResp:type_name -> office.CommonResp - 23, // 34: office.GetUserFriendWorkMomentsResp.workMoments:type_name -> office.WorkMoment - 46, // 35: office.GetUserFriendWorkMomentsResp.Pagination:type_name -> server_api_params.ResponsePagination - 0, // 36: office.SetUserWorkMomentsLevelResp.commonResp:type_name -> office.CommonResp - 3, // 37: office.OfficeService.GetUserTags:input_type -> office.GetUserTagsReq - 5, // 38: office.OfficeService.CreateTag:input_type -> office.CreateTagReq - 7, // 39: office.OfficeService.DeleteTag:input_type -> office.DeleteTagReq - 9, // 40: office.OfficeService.SetTag:input_type -> office.SetTagReq - 11, // 41: office.OfficeService.SendMsg2Tag:input_type -> office.SendMsg2TagReq - 13, // 42: office.OfficeService.GetTagSendLogs:input_type -> office.GetTagSendLogsReq - 16, // 43: office.OfficeService.GetUserTagByID:input_type -> office.GetUserTagByIDReq - 24, // 44: office.OfficeService.CreateOneWorkMoment:input_type -> office.CreateOneWorkMomentReq - 26, // 45: office.OfficeService.DeleteOneWorkMoment:input_type -> office.DeleteOneWorkMomentReq - 28, // 46: office.OfficeService.LikeOneWorkMoment:input_type -> office.LikeOneWorkMomentReq - 30, // 47: office.OfficeService.CommentOneWorkMoment:input_type -> office.CommentOneWorkMomentReq - 32, // 48: office.OfficeService.DeleteComment:input_type -> office.DeleteCommentReq - 34, // 49: office.OfficeService.GetWorkMomentByID:input_type -> office.GetWorkMomentByIDReq - 36, // 50: office.OfficeService.ChangeWorkMomentPermission:input_type -> office.ChangeWorkMomentPermissionReq - 38, // 51: office.OfficeService.GetUserWorkMoments:input_type -> office.GetUserWorkMomentsReq - 40, // 52: office.OfficeService.GetUserFriendWorkMoments:input_type -> office.GetUserFriendWorkMomentsReq - 43, // 53: office.OfficeService.SetUserWorkMomentsLevel:input_type -> office.SetUserWorkMomentsLevelReq - 4, // 54: office.OfficeService.GetUserTags:output_type -> office.GetUserTagsResp - 6, // 55: office.OfficeService.CreateTag:output_type -> office.CreateTagResp - 8, // 56: office.OfficeService.DeleteTag:output_type -> office.DeleteTagResp - 10, // 57: office.OfficeService.SetTag:output_type -> office.SetTagResp - 12, // 58: office.OfficeService.SendMsg2Tag:output_type -> office.SendMsg2TagResp - 15, // 59: office.OfficeService.GetTagSendLogs:output_type -> office.GetTagSendLogsResp - 17, // 60: office.OfficeService.GetUserTagByID:output_type -> office.GetUserTagByIDResp - 25, // 61: office.OfficeService.CreateOneWorkMoment:output_type -> office.CreateOneWorkMomentResp - 27, // 62: office.OfficeService.DeleteOneWorkMoment:output_type -> office.DeleteOneWorkMomentResp - 29, // 63: office.OfficeService.LikeOneWorkMoment:output_type -> office.LikeOneWorkMomentResp - 31, // 64: office.OfficeService.CommentOneWorkMoment:output_type -> office.CommentOneWorkMomentResp - 33, // 65: office.OfficeService.DeleteComment:output_type -> office.DeleteCommentResp - 35, // 66: office.OfficeService.GetWorkMomentByID:output_type -> office.GetWorkMomentByIDResp - 37, // 67: office.OfficeService.ChangeWorkMomentPermission:output_type -> office.ChangeWorkMomentPermissionResp - 39, // 68: office.OfficeService.GetUserWorkMoments:output_type -> office.GetUserWorkMomentsResp - 41, // 69: office.OfficeService.GetUserFriendWorkMoments:output_type -> office.GetUserFriendWorkMomentsResp - 44, // 70: office.OfficeService.SetUserWorkMomentsLevel:output_type -> office.SetUserWorkMomentsLevelResp - 54, // [54:71] is the sub-list for method output_type - 37, // [37:54] is the sub-list for method input_type - 37, // [37:37] is the sub-list for extension type_name - 37, // [37:37] is the sub-list for extension extendee - 0, // [0:37] is the sub-list for field type_name -} - -func init() { file_office_office_proto_init() } -func file_office_office_proto_init() { - if File_office_office_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_office_office_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommonResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TagUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Tag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserTagsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserTagsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTagReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTagResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTagReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTagResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetTagReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetTagResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendMsg2TagReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendMsg2TagResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTagSendLogsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TagSendLog); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTagSendLogsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserTagByIDReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserTagByIDResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LikeUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotificationUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Comment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PermissionGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkMomentUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkMoment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOneWorkMomentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOneWorkMomentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOneWorkMomentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOneWorkMomentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LikeOneWorkMomentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LikeOneWorkMomentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommentOneWorkMomentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommentOneWorkMomentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCommentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCommentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkMomentByIDReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWorkMomentByIDResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeWorkMomentPermissionReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeWorkMomentPermissionResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserWorkMomentsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserWorkMomentsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserFriendWorkMomentsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserFriendWorkMomentsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkMomentNotificationMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetUserWorkMomentsLevelReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_office_office_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetUserWorkMomentsLevelResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_office_office_proto_rawDesc, - NumEnums: 0, - NumMessages: 45, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_office_office_proto_goTypes, - DependencyIndexes: file_office_office_proto_depIdxs, - MessageInfos: file_office_office_proto_msgTypes, - }.Build() - File_office_office_proto = out.File - file_office_office_proto_rawDesc = nil - file_office_office_proto_goTypes = nil - file_office_office_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// OfficeServiceClient is the client API for OfficeService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OfficeServiceClient interface { - GetUserTags(ctx context.Context, in *GetUserTagsReq, opts ...grpc.CallOption) (*GetUserTagsResp, error) - CreateTag(ctx context.Context, in *CreateTagReq, opts ...grpc.CallOption) (*CreateTagResp, error) - DeleteTag(ctx context.Context, in *DeleteTagReq, opts ...grpc.CallOption) (*DeleteTagResp, error) - SetTag(ctx context.Context, in *SetTagReq, opts ...grpc.CallOption) (*SetTagResp, error) - SendMsg2Tag(ctx context.Context, in *SendMsg2TagReq, opts ...grpc.CallOption) (*SendMsg2TagResp, error) - GetTagSendLogs(ctx context.Context, in *GetTagSendLogsReq, opts ...grpc.CallOption) (*GetTagSendLogsResp, error) - GetUserTagByID(ctx context.Context, in *GetUserTagByIDReq, opts ...grpc.CallOption) (*GetUserTagByIDResp, error) - CreateOneWorkMoment(ctx context.Context, in *CreateOneWorkMomentReq, opts ...grpc.CallOption) (*CreateOneWorkMomentResp, error) - DeleteOneWorkMoment(ctx context.Context, in *DeleteOneWorkMomentReq, opts ...grpc.CallOption) (*DeleteOneWorkMomentResp, error) - LikeOneWorkMoment(ctx context.Context, in *LikeOneWorkMomentReq, opts ...grpc.CallOption) (*LikeOneWorkMomentResp, error) - CommentOneWorkMoment(ctx context.Context, in *CommentOneWorkMomentReq, opts ...grpc.CallOption) (*CommentOneWorkMomentResp, error) - DeleteComment(ctx context.Context, in *DeleteCommentReq, opts ...grpc.CallOption) (*DeleteCommentResp, error) - GetWorkMomentByID(ctx context.Context, in *GetWorkMomentByIDReq, opts ...grpc.CallOption) (*GetWorkMomentByIDResp, error) - ChangeWorkMomentPermission(ctx context.Context, in *ChangeWorkMomentPermissionReq, opts ...grpc.CallOption) (*ChangeWorkMomentPermissionResp, error) - /// user self - GetUserWorkMoments(ctx context.Context, in *GetUserWorkMomentsReq, opts ...grpc.CallOption) (*GetUserWorkMomentsResp, error) - /// users friend - GetUserFriendWorkMoments(ctx context.Context, in *GetUserFriendWorkMomentsReq, opts ...grpc.CallOption) (*GetUserFriendWorkMomentsResp, error) - SetUserWorkMomentsLevel(ctx context.Context, in *SetUserWorkMomentsLevelReq, opts ...grpc.CallOption) (*SetUserWorkMomentsLevelResp, error) -} - -type officeServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewOfficeServiceClient(cc grpc.ClientConnInterface) OfficeServiceClient { - return &officeServiceClient{cc} -} - -func (c *officeServiceClient) GetUserTags(ctx context.Context, in *GetUserTagsReq, opts ...grpc.CallOption) (*GetUserTagsResp, error) { - out := new(GetUserTagsResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/GetUserTags", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) CreateTag(ctx context.Context, in *CreateTagReq, opts ...grpc.CallOption) (*CreateTagResp, error) { - out := new(CreateTagResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/CreateTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) DeleteTag(ctx context.Context, in *DeleteTagReq, opts ...grpc.CallOption) (*DeleteTagResp, error) { - out := new(DeleteTagResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/DeleteTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) SetTag(ctx context.Context, in *SetTagReq, opts ...grpc.CallOption) (*SetTagResp, error) { - out := new(SetTagResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/SetTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) SendMsg2Tag(ctx context.Context, in *SendMsg2TagReq, opts ...grpc.CallOption) (*SendMsg2TagResp, error) { - out := new(SendMsg2TagResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/SendMsg2Tag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) GetTagSendLogs(ctx context.Context, in *GetTagSendLogsReq, opts ...grpc.CallOption) (*GetTagSendLogsResp, error) { - out := new(GetTagSendLogsResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/GetTagSendLogs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) GetUserTagByID(ctx context.Context, in *GetUserTagByIDReq, opts ...grpc.CallOption) (*GetUserTagByIDResp, error) { - out := new(GetUserTagByIDResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/GetUserTagByID", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) CreateOneWorkMoment(ctx context.Context, in *CreateOneWorkMomentReq, opts ...grpc.CallOption) (*CreateOneWorkMomentResp, error) { - out := new(CreateOneWorkMomentResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/CreateOneWorkMoment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) DeleteOneWorkMoment(ctx context.Context, in *DeleteOneWorkMomentReq, opts ...grpc.CallOption) (*DeleteOneWorkMomentResp, error) { - out := new(DeleteOneWorkMomentResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/DeleteOneWorkMoment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) LikeOneWorkMoment(ctx context.Context, in *LikeOneWorkMomentReq, opts ...grpc.CallOption) (*LikeOneWorkMomentResp, error) { - out := new(LikeOneWorkMomentResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/LikeOneWorkMoment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) CommentOneWorkMoment(ctx context.Context, in *CommentOneWorkMomentReq, opts ...grpc.CallOption) (*CommentOneWorkMomentResp, error) { - out := new(CommentOneWorkMomentResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/CommentOneWorkMoment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) DeleteComment(ctx context.Context, in *DeleteCommentReq, opts ...grpc.CallOption) (*DeleteCommentResp, error) { - out := new(DeleteCommentResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/DeleteComment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) GetWorkMomentByID(ctx context.Context, in *GetWorkMomentByIDReq, opts ...grpc.CallOption) (*GetWorkMomentByIDResp, error) { - out := new(GetWorkMomentByIDResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/GetWorkMomentByID", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) ChangeWorkMomentPermission(ctx context.Context, in *ChangeWorkMomentPermissionReq, opts ...grpc.CallOption) (*ChangeWorkMomentPermissionResp, error) { - out := new(ChangeWorkMomentPermissionResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/ChangeWorkMomentPermission", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) GetUserWorkMoments(ctx context.Context, in *GetUserWorkMomentsReq, opts ...grpc.CallOption) (*GetUserWorkMomentsResp, error) { - out := new(GetUserWorkMomentsResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/GetUserWorkMoments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) GetUserFriendWorkMoments(ctx context.Context, in *GetUserFriendWorkMomentsReq, opts ...grpc.CallOption) (*GetUserFriendWorkMomentsResp, error) { - out := new(GetUserFriendWorkMomentsResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/GetUserFriendWorkMoments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *officeServiceClient) SetUserWorkMomentsLevel(ctx context.Context, in *SetUserWorkMomentsLevelReq, opts ...grpc.CallOption) (*SetUserWorkMomentsLevelResp, error) { - out := new(SetUserWorkMomentsLevelResp) - err := c.cc.Invoke(ctx, "/office.OfficeService/SetUserWorkMomentsLevel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OfficeServiceServer is the server API for OfficeService service. -type OfficeServiceServer interface { - GetUserTags(context.Context, *GetUserTagsReq) (*GetUserTagsResp, error) - CreateTag(context.Context, *CreateTagReq) (*CreateTagResp, error) - DeleteTag(context.Context, *DeleteTagReq) (*DeleteTagResp, error) - SetTag(context.Context, *SetTagReq) (*SetTagResp, error) - SendMsg2Tag(context.Context, *SendMsg2TagReq) (*SendMsg2TagResp, error) - GetTagSendLogs(context.Context, *GetTagSendLogsReq) (*GetTagSendLogsResp, error) - GetUserTagByID(context.Context, *GetUserTagByIDReq) (*GetUserTagByIDResp, error) - CreateOneWorkMoment(context.Context, *CreateOneWorkMomentReq) (*CreateOneWorkMomentResp, error) - DeleteOneWorkMoment(context.Context, *DeleteOneWorkMomentReq) (*DeleteOneWorkMomentResp, error) - LikeOneWorkMoment(context.Context, *LikeOneWorkMomentReq) (*LikeOneWorkMomentResp, error) - CommentOneWorkMoment(context.Context, *CommentOneWorkMomentReq) (*CommentOneWorkMomentResp, error) - DeleteComment(context.Context, *DeleteCommentReq) (*DeleteCommentResp, error) - GetWorkMomentByID(context.Context, *GetWorkMomentByIDReq) (*GetWorkMomentByIDResp, error) - ChangeWorkMomentPermission(context.Context, *ChangeWorkMomentPermissionReq) (*ChangeWorkMomentPermissionResp, error) - /// user self - GetUserWorkMoments(context.Context, *GetUserWorkMomentsReq) (*GetUserWorkMomentsResp, error) - /// users friend - GetUserFriendWorkMoments(context.Context, *GetUserFriendWorkMomentsReq) (*GetUserFriendWorkMomentsResp, error) - SetUserWorkMomentsLevel(context.Context, *SetUserWorkMomentsLevelReq) (*SetUserWorkMomentsLevelResp, error) -} - -// UnimplementedOfficeServiceServer can be embedded to have forward compatible implementations. -type UnimplementedOfficeServiceServer struct { -} - -func (*UnimplementedOfficeServiceServer) GetUserTags(context.Context, *GetUserTagsReq) (*GetUserTagsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserTags not implemented") -} -func (*UnimplementedOfficeServiceServer) CreateTag(context.Context, *CreateTagReq) (*CreateTagResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTag not implemented") -} -func (*UnimplementedOfficeServiceServer) DeleteTag(context.Context, *DeleteTagReq) (*DeleteTagResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTag not implemented") -} -func (*UnimplementedOfficeServiceServer) SetTag(context.Context, *SetTagReq) (*SetTagResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetTag not implemented") -} -func (*UnimplementedOfficeServiceServer) SendMsg2Tag(context.Context, *SendMsg2TagReq) (*SendMsg2TagResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method SendMsg2Tag not implemented") -} -func (*UnimplementedOfficeServiceServer) GetTagSendLogs(context.Context, *GetTagSendLogsReq) (*GetTagSendLogsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTagSendLogs not implemented") -} -func (*UnimplementedOfficeServiceServer) GetUserTagByID(context.Context, *GetUserTagByIDReq) (*GetUserTagByIDResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserTagByID not implemented") -} -func (*UnimplementedOfficeServiceServer) CreateOneWorkMoment(context.Context, *CreateOneWorkMomentReq) (*CreateOneWorkMomentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOneWorkMoment not implemented") -} -func (*UnimplementedOfficeServiceServer) DeleteOneWorkMoment(context.Context, *DeleteOneWorkMomentReq) (*DeleteOneWorkMomentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteOneWorkMoment not implemented") -} -func (*UnimplementedOfficeServiceServer) LikeOneWorkMoment(context.Context, *LikeOneWorkMomentReq) (*LikeOneWorkMomentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method LikeOneWorkMoment not implemented") -} -func (*UnimplementedOfficeServiceServer) CommentOneWorkMoment(context.Context, *CommentOneWorkMomentReq) (*CommentOneWorkMomentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method CommentOneWorkMoment not implemented") -} -func (*UnimplementedOfficeServiceServer) DeleteComment(context.Context, *DeleteCommentReq) (*DeleteCommentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteComment not implemented") -} -func (*UnimplementedOfficeServiceServer) GetWorkMomentByID(context.Context, *GetWorkMomentByIDReq) (*GetWorkMomentByIDResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkMomentByID not implemented") -} -func (*UnimplementedOfficeServiceServer) ChangeWorkMomentPermission(context.Context, *ChangeWorkMomentPermissionReq) (*ChangeWorkMomentPermissionResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method ChangeWorkMomentPermission not implemented") -} -func (*UnimplementedOfficeServiceServer) GetUserWorkMoments(context.Context, *GetUserWorkMomentsReq) (*GetUserWorkMomentsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserWorkMoments not implemented") -} -func (*UnimplementedOfficeServiceServer) GetUserFriendWorkMoments(context.Context, *GetUserFriendWorkMomentsReq) (*GetUserFriendWorkMomentsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserFriendWorkMoments not implemented") -} -func (*UnimplementedOfficeServiceServer) SetUserWorkMomentsLevel(context.Context, *SetUserWorkMomentsLevelReq) (*SetUserWorkMomentsLevelResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUserWorkMomentsLevel not implemented") -} - -func RegisterOfficeServiceServer(s *grpc.Server, srv OfficeServiceServer) { - s.RegisterService(&_OfficeService_serviceDesc, srv) -} - -func _OfficeService_GetUserTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserTagsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).GetUserTags(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/GetUserTags", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).GetUserTags(ctx, req.(*GetUserTagsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_CreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTagReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).CreateTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/CreateTag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).CreateTag(ctx, req.(*CreateTagReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_DeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTagReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).DeleteTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/DeleteTag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).DeleteTag(ctx, req.(*DeleteTagReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_SetTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetTagReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).SetTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/SetTag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).SetTag(ctx, req.(*SetTagReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_SendMsg2Tag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SendMsg2TagReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).SendMsg2Tag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/SendMsg2Tag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).SendMsg2Tag(ctx, req.(*SendMsg2TagReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_GetTagSendLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTagSendLogsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).GetTagSendLogs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/GetTagSendLogs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).GetTagSendLogs(ctx, req.(*GetTagSendLogsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_GetUserTagByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserTagByIDReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).GetUserTagByID(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/GetUserTagByID", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).GetUserTagByID(ctx, req.(*GetUserTagByIDReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_CreateOneWorkMoment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateOneWorkMomentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).CreateOneWorkMoment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/CreateOneWorkMoment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).CreateOneWorkMoment(ctx, req.(*CreateOneWorkMomentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_DeleteOneWorkMoment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteOneWorkMomentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).DeleteOneWorkMoment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/DeleteOneWorkMoment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).DeleteOneWorkMoment(ctx, req.(*DeleteOneWorkMomentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_LikeOneWorkMoment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LikeOneWorkMomentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).LikeOneWorkMoment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/LikeOneWorkMoment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).LikeOneWorkMoment(ctx, req.(*LikeOneWorkMomentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_CommentOneWorkMoment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommentOneWorkMomentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).CommentOneWorkMoment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/CommentOneWorkMoment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).CommentOneWorkMoment(ctx, req.(*CommentOneWorkMomentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_DeleteComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteCommentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).DeleteComment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/DeleteComment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).DeleteComment(ctx, req.(*DeleteCommentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_GetWorkMomentByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetWorkMomentByIDReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).GetWorkMomentByID(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/GetWorkMomentByID", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).GetWorkMomentByID(ctx, req.(*GetWorkMomentByIDReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_ChangeWorkMomentPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ChangeWorkMomentPermissionReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).ChangeWorkMomentPermission(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/ChangeWorkMomentPermission", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).ChangeWorkMomentPermission(ctx, req.(*ChangeWorkMomentPermissionReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_GetUserWorkMoments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserWorkMomentsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).GetUserWorkMoments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/GetUserWorkMoments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).GetUserWorkMoments(ctx, req.(*GetUserWorkMomentsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_GetUserFriendWorkMoments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserFriendWorkMomentsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).GetUserFriendWorkMoments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/GetUserFriendWorkMoments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).GetUserFriendWorkMoments(ctx, req.(*GetUserFriendWorkMomentsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _OfficeService_SetUserWorkMomentsLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetUserWorkMomentsLevelReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OfficeServiceServer).SetUserWorkMomentsLevel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/office.OfficeService/SetUserWorkMomentsLevel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OfficeServiceServer).SetUserWorkMomentsLevel(ctx, req.(*SetUserWorkMomentsLevelReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _OfficeService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "office.OfficeService", - HandlerType: (*OfficeServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetUserTags", - Handler: _OfficeService_GetUserTags_Handler, - }, - { - MethodName: "CreateTag", - Handler: _OfficeService_CreateTag_Handler, - }, - { - MethodName: "DeleteTag", - Handler: _OfficeService_DeleteTag_Handler, - }, - { - MethodName: "SetTag", - Handler: _OfficeService_SetTag_Handler, - }, - { - MethodName: "SendMsg2Tag", - Handler: _OfficeService_SendMsg2Tag_Handler, - }, - { - MethodName: "GetTagSendLogs", - Handler: _OfficeService_GetTagSendLogs_Handler, - }, - { - MethodName: "GetUserTagByID", - Handler: _OfficeService_GetUserTagByID_Handler, - }, - { - MethodName: "CreateOneWorkMoment", - Handler: _OfficeService_CreateOneWorkMoment_Handler, - }, - { - MethodName: "DeleteOneWorkMoment", - Handler: _OfficeService_DeleteOneWorkMoment_Handler, - }, - { - MethodName: "LikeOneWorkMoment", - Handler: _OfficeService_LikeOneWorkMoment_Handler, - }, - { - MethodName: "CommentOneWorkMoment", - Handler: _OfficeService_CommentOneWorkMoment_Handler, - }, - { - MethodName: "DeleteComment", - Handler: _OfficeService_DeleteComment_Handler, - }, - { - MethodName: "GetWorkMomentByID", - Handler: _OfficeService_GetWorkMomentByID_Handler, - }, - { - MethodName: "ChangeWorkMomentPermission", - Handler: _OfficeService_ChangeWorkMomentPermission_Handler, - }, - { - MethodName: "GetUserWorkMoments", - Handler: _OfficeService_GetUserWorkMoments_Handler, - }, - { - MethodName: "GetUserFriendWorkMoments", - Handler: _OfficeService_GetUserFriendWorkMoments_Handler, - }, - { - MethodName: "SetUserWorkMomentsLevel", - Handler: _OfficeService_SetUserWorkMomentsLevel_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "office/office.proto", -} diff --git a/tools/data-conversion/proto/office/office.proto b/tools/data-conversion/proto/office/office.proto deleted file mode 100644 index 23b422bad..000000000 --- a/tools/data-conversion/proto/office/office.proto +++ /dev/null @@ -1,303 +0,0 @@ -syntax = "proto3"; -import "Open-IM-Server/pkg/proto/sdk_ws/ws.proto"; -option go_package = "Open_IM/pkg/proto/office;office"; -package office; - -message CommonResp{ - int32 errCode = 1; - string errMsg = 2; -} - -message TagUser { - string userID = 1; - string userName = 2; -} - -message Tag { - string tagID = 1; - string tagName = 2; - repeated TagUser userList = 3; -} - -message GetUserTagsReq{ - string userID = 1; - string operationID = 2; -} - -message GetUserTagsResp{ - CommonResp commonResp = 1; - repeated Tag tags = 2; -} - -message CreateTagReq { - string tagName = 1; - string userID = 2; - repeated string userIDList = 3; - string operationID = 4; -} - -message CreateTagResp { - CommonResp commonResp = 1; -} - -message DeleteTagReq { - string userID = 1; - string tagID = 2; - string operationID = 3; -} - -message DeleteTagResp { - CommonResp commonResp = 1; -} - -message SetTagReq { - string userID = 1; - string tagID = 2; - string newName = 3; - repeated string increaseUserIDList = 4; - repeated string reduceUserIDList = 5; - string operationID = 6; -} - -message SetTagResp { - CommonResp commonResp = 1; -} - -message SendMsg2TagReq { - repeated string tagList = 1; - repeated string UserList = 2; - repeated string GroupList = 3; - string sendID = 4; - int32 senderPlatformID = 5; - string content = 6; - string operationID = 7; -} - -message SendMsg2TagResp { - CommonResp commonResp = 1; -} - -message GetTagSendLogsReq { - server_api_params.RequestPagination Pagination = 1; - string userID = 2; - string operationID = 3; -} - -message TagSendLog { - repeated TagUser userList = 1; - string content = 2; - int64 sendTime = 3; -} - -message GetTagSendLogsResp { - CommonResp commonResp = 1; - server_api_params.ResponsePagination Pagination = 2; - repeated TagSendLog tagSendLogs = 3; -} - -message GetUserTagByIDReq { - string userID = 1; - string tagID = 2; - string operationID = 3; -} - -message GetUserTagByIDResp { - CommonResp commonResp = 1; - Tag tag = 2; -} - -/// WorkMoment - -message LikeUser { - string userID = 1; - string userName = 2; -} - -message NotificationUser { - string userID = 1; - string userName = 2; -} - -message Comment { - string userID = 1; - string userName = 2; - string faceURL = 3; - string replyUserID = 4; - string replyUserName = 5; - string contentID = 6; - string content = 7; - int32 createTime = 8; -} - -message PermissionGroup { - string groupName = 1; - string groupID = 2; -} - -message WorkMomentUser { - string userID = 1; - string userName = 2; -} - -message WorkMoment { - string workMomentID = 1; - string userID = 2; - string userName = 3; - string faceURL = 4; - string content = 5; - repeated WorkMomentUser likeUserList = 6; - repeated Comment comments = 7; - int32 permission = 8; - repeated WorkMomentUser permissionUserList = 9; - repeated PermissionGroup permissionGroupList = 10; - repeated WorkMomentUser atUserList = 11; - int32 createTime = 12; -} - -message CreateOneWorkMomentReq { - WorkMoment workMoment = 1; - string operationID = 2; -} - -message CreateOneWorkMomentResp { - CommonResp commonResp = 1; -} - -message DeleteOneWorkMomentReq { - string workMomentID = 1; - string userID = 2; - string operationID = 3; -} - -message DeleteOneWorkMomentResp { - CommonResp commonResp = 1; -} - -message LikeOneWorkMomentReq { - string userID = 1; - string WorkMomentID = 2; - string operationID = 3; -} - -message LikeOneWorkMomentResp { - CommonResp commonResp = 1; -} - -message CommentOneWorkMomentReq { - string userID = 1; - string workMomentID = 2; - string replyUserID = 3; - string content = 4; - string operationID = 5; -} - -message CommentOneWorkMomentResp { - CommonResp commonResp = 1; -} - -message DeleteCommentReq { - string workMomentID = 1; - string contentID = 2; - string opUserID = 3; - string operationID = 4; -} - -message DeleteCommentResp { - CommonResp commonResp = 1; -} - -message GetWorkMomentByIDReq { - string workMomentID = 1; - string opUserID = 2; - string operationID = 3; -} - -message GetWorkMomentByIDResp { - CommonResp commonResp = 1; - WorkMoment workMoment = 2; -} - -message ChangeWorkMomentPermissionReq { - string workMomentID = 1; - string opUserID = 2; - int32 permission = 3; - repeated string permissionUserIDList = 4; - string operationID = 5; -} - -message ChangeWorkMomentPermissionResp { - CommonResp commonResp = 1; -} - -message GetUserWorkMomentsReq { - string userID = 1; - string opUserID = 2; - server_api_params.RequestPagination Pagination = 3; - string operationID = 4; -} - -message GetUserWorkMomentsResp { - CommonResp commonResp = 1; - repeated WorkMoment workMoments = 2; - server_api_params.ResponsePagination Pagination = 3; -} - -message GetUserFriendWorkMomentsReq { - string userID = 1; - server_api_params.RequestPagination Pagination = 2; - string operationID = 3; -} - -message GetUserFriendWorkMomentsResp { - CommonResp commonResp = 1; - repeated WorkMoment workMoments = 2; - server_api_params.ResponsePagination Pagination = 3; -} - -message WorkMomentNotificationMsg { - int32 notificationMsgType = 1; - string replyUserName = 2; - string replyUserID = 3; - string content = 4; - string contentID = 5; - string workMomentID = 6; - string userID = 7; - string userName = 8; - string faceURL = 9; - string workMomentContent = 10; - int32 createTime = 11; -} - -message SetUserWorkMomentsLevelReq { - string userID = 1; - int32 level = 2; - string operationID = 3; -} - -message SetUserWorkMomentsLevelResp { - CommonResp commonResp = 1; -} - -service OfficeService { - rpc GetUserTags(GetUserTagsReq) returns(GetUserTagsResp); - rpc CreateTag(CreateTagReq) returns(CreateTagResp); - rpc DeleteTag(DeleteTagReq) returns(DeleteTagResp); - rpc SetTag(SetTagReq) returns(SetTagResp); - rpc SendMsg2Tag(SendMsg2TagReq) returns(SendMsg2TagResp); - rpc GetTagSendLogs(GetTagSendLogsReq) returns(GetTagSendLogsResp); - rpc GetUserTagByID(GetUserTagByIDReq) returns(GetUserTagByIDResp); - - rpc CreateOneWorkMoment(CreateOneWorkMomentReq) returns(CreateOneWorkMomentResp); - rpc DeleteOneWorkMoment(DeleteOneWorkMomentReq) returns(DeleteOneWorkMomentResp); - rpc LikeOneWorkMoment(LikeOneWorkMomentReq) returns(LikeOneWorkMomentResp); - rpc CommentOneWorkMoment(CommentOneWorkMomentReq) returns(CommentOneWorkMomentResp); - rpc DeleteComment(DeleteCommentReq) returns(DeleteCommentResp); - rpc GetWorkMomentByID(GetWorkMomentByIDReq) returns(GetWorkMomentByIDResp); - rpc ChangeWorkMomentPermission(ChangeWorkMomentPermissionReq) returns(ChangeWorkMomentPermissionResp); - /// user self - rpc GetUserWorkMoments(GetUserWorkMomentsReq) returns(GetUserWorkMomentsResp); - /// users friend - rpc GetUserFriendWorkMoments(GetUserFriendWorkMomentsReq) returns(GetUserFriendWorkMomentsResp); - rpc SetUserWorkMomentsLevel(SetUserWorkMomentsLevelReq) returns(SetUserWorkMomentsLevelResp); -} - diff --git a/tools/data-conversion/proto/organization/organization.pb.go b/tools/data-conversion/proto/organization/organization.pb.go deleted file mode 100644 index 2bf0bbe16..000000000 --- a/tools/data-conversion/proto/organization/organization.pb.go +++ /dev/null @@ -1,3263 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.15.5 -// source: organization/organization.proto - -package organization - -import ( - sdk_ws "Open_IM/pkg/proto/sdk_ws" - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type CreateDepartmentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DepartmentInfo *sdk_ws.Department `protobuf:"bytes,1,opt,name=departmentInfo,proto3" json:"departmentInfo,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *CreateDepartmentReq) Reset() { - *x = CreateDepartmentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateDepartmentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateDepartmentReq) ProtoMessage() {} - -func (x *CreateDepartmentReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateDepartmentReq.ProtoReflect.Descriptor instead. -func (*CreateDepartmentReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{0} -} - -func (x *CreateDepartmentReq) GetDepartmentInfo() *sdk_ws.Department { - if x != nil { - return x.DepartmentInfo - } - return nil -} - -func (x *CreateDepartmentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *CreateDepartmentReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type CreateDepartmentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` - DepartmentInfo *sdk_ws.Department `protobuf:"bytes,3,opt,name=departmentInfo,proto3" json:"departmentInfo,omitempty"` -} - -func (x *CreateDepartmentResp) Reset() { - *x = CreateDepartmentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateDepartmentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateDepartmentResp) ProtoMessage() {} - -func (x *CreateDepartmentResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateDepartmentResp.ProtoReflect.Descriptor instead. -func (*CreateDepartmentResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{1} -} - -func (x *CreateDepartmentResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *CreateDepartmentResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *CreateDepartmentResp) GetDepartmentInfo() *sdk_ws.Department { - if x != nil { - return x.DepartmentInfo - } - return nil -} - -type UpdateDepartmentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DepartmentInfo *sdk_ws.Department `protobuf:"bytes,1,opt,name=departmentInfo,proto3" json:"departmentInfo,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *UpdateDepartmentReq) Reset() { - *x = UpdateDepartmentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateDepartmentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateDepartmentReq) ProtoMessage() {} - -func (x *UpdateDepartmentReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateDepartmentReq.ProtoReflect.Descriptor instead. -func (*UpdateDepartmentReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{2} -} - -func (x *UpdateDepartmentReq) GetDepartmentInfo() *sdk_ws.Department { - if x != nil { - return x.DepartmentInfo - } - return nil -} - -func (x *UpdateDepartmentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *UpdateDepartmentReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type UpdateDepartmentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *UpdateDepartmentResp) Reset() { - *x = UpdateDepartmentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateDepartmentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateDepartmentResp) ProtoMessage() {} - -func (x *UpdateDepartmentResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateDepartmentResp.ProtoReflect.Descriptor instead. -func (*UpdateDepartmentResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{3} -} - -func (x *UpdateDepartmentResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *UpdateDepartmentResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type GetSubDepartmentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DepartmentID string `protobuf:"bytes,1,opt,name=departmentID,proto3" json:"departmentID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *GetSubDepartmentReq) Reset() { - *x = GetSubDepartmentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSubDepartmentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSubDepartmentReq) ProtoMessage() {} - -func (x *GetSubDepartmentReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSubDepartmentReq.ProtoReflect.Descriptor instead. -func (*GetSubDepartmentReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{4} -} - -func (x *GetSubDepartmentReq) GetDepartmentID() string { - if x != nil { - return x.DepartmentID - } - return "" -} - -func (x *GetSubDepartmentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *GetSubDepartmentReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type GetSubDepartmentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` - DepartmentList []*sdk_ws.Department `protobuf:"bytes,3,rep,name=departmentList,proto3" json:"departmentList,omitempty"` -} - -func (x *GetSubDepartmentResp) Reset() { - *x = GetSubDepartmentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSubDepartmentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSubDepartmentResp) ProtoMessage() {} - -func (x *GetSubDepartmentResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSubDepartmentResp.ProtoReflect.Descriptor instead. -func (*GetSubDepartmentResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{5} -} - -func (x *GetSubDepartmentResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetSubDepartmentResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetSubDepartmentResp) GetDepartmentList() []*sdk_ws.Department { - if x != nil { - return x.DepartmentList - } - return nil -} - -type DeleteDepartmentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DepartmentID string `protobuf:"bytes,1,opt,name=departmentID,proto3" json:"departmentID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *DeleteDepartmentReq) Reset() { - *x = DeleteDepartmentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteDepartmentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteDepartmentReq) ProtoMessage() {} - -func (x *DeleteDepartmentReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteDepartmentReq.ProtoReflect.Descriptor instead. -func (*DeleteDepartmentReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{6} -} - -func (x *DeleteDepartmentReq) GetDepartmentID() string { - if x != nil { - return x.DepartmentID - } - return "" -} - -func (x *DeleteDepartmentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *DeleteDepartmentReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type DeleteDepartmentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *DeleteDepartmentResp) Reset() { - *x = DeleteDepartmentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteDepartmentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteDepartmentResp) ProtoMessage() {} - -func (x *DeleteDepartmentResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteDepartmentResp.ProtoReflect.Descriptor instead. -func (*DeleteDepartmentResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{7} -} - -func (x *DeleteDepartmentResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *DeleteDepartmentResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type GetDepartmentParentIDListReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DepartmentID string `protobuf:"bytes,1,opt,name=departmentID,proto3" json:"departmentID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetDepartmentParentIDListReq) Reset() { - *x = GetDepartmentParentIDListReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDepartmentParentIDListReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDepartmentParentIDListReq) ProtoMessage() {} - -func (x *GetDepartmentParentIDListReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDepartmentParentIDListReq.ProtoReflect.Descriptor instead. -func (*GetDepartmentParentIDListReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{8} -} - -func (x *GetDepartmentParentIDListReq) GetDepartmentID() string { - if x != nil { - return x.DepartmentID - } - return "" -} - -func (x *GetDepartmentParentIDListReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetDepartmentParentIDListResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` - ParentIDList []string `protobuf:"bytes,3,rep,name=parentIDList,proto3" json:"parentIDList,omitempty"` -} - -func (x *GetDepartmentParentIDListResp) Reset() { - *x = GetDepartmentParentIDListResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDepartmentParentIDListResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDepartmentParentIDListResp) ProtoMessage() {} - -func (x *GetDepartmentParentIDListResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDepartmentParentIDListResp.ProtoReflect.Descriptor instead. -func (*GetDepartmentParentIDListResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{9} -} - -func (x *GetDepartmentParentIDListResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetDepartmentParentIDListResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetDepartmentParentIDListResp) GetParentIDList() []string { - if x != nil { - return x.ParentIDList - } - return nil -} - -type CreateOrganizationUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrganizationUser *sdk_ws.OrganizationUser `protobuf:"bytes,1,opt,name=organizationUser,proto3" json:"organizationUser,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` - IsRegister bool `protobuf:"varint,4,opt,name=IsRegister,proto3" json:"IsRegister,omitempty"` -} - -func (x *CreateOrganizationUserReq) Reset() { - *x = CreateOrganizationUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateOrganizationUserReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateOrganizationUserReq) ProtoMessage() {} - -func (x *CreateOrganizationUserReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateOrganizationUserReq.ProtoReflect.Descriptor instead. -func (*CreateOrganizationUserReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{10} -} - -func (x *CreateOrganizationUserReq) GetOrganizationUser() *sdk_ws.OrganizationUser { - if x != nil { - return x.OrganizationUser - } - return nil -} - -func (x *CreateOrganizationUserReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *CreateOrganizationUserReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *CreateOrganizationUserReq) GetIsRegister() bool { - if x != nil { - return x.IsRegister - } - return false -} - -type CreateOrganizationUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *CreateOrganizationUserResp) Reset() { - *x = CreateOrganizationUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateOrganizationUserResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateOrganizationUserResp) ProtoMessage() {} - -func (x *CreateOrganizationUserResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateOrganizationUserResp.ProtoReflect.Descriptor instead. -func (*CreateOrganizationUserResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{11} -} - -func (x *CreateOrganizationUserResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *CreateOrganizationUserResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type UpdateOrganizationUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrganizationUser *sdk_ws.OrganizationUser `protobuf:"bytes,1,opt,name=organizationUser,proto3" json:"organizationUser,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *UpdateOrganizationUserReq) Reset() { - *x = UpdateOrganizationUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateOrganizationUserReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOrganizationUserReq) ProtoMessage() {} - -func (x *UpdateOrganizationUserReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateOrganizationUserReq.ProtoReflect.Descriptor instead. -func (*UpdateOrganizationUserReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{12} -} - -func (x *UpdateOrganizationUserReq) GetOrganizationUser() *sdk_ws.OrganizationUser { - if x != nil { - return x.OrganizationUser - } - return nil -} - -func (x *UpdateOrganizationUserReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *UpdateOrganizationUserReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type UpdateOrganizationUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *UpdateOrganizationUserResp) Reset() { - *x = UpdateOrganizationUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateOrganizationUserResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOrganizationUserResp) ProtoMessage() {} - -func (x *UpdateOrganizationUserResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateOrganizationUserResp.ProtoReflect.Descriptor instead. -func (*UpdateOrganizationUserResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{13} -} - -func (x *UpdateOrganizationUserResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *UpdateOrganizationUserResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type CreateDepartmentMemberReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DepartmentMember *sdk_ws.DepartmentMember `protobuf:"bytes,1,opt,name=departmentMember,proto3" json:"departmentMember,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *CreateDepartmentMemberReq) Reset() { - *x = CreateDepartmentMemberReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateDepartmentMemberReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateDepartmentMemberReq) ProtoMessage() {} - -func (x *CreateDepartmentMemberReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateDepartmentMemberReq.ProtoReflect.Descriptor instead. -func (*CreateDepartmentMemberReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{14} -} - -func (x *CreateDepartmentMemberReq) GetDepartmentMember() *sdk_ws.DepartmentMember { - if x != nil { - return x.DepartmentMember - } - return nil -} - -func (x *CreateDepartmentMemberReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *CreateDepartmentMemberReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type CreateDepartmentMemberResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *CreateDepartmentMemberResp) Reset() { - *x = CreateDepartmentMemberResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateDepartmentMemberResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateDepartmentMemberResp) ProtoMessage() {} - -func (x *CreateDepartmentMemberResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateDepartmentMemberResp.ProtoReflect.Descriptor instead. -func (*CreateDepartmentMemberResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{15} -} - -func (x *CreateDepartmentMemberResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *CreateDepartmentMemberResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type GetUserInDepartmentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *GetUserInDepartmentReq) Reset() { - *x = GetUserInDepartmentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserInDepartmentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserInDepartmentReq) ProtoMessage() {} - -func (x *GetUserInDepartmentReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserInDepartmentReq.ProtoReflect.Descriptor instead. -func (*GetUserInDepartmentReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{16} -} - -func (x *GetUserInDepartmentReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetUserInDepartmentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *GetUserInDepartmentReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type GetUserInDepartmentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` - UserInDepartment *sdk_ws.UserInDepartment `protobuf:"bytes,3,opt,name=userInDepartment,proto3" json:"userInDepartment,omitempty"` -} - -func (x *GetUserInDepartmentResp) Reset() { - *x = GetUserInDepartmentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserInDepartmentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserInDepartmentResp) ProtoMessage() {} - -func (x *GetUserInDepartmentResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserInDepartmentResp.ProtoReflect.Descriptor instead. -func (*GetUserInDepartmentResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{17} -} - -func (x *GetUserInDepartmentResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetUserInDepartmentResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetUserInDepartmentResp) GetUserInDepartment() *sdk_ws.UserInDepartment { - if x != nil { - return x.UserInDepartment - } - return nil -} - -type UpdateUserInDepartmentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DepartmentMember *sdk_ws.DepartmentMember `protobuf:"bytes,1,opt,name=departmentMember,proto3" json:"departmentMember,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *UpdateUserInDepartmentReq) Reset() { - *x = UpdateUserInDepartmentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateUserInDepartmentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserInDepartmentReq) ProtoMessage() {} - -func (x *UpdateUserInDepartmentReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateUserInDepartmentReq.ProtoReflect.Descriptor instead. -func (*UpdateUserInDepartmentReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{18} -} - -func (x *UpdateUserInDepartmentReq) GetDepartmentMember() *sdk_ws.DepartmentMember { - if x != nil { - return x.DepartmentMember - } - return nil -} - -func (x *UpdateUserInDepartmentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *UpdateUserInDepartmentReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type UpdateUserInDepartmentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *UpdateUserInDepartmentResp) Reset() { - *x = UpdateUserInDepartmentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateUserInDepartmentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserInDepartmentResp) ProtoMessage() {} - -func (x *UpdateUserInDepartmentResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateUserInDepartmentResp.ProtoReflect.Descriptor instead. -func (*UpdateUserInDepartmentResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{19} -} - -func (x *UpdateUserInDepartmentResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *UpdateUserInDepartmentResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type DeleteUserInDepartmentReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` - DepartmentID string `protobuf:"bytes,4,opt,name=departmentID,proto3" json:"departmentID,omitempty"` -} - -func (x *DeleteUserInDepartmentReq) Reset() { - *x = DeleteUserInDepartmentReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteUserInDepartmentReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteUserInDepartmentReq) ProtoMessage() {} - -func (x *DeleteUserInDepartmentReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteUserInDepartmentReq.ProtoReflect.Descriptor instead. -func (*DeleteUserInDepartmentReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{20} -} - -func (x *DeleteUserInDepartmentReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *DeleteUserInDepartmentReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *DeleteUserInDepartmentReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *DeleteUserInDepartmentReq) GetDepartmentID() string { - if x != nil { - return x.DepartmentID - } - return "" -} - -type DeleteUserInDepartmentResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *DeleteUserInDepartmentResp) Reset() { - *x = DeleteUserInDepartmentResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteUserInDepartmentResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteUserInDepartmentResp) ProtoMessage() {} - -func (x *DeleteUserInDepartmentResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteUserInDepartmentResp.ProtoReflect.Descriptor instead. -func (*DeleteUserInDepartmentResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{21} -} - -func (x *DeleteUserInDepartmentResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *DeleteUserInDepartmentResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type DeleteOrganizationUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *DeleteOrganizationUserReq) Reset() { - *x = DeleteOrganizationUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteOrganizationUserReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOrganizationUserReq) ProtoMessage() {} - -func (x *DeleteOrganizationUserReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteOrganizationUserReq.ProtoReflect.Descriptor instead. -func (*DeleteOrganizationUserReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{22} -} - -func (x *DeleteOrganizationUserReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *DeleteOrganizationUserReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *DeleteOrganizationUserReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type DeleteOrganizationUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *DeleteOrganizationUserResp) Reset() { - *x = DeleteOrganizationUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteOrganizationUserResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOrganizationUserResp) ProtoMessage() {} - -func (x *DeleteOrganizationUserResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteOrganizationUserResp.ProtoReflect.Descriptor instead. -func (*DeleteOrganizationUserResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{23} -} - -func (x *DeleteOrganizationUserResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *DeleteOrganizationUserResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type GetDepartmentMemberReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DepartmentID string `protobuf:"bytes,1,opt,name=departmentID,proto3" json:"departmentID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *GetDepartmentMemberReq) Reset() { - *x = GetDepartmentMemberReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDepartmentMemberReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDepartmentMemberReq) ProtoMessage() {} - -func (x *GetDepartmentMemberReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDepartmentMemberReq.ProtoReflect.Descriptor instead. -func (*GetDepartmentMemberReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{24} -} - -func (x *GetDepartmentMemberReq) GetDepartmentID() string { - if x != nil { - return x.DepartmentID - } - return "" -} - -func (x *GetDepartmentMemberReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *GetDepartmentMemberReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type GetDepartmentMemberResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` - UserDepartmentMemberList []*sdk_ws.UserDepartmentMember `protobuf:"bytes,3,rep,name=userDepartmentMemberList,proto3" json:"userDepartmentMemberList,omitempty"` -} - -func (x *GetDepartmentMemberResp) Reset() { - *x = GetDepartmentMemberResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDepartmentMemberResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDepartmentMemberResp) ProtoMessage() {} - -func (x *GetDepartmentMemberResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDepartmentMemberResp.ProtoReflect.Descriptor instead. -func (*GetDepartmentMemberResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{25} -} - -func (x *GetDepartmentMemberResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetDepartmentMemberResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetDepartmentMemberResp) GetUserDepartmentMemberList() []*sdk_ws.UserDepartmentMember { - if x != nil { - return x.UserDepartmentMemberList - } - return nil -} - -type GetDepartmentRelatedGroupIDListReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OperationID string `protobuf:"bytes,1,opt,name=operationID,proto3" json:"operationID,omitempty"` - DepartmentIDList []string `protobuf:"bytes,2,rep,name=departmentIDList,proto3" json:"departmentIDList,omitempty"` -} - -func (x *GetDepartmentRelatedGroupIDListReq) Reset() { - *x = GetDepartmentRelatedGroupIDListReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDepartmentRelatedGroupIDListReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDepartmentRelatedGroupIDListReq) ProtoMessage() {} - -func (x *GetDepartmentRelatedGroupIDListReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDepartmentRelatedGroupIDListReq.ProtoReflect.Descriptor instead. -func (*GetDepartmentRelatedGroupIDListReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{26} -} - -func (x *GetDepartmentRelatedGroupIDListReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *GetDepartmentRelatedGroupIDListReq) GetDepartmentIDList() []string { - if x != nil { - return x.DepartmentIDList - } - return nil -} - -type GetDepartmentRelatedGroupIDListResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` - GroupIDList []string `protobuf:"bytes,3,rep,name=groupIDList,proto3" json:"groupIDList,omitempty"` -} - -func (x *GetDepartmentRelatedGroupIDListResp) Reset() { - *x = GetDepartmentRelatedGroupIDListResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDepartmentRelatedGroupIDListResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDepartmentRelatedGroupIDListResp) ProtoMessage() {} - -func (x *GetDepartmentRelatedGroupIDListResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDepartmentRelatedGroupIDListResp.ProtoReflect.Descriptor instead. -func (*GetDepartmentRelatedGroupIDListResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{27} -} - -func (x *GetDepartmentRelatedGroupIDListResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetDepartmentRelatedGroupIDListResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetDepartmentRelatedGroupIDListResp) GetGroupIDList() []string { - if x != nil { - return x.GroupIDList - } - return nil -} - -type GetUserInOrganizationReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetUserInOrganizationReq) Reset() { - *x = GetUserInOrganizationReq{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserInOrganizationReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserInOrganizationReq) ProtoMessage() {} - -func (x *GetUserInOrganizationReq) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserInOrganizationReq.ProtoReflect.Descriptor instead. -func (*GetUserInOrganizationReq) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{28} -} - -func (x *GetUserInOrganizationReq) GetUserIDList() []string { - if x != nil { - return x.UserIDList - } - return nil -} - -func (x *GetUserInOrganizationReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetUserInOrganizationResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` - OrganizationUsers []*sdk_ws.OrganizationUser `protobuf:"bytes,3,rep,name=organizationUsers,proto3" json:"organizationUsers,omitempty"` -} - -func (x *GetUserInOrganizationResp) Reset() { - *x = GetUserInOrganizationResp{} - if protoimpl.UnsafeEnabled { - mi := &file_organization_organization_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserInOrganizationResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserInOrganizationResp) ProtoMessage() {} - -func (x *GetUserInOrganizationResp) ProtoReflect() protoreflect.Message { - mi := &file_organization_organization_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserInOrganizationResp.ProtoReflect.Descriptor instead. -func (*GetUserInOrganizationResp) Descriptor() ([]byte, []int) { - return file_organization_organization_proto_rawDescGZIP(), []int{29} -} - -func (x *GetUserInOrganizationResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *GetUserInOrganizationResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -func (x *GetUserInOrganizationResp) GetOrganizationUsers() []*sdk_ws.OrganizationUser { - if x != nil { - return x.OrganizationUsers - } - return nil -} - -var File_organization_organization_proto protoreflect.FileDescriptor - -var file_organization_organization_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, - 0x28, 0x4f, 0x70, 0x65, 0x6e, 0x2d, 0x49, 0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, - 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x5f, 0x77, 0x73, - 0x2f, 0x77, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x13, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x71, 0x12, 0x45, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x44, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x8f, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, - 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, - 0x67, 0x12, 0x45, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x44, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x12, 0x45, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x44, 0x65, 0x70, - 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, - 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x48, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, - 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, - 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, - 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, - 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, - 0x77, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, - 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x8f, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, - 0x53, 0x75, 0x62, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, - 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, - 0x4d, 0x73, 0x67, 0x12, 0x45, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, - 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, - 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x61, - 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x77, 0x0a, 0x13, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, - 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, - 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x22, 0x48, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x65, 0x70, - 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, - 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, - 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x64, 0x0a, - 0x1c, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, - 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, - 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x22, 0x75, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xca, 0x01, 0x0a, 0x19, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x4f, 0x0a, 0x10, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, - 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, - 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x49, 0x73, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x22, 0x4e, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0xaa, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x4f, 0x0a, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x22, 0x4e, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, - 0x72, 0x4d, 0x73, 0x67, 0x22, 0xaa, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, - 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x12, 0x4f, 0x0a, 0x10, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x2e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x10, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x22, 0x4e, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, - 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, - 0x67, 0x22, 0x6e, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x22, 0x9c, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, - 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, - 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, - 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, - 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, - 0x4f, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, - 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, - 0x22, 0xaa, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x4f, - 0x0a, 0x10, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x44, 0x65, 0x70, - 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x10, 0x64, - 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, - 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x4e, 0x0a, - 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, 0x70, - 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, - 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, - 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x95, 0x01, - 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, - 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, - 0x65, 0x6e, 0x74, 0x49, 0x44, 0x22, 0x4e, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, - 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x71, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, - 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x4e, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x7a, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, - 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x22, 0xb0, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, - 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, - 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, - 0x73, 0x67, 0x12, 0x63, 0x0a, 0x18, 0x75, 0x73, 0x65, 0x72, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, - 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x70, - 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x18, 0x75, - 0x73, 0x65, 0x72, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x72, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, - 0x2a, 0x0a, 0x10, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x4c, - 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, 0x70, 0x61, 0x72, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x79, 0x0a, 0x23, 0x47, - 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, - 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, - 0x72, 0x4d, 0x73, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x4c, - 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x6e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xa0, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x6e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, - 0x72, 0x4d, 0x73, 0x67, 0x12, 0x51, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x32, 0xb9, 0x0c, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, - 0x22, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x59, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, - 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, - 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x59, - 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x44, 0x65, 0x70, 0x61, 0x72, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x59, 0x0a, 0x10, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x2e, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x1a, 0x22, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x74, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x2a, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x2b, 0x2e, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, - 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6b, 0x0a, 0x16, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x55, 0x73, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, - 0x72, 0x12, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x6b, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x27, - 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x6b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x62, - 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x25, 0x2e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x6b, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x6b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, - 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x44, 0x65, - 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x62, 0x0a, 0x13, - 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x25, 0x2e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, - 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x86, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x31, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, - 0x44, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x68, 0x0a, 0x15, 0x47, 0x65, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x27, 0x2e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x6e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x42, 0x2d, 0x5a, 0x2b, 0x4f, 0x70, 0x65, 0x6e, 0x5f, 0x49, 0x4d, 0x2f, 0x70, - 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_organization_organization_proto_rawDescOnce sync.Once - file_organization_organization_proto_rawDescData = file_organization_organization_proto_rawDesc -) - -func file_organization_organization_proto_rawDescGZIP() []byte { - file_organization_organization_proto_rawDescOnce.Do(func() { - file_organization_organization_proto_rawDescData = protoimpl.X.CompressGZIP(file_organization_organization_proto_rawDescData) - }) - return file_organization_organization_proto_rawDescData -} - -var file_organization_organization_proto_msgTypes = make([]protoimpl.MessageInfo, 30) -var file_organization_organization_proto_goTypes = []interface{}{ - (*CreateDepartmentReq)(nil), // 0: organization.CreateDepartmentReq - (*CreateDepartmentResp)(nil), // 1: organization.CreateDepartmentResp - (*UpdateDepartmentReq)(nil), // 2: organization.UpdateDepartmentReq - (*UpdateDepartmentResp)(nil), // 3: organization.UpdateDepartmentResp - (*GetSubDepartmentReq)(nil), // 4: organization.GetSubDepartmentReq - (*GetSubDepartmentResp)(nil), // 5: organization.GetSubDepartmentResp - (*DeleteDepartmentReq)(nil), // 6: organization.DeleteDepartmentReq - (*DeleteDepartmentResp)(nil), // 7: organization.DeleteDepartmentResp - (*GetDepartmentParentIDListReq)(nil), // 8: organization.GetDepartmentParentIDListReq - (*GetDepartmentParentIDListResp)(nil), // 9: organization.GetDepartmentParentIDListResp - (*CreateOrganizationUserReq)(nil), // 10: organization.CreateOrganizationUserReq - (*CreateOrganizationUserResp)(nil), // 11: organization.CreateOrganizationUserResp - (*UpdateOrganizationUserReq)(nil), // 12: organization.UpdateOrganizationUserReq - (*UpdateOrganizationUserResp)(nil), // 13: organization.UpdateOrganizationUserResp - (*CreateDepartmentMemberReq)(nil), // 14: organization.CreateDepartmentMemberReq - (*CreateDepartmentMemberResp)(nil), // 15: organization.CreateDepartmentMemberResp - (*GetUserInDepartmentReq)(nil), // 16: organization.GetUserInDepartmentReq - (*GetUserInDepartmentResp)(nil), // 17: organization.GetUserInDepartmentResp - (*UpdateUserInDepartmentReq)(nil), // 18: organization.UpdateUserInDepartmentReq - (*UpdateUserInDepartmentResp)(nil), // 19: organization.UpdateUserInDepartmentResp - (*DeleteUserInDepartmentReq)(nil), // 20: organization.DeleteUserInDepartmentReq - (*DeleteUserInDepartmentResp)(nil), // 21: organization.DeleteUserInDepartmentResp - (*DeleteOrganizationUserReq)(nil), // 22: organization.DeleteOrganizationUserReq - (*DeleteOrganizationUserResp)(nil), // 23: organization.DeleteOrganizationUserResp - (*GetDepartmentMemberReq)(nil), // 24: organization.GetDepartmentMemberReq - (*GetDepartmentMemberResp)(nil), // 25: organization.GetDepartmentMemberResp - (*GetDepartmentRelatedGroupIDListReq)(nil), // 26: organization.GetDepartmentRelatedGroupIDListReq - (*GetDepartmentRelatedGroupIDListResp)(nil), // 27: organization.GetDepartmentRelatedGroupIDListResp - (*GetUserInOrganizationReq)(nil), // 28: organization.GetUserInOrganizationReq - (*GetUserInOrganizationResp)(nil), // 29: organization.GetUserInOrganizationResp - (*sdk_ws.Department)(nil), // 30: server_api_params.Department - (*sdk_ws.OrganizationUser)(nil), // 31: server_api_params.OrganizationUser - (*sdk_ws.DepartmentMember)(nil), // 32: server_api_params.DepartmentMember - (*sdk_ws.UserInDepartment)(nil), // 33: server_api_params.UserInDepartment - (*sdk_ws.UserDepartmentMember)(nil), // 34: server_api_params.UserDepartmentMember -} -var file_organization_organization_proto_depIdxs = []int32{ - 30, // 0: organization.CreateDepartmentReq.departmentInfo:type_name -> server_api_params.Department - 30, // 1: organization.CreateDepartmentResp.departmentInfo:type_name -> server_api_params.Department - 30, // 2: organization.UpdateDepartmentReq.departmentInfo:type_name -> server_api_params.Department - 30, // 3: organization.GetSubDepartmentResp.departmentList:type_name -> server_api_params.Department - 31, // 4: organization.CreateOrganizationUserReq.organizationUser:type_name -> server_api_params.OrganizationUser - 31, // 5: organization.UpdateOrganizationUserReq.organizationUser:type_name -> server_api_params.OrganizationUser - 32, // 6: organization.CreateDepartmentMemberReq.departmentMember:type_name -> server_api_params.DepartmentMember - 33, // 7: organization.GetUserInDepartmentResp.userInDepartment:type_name -> server_api_params.UserInDepartment - 32, // 8: organization.UpdateUserInDepartmentReq.departmentMember:type_name -> server_api_params.DepartmentMember - 34, // 9: organization.GetDepartmentMemberResp.userDepartmentMemberList:type_name -> server_api_params.UserDepartmentMember - 31, // 10: organization.GetUserInOrganizationResp.organizationUsers:type_name -> server_api_params.OrganizationUser - 0, // 11: organization.organization.CreateDepartment:input_type -> organization.CreateDepartmentReq - 2, // 12: organization.organization.UpdateDepartment:input_type -> organization.UpdateDepartmentReq - 4, // 13: organization.organization.GetSubDepartment:input_type -> organization.GetSubDepartmentReq - 6, // 14: organization.organization.DeleteDepartment:input_type -> organization.DeleteDepartmentReq - 8, // 15: organization.organization.GetDepartmentParentIDList:input_type -> organization.GetDepartmentParentIDListReq - 10, // 16: organization.organization.CreateOrganizationUser:input_type -> organization.CreateOrganizationUserReq - 12, // 17: organization.organization.UpdateOrganizationUser:input_type -> organization.UpdateOrganizationUserReq - 22, // 18: organization.organization.DeleteOrganizationUser:input_type -> organization.DeleteOrganizationUserReq - 14, // 19: organization.organization.CreateDepartmentMember:input_type -> organization.CreateDepartmentMemberReq - 16, // 20: organization.organization.GetUserInDepartment:input_type -> organization.GetUserInDepartmentReq - 20, // 21: organization.organization.DeleteUserInDepartment:input_type -> organization.DeleteUserInDepartmentReq - 18, // 22: organization.organization.UpdateUserInDepartment:input_type -> organization.UpdateUserInDepartmentReq - 24, // 23: organization.organization.GetDepartmentMember:input_type -> organization.GetDepartmentMemberReq - 26, // 24: organization.organization.GetDepartmentRelatedGroupIDList:input_type -> organization.GetDepartmentRelatedGroupIDListReq - 28, // 25: organization.organization.GetUserInOrganization:input_type -> organization.GetUserInOrganizationReq - 1, // 26: organization.organization.CreateDepartment:output_type -> organization.CreateDepartmentResp - 3, // 27: organization.organization.UpdateDepartment:output_type -> organization.UpdateDepartmentResp - 5, // 28: organization.organization.GetSubDepartment:output_type -> organization.GetSubDepartmentResp - 7, // 29: organization.organization.DeleteDepartment:output_type -> organization.DeleteDepartmentResp - 9, // 30: organization.organization.GetDepartmentParentIDList:output_type -> organization.GetDepartmentParentIDListResp - 11, // 31: organization.organization.CreateOrganizationUser:output_type -> organization.CreateOrganizationUserResp - 13, // 32: organization.organization.UpdateOrganizationUser:output_type -> organization.UpdateOrganizationUserResp - 23, // 33: organization.organization.DeleteOrganizationUser:output_type -> organization.DeleteOrganizationUserResp - 15, // 34: organization.organization.CreateDepartmentMember:output_type -> organization.CreateDepartmentMemberResp - 17, // 35: organization.organization.GetUserInDepartment:output_type -> organization.GetUserInDepartmentResp - 21, // 36: organization.organization.DeleteUserInDepartment:output_type -> organization.DeleteUserInDepartmentResp - 19, // 37: organization.organization.UpdateUserInDepartment:output_type -> organization.UpdateUserInDepartmentResp - 25, // 38: organization.organization.GetDepartmentMember:output_type -> organization.GetDepartmentMemberResp - 27, // 39: organization.organization.GetDepartmentRelatedGroupIDList:output_type -> organization.GetDepartmentRelatedGroupIDListResp - 29, // 40: organization.organization.GetUserInOrganization:output_type -> organization.GetUserInOrganizationResp - 26, // [26:41] is the sub-list for method output_type - 11, // [11:26] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name -} - -func init() { file_organization_organization_proto_init() } -func file_organization_organization_proto_init() { - if File_organization_organization_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_organization_organization_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDepartmentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDepartmentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDepartmentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateDepartmentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSubDepartmentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSubDepartmentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDepartmentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDepartmentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDepartmentParentIDListReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDepartmentParentIDListResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrganizationUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrganizationUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrganizationUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrganizationUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDepartmentMemberReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDepartmentMemberResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserInDepartmentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserInDepartmentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserInDepartmentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserInDepartmentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserInDepartmentReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserInDepartmentResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrganizationUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrganizationUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDepartmentMemberReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDepartmentMemberResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDepartmentRelatedGroupIDListReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDepartmentRelatedGroupIDListResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserInOrganizationReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_organization_organization_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserInOrganizationResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_organization_organization_proto_rawDesc, - NumEnums: 0, - NumMessages: 30, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_organization_organization_proto_goTypes, - DependencyIndexes: file_organization_organization_proto_depIdxs, - MessageInfos: file_organization_organization_proto_msgTypes, - }.Build() - File_organization_organization_proto = out.File - file_organization_organization_proto_rawDesc = nil - file_organization_organization_proto_goTypes = nil - file_organization_organization_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// OrganizationClient is the client API for Organization service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OrganizationClient interface { - CreateDepartment(ctx context.Context, in *CreateDepartmentReq, opts ...grpc.CallOption) (*CreateDepartmentResp, error) - UpdateDepartment(ctx context.Context, in *UpdateDepartmentReq, opts ...grpc.CallOption) (*UpdateDepartmentResp, error) - GetSubDepartment(ctx context.Context, in *GetSubDepartmentReq, opts ...grpc.CallOption) (*GetSubDepartmentResp, error) - DeleteDepartment(ctx context.Context, in *DeleteDepartmentReq, opts ...grpc.CallOption) (*DeleteDepartmentResp, error) - GetDepartmentParentIDList(ctx context.Context, in *GetDepartmentParentIDListReq, opts ...grpc.CallOption) (*GetDepartmentParentIDListResp, error) - CreateOrganizationUser(ctx context.Context, in *CreateOrganizationUserReq, opts ...grpc.CallOption) (*CreateOrganizationUserResp, error) - UpdateOrganizationUser(ctx context.Context, in *UpdateOrganizationUserReq, opts ...grpc.CallOption) (*UpdateOrganizationUserResp, error) - DeleteOrganizationUser(ctx context.Context, in *DeleteOrganizationUserReq, opts ...grpc.CallOption) (*DeleteOrganizationUserResp, error) - CreateDepartmentMember(ctx context.Context, in *CreateDepartmentMemberReq, opts ...grpc.CallOption) (*CreateDepartmentMemberResp, error) - GetUserInDepartment(ctx context.Context, in *GetUserInDepartmentReq, opts ...grpc.CallOption) (*GetUserInDepartmentResp, error) - DeleteUserInDepartment(ctx context.Context, in *DeleteUserInDepartmentReq, opts ...grpc.CallOption) (*DeleteUserInDepartmentResp, error) - UpdateUserInDepartment(ctx context.Context, in *UpdateUserInDepartmentReq, opts ...grpc.CallOption) (*UpdateUserInDepartmentResp, error) - GetDepartmentMember(ctx context.Context, in *GetDepartmentMemberReq, opts ...grpc.CallOption) (*GetDepartmentMemberResp, error) - GetDepartmentRelatedGroupIDList(ctx context.Context, in *GetDepartmentRelatedGroupIDListReq, opts ...grpc.CallOption) (*GetDepartmentRelatedGroupIDListResp, error) - GetUserInOrganization(ctx context.Context, in *GetUserInOrganizationReq, opts ...grpc.CallOption) (*GetUserInOrganizationResp, error) -} - -type organizationClient struct { - cc grpc.ClientConnInterface -} - -func NewOrganizationClient(cc grpc.ClientConnInterface) OrganizationClient { - return &organizationClient{cc} -} - -func (c *organizationClient) CreateDepartment(ctx context.Context, in *CreateDepartmentReq, opts ...grpc.CallOption) (*CreateDepartmentResp, error) { - out := new(CreateDepartmentResp) - err := c.cc.Invoke(ctx, "/organization.organization/CreateDepartment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) UpdateDepartment(ctx context.Context, in *UpdateDepartmentReq, opts ...grpc.CallOption) (*UpdateDepartmentResp, error) { - out := new(UpdateDepartmentResp) - err := c.cc.Invoke(ctx, "/organization.organization/UpdateDepartment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) GetSubDepartment(ctx context.Context, in *GetSubDepartmentReq, opts ...grpc.CallOption) (*GetSubDepartmentResp, error) { - out := new(GetSubDepartmentResp) - err := c.cc.Invoke(ctx, "/organization.organization/GetSubDepartment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) DeleteDepartment(ctx context.Context, in *DeleteDepartmentReq, opts ...grpc.CallOption) (*DeleteDepartmentResp, error) { - out := new(DeleteDepartmentResp) - err := c.cc.Invoke(ctx, "/organization.organization/DeleteDepartment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) GetDepartmentParentIDList(ctx context.Context, in *GetDepartmentParentIDListReq, opts ...grpc.CallOption) (*GetDepartmentParentIDListResp, error) { - out := new(GetDepartmentParentIDListResp) - err := c.cc.Invoke(ctx, "/organization.organization/GetDepartmentParentIDList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) CreateOrganizationUser(ctx context.Context, in *CreateOrganizationUserReq, opts ...grpc.CallOption) (*CreateOrganizationUserResp, error) { - out := new(CreateOrganizationUserResp) - err := c.cc.Invoke(ctx, "/organization.organization/CreateOrganizationUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) UpdateOrganizationUser(ctx context.Context, in *UpdateOrganizationUserReq, opts ...grpc.CallOption) (*UpdateOrganizationUserResp, error) { - out := new(UpdateOrganizationUserResp) - err := c.cc.Invoke(ctx, "/organization.organization/UpdateOrganizationUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) DeleteOrganizationUser(ctx context.Context, in *DeleteOrganizationUserReq, opts ...grpc.CallOption) (*DeleteOrganizationUserResp, error) { - out := new(DeleteOrganizationUserResp) - err := c.cc.Invoke(ctx, "/organization.organization/DeleteOrganizationUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) CreateDepartmentMember(ctx context.Context, in *CreateDepartmentMemberReq, opts ...grpc.CallOption) (*CreateDepartmentMemberResp, error) { - out := new(CreateDepartmentMemberResp) - err := c.cc.Invoke(ctx, "/organization.organization/CreateDepartmentMember", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) GetUserInDepartment(ctx context.Context, in *GetUserInDepartmentReq, opts ...grpc.CallOption) (*GetUserInDepartmentResp, error) { - out := new(GetUserInDepartmentResp) - err := c.cc.Invoke(ctx, "/organization.organization/GetUserInDepartment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) DeleteUserInDepartment(ctx context.Context, in *DeleteUserInDepartmentReq, opts ...grpc.CallOption) (*DeleteUserInDepartmentResp, error) { - out := new(DeleteUserInDepartmentResp) - err := c.cc.Invoke(ctx, "/organization.organization/DeleteUserInDepartment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) UpdateUserInDepartment(ctx context.Context, in *UpdateUserInDepartmentReq, opts ...grpc.CallOption) (*UpdateUserInDepartmentResp, error) { - out := new(UpdateUserInDepartmentResp) - err := c.cc.Invoke(ctx, "/organization.organization/UpdateUserInDepartment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) GetDepartmentMember(ctx context.Context, in *GetDepartmentMemberReq, opts ...grpc.CallOption) (*GetDepartmentMemberResp, error) { - out := new(GetDepartmentMemberResp) - err := c.cc.Invoke(ctx, "/organization.organization/GetDepartmentMember", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) GetDepartmentRelatedGroupIDList(ctx context.Context, in *GetDepartmentRelatedGroupIDListReq, opts ...grpc.CallOption) (*GetDepartmentRelatedGroupIDListResp, error) { - out := new(GetDepartmentRelatedGroupIDListResp) - err := c.cc.Invoke(ctx, "/organization.organization/GetDepartmentRelatedGroupIDList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *organizationClient) GetUserInOrganization(ctx context.Context, in *GetUserInOrganizationReq, opts ...grpc.CallOption) (*GetUserInOrganizationResp, error) { - out := new(GetUserInOrganizationResp) - err := c.cc.Invoke(ctx, "/organization.organization/GetUserInOrganization", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OrganizationServer is the server API for Organization service. -type OrganizationServer interface { - CreateDepartment(context.Context, *CreateDepartmentReq) (*CreateDepartmentResp, error) - UpdateDepartment(context.Context, *UpdateDepartmentReq) (*UpdateDepartmentResp, error) - GetSubDepartment(context.Context, *GetSubDepartmentReq) (*GetSubDepartmentResp, error) - DeleteDepartment(context.Context, *DeleteDepartmentReq) (*DeleteDepartmentResp, error) - GetDepartmentParentIDList(context.Context, *GetDepartmentParentIDListReq) (*GetDepartmentParentIDListResp, error) - CreateOrganizationUser(context.Context, *CreateOrganizationUserReq) (*CreateOrganizationUserResp, error) - UpdateOrganizationUser(context.Context, *UpdateOrganizationUserReq) (*UpdateOrganizationUserResp, error) - DeleteOrganizationUser(context.Context, *DeleteOrganizationUserReq) (*DeleteOrganizationUserResp, error) - CreateDepartmentMember(context.Context, *CreateDepartmentMemberReq) (*CreateDepartmentMemberResp, error) - GetUserInDepartment(context.Context, *GetUserInDepartmentReq) (*GetUserInDepartmentResp, error) - DeleteUserInDepartment(context.Context, *DeleteUserInDepartmentReq) (*DeleteUserInDepartmentResp, error) - UpdateUserInDepartment(context.Context, *UpdateUserInDepartmentReq) (*UpdateUserInDepartmentResp, error) - GetDepartmentMember(context.Context, *GetDepartmentMemberReq) (*GetDepartmentMemberResp, error) - GetDepartmentRelatedGroupIDList(context.Context, *GetDepartmentRelatedGroupIDListReq) (*GetDepartmentRelatedGroupIDListResp, error) - GetUserInOrganization(context.Context, *GetUserInOrganizationReq) (*GetUserInOrganizationResp, error) -} - -// UnimplementedOrganizationServer can be embedded to have forward compatible implementations. -type UnimplementedOrganizationServer struct { -} - -func (*UnimplementedOrganizationServer) CreateDepartment(context.Context, *CreateDepartmentReq) (*CreateDepartmentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDepartment not implemented") -} -func (*UnimplementedOrganizationServer) UpdateDepartment(context.Context, *UpdateDepartmentReq) (*UpdateDepartmentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDepartment not implemented") -} -func (*UnimplementedOrganizationServer) GetSubDepartment(context.Context, *GetSubDepartmentReq) (*GetSubDepartmentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSubDepartment not implemented") -} -func (*UnimplementedOrganizationServer) DeleteDepartment(context.Context, *DeleteDepartmentReq) (*DeleteDepartmentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDepartment not implemented") -} -func (*UnimplementedOrganizationServer) GetDepartmentParentIDList(context.Context, *GetDepartmentParentIDListReq) (*GetDepartmentParentIDListResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDepartmentParentIDList not implemented") -} -func (*UnimplementedOrganizationServer) CreateOrganizationUser(context.Context, *CreateOrganizationUserReq) (*CreateOrganizationUserResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOrganizationUser not implemented") -} -func (*UnimplementedOrganizationServer) UpdateOrganizationUser(context.Context, *UpdateOrganizationUserReq) (*UpdateOrganizationUserResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOrganizationUser not implemented") -} -func (*UnimplementedOrganizationServer) DeleteOrganizationUser(context.Context, *DeleteOrganizationUserReq) (*DeleteOrganizationUserResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteOrganizationUser not implemented") -} -func (*UnimplementedOrganizationServer) CreateDepartmentMember(context.Context, *CreateDepartmentMemberReq) (*CreateDepartmentMemberResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDepartmentMember not implemented") -} -func (*UnimplementedOrganizationServer) GetUserInDepartment(context.Context, *GetUserInDepartmentReq) (*GetUserInDepartmentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserInDepartment not implemented") -} -func (*UnimplementedOrganizationServer) DeleteUserInDepartment(context.Context, *DeleteUserInDepartmentReq) (*DeleteUserInDepartmentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteUserInDepartment not implemented") -} -func (*UnimplementedOrganizationServer) UpdateUserInDepartment(context.Context, *UpdateUserInDepartmentReq) (*UpdateUserInDepartmentResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInDepartment not implemented") -} -func (*UnimplementedOrganizationServer) GetDepartmentMember(context.Context, *GetDepartmentMemberReq) (*GetDepartmentMemberResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDepartmentMember not implemented") -} -func (*UnimplementedOrganizationServer) GetDepartmentRelatedGroupIDList(context.Context, *GetDepartmentRelatedGroupIDListReq) (*GetDepartmentRelatedGroupIDListResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDepartmentRelatedGroupIDList not implemented") -} -func (*UnimplementedOrganizationServer) GetUserInOrganization(context.Context, *GetUserInOrganizationReq) (*GetUserInOrganizationResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserInOrganization not implemented") -} - -func RegisterOrganizationServer(s *grpc.Server, srv OrganizationServer) { - s.RegisterService(&_Organization_serviceDesc, srv) -} - -func _Organization_CreateDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDepartmentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).CreateDepartment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/CreateDepartment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).CreateDepartment(ctx, req.(*CreateDepartmentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_UpdateDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDepartmentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).UpdateDepartment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/UpdateDepartment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).UpdateDepartment(ctx, req.(*UpdateDepartmentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_GetSubDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSubDepartmentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).GetSubDepartment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/GetSubDepartment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).GetSubDepartment(ctx, req.(*GetSubDepartmentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_DeleteDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDepartmentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).DeleteDepartment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/DeleteDepartment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).DeleteDepartment(ctx, req.(*DeleteDepartmentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_GetDepartmentParentIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDepartmentParentIDListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).GetDepartmentParentIDList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/GetDepartmentParentIDList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).GetDepartmentParentIDList(ctx, req.(*GetDepartmentParentIDListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_CreateOrganizationUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateOrganizationUserReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).CreateOrganizationUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/CreateOrganizationUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).CreateOrganizationUser(ctx, req.(*CreateOrganizationUserReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_UpdateOrganizationUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateOrganizationUserReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).UpdateOrganizationUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/UpdateOrganizationUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).UpdateOrganizationUser(ctx, req.(*UpdateOrganizationUserReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_DeleteOrganizationUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteOrganizationUserReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).DeleteOrganizationUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/DeleteOrganizationUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).DeleteOrganizationUser(ctx, req.(*DeleteOrganizationUserReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_CreateDepartmentMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDepartmentMemberReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).CreateDepartmentMember(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/CreateDepartmentMember", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).CreateDepartmentMember(ctx, req.(*CreateDepartmentMemberReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_GetUserInDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserInDepartmentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).GetUserInDepartment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/GetUserInDepartment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).GetUserInDepartment(ctx, req.(*GetUserInDepartmentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_DeleteUserInDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteUserInDepartmentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).DeleteUserInDepartment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/DeleteUserInDepartment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).DeleteUserInDepartment(ctx, req.(*DeleteUserInDepartmentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_UpdateUserInDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateUserInDepartmentReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).UpdateUserInDepartment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/UpdateUserInDepartment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).UpdateUserInDepartment(ctx, req.(*UpdateUserInDepartmentReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_GetDepartmentMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDepartmentMemberReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).GetDepartmentMember(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/GetDepartmentMember", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).GetDepartmentMember(ctx, req.(*GetDepartmentMemberReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_GetDepartmentRelatedGroupIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDepartmentRelatedGroupIDListReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).GetDepartmentRelatedGroupIDList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/GetDepartmentRelatedGroupIDList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).GetDepartmentRelatedGroupIDList(ctx, req.(*GetDepartmentRelatedGroupIDListReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Organization_GetUserInOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserInOrganizationReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OrganizationServer).GetUserInOrganization(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/organization.organization/GetUserInOrganization", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).GetUserInOrganization(ctx, req.(*GetUserInOrganizationReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _Organization_serviceDesc = grpc.ServiceDesc{ - ServiceName: "organization.organization", - HandlerType: (*OrganizationServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateDepartment", - Handler: _Organization_CreateDepartment_Handler, - }, - { - MethodName: "UpdateDepartment", - Handler: _Organization_UpdateDepartment_Handler, - }, - { - MethodName: "GetSubDepartment", - Handler: _Organization_GetSubDepartment_Handler, - }, - { - MethodName: "DeleteDepartment", - Handler: _Organization_DeleteDepartment_Handler, - }, - { - MethodName: "GetDepartmentParentIDList", - Handler: _Organization_GetDepartmentParentIDList_Handler, - }, - { - MethodName: "CreateOrganizationUser", - Handler: _Organization_CreateOrganizationUser_Handler, - }, - { - MethodName: "UpdateOrganizationUser", - Handler: _Organization_UpdateOrganizationUser_Handler, - }, - { - MethodName: "DeleteOrganizationUser", - Handler: _Organization_DeleteOrganizationUser_Handler, - }, - { - MethodName: "CreateDepartmentMember", - Handler: _Organization_CreateDepartmentMember_Handler, - }, - { - MethodName: "GetUserInDepartment", - Handler: _Organization_GetUserInDepartment_Handler, - }, - { - MethodName: "DeleteUserInDepartment", - Handler: _Organization_DeleteUserInDepartment_Handler, - }, - { - MethodName: "UpdateUserInDepartment", - Handler: _Organization_UpdateUserInDepartment_Handler, - }, - { - MethodName: "GetDepartmentMember", - Handler: _Organization_GetDepartmentMember_Handler, - }, - { - MethodName: "GetDepartmentRelatedGroupIDList", - Handler: _Organization_GetDepartmentRelatedGroupIDList_Handler, - }, - { - MethodName: "GetUserInOrganization", - Handler: _Organization_GetUserInOrganization_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "organization/organization.proto", -} diff --git a/tools/data-conversion/proto/organization/organization.proto b/tools/data-conversion/proto/organization/organization.proto deleted file mode 100644 index 3dfa9f3bc..000000000 --- a/tools/data-conversion/proto/organization/organization.proto +++ /dev/null @@ -1,209 +0,0 @@ -syntax = "proto3"; -import "Open-IM-Server/pkg/proto/sdk_ws/ws.proto"; -option go_package = "Open_IM/pkg/proto/organization;organization"; -package organization; - - -message CreateDepartmentReq{ - server_api_params.Department departmentInfo = 1; - string operationID = 2; - string opUserID = 3; -} - -message CreateDepartmentResp{ - int32 errCode = 1; - string errMsg = 2; - server_api_params.Department departmentInfo = 3; -} - -message UpdateDepartmentReq{ - server_api_params.Department departmentInfo = 1; - string operationID = 2; - string opUserID = 3; -} - -message UpdateDepartmentResp{ - int32 errCode = 1; - string errMsg = 2; -} - - -message GetSubDepartmentReq{ - string departmentID = 1; - string operationID = 2; - string opUserID = 3; -} - -message GetSubDepartmentResp{ - int32 errCode = 1; - string errMsg = 2; - repeated server_api_params.Department departmentList = 3; -} - -message DeleteDepartmentReq{ - string departmentID = 1; - string operationID = 2; - string opUserID = 3; -} - -message DeleteDepartmentResp{ - int32 errCode = 1; - string errMsg = 2; -} - -message GetDepartmentParentIDListReq { - string departmentID = 1; - string operationID = 2; -} - -message GetDepartmentParentIDListResp { - int32 errCode = 1; - string errMsg = 2; - repeated string parentIDList = 3; -} - - -message CreateOrganizationUserReq{ - server_api_params.OrganizationUser organizationUser = 1; - string operationID = 2; - string opUserID = 3; - bool IsRegister = 4; -} - - -message CreateOrganizationUserResp{ - int32 errCode = 1; - string errMsg = 2; -} - - -message UpdateOrganizationUserReq{ - server_api_params.OrganizationUser organizationUser = 1; - string operationID = 2; - string opUserID = 3; -} - - -message UpdateOrganizationUserResp{ - int32 errCode = 1; - string errMsg = 2; -} - - - - -message CreateDepartmentMemberReq{ - server_api_params.DepartmentMember departmentMember = 1; - string operationID = 2; - string opUserID = 3; -} -message CreateDepartmentMemberResp{ - int32 errCode = 1; - string errMsg = 2; -} - - -message GetUserInDepartmentReq{ - string userID = 1; - string operationID = 2; - string opUserID = 3; -} -message GetUserInDepartmentResp{ - int32 errCode = 1; - string errMsg = 2; - server_api_params.UserInDepartment userInDepartment = 3; -} - - -message UpdateUserInDepartmentReq{ - server_api_params.DepartmentMember departmentMember = 1; - string operationID = 2; - string opUserID = 3; -} -message UpdateUserInDepartmentResp{ - int32 errCode = 1; - string errMsg = 2; -} - - -message DeleteUserInDepartmentReq{ - string userID = 1; - string operationID = 2; - string opUserID = 3; - string departmentID = 4; -} -message DeleteUserInDepartmentResp{ - int32 errCode = 1; - string errMsg = 2; -} - -message DeleteOrganizationUserReq{ - string userID = 1; - string operationID = 2; - string opUserID = 3; -} -message DeleteOrganizationUserResp{ - int32 errCode = 1; - string errMsg = 2; -} - - -message GetDepartmentMemberReq{ - string departmentID = 1; - string operationID = 2; - string opUserID = 3; -} - -message GetDepartmentMemberResp{ - int32 errCode = 1; - string errMsg = 2; - repeated server_api_params.UserDepartmentMember userDepartmentMemberList = 3; -} - -message GetDepartmentRelatedGroupIDListReq { - string operationID = 1; - repeated string departmentIDList = 2; -} - -message GetDepartmentRelatedGroupIDListResp { - int32 errCode = 1; - string errMsg = 2; - repeated string groupIDList = 3; -} - -message GetUserInOrganizationReq{ - repeated string userIDList = 1; - string operationID = 2; -} - -message GetUserInOrganizationResp{ - int32 errCode = 1; - string errMsg = 2; - repeated server_api_params.OrganizationUser organizationUsers = 3; -} - -service organization{ - rpc CreateDepartment(CreateDepartmentReq) returns(CreateDepartmentResp); - rpc UpdateDepartment(UpdateDepartmentReq) returns(UpdateDepartmentResp); - rpc GetSubDepartment(GetSubDepartmentReq) returns(GetSubDepartmentResp); - rpc DeleteDepartment(DeleteDepartmentReq) returns(DeleteDepartmentResp); - rpc GetDepartmentParentIDList(GetDepartmentParentIDListReq) returns(GetDepartmentParentIDListResp); - - rpc CreateOrganizationUser(CreateOrganizationUserReq) returns(CreateOrganizationUserResp); - rpc UpdateOrganizationUser(UpdateOrganizationUserReq) returns(UpdateOrganizationUserResp); - rpc DeleteOrganizationUser(DeleteOrganizationUserReq) returns(DeleteOrganizationUserResp); - - - rpc CreateDepartmentMember(CreateDepartmentMemberReq) returns(CreateDepartmentMemberResp); - rpc GetUserInDepartment(GetUserInDepartmentReq) returns(GetUserInDepartmentResp); - rpc DeleteUserInDepartment(DeleteUserInDepartmentReq) returns(DeleteUserInDepartmentResp); - rpc UpdateUserInDepartment(UpdateUserInDepartmentReq) returns(UpdateUserInDepartmentResp); - rpc GetDepartmentMember(GetDepartmentMemberReq) returns(GetDepartmentMemberResp); - rpc GetDepartmentRelatedGroupIDList(GetDepartmentRelatedGroupIDListReq) returns(GetDepartmentRelatedGroupIDListResp); - - rpc GetUserInOrganization(GetUserInOrganizationReq) returns(GetUserInOrganizationResp); -} - - - - diff --git a/tools/data-conversion/proto/push/push.pb.go b/tools/data-conversion/proto/push/push.pb.go deleted file mode 100644 index 1c4d10593..000000000 --- a/tools/data-conversion/proto/push/push.pb.go +++ /dev/null @@ -1,357 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: push/push.proto - -package pbPush // import "Open_IM/pkg/proto/push" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import sdk_ws "Open_IM/pkg/proto/sdk_ws" - -import ( - context "golang.org/x/net/context" - grpc "google.golang.org/grpc" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - -type PushMsgReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - MsgData *sdk_ws.MsgData `protobuf:"bytes,2,opt,name=msgData" json:"msgData,omitempty"` - PushToUserID string `protobuf:"bytes,3,opt,name=pushToUserID" json:"pushToUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PushMsgReq) Reset() { *m = PushMsgReq{} } -func (m *PushMsgReq) String() string { return proto.CompactTextString(m) } -func (*PushMsgReq) ProtoMessage() {} -func (*PushMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_push_17f752d1b1c8edd5, []int{0} -} -func (m *PushMsgReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PushMsgReq.Unmarshal(m, b) -} -func (m *PushMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PushMsgReq.Marshal(b, m, deterministic) -} -func (dst *PushMsgReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_PushMsgReq.Merge(dst, src) -} -func (m *PushMsgReq) XXX_Size() int { - return xxx_messageInfo_PushMsgReq.Size(m) -} -func (m *PushMsgReq) XXX_DiscardUnknown() { - xxx_messageInfo_PushMsgReq.DiscardUnknown(m) -} - -var xxx_messageInfo_PushMsgReq proto.InternalMessageInfo - -func (m *PushMsgReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *PushMsgReq) GetMsgData() *sdk_ws.MsgData { - if m != nil { - return m.MsgData - } - return nil -} - -func (m *PushMsgReq) GetPushToUserID() string { - if m != nil { - return m.PushToUserID - } - return "" -} - -type PushMsgResp struct { - ResultCode int32 `protobuf:"varint,1,opt,name=ResultCode" json:"ResultCode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PushMsgResp) Reset() { *m = PushMsgResp{} } -func (m *PushMsgResp) String() string { return proto.CompactTextString(m) } -func (*PushMsgResp) ProtoMessage() {} -func (*PushMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_push_17f752d1b1c8edd5, []int{1} -} -func (m *PushMsgResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PushMsgResp.Unmarshal(m, b) -} -func (m *PushMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PushMsgResp.Marshal(b, m, deterministic) -} -func (dst *PushMsgResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_PushMsgResp.Merge(dst, src) -} -func (m *PushMsgResp) XXX_Size() int { - return xxx_messageInfo_PushMsgResp.Size(m) -} -func (m *PushMsgResp) XXX_DiscardUnknown() { - xxx_messageInfo_PushMsgResp.DiscardUnknown(m) -} - -var xxx_messageInfo_PushMsgResp proto.InternalMessageInfo - -func (m *PushMsgResp) GetResultCode() int32 { - if m != nil { - return m.ResultCode - } - return 0 -} - -type DelUserPushTokenReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - PlatformID int32 `protobuf:"varint,3,opt,name=platformID" json:"platformID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DelUserPushTokenReq) Reset() { *m = DelUserPushTokenReq{} } -func (m *DelUserPushTokenReq) String() string { return proto.CompactTextString(m) } -func (*DelUserPushTokenReq) ProtoMessage() {} -func (*DelUserPushTokenReq) Descriptor() ([]byte, []int) { - return fileDescriptor_push_17f752d1b1c8edd5, []int{2} -} -func (m *DelUserPushTokenReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DelUserPushTokenReq.Unmarshal(m, b) -} -func (m *DelUserPushTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DelUserPushTokenReq.Marshal(b, m, deterministic) -} -func (dst *DelUserPushTokenReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_DelUserPushTokenReq.Merge(dst, src) -} -func (m *DelUserPushTokenReq) XXX_Size() int { - return xxx_messageInfo_DelUserPushTokenReq.Size(m) -} -func (m *DelUserPushTokenReq) XXX_DiscardUnknown() { - xxx_messageInfo_DelUserPushTokenReq.DiscardUnknown(m) -} - -var xxx_messageInfo_DelUserPushTokenReq proto.InternalMessageInfo - -func (m *DelUserPushTokenReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *DelUserPushTokenReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *DelUserPushTokenReq) GetPlatformID() int32 { - if m != nil { - return m.PlatformID - } - return 0 -} - -type DelUserPushTokenResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DelUserPushTokenResp) Reset() { *m = DelUserPushTokenResp{} } -func (m *DelUserPushTokenResp) String() string { return proto.CompactTextString(m) } -func (*DelUserPushTokenResp) ProtoMessage() {} -func (*DelUserPushTokenResp) Descriptor() ([]byte, []int) { - return fileDescriptor_push_17f752d1b1c8edd5, []int{3} -} -func (m *DelUserPushTokenResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DelUserPushTokenResp.Unmarshal(m, b) -} -func (m *DelUserPushTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DelUserPushTokenResp.Marshal(b, m, deterministic) -} -func (dst *DelUserPushTokenResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_DelUserPushTokenResp.Merge(dst, src) -} -func (m *DelUserPushTokenResp) XXX_Size() int { - return xxx_messageInfo_DelUserPushTokenResp.Size(m) -} -func (m *DelUserPushTokenResp) XXX_DiscardUnknown() { - xxx_messageInfo_DelUserPushTokenResp.DiscardUnknown(m) -} - -var xxx_messageInfo_DelUserPushTokenResp proto.InternalMessageInfo - -func (m *DelUserPushTokenResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *DelUserPushTokenResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func init() { - proto.RegisterType((*PushMsgReq)(nil), "push.PushMsgReq") - proto.RegisterType((*PushMsgResp)(nil), "push.PushMsgResp") - proto.RegisterType((*DelUserPushTokenReq)(nil), "push.DelUserPushTokenReq") - proto.RegisterType((*DelUserPushTokenResp)(nil), "push.DelUserPushTokenResp") -} - -// 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 - -// Client API for PushMsgService service - -type PushMsgServiceClient interface { - PushMsg(ctx context.Context, in *PushMsgReq, opts ...grpc.CallOption) (*PushMsgResp, error) - DelUserPushToken(ctx context.Context, in *DelUserPushTokenReq, opts ...grpc.CallOption) (*DelUserPushTokenResp, error) -} - -type pushMsgServiceClient struct { - cc *grpc.ClientConn -} - -func NewPushMsgServiceClient(cc *grpc.ClientConn) PushMsgServiceClient { - return &pushMsgServiceClient{cc} -} - -func (c *pushMsgServiceClient) PushMsg(ctx context.Context, in *PushMsgReq, opts ...grpc.CallOption) (*PushMsgResp, error) { - out := new(PushMsgResp) - err := grpc.Invoke(ctx, "/push.PushMsgService/PushMsg", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *pushMsgServiceClient) DelUserPushToken(ctx context.Context, in *DelUserPushTokenReq, opts ...grpc.CallOption) (*DelUserPushTokenResp, error) { - out := new(DelUserPushTokenResp) - err := grpc.Invoke(ctx, "/push.PushMsgService/DelUserPushToken", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Server API for PushMsgService service - -type PushMsgServiceServer interface { - PushMsg(context.Context, *PushMsgReq) (*PushMsgResp, error) - DelUserPushToken(context.Context, *DelUserPushTokenReq) (*DelUserPushTokenResp, error) -} - -func RegisterPushMsgServiceServer(s *grpc.Server, srv PushMsgServiceServer) { - s.RegisterService(&_PushMsgService_serviceDesc, srv) -} - -func _PushMsgService_PushMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PushMsgReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PushMsgServiceServer).PushMsg(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/push.PushMsgService/PushMsg", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PushMsgServiceServer).PushMsg(ctx, req.(*PushMsgReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _PushMsgService_DelUserPushToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DelUserPushTokenReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PushMsgServiceServer).DelUserPushToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/push.PushMsgService/DelUserPushToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PushMsgServiceServer).DelUserPushToken(ctx, req.(*DelUserPushTokenReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _PushMsgService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "push.PushMsgService", - HandlerType: (*PushMsgServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "PushMsg", - Handler: _PushMsgService_PushMsg_Handler, - }, - { - MethodName: "DelUserPushToken", - Handler: _PushMsgService_DelUserPushToken_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "push/push.proto", -} - -func init() { proto.RegisterFile("push/push.proto", fileDescriptor_push_17f752d1b1c8edd5) } - -var fileDescriptor_push_17f752d1b1c8edd5 = []byte{ - // 342 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4f, 0x4b, 0xfb, 0x40, - 0x10, 0x25, 0xfd, 0xfd, 0xda, 0xe2, 0x54, 0xb4, 0xae, 0x22, 0x31, 0xa0, 0x96, 0x9c, 0x7a, 0x69, - 0x02, 0xd5, 0x9b, 0x37, 0xcd, 0xc1, 0x1c, 0x82, 0x25, 0xea, 0xc5, 0x4b, 0xd8, 0xda, 0x35, 0x2d, - 0xfd, 0xb3, 0xe3, 0x4e, 0x62, 0xbf, 0x82, 0xe0, 0x97, 0x96, 0xdd, 0x24, 0x1a, 0xab, 0x82, 0x97, - 0x65, 0xe7, 0xcd, 0xdb, 0x79, 0x6f, 0x76, 0x06, 0x76, 0x31, 0xa7, 0xa9, 0xaf, 0x0f, 0x0f, 0x95, - 0xcc, 0x24, 0xfb, 0xaf, 0xef, 0x4e, 0xff, 0x06, 0xc5, 0x6a, 0x10, 0x46, 0x83, 0x5b, 0xa1, 0x5e, - 0x84, 0xf2, 0x71, 0x9e, 0xfa, 0x26, 0xef, 0xd3, 0x64, 0x9e, 0xac, 0xc9, 0x5f, 0x53, 0xc1, 0x77, - 0x5f, 0x2d, 0x80, 0x51, 0x4e, 0xd3, 0x88, 0xd2, 0x58, 0x3c, 0xb3, 0x1e, 0x74, 0x24, 0x0a, 0xc5, - 0xb3, 0x99, 0x5c, 0x85, 0x81, 0x6d, 0xf5, 0xac, 0xfe, 0x56, 0x5c, 0x87, 0xd8, 0x39, 0xb4, 0x97, - 0x94, 0x06, 0x3c, 0xe3, 0x76, 0xa3, 0x67, 0xf5, 0x3b, 0x43, 0xc7, 0x23, 0x23, 0x92, 0x70, 0x9c, - 0x25, 0xc8, 0x15, 0x5f, 0x92, 0x17, 0x15, 0x8c, 0xb8, 0xa2, 0x32, 0x17, 0xb6, 0xb5, 0xb1, 0x3b, - 0x79, 0x4f, 0x42, 0x85, 0x81, 0xfd, 0xcf, 0x14, 0xfe, 0x82, 0xb9, 0x03, 0xe8, 0x7c, 0x38, 0x21, - 0x64, 0x27, 0x00, 0xb1, 0xa0, 0x7c, 0x91, 0x5d, 0xc9, 0x89, 0x30, 0x4e, 0x9a, 0x71, 0x0d, 0x71, - 0x25, 0xec, 0x07, 0x62, 0xa1, 0xdf, 0x8e, 0x4c, 0x95, 0xb9, 0x58, 0xfd, 0xad, 0x83, 0x43, 0x68, - 0xe5, 0x85, 0x8b, 0x86, 0x49, 0x96, 0x91, 0x16, 0xc4, 0x05, 0xcf, 0x9e, 0xa4, 0x5a, 0x96, 0x0e, - 0x9b, 0x71, 0x0d, 0x71, 0xaf, 0xe1, 0xe0, 0xbb, 0x20, 0x21, 0xb3, 0xa1, 0x2d, 0x94, 0xaa, 0xb9, - 0xac, 0x42, 0xad, 0x24, 0x94, 0x8a, 0x28, 0xad, 0x94, 0x8a, 0x68, 0xf8, 0x66, 0xc1, 0x4e, 0xd9, - 0xaa, 0x1e, 0xd0, 0xec, 0x51, 0x30, 0x0f, 0xda, 0x25, 0xc2, 0xba, 0x9e, 0x99, 0xe7, 0xe7, 0x54, - 0x9c, 0xbd, 0x0d, 0x84, 0x90, 0x85, 0xd0, 0xdd, 0x34, 0xc3, 0x8e, 0x0a, 0xda, 0x0f, 0xbf, 0xe2, - 0x38, 0xbf, 0xa5, 0x08, 0x2f, 0x4f, 0x1f, 0x8e, 0xf5, 0xba, 0x24, 0x61, 0x54, 0xdb, 0x13, 0x4d, - 0xbf, 0xc0, 0xb1, 0x66, 0x8e, 0x5b, 0x06, 0x3a, 0x7b, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x44, - 0x0e, 0xd2, 0x6d, 0x02, 0x00, 0x00, -} diff --git a/tools/data-conversion/proto/push/push.proto b/tools/data-conversion/proto/push/push.proto deleted file mode 100644 index d9f864510..000000000 --- a/tools/data-conversion/proto/push/push.proto +++ /dev/null @@ -1,49 +0,0 @@ -syntax = "proto3"; -import "Open-IM-Server/pkg/proto/sdk_ws/ws.proto"; -option go_package = "Open_IM/pkg/proto/push;pbPush"; -package push; - -message PushMsgReq { - string operationID = 1; - server_api_params.MsgData msgData = 2; - string pushToUserID = 3; -} -message PushMsgResp{ - int32 ResultCode = 1; -} -message DelUserPushTokenReq{ - string operationID = 1; - string userID =2; - int32 platformID = 3; -} -message DelUserPushTokenResp{ - int32 errCode = 1; - string errMsg = 2; -} - -//message InternalPushMsgReq{ -// int32 ReqIdentifier = 1; -// string Token = 2; -// string SendID = 3; -// string OperationID = 4; -// int32 MsgIncr = 5; -// int32 PlatformID = 6; -// int32 SessionType = 7; -// int32 MsgFrom = 8; -// int32 ContentType = 9; -// string RecvID = 10; -// repeated string ForceList = 11; -// string Content = 12; -// string Options = 13; -// string ClientMsgID = 14; -// string OffLineInfo = 15; -// string Ex = 16; -// -//} - -service PushMsgService { - rpc PushMsg(PushMsgReq) returns(PushMsgResp); - rpc DelUserPushToken(DelUserPushTokenReq) returns(DelUserPushTokenResp); -// rpc InternalPushMsg(InternalPushMsgReq)returns(PushMsgResp); -} - diff --git a/tools/data-conversion/proto/relay/relay.pb.go b/tools/data-conversion/proto/relay/relay.pb.go deleted file mode 100644 index 8da60edd5..000000000 --- a/tools/data-conversion/proto/relay/relay.pb.go +++ /dev/null @@ -1,1147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: relay/relay.proto - -package pbRelay // import "Open_IM/pkg/proto/relay" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import sdk_ws "Open_IM/pkg/proto/sdk_ws" - -import ( - context "golang.org/x/net/context" - grpc "google.golang.org/grpc" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - -type OnlinePushMsgReq struct { - OperationID string `protobuf:"bytes,1,opt,name=OperationID" json:"OperationID,omitempty"` - MsgData *sdk_ws.MsgData `protobuf:"bytes,2,opt,name=msgData" json:"msgData,omitempty"` - PushToUserID string `protobuf:"bytes,3,opt,name=pushToUserID" json:"pushToUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OnlinePushMsgReq) Reset() { *m = OnlinePushMsgReq{} } -func (m *OnlinePushMsgReq) String() string { return proto.CompactTextString(m) } -func (*OnlinePushMsgReq) ProtoMessage() {} -func (*OnlinePushMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{0} -} -func (m *OnlinePushMsgReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OnlinePushMsgReq.Unmarshal(m, b) -} -func (m *OnlinePushMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OnlinePushMsgReq.Marshal(b, m, deterministic) -} -func (dst *OnlinePushMsgReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_OnlinePushMsgReq.Merge(dst, src) -} -func (m *OnlinePushMsgReq) XXX_Size() int { - return xxx_messageInfo_OnlinePushMsgReq.Size(m) -} -func (m *OnlinePushMsgReq) XXX_DiscardUnknown() { - xxx_messageInfo_OnlinePushMsgReq.DiscardUnknown(m) -} - -var xxx_messageInfo_OnlinePushMsgReq proto.InternalMessageInfo - -func (m *OnlinePushMsgReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *OnlinePushMsgReq) GetMsgData() *sdk_ws.MsgData { - if m != nil { - return m.MsgData - } - return nil -} - -func (m *OnlinePushMsgReq) GetPushToUserID() string { - if m != nil { - return m.PushToUserID - } - return "" -} - -type OnlinePushMsgResp struct { - Resp []*SingleMsgToUserPlatform `protobuf:"bytes,1,rep,name=resp" json:"resp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OnlinePushMsgResp) Reset() { *m = OnlinePushMsgResp{} } -func (m *OnlinePushMsgResp) String() string { return proto.CompactTextString(m) } -func (*OnlinePushMsgResp) ProtoMessage() {} -func (*OnlinePushMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{1} -} -func (m *OnlinePushMsgResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OnlinePushMsgResp.Unmarshal(m, b) -} -func (m *OnlinePushMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OnlinePushMsgResp.Marshal(b, m, deterministic) -} -func (dst *OnlinePushMsgResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_OnlinePushMsgResp.Merge(dst, src) -} -func (m *OnlinePushMsgResp) XXX_Size() int { - return xxx_messageInfo_OnlinePushMsgResp.Size(m) -} -func (m *OnlinePushMsgResp) XXX_DiscardUnknown() { - xxx_messageInfo_OnlinePushMsgResp.DiscardUnknown(m) -} - -var xxx_messageInfo_OnlinePushMsgResp proto.InternalMessageInfo - -func (m *OnlinePushMsgResp) GetResp() []*SingleMsgToUserPlatform { - if m != nil { - return m.Resp - } - return nil -} - -type SingelMsgToUserResultList struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - Resp []*SingleMsgToUserPlatform `protobuf:"bytes,2,rep,name=resp" json:"resp,omitempty"` - OnlinePush bool `protobuf:"varint,3,opt,name=onlinePush" json:"onlinePush,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SingelMsgToUserResultList) Reset() { *m = SingelMsgToUserResultList{} } -func (m *SingelMsgToUserResultList) String() string { return proto.CompactTextString(m) } -func (*SingelMsgToUserResultList) ProtoMessage() {} -func (*SingelMsgToUserResultList) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{2} -} -func (m *SingelMsgToUserResultList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SingelMsgToUserResultList.Unmarshal(m, b) -} -func (m *SingelMsgToUserResultList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SingelMsgToUserResultList.Marshal(b, m, deterministic) -} -func (dst *SingelMsgToUserResultList) XXX_Merge(src proto.Message) { - xxx_messageInfo_SingelMsgToUserResultList.Merge(dst, src) -} -func (m *SingelMsgToUserResultList) XXX_Size() int { - return xxx_messageInfo_SingelMsgToUserResultList.Size(m) -} -func (m *SingelMsgToUserResultList) XXX_DiscardUnknown() { - xxx_messageInfo_SingelMsgToUserResultList.DiscardUnknown(m) -} - -var xxx_messageInfo_SingelMsgToUserResultList proto.InternalMessageInfo - -func (m *SingelMsgToUserResultList) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *SingelMsgToUserResultList) GetResp() []*SingleMsgToUserPlatform { - if m != nil { - return m.Resp - } - return nil -} - -func (m *SingelMsgToUserResultList) GetOnlinePush() bool { - if m != nil { - return m.OnlinePush - } - return false -} - -type OnlineBatchPushOneMsgReq struct { - OperationID string `protobuf:"bytes,1,opt,name=OperationID" json:"OperationID,omitempty"` - MsgData *sdk_ws.MsgData `protobuf:"bytes,2,opt,name=msgData" json:"msgData,omitempty"` - PushToUserIDList []string `protobuf:"bytes,3,rep,name=pushToUserIDList" json:"pushToUserIDList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OnlineBatchPushOneMsgReq) Reset() { *m = OnlineBatchPushOneMsgReq{} } -func (m *OnlineBatchPushOneMsgReq) String() string { return proto.CompactTextString(m) } -func (*OnlineBatchPushOneMsgReq) ProtoMessage() {} -func (*OnlineBatchPushOneMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{3} -} -func (m *OnlineBatchPushOneMsgReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OnlineBatchPushOneMsgReq.Unmarshal(m, b) -} -func (m *OnlineBatchPushOneMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OnlineBatchPushOneMsgReq.Marshal(b, m, deterministic) -} -func (dst *OnlineBatchPushOneMsgReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_OnlineBatchPushOneMsgReq.Merge(dst, src) -} -func (m *OnlineBatchPushOneMsgReq) XXX_Size() int { - return xxx_messageInfo_OnlineBatchPushOneMsgReq.Size(m) -} -func (m *OnlineBatchPushOneMsgReq) XXX_DiscardUnknown() { - xxx_messageInfo_OnlineBatchPushOneMsgReq.DiscardUnknown(m) -} - -var xxx_messageInfo_OnlineBatchPushOneMsgReq proto.InternalMessageInfo - -func (m *OnlineBatchPushOneMsgReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *OnlineBatchPushOneMsgReq) GetMsgData() *sdk_ws.MsgData { - if m != nil { - return m.MsgData - } - return nil -} - -func (m *OnlineBatchPushOneMsgReq) GetPushToUserIDList() []string { - if m != nil { - return m.PushToUserIDList - } - return nil -} - -type OnlineBatchPushOneMsgResp struct { - SinglePushResult []*SingelMsgToUserResultList `protobuf:"bytes,1,rep,name=singlePushResult" json:"singlePushResult,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OnlineBatchPushOneMsgResp) Reset() { *m = OnlineBatchPushOneMsgResp{} } -func (m *OnlineBatchPushOneMsgResp) String() string { return proto.CompactTextString(m) } -func (*OnlineBatchPushOneMsgResp) ProtoMessage() {} -func (*OnlineBatchPushOneMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{4} -} -func (m *OnlineBatchPushOneMsgResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OnlineBatchPushOneMsgResp.Unmarshal(m, b) -} -func (m *OnlineBatchPushOneMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OnlineBatchPushOneMsgResp.Marshal(b, m, deterministic) -} -func (dst *OnlineBatchPushOneMsgResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_OnlineBatchPushOneMsgResp.Merge(dst, src) -} -func (m *OnlineBatchPushOneMsgResp) XXX_Size() int { - return xxx_messageInfo_OnlineBatchPushOneMsgResp.Size(m) -} -func (m *OnlineBatchPushOneMsgResp) XXX_DiscardUnknown() { - xxx_messageInfo_OnlineBatchPushOneMsgResp.DiscardUnknown(m) -} - -var xxx_messageInfo_OnlineBatchPushOneMsgResp proto.InternalMessageInfo - -func (m *OnlineBatchPushOneMsgResp) GetSinglePushResult() []*SingelMsgToUserResultList { - if m != nil { - return m.SinglePushResult - } - return nil -} - -type SingleMsgToUserPlatform struct { - ResultCode int64 `protobuf:"varint,1,opt,name=ResultCode" json:"ResultCode,omitempty"` - RecvID string `protobuf:"bytes,2,opt,name=RecvID" json:"RecvID,omitempty"` - RecvPlatFormID int32 `protobuf:"varint,3,opt,name=RecvPlatFormID" json:"RecvPlatFormID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SingleMsgToUserPlatform) Reset() { *m = SingleMsgToUserPlatform{} } -func (m *SingleMsgToUserPlatform) String() string { return proto.CompactTextString(m) } -func (*SingleMsgToUserPlatform) ProtoMessage() {} -func (*SingleMsgToUserPlatform) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{5} -} -func (m *SingleMsgToUserPlatform) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SingleMsgToUserPlatform.Unmarshal(m, b) -} -func (m *SingleMsgToUserPlatform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SingleMsgToUserPlatform.Marshal(b, m, deterministic) -} -func (dst *SingleMsgToUserPlatform) XXX_Merge(src proto.Message) { - xxx_messageInfo_SingleMsgToUserPlatform.Merge(dst, src) -} -func (m *SingleMsgToUserPlatform) XXX_Size() int { - return xxx_messageInfo_SingleMsgToUserPlatform.Size(m) -} -func (m *SingleMsgToUserPlatform) XXX_DiscardUnknown() { - xxx_messageInfo_SingleMsgToUserPlatform.DiscardUnknown(m) -} - -var xxx_messageInfo_SingleMsgToUserPlatform proto.InternalMessageInfo - -func (m *SingleMsgToUserPlatform) GetResultCode() int64 { - if m != nil { - return m.ResultCode - } - return 0 -} - -func (m *SingleMsgToUserPlatform) GetRecvID() string { - if m != nil { - return m.RecvID - } - return "" -} - -func (m *SingleMsgToUserPlatform) GetRecvPlatFormID() int32 { - if m != nil { - return m.RecvPlatFormID - } - return 0 -} - -type GetUsersOnlineStatusReq struct { - UserIDList []string `protobuf:"bytes,1,rep,name=userIDList" json:"userIDList,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUsersOnlineStatusReq) Reset() { *m = GetUsersOnlineStatusReq{} } -func (m *GetUsersOnlineStatusReq) String() string { return proto.CompactTextString(m) } -func (*GetUsersOnlineStatusReq) ProtoMessage() {} -func (*GetUsersOnlineStatusReq) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{6} -} -func (m *GetUsersOnlineStatusReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUsersOnlineStatusReq.Unmarshal(m, b) -} -func (m *GetUsersOnlineStatusReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUsersOnlineStatusReq.Marshal(b, m, deterministic) -} -func (dst *GetUsersOnlineStatusReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsersOnlineStatusReq.Merge(dst, src) -} -func (m *GetUsersOnlineStatusReq) XXX_Size() int { - return xxx_messageInfo_GetUsersOnlineStatusReq.Size(m) -} -func (m *GetUsersOnlineStatusReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsersOnlineStatusReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUsersOnlineStatusReq proto.InternalMessageInfo - -func (m *GetUsersOnlineStatusReq) GetUserIDList() []string { - if m != nil { - return m.UserIDList - } - return nil -} - -func (m *GetUsersOnlineStatusReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *GetUsersOnlineStatusReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -type GetUsersOnlineStatusResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - SuccessResult []*GetUsersOnlineStatusResp_SuccessResult `protobuf:"bytes,3,rep,name=successResult" json:"successResult,omitempty"` - FailedResult []*GetUsersOnlineStatusResp_FailedDetail `protobuf:"bytes,4,rep,name=failedResult" json:"failedResult,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUsersOnlineStatusResp) Reset() { *m = GetUsersOnlineStatusResp{} } -func (m *GetUsersOnlineStatusResp) String() string { return proto.CompactTextString(m) } -func (*GetUsersOnlineStatusResp) ProtoMessage() {} -func (*GetUsersOnlineStatusResp) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{7} -} -func (m *GetUsersOnlineStatusResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUsersOnlineStatusResp.Unmarshal(m, b) -} -func (m *GetUsersOnlineStatusResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUsersOnlineStatusResp.Marshal(b, m, deterministic) -} -func (dst *GetUsersOnlineStatusResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsersOnlineStatusResp.Merge(dst, src) -} -func (m *GetUsersOnlineStatusResp) XXX_Size() int { - return xxx_messageInfo_GetUsersOnlineStatusResp.Size(m) -} -func (m *GetUsersOnlineStatusResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsersOnlineStatusResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUsersOnlineStatusResp proto.InternalMessageInfo - -func (m *GetUsersOnlineStatusResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *GetUsersOnlineStatusResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func (m *GetUsersOnlineStatusResp) GetSuccessResult() []*GetUsersOnlineStatusResp_SuccessResult { - if m != nil { - return m.SuccessResult - } - return nil -} - -func (m *GetUsersOnlineStatusResp) GetFailedResult() []*GetUsersOnlineStatusResp_FailedDetail { - if m != nil { - return m.FailedResult - } - return nil -} - -type GetUsersOnlineStatusResp_SuccessDetail struct { - Platform string `protobuf:"bytes,1,opt,name=platform" json:"platform,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` - ConnID string `protobuf:"bytes,3,opt,name=connID" json:"connID,omitempty"` - IsBackground bool `protobuf:"varint,4,opt,name=isBackground" json:"isBackground,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUsersOnlineStatusResp_SuccessDetail) Reset() { - *m = GetUsersOnlineStatusResp_SuccessDetail{} -} -func (m *GetUsersOnlineStatusResp_SuccessDetail) String() string { return proto.CompactTextString(m) } -func (*GetUsersOnlineStatusResp_SuccessDetail) ProtoMessage() {} -func (*GetUsersOnlineStatusResp_SuccessDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{7, 0} -} -func (m *GetUsersOnlineStatusResp_SuccessDetail) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.Unmarshal(m, b) -} -func (m *GetUsersOnlineStatusResp_SuccessDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.Marshal(b, m, deterministic) -} -func (dst *GetUsersOnlineStatusResp_SuccessDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.Merge(dst, src) -} -func (m *GetUsersOnlineStatusResp_SuccessDetail) XXX_Size() int { - return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.Size(m) -} -func (m *GetUsersOnlineStatusResp_SuccessDetail) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUsersOnlineStatusResp_SuccessDetail proto.InternalMessageInfo - -func (m *GetUsersOnlineStatusResp_SuccessDetail) GetPlatform() string { - if m != nil { - return m.Platform - } - return "" -} - -func (m *GetUsersOnlineStatusResp_SuccessDetail) GetStatus() string { - if m != nil { - return m.Status - } - return "" -} - -func (m *GetUsersOnlineStatusResp_SuccessDetail) GetConnID() string { - if m != nil { - return m.ConnID - } - return "" -} - -func (m *GetUsersOnlineStatusResp_SuccessDetail) GetIsBackground() bool { - if m != nil { - return m.IsBackground - } - return false -} - -type GetUsersOnlineStatusResp_FailedDetail struct { - UserID string `protobuf:"bytes,3,opt,name=userID" json:"userID,omitempty"` - ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUsersOnlineStatusResp_FailedDetail) Reset() { *m = GetUsersOnlineStatusResp_FailedDetail{} } -func (m *GetUsersOnlineStatusResp_FailedDetail) String() string { return proto.CompactTextString(m) } -func (*GetUsersOnlineStatusResp_FailedDetail) ProtoMessage() {} -func (*GetUsersOnlineStatusResp_FailedDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{7, 1} -} -func (m *GetUsersOnlineStatusResp_FailedDetail) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.Unmarshal(m, b) -} -func (m *GetUsersOnlineStatusResp_FailedDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.Marshal(b, m, deterministic) -} -func (dst *GetUsersOnlineStatusResp_FailedDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.Merge(dst, src) -} -func (m *GetUsersOnlineStatusResp_FailedDetail) XXX_Size() int { - return xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.Size(m) -} -func (m *GetUsersOnlineStatusResp_FailedDetail) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUsersOnlineStatusResp_FailedDetail proto.InternalMessageInfo - -func (m *GetUsersOnlineStatusResp_FailedDetail) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *GetUsersOnlineStatusResp_FailedDetail) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *GetUsersOnlineStatusResp_FailedDetail) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -type GetUsersOnlineStatusResp_SuccessResult struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` - DetailPlatformStatus []*GetUsersOnlineStatusResp_SuccessDetail `protobuf:"bytes,3,rep,name=detailPlatformStatus" json:"detailPlatformStatus,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetUsersOnlineStatusResp_SuccessResult) Reset() { - *m = GetUsersOnlineStatusResp_SuccessResult{} -} -func (m *GetUsersOnlineStatusResp_SuccessResult) String() string { return proto.CompactTextString(m) } -func (*GetUsersOnlineStatusResp_SuccessResult) ProtoMessage() {} -func (*GetUsersOnlineStatusResp_SuccessResult) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{7, 2} -} -func (m *GetUsersOnlineStatusResp_SuccessResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.Unmarshal(m, b) -} -func (m *GetUsersOnlineStatusResp_SuccessResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.Marshal(b, m, deterministic) -} -func (dst *GetUsersOnlineStatusResp_SuccessResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.Merge(dst, src) -} -func (m *GetUsersOnlineStatusResp_SuccessResult) XXX_Size() int { - return xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.Size(m) -} -func (m *GetUsersOnlineStatusResp_SuccessResult) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUsersOnlineStatusResp_SuccessResult proto.InternalMessageInfo - -func (m *GetUsersOnlineStatusResp_SuccessResult) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *GetUsersOnlineStatusResp_SuccessResult) GetStatus() string { - if m != nil { - return m.Status - } - return "" -} - -func (m *GetUsersOnlineStatusResp_SuccessResult) GetDetailPlatformStatus() []*GetUsersOnlineStatusResp_SuccessDetail { - if m != nil { - return m.DetailPlatformStatus - } - return nil -} - -type KickUserOfflineReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - PlatformID int32 `protobuf:"varint,2,opt,name=platformID" json:"platformID,omitempty"` - KickUserIDList []string `protobuf:"bytes,3,rep,name=kickUserIDList" json:"kickUserIDList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KickUserOfflineReq) Reset() { *m = KickUserOfflineReq{} } -func (m *KickUserOfflineReq) String() string { return proto.CompactTextString(m) } -func (*KickUserOfflineReq) ProtoMessage() {} -func (*KickUserOfflineReq) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{8} -} -func (m *KickUserOfflineReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KickUserOfflineReq.Unmarshal(m, b) -} -func (m *KickUserOfflineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KickUserOfflineReq.Marshal(b, m, deterministic) -} -func (dst *KickUserOfflineReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_KickUserOfflineReq.Merge(dst, src) -} -func (m *KickUserOfflineReq) XXX_Size() int { - return xxx_messageInfo_KickUserOfflineReq.Size(m) -} -func (m *KickUserOfflineReq) XXX_DiscardUnknown() { - xxx_messageInfo_KickUserOfflineReq.DiscardUnknown(m) -} - -var xxx_messageInfo_KickUserOfflineReq proto.InternalMessageInfo - -func (m *KickUserOfflineReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *KickUserOfflineReq) GetPlatformID() int32 { - if m != nil { - return m.PlatformID - } - return 0 -} - -func (m *KickUserOfflineReq) GetKickUserIDList() []string { - if m != nil { - return m.KickUserIDList - } - return nil -} - -type KickUserOfflineResp struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KickUserOfflineResp) Reset() { *m = KickUserOfflineResp{} } -func (m *KickUserOfflineResp) String() string { return proto.CompactTextString(m) } -func (*KickUserOfflineResp) ProtoMessage() {} -func (*KickUserOfflineResp) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{9} -} -func (m *KickUserOfflineResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KickUserOfflineResp.Unmarshal(m, b) -} -func (m *KickUserOfflineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KickUserOfflineResp.Marshal(b, m, deterministic) -} -func (dst *KickUserOfflineResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_KickUserOfflineResp.Merge(dst, src) -} -func (m *KickUserOfflineResp) XXX_Size() int { - return xxx_messageInfo_KickUserOfflineResp.Size(m) -} -func (m *KickUserOfflineResp) XXX_DiscardUnknown() { - xxx_messageInfo_KickUserOfflineResp.DiscardUnknown(m) -} - -var xxx_messageInfo_KickUserOfflineResp proto.InternalMessageInfo - -type MultiTerminalLoginCheckReq struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - PlatformID int32 `protobuf:"varint,2,opt,name=platformID" json:"platformID,omitempty"` - Token string `protobuf:"bytes,3,opt,name=token" json:"token,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MultiTerminalLoginCheckReq) Reset() { *m = MultiTerminalLoginCheckReq{} } -func (m *MultiTerminalLoginCheckReq) String() string { return proto.CompactTextString(m) } -func (*MultiTerminalLoginCheckReq) ProtoMessage() {} -func (*MultiTerminalLoginCheckReq) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{10} -} -func (m *MultiTerminalLoginCheckReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MultiTerminalLoginCheckReq.Unmarshal(m, b) -} -func (m *MultiTerminalLoginCheckReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MultiTerminalLoginCheckReq.Marshal(b, m, deterministic) -} -func (dst *MultiTerminalLoginCheckReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_MultiTerminalLoginCheckReq.Merge(dst, src) -} -func (m *MultiTerminalLoginCheckReq) XXX_Size() int { - return xxx_messageInfo_MultiTerminalLoginCheckReq.Size(m) -} -func (m *MultiTerminalLoginCheckReq) XXX_DiscardUnknown() { - xxx_messageInfo_MultiTerminalLoginCheckReq.DiscardUnknown(m) -} - -var xxx_messageInfo_MultiTerminalLoginCheckReq proto.InternalMessageInfo - -func (m *MultiTerminalLoginCheckReq) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *MultiTerminalLoginCheckReq) GetPlatformID() int32 { - if m != nil { - return m.PlatformID - } - return 0 -} - -func (m *MultiTerminalLoginCheckReq) GetToken() string { - if m != nil { - return m.Token - } - return "" -} - -func (m *MultiTerminalLoginCheckReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type MultiTerminalLoginCheckResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MultiTerminalLoginCheckResp) Reset() { *m = MultiTerminalLoginCheckResp{} } -func (m *MultiTerminalLoginCheckResp) String() string { return proto.CompactTextString(m) } -func (*MultiTerminalLoginCheckResp) ProtoMessage() {} -func (*MultiTerminalLoginCheckResp) Descriptor() ([]byte, []int) { - return fileDescriptor_relay_8a2a5bc32d9acd54, []int{11} -} -func (m *MultiTerminalLoginCheckResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MultiTerminalLoginCheckResp.Unmarshal(m, b) -} -func (m *MultiTerminalLoginCheckResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MultiTerminalLoginCheckResp.Marshal(b, m, deterministic) -} -func (dst *MultiTerminalLoginCheckResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_MultiTerminalLoginCheckResp.Merge(dst, src) -} -func (m *MultiTerminalLoginCheckResp) XXX_Size() int { - return xxx_messageInfo_MultiTerminalLoginCheckResp.Size(m) -} -func (m *MultiTerminalLoginCheckResp) XXX_DiscardUnknown() { - xxx_messageInfo_MultiTerminalLoginCheckResp.DiscardUnknown(m) -} - -var xxx_messageInfo_MultiTerminalLoginCheckResp proto.InternalMessageInfo - -func (m *MultiTerminalLoginCheckResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *MultiTerminalLoginCheckResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -func init() { - proto.RegisterType((*OnlinePushMsgReq)(nil), "relay.OnlinePushMsgReq") - proto.RegisterType((*OnlinePushMsgResp)(nil), "relay.OnlinePushMsgResp") - proto.RegisterType((*SingelMsgToUserResultList)(nil), "relay.SingelMsgToUserResultList") - proto.RegisterType((*OnlineBatchPushOneMsgReq)(nil), "relay.OnlineBatchPushOneMsgReq") - proto.RegisterType((*OnlineBatchPushOneMsgResp)(nil), "relay.OnlineBatchPushOneMsgResp") - proto.RegisterType((*SingleMsgToUserPlatform)(nil), "relay.SingleMsgToUserPlatform") - proto.RegisterType((*GetUsersOnlineStatusReq)(nil), "relay.GetUsersOnlineStatusReq") - proto.RegisterType((*GetUsersOnlineStatusResp)(nil), "relay.GetUsersOnlineStatusResp") - proto.RegisterType((*GetUsersOnlineStatusResp_SuccessDetail)(nil), "relay.GetUsersOnlineStatusResp.SuccessDetail") - proto.RegisterType((*GetUsersOnlineStatusResp_FailedDetail)(nil), "relay.GetUsersOnlineStatusResp.FailedDetail") - proto.RegisterType((*GetUsersOnlineStatusResp_SuccessResult)(nil), "relay.GetUsersOnlineStatusResp.SuccessResult") - proto.RegisterType((*KickUserOfflineReq)(nil), "relay.KickUserOfflineReq") - proto.RegisterType((*KickUserOfflineResp)(nil), "relay.KickUserOfflineResp") - proto.RegisterType((*MultiTerminalLoginCheckReq)(nil), "relay.MultiTerminalLoginCheckReq") - proto.RegisterType((*MultiTerminalLoginCheckResp)(nil), "relay.MultiTerminalLoginCheckResp") -} - -// 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 - -// Client API for Relay service - -type RelayClient interface { - OnlinePushMsg(ctx context.Context, in *OnlinePushMsgReq, opts ...grpc.CallOption) (*OnlinePushMsgResp, error) - GetUsersOnlineStatus(ctx context.Context, in *GetUsersOnlineStatusReq, opts ...grpc.CallOption) (*GetUsersOnlineStatusResp, error) - OnlineBatchPushOneMsg(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error) - SuperGroupOnlineBatchPushOneMsg(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error) - KickUserOffline(ctx context.Context, in *KickUserOfflineReq, opts ...grpc.CallOption) (*KickUserOfflineResp, error) - MultiTerminalLoginCheck(ctx context.Context, in *MultiTerminalLoginCheckReq, opts ...grpc.CallOption) (*MultiTerminalLoginCheckResp, error) - SuperGroupBackgroundOnlinePush(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error) -} - -type relayClient struct { - cc *grpc.ClientConn -} - -func NewRelayClient(cc *grpc.ClientConn) RelayClient { - return &relayClient{cc} -} - -func (c *relayClient) OnlinePushMsg(ctx context.Context, in *OnlinePushMsgReq, opts ...grpc.CallOption) (*OnlinePushMsgResp, error) { - out := new(OnlinePushMsgResp) - err := grpc.Invoke(ctx, "/relay.relay/OnlinePushMsg", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *relayClient) GetUsersOnlineStatus(ctx context.Context, in *GetUsersOnlineStatusReq, opts ...grpc.CallOption) (*GetUsersOnlineStatusResp, error) { - out := new(GetUsersOnlineStatusResp) - err := grpc.Invoke(ctx, "/relay.relay/GetUsersOnlineStatus", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *relayClient) OnlineBatchPushOneMsg(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error) { - out := new(OnlineBatchPushOneMsgResp) - err := grpc.Invoke(ctx, "/relay.relay/OnlineBatchPushOneMsg", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *relayClient) SuperGroupOnlineBatchPushOneMsg(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error) { - out := new(OnlineBatchPushOneMsgResp) - err := grpc.Invoke(ctx, "/relay.relay/SuperGroupOnlineBatchPushOneMsg", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *relayClient) KickUserOffline(ctx context.Context, in *KickUserOfflineReq, opts ...grpc.CallOption) (*KickUserOfflineResp, error) { - out := new(KickUserOfflineResp) - err := grpc.Invoke(ctx, "/relay.relay/KickUserOffline", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *relayClient) MultiTerminalLoginCheck(ctx context.Context, in *MultiTerminalLoginCheckReq, opts ...grpc.CallOption) (*MultiTerminalLoginCheckResp, error) { - out := new(MultiTerminalLoginCheckResp) - err := grpc.Invoke(ctx, "/relay.relay/MultiTerminalLoginCheck", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *relayClient) SuperGroupBackgroundOnlinePush(ctx context.Context, in *OnlineBatchPushOneMsgReq, opts ...grpc.CallOption) (*OnlineBatchPushOneMsgResp, error) { - out := new(OnlineBatchPushOneMsgResp) - err := grpc.Invoke(ctx, "/relay.relay/SuperGroupBackgroundOnlinePush", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Server API for Relay service - -type RelayServer interface { - OnlinePushMsg(context.Context, *OnlinePushMsgReq) (*OnlinePushMsgResp, error) - GetUsersOnlineStatus(context.Context, *GetUsersOnlineStatusReq) (*GetUsersOnlineStatusResp, error) - OnlineBatchPushOneMsg(context.Context, *OnlineBatchPushOneMsgReq) (*OnlineBatchPushOneMsgResp, error) - SuperGroupOnlineBatchPushOneMsg(context.Context, *OnlineBatchPushOneMsgReq) (*OnlineBatchPushOneMsgResp, error) - KickUserOffline(context.Context, *KickUserOfflineReq) (*KickUserOfflineResp, error) - MultiTerminalLoginCheck(context.Context, *MultiTerminalLoginCheckReq) (*MultiTerminalLoginCheckResp, error) - SuperGroupBackgroundOnlinePush(context.Context, *OnlineBatchPushOneMsgReq) (*OnlineBatchPushOneMsgResp, error) -} - -func RegisterRelayServer(s *grpc.Server, srv RelayServer) { - s.RegisterService(&_Relay_serviceDesc, srv) -} - -func _Relay_OnlinePushMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OnlinePushMsgReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RelayServer).OnlinePushMsg(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/relay.relay/OnlinePushMsg", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayServer).OnlinePushMsg(ctx, req.(*OnlinePushMsgReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Relay_GetUsersOnlineStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUsersOnlineStatusReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RelayServer).GetUsersOnlineStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/relay.relay/GetUsersOnlineStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayServer).GetUsersOnlineStatus(ctx, req.(*GetUsersOnlineStatusReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Relay_OnlineBatchPushOneMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OnlineBatchPushOneMsgReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RelayServer).OnlineBatchPushOneMsg(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/relay.relay/OnlineBatchPushOneMsg", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayServer).OnlineBatchPushOneMsg(ctx, req.(*OnlineBatchPushOneMsgReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Relay_SuperGroupOnlineBatchPushOneMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OnlineBatchPushOneMsgReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RelayServer).SuperGroupOnlineBatchPushOneMsg(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/relay.relay/SuperGroupOnlineBatchPushOneMsg", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayServer).SuperGroupOnlineBatchPushOneMsg(ctx, req.(*OnlineBatchPushOneMsgReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Relay_KickUserOffline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(KickUserOfflineReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RelayServer).KickUserOffline(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/relay.relay/KickUserOffline", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayServer).KickUserOffline(ctx, req.(*KickUserOfflineReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Relay_MultiTerminalLoginCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MultiTerminalLoginCheckReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RelayServer).MultiTerminalLoginCheck(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/relay.relay/MultiTerminalLoginCheck", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayServer).MultiTerminalLoginCheck(ctx, req.(*MultiTerminalLoginCheckReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _Relay_SuperGroupBackgroundOnlinePush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OnlineBatchPushOneMsgReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RelayServer).SuperGroupBackgroundOnlinePush(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/relay.relay/SuperGroupBackgroundOnlinePush", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayServer).SuperGroupBackgroundOnlinePush(ctx, req.(*OnlineBatchPushOneMsgReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _Relay_serviceDesc = grpc.ServiceDesc{ - ServiceName: "relay.relay", - HandlerType: (*RelayServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "OnlinePushMsg", - Handler: _Relay_OnlinePushMsg_Handler, - }, - { - MethodName: "GetUsersOnlineStatus", - Handler: _Relay_GetUsersOnlineStatus_Handler, - }, - { - MethodName: "OnlineBatchPushOneMsg", - Handler: _Relay_OnlineBatchPushOneMsg_Handler, - }, - { - MethodName: "SuperGroupOnlineBatchPushOneMsg", - Handler: _Relay_SuperGroupOnlineBatchPushOneMsg_Handler, - }, - { - MethodName: "KickUserOffline", - Handler: _Relay_KickUserOffline_Handler, - }, - { - MethodName: "MultiTerminalLoginCheck", - Handler: _Relay_MultiTerminalLoginCheck_Handler, - }, - { - MethodName: "SuperGroupBackgroundOnlinePush", - Handler: _Relay_SuperGroupBackgroundOnlinePush_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "relay/relay.proto", -} - -func init() { proto.RegisterFile("relay/relay.proto", fileDescriptor_relay_8a2a5bc32d9acd54) } - -var fileDescriptor_relay_8a2a5bc32d9acd54 = []byte{ - // 857 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0x96, 0x37, 0xc9, 0xee, 0xf6, 0xb5, 0x85, 0xee, 0xd0, 0x25, 0xae, 0x91, 0x92, 0xac, 0x0f, - 0x28, 0x42, 0x34, 0x91, 0x02, 0x37, 0x6e, 0xd9, 0x68, 0x4b, 0x44, 0xa3, 0x54, 0x93, 0x45, 0xa0, - 0xbd, 0x04, 0xaf, 0x33, 0x71, 0xac, 0x38, 0x9e, 0xd9, 0x19, 0x7b, 0xab, 0xbd, 0xc0, 0x91, 0x0b, - 0xe2, 0x4f, 0xe0, 0xc0, 0xbf, 0xc8, 0x81, 0x2b, 0x9a, 0x1f, 0x71, 0xec, 0x24, 0x6e, 0x28, 0xa2, - 0x97, 0x36, 0xef, 0xf9, 0xfd, 0xfa, 0xbe, 0xef, 0xcd, 0xd8, 0xf0, 0x8c, 0x93, 0xc8, 0xfb, 0xd0, - 0x55, 0x7f, 0x3b, 0x8c, 0xd3, 0x84, 0xa2, 0x9a, 0x32, 0x9c, 0xf6, 0x98, 0x91, 0xf8, 0x72, 0x38, - 0xba, 0x9c, 0x10, 0xfe, 0x9e, 0xf0, 0x2e, 0x5b, 0x06, 0x5d, 0x15, 0xd0, 0x15, 0xb3, 0xe5, 0xf4, - 0x56, 0x74, 0x6f, 0x85, 0x4e, 0x70, 0x7f, 0xb7, 0xe0, 0x6c, 0x1c, 0x47, 0x61, 0x4c, 0x6e, 0x52, - 0xb1, 0x18, 0x89, 0x00, 0x93, 0x77, 0xa8, 0x05, 0xc7, 0x63, 0x46, 0xb8, 0x97, 0x84, 0x34, 0x1e, - 0x0e, 0x6c, 0xab, 0x65, 0xb5, 0x8f, 0x70, 0xde, 0x85, 0xbe, 0x86, 0x27, 0x2b, 0x11, 0x0c, 0xbc, - 0xc4, 0xb3, 0x1f, 0xb5, 0xac, 0xf6, 0x71, 0xcf, 0xe9, 0x08, 0xd5, 0x6a, 0xea, 0xb1, 0x70, 0xca, - 0x3c, 0xee, 0xad, 0x44, 0x67, 0xa4, 0x23, 0xf0, 0x3a, 0x14, 0xb9, 0x70, 0xc2, 0x52, 0xb1, 0x78, - 0x4d, 0xbf, 0x17, 0x84, 0x0f, 0x07, 0x76, 0x45, 0x15, 0x2e, 0xf8, 0xdc, 0x2b, 0x78, 0xb6, 0x35, - 0x8f, 0x60, 0xa8, 0x07, 0x55, 0x4e, 0x04, 0xb3, 0xad, 0x56, 0xa5, 0x7d, 0xdc, 0x6b, 0x74, 0x34, - 0xe4, 0x49, 0x18, 0x07, 0x11, 0x19, 0x89, 0x40, 0x27, 0xdf, 0x44, 0x5e, 0x32, 0xa7, 0x7c, 0x85, - 0x55, 0xac, 0xfb, 0xab, 0x05, 0x17, 0x32, 0x82, 0x44, 0x59, 0x04, 0x26, 0x22, 0x8d, 0x92, 0xeb, - 0x50, 0x24, 0xe8, 0x53, 0x78, 0x9c, 0xea, 0x21, 0x34, 0x3a, 0x63, 0x65, 0x9d, 0x1e, 0xfd, 0xfb, - 0x4e, 0xa8, 0x01, 0x40, 0xb3, 0x91, 0x15, 0xa8, 0xa7, 0x38, 0xe7, 0x71, 0xff, 0xb0, 0xc0, 0xd6, - 0x98, 0xfa, 0x5e, 0xe2, 0x2f, 0xa4, 0x6f, 0x1c, 0x93, 0x07, 0xe6, 0xfa, 0x0b, 0x38, 0xcb, 0xf3, - 0x2a, 0x41, 0xdb, 0x95, 0x56, 0xa5, 0x7d, 0x84, 0x77, 0xfc, 0x6e, 0x08, 0x17, 0x25, 0xf3, 0x09, - 0x86, 0xae, 0xe1, 0x4c, 0x28, 0xf8, 0xd2, 0xaf, 0x19, 0x34, 0x3a, 0xb4, 0x72, 0xec, 0xec, 0x65, - 0x19, 0xef, 0x64, 0xba, 0x1f, 0xa0, 0x5e, 0x42, 0xa6, 0xa4, 0x51, 0x07, 0xbd, 0xa4, 0x33, 0xa2, - 0x88, 0xa8, 0xe0, 0x9c, 0x47, 0x4a, 0x86, 0x89, 0xff, 0x7e, 0x38, 0x50, 0x34, 0x1c, 0x61, 0x63, - 0xa1, 0xcf, 0xe1, 0x23, 0xf9, 0x4b, 0xd6, 0x79, 0x45, 0xf9, 0xca, 0xec, 0x55, 0x0d, 0x6f, 0x79, - 0xdd, 0x5b, 0xa8, 0x5f, 0x91, 0x44, 0xb6, 0x14, 0x1a, 0xed, 0x24, 0xf1, 0x92, 0x54, 0x48, 0x11, - 0x1a, 0x00, 0xe9, 0x86, 0x26, 0x4b, 0xd1, 0x94, 0xf3, 0x48, 0x91, 0x68, 0x4e, 0x24, 0xdd, 0x3f, - 0xef, 0x42, 0x0e, 0x3c, 0xa5, 0xac, 0xb0, 0xd6, 0x99, 0xed, 0xfe, 0x55, 0x05, 0x7b, 0x7f, 0x67, - 0xc1, 0x90, 0x0d, 0x4f, 0x08, 0xe7, 0x19, 0xe4, 0x1a, 0x5e, 0x9b, 0x12, 0x2f, 0xe1, 0x7c, 0x24, - 0x82, 0x35, 0x5e, 0x6d, 0xa1, 0x09, 0x9c, 0x8a, 0xd4, 0xf7, 0x89, 0x10, 0x46, 0x8d, 0x8a, 0x52, - 0xe3, 0xd2, 0xa8, 0x51, 0xd6, 0xa9, 0x33, 0xc9, 0x27, 0xe1, 0x62, 0x0d, 0x74, 0x03, 0x27, 0x73, - 0x2f, 0x8c, 0xc8, 0xcc, 0xd4, 0xac, 0xaa, 0x9a, 0x5f, 0x1e, 0xaa, 0xf9, 0x4a, 0xe5, 0x0c, 0x48, - 0xe2, 0x85, 0x11, 0x2e, 0x54, 0x70, 0x7e, 0x81, 0x53, 0xd3, 0x51, 0x3f, 0x96, 0x14, 0x31, 0xa3, - 0xb5, 0x59, 0xf3, 0xcc, 0x96, 0x58, 0x85, 0xaa, 0xba, 0xc6, 0xaa, 0x2d, 0xe9, 0xf7, 0x69, 0x1c, - 0x67, 0xa4, 0x1a, 0x4b, 0xde, 0x24, 0xa1, 0xe8, 0x7b, 0xfe, 0x32, 0xe0, 0x34, 0x8d, 0x67, 0x76, - 0x55, 0x1d, 0xba, 0x82, 0xcf, 0xf9, 0x11, 0x4e, 0xf2, 0xe3, 0xe5, 0x8e, 0x7c, 0xa5, 0x70, 0xe4, - 0xef, 0xad, 0x80, 0xf3, 0xa7, 0x95, 0x61, 0x33, 0xf4, 0x95, 0x5d, 0x27, 0x65, 0xb8, 0x3c, 0x38, - 0x9f, 0xa9, 0xa9, 0xd6, 0xdb, 0xaf, 0x39, 0xbd, 0xa7, 0x94, 0x86, 0xf7, 0xbd, 0xa5, 0xdc, 0x9f, - 0x01, 0x7d, 0x17, 0xfa, 0x4b, 0x59, 0x60, 0x3c, 0x9f, 0xcb, 0x02, 0xe6, 0xba, 0xa1, 0xbb, 0xd7, - 0x4d, 0x7e, 0x93, 0x1b, 0x00, 0x6b, 0x59, 0xcc, 0xaa, 0xd7, 0x70, 0xce, 0x23, 0x8f, 0xdb, 0xd2, - 0xd4, 0x2d, 0x5c, 0x2b, 0x5b, 0x5e, 0xf7, 0x39, 0x7c, 0xb2, 0xd3, 0x5f, 0x30, 0xf7, 0x37, 0x0b, - 0x9c, 0x51, 0x1a, 0x25, 0xe1, 0x6b, 0xc2, 0x57, 0x61, 0xec, 0x45, 0xd7, 0x34, 0x08, 0xe3, 0x97, - 0x0b, 0xe2, 0x2f, 0xe5, 0x7c, 0x65, 0x44, 0x1e, 0x9a, 0xea, 0x1c, 0x6a, 0x09, 0x5d, 0x92, 0xd8, - 0x68, 0xab, 0x8d, 0x6d, 0xb4, 0xd5, 0x1d, 0xb4, 0xee, 0x18, 0x3e, 0x2b, 0x9d, 0xe6, 0xbf, 0x9c, - 0xce, 0xde, 0xdf, 0x55, 0xd0, 0x2f, 0x61, 0xd4, 0x87, 0xd3, 0xc2, 0x9b, 0x0c, 0xd5, 0x8d, 0xac, - 0xdb, 0xef, 0x5b, 0xc7, 0xde, 0xff, 0x40, 0x30, 0xf4, 0x03, 0x9c, 0xef, 0x5b, 0x02, 0xd4, 0xb8, - 0x73, 0x43, 0xde, 0x39, 0xcd, 0x03, 0x1b, 0x84, 0xde, 0xc0, 0xf3, 0xbd, 0x57, 0x3e, 0x6a, 0x16, - 0x66, 0xd9, 0x7d, 0x61, 0x39, 0xad, 0xbb, 0x03, 0x04, 0x43, 0x33, 0x68, 0x4e, 0x52, 0x46, 0xf8, - 0x15, 0xa7, 0x29, 0x7b, 0xb0, 0x2e, 0xdf, 0xc2, 0xc7, 0x5b, 0xfb, 0x85, 0x2e, 0x4c, 0xd2, 0xee, - 0xde, 0x3b, 0x4e, 0xd9, 0x23, 0xc1, 0xd0, 0x4f, 0x50, 0x2f, 0xd9, 0x01, 0xf4, 0xc2, 0xa4, 0x95, - 0x6f, 0xac, 0xe3, 0x1e, 0x0a, 0x11, 0x0c, 0xf9, 0xd0, 0xd8, 0x30, 0xb2, 0xb9, 0xa2, 0x36, 0x7a, - 0xff, 0x0f, 0x84, 0xf4, 0x5f, 0xbc, 0x69, 0xca, 0xcf, 0xbe, 0xe9, 0x70, 0x94, 0xfb, 0xde, 0x53, - 0x49, 0xdf, 0xb0, 0xb7, 0x58, 0xfe, 0x7f, 0xfb, 0x58, 0x39, 0xbf, 0xfa, 0x27, 0x00, 0x00, 0xff, - 0xff, 0x6b, 0x3f, 0x3b, 0x05, 0x3a, 0x0a, 0x00, 0x00, -} diff --git a/tools/data-conversion/proto/relay/relay.proto b/tools/data-conversion/proto/relay/relay.proto deleted file mode 100644 index 8dbd80548..000000000 --- a/tools/data-conversion/proto/relay/relay.proto +++ /dev/null @@ -1,103 +0,0 @@ -syntax = "proto3"; -import "Open-IM-Server/pkg/proto/sdk_ws/ws.proto"; -option go_package = "Open_IM/pkg/proto/relay;pbRelay"; -package relay; - -message OnlinePushMsgReq { - string OperationID = 1; - server_api_params.MsgData msgData = 2; - string pushToUserID = 3; -} -message OnlinePushMsgResp{ -repeated SingleMsgToUserPlatform resp = 1; -} -message SingelMsgToUserResultList{ - string userID =1; - repeated SingleMsgToUserPlatform resp = 2; - bool onlinePush = 3; - -} -message OnlineBatchPushOneMsgReq{ - string OperationID = 1; - server_api_params.MsgData msgData = 2; - repeated string pushToUserIDList = 3; -} -message OnlineBatchPushOneMsgResp{ - repeated SingelMsgToUserResultList singlePushResult= 1; -} -//message SendMsgByWSReq{ -// string SendID = 1; -// string RecvID = 2; -// string Content = 3; -// int64 SendTime = 4; -// int64 MsgFrom = 5; -// int64 ContentType = 6; -// int64 SessionType = 7; -// string OperationID = 8; -// int64 PlatformID = 9; -//} - -message SingleMsgToUserPlatform{ - int64 ResultCode = 1; - string RecvID = 2; - int32 RecvPlatFormID = 3; -} -message GetUsersOnlineStatusReq{ - repeated string userIDList = 1; - string operationID = 2; - string opUserID = 3; -} -message GetUsersOnlineStatusResp{ - int32 errCode = 1; - string errMsg = 2; - repeated SuccessResult successResult = 3; - repeated FailedDetail failedResult = 4; - message SuccessDetail{ - string platform = 1; - string status = 2; - string connID = 3; - bool isBackground = 4; - } - message FailedDetail{ - string userID = 3; - int32 errCode = 1; - string errMsg = 2; - } - message SuccessResult{ - string userID = 1; - string status = 2; - repeated SuccessDetail detailPlatformStatus = 3; - - } -} -message KickUserOfflineReq{ - string operationID = 1; - int32 platformID = 2; - repeated string kickUserIDList = 3; -} -message KickUserOfflineResp{ - -} - - -message MultiTerminalLoginCheckReq{ - string userID = 1; - int32 platformID = 2; - string token = 3; - string operationID = 4; -} -message MultiTerminalLoginCheckResp{ - int32 errCode = 1; - string errMsg = 2; -} - -service relay { - rpc OnlinePushMsg(OnlinePushMsgReq) returns(OnlinePushMsgResp); - rpc GetUsersOnlineStatus(GetUsersOnlineStatusReq) returns(GetUsersOnlineStatusResp); - rpc OnlineBatchPushOneMsg(OnlineBatchPushOneMsgReq) returns(OnlineBatchPushOneMsgResp); - rpc SuperGroupOnlineBatchPushOneMsg(OnlineBatchPushOneMsgReq) returns(OnlineBatchPushOneMsgResp); - rpc KickUserOffline(KickUserOfflineReq) returns(KickUserOfflineResp); - rpc MultiTerminalLoginCheck(MultiTerminalLoginCheckReq) returns(MultiTerminalLoginCheckResp); - rpc SuperGroupBackgroundOnlinePush(OnlineBatchPushOneMsgReq) returns(OnlineBatchPushOneMsgResp); -} - diff --git a/tools/data-conversion/proto/rtc/rtc.pb.go b/tools/data-conversion/proto/rtc/rtc.pb.go deleted file mode 100644 index f826725e2..000000000 --- a/tools/data-conversion/proto/rtc/rtc.pb.go +++ /dev/null @@ -1,3072 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: rtc/rtc.proto - -package rtc // import "Open_IM/pkg/proto/rtc" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" - -import ( - context "golang.org/x/net/context" - grpc "google.golang.org/grpc" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - -type CommonResp struct { - ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommonResp) Reset() { *m = CommonResp{} } -func (m *CommonResp) String() string { return proto.CompactTextString(m) } -func (*CommonResp) ProtoMessage() {} -func (*CommonResp) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{0} -} -func (m *CommonResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommonResp.Unmarshal(m, b) -} -func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic) -} -func (dst *CommonResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonResp.Merge(dst, src) -} -func (m *CommonResp) XXX_Size() int { - return xxx_messageInfo_CommonResp.Size(m) -} -func (m *CommonResp) XXX_DiscardUnknown() { - xxx_messageInfo_CommonResp.DiscardUnknown(m) -} - -var xxx_messageInfo_CommonResp proto.InternalMessageInfo - -func (m *CommonResp) GetErrCode() int32 { - if m != nil { - return m.ErrCode - } - return 0 -} - -func (m *CommonResp) GetErrMsg() string { - if m != nil { - return m.ErrMsg - } - return "" -} - -type MsgData struct { - SendID string `protobuf:"bytes,1,opt,name=sendID" json:"sendID,omitempty"` - RecvID string `protobuf:"bytes,2,opt,name=recvID" json:"recvID,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=groupID" json:"groupID,omitempty"` - ClientMsgID string `protobuf:"bytes,4,opt,name=clientMsgID" json:"clientMsgID,omitempty"` - ServerMsgID string `protobuf:"bytes,5,opt,name=serverMsgID" json:"serverMsgID,omitempty"` - SenderPlatformID int32 `protobuf:"varint,6,opt,name=senderPlatformID" json:"senderPlatformID,omitempty"` - SenderNickname string `protobuf:"bytes,7,opt,name=senderNickname" json:"senderNickname,omitempty"` - SenderFaceURL string `protobuf:"bytes,8,opt,name=senderFaceURL" json:"senderFaceURL,omitempty"` - SessionType int32 `protobuf:"varint,9,opt,name=sessionType" json:"sessionType,omitempty"` - MsgFrom int32 `protobuf:"varint,10,opt,name=msgFrom" json:"msgFrom,omitempty"` - ContentType int32 `protobuf:"varint,11,opt,name=contentType" json:"contentType,omitempty"` - Content []byte `protobuf:"bytes,12,opt,name=content,proto3" json:"content,omitempty"` - Seq uint32 `protobuf:"varint,14,opt,name=seq" json:"seq,omitempty"` - SendTime int64 `protobuf:"varint,15,opt,name=sendTime" json:"sendTime,omitempty"` - CreateTime int64 `protobuf:"varint,16,opt,name=createTime" json:"createTime,omitempty"` - Status int32 `protobuf:"varint,17,opt,name=status" json:"status,omitempty"` - Options map[string]bool `protobuf:"bytes,18,rep,name=options" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` - OfflinePushInfo *OfflinePushInfo `protobuf:"bytes,19,opt,name=offlinePushInfo" json:"offlinePushInfo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MsgData) Reset() { *m = MsgData{} } -func (m *MsgData) String() string { return proto.CompactTextString(m) } -func (*MsgData) ProtoMessage() {} -func (*MsgData) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{1} -} -func (m *MsgData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MsgData.Unmarshal(m, b) -} -func (m *MsgData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MsgData.Marshal(b, m, deterministic) -} -func (dst *MsgData) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgData.Merge(dst, src) -} -func (m *MsgData) XXX_Size() int { - return xxx_messageInfo_MsgData.Size(m) -} -func (m *MsgData) XXX_DiscardUnknown() { - xxx_messageInfo_MsgData.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgData proto.InternalMessageInfo - -func (m *MsgData) GetSendID() string { - if m != nil { - return m.SendID - } - return "" -} - -func (m *MsgData) GetRecvID() string { - if m != nil { - return m.RecvID - } - return "" -} - -func (m *MsgData) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *MsgData) GetClientMsgID() string { - if m != nil { - return m.ClientMsgID - } - return "" -} - -func (m *MsgData) GetServerMsgID() string { - if m != nil { - return m.ServerMsgID - } - return "" -} - -func (m *MsgData) GetSenderPlatformID() int32 { - if m != nil { - return m.SenderPlatformID - } - return 0 -} - -func (m *MsgData) GetSenderNickname() string { - if m != nil { - return m.SenderNickname - } - return "" -} - -func (m *MsgData) GetSenderFaceURL() string { - if m != nil { - return m.SenderFaceURL - } - return "" -} - -func (m *MsgData) GetSessionType() int32 { - if m != nil { - return m.SessionType - } - return 0 -} - -func (m *MsgData) GetMsgFrom() int32 { - if m != nil { - return m.MsgFrom - } - return 0 -} - -func (m *MsgData) GetContentType() int32 { - if m != nil { - return m.ContentType - } - return 0 -} - -func (m *MsgData) GetContent() []byte { - if m != nil { - return m.Content - } - return nil -} - -func (m *MsgData) GetSeq() uint32 { - if m != nil { - return m.Seq - } - return 0 -} - -func (m *MsgData) GetSendTime() int64 { - if m != nil { - return m.SendTime - } - return 0 -} - -func (m *MsgData) GetCreateTime() int64 { - if m != nil { - return m.CreateTime - } - return 0 -} - -func (m *MsgData) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -func (m *MsgData) GetOptions() map[string]bool { - if m != nil { - return m.Options - } - return nil -} - -func (m *MsgData) GetOfflinePushInfo() *OfflinePushInfo { - if m != nil { - return m.OfflinePushInfo - } - return nil -} - -type GroupInfo struct { - GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` - GroupName string `protobuf:"bytes,2,opt,name=groupName" json:"groupName,omitempty"` - Notification string `protobuf:"bytes,3,opt,name=notification" json:"notification,omitempty"` - Introduction string `protobuf:"bytes,4,opt,name=introduction" json:"introduction,omitempty"` - FaceURL string `protobuf:"bytes,5,opt,name=faceURL" json:"faceURL,omitempty"` - OwnerUserID string `protobuf:"bytes,6,opt,name=ownerUserID" json:"ownerUserID,omitempty"` - CreateTime uint32 `protobuf:"varint,7,opt,name=createTime" json:"createTime,omitempty"` - MemberCount uint32 `protobuf:"varint,8,opt,name=memberCount" json:"memberCount,omitempty"` - Ex string `protobuf:"bytes,9,opt,name=ex" json:"ex,omitempty"` - Status int32 `protobuf:"varint,10,opt,name=status" json:"status,omitempty"` - CreatorUserID string `protobuf:"bytes,11,opt,name=creatorUserID" json:"creatorUserID,omitempty"` - GroupType int32 `protobuf:"varint,12,opt,name=groupType" json:"groupType,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupInfo) Reset() { *m = GroupInfo{} } -func (m *GroupInfo) String() string { return proto.CompactTextString(m) } -func (*GroupInfo) ProtoMessage() {} -func (*GroupInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{2} -} -func (m *GroupInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupInfo.Unmarshal(m, b) -} -func (m *GroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupInfo.Marshal(b, m, deterministic) -} -func (dst *GroupInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupInfo.Merge(dst, src) -} -func (m *GroupInfo) XXX_Size() int { - return xxx_messageInfo_GroupInfo.Size(m) -} -func (m *GroupInfo) XXX_DiscardUnknown() { - xxx_messageInfo_GroupInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupInfo proto.InternalMessageInfo - -func (m *GroupInfo) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *GroupInfo) GetGroupName() string { - if m != nil { - return m.GroupName - } - return "" -} - -func (m *GroupInfo) GetNotification() string { - if m != nil { - return m.Notification - } - return "" -} - -func (m *GroupInfo) GetIntroduction() string { - if m != nil { - return m.Introduction - } - return "" -} - -func (m *GroupInfo) GetFaceURL() string { - if m != nil { - return m.FaceURL - } - return "" -} - -func (m *GroupInfo) GetOwnerUserID() string { - if m != nil { - return m.OwnerUserID - } - return "" -} - -func (m *GroupInfo) GetCreateTime() uint32 { - if m != nil { - return m.CreateTime - } - return 0 -} - -func (m *GroupInfo) GetMemberCount() uint32 { - if m != nil { - return m.MemberCount - } - return 0 -} - -func (m *GroupInfo) GetEx() string { - if m != nil { - return m.Ex - } - return "" -} - -func (m *GroupInfo) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -func (m *GroupInfo) GetCreatorUserID() string { - if m != nil { - return m.CreatorUserID - } - return "" -} - -func (m *GroupInfo) GetGroupType() int32 { - if m != nil { - return m.GroupType - } - return 0 -} - -type GroupMemberFullInfo struct { - GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` - UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` - RoleLevel int32 `protobuf:"varint,3,opt,name=roleLevel" json:"roleLevel,omitempty"` - JoinTime int32 `protobuf:"varint,4,opt,name=joinTime" json:"joinTime,omitempty"` - Nickname string `protobuf:"bytes,5,opt,name=nickname" json:"nickname,omitempty"` - FaceURL string `protobuf:"bytes,6,opt,name=faceURL" json:"faceURL,omitempty"` - AppMangerLevel int32 `protobuf:"varint,7,opt,name=appMangerLevel" json:"appMangerLevel,omitempty"` - JoinSource int32 `protobuf:"varint,8,opt,name=joinSource" json:"joinSource,omitempty"` - OperatorUserID string `protobuf:"bytes,9,opt,name=operatorUserID" json:"operatorUserID,omitempty"` - Ex string `protobuf:"bytes,10,opt,name=ex" json:"ex,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupMemberFullInfo) Reset() { *m = GroupMemberFullInfo{} } -func (m *GroupMemberFullInfo) String() string { return proto.CompactTextString(m) } -func (*GroupMemberFullInfo) ProtoMessage() {} -func (*GroupMemberFullInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{3} -} -func (m *GroupMemberFullInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupMemberFullInfo.Unmarshal(m, b) -} -func (m *GroupMemberFullInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupMemberFullInfo.Marshal(b, m, deterministic) -} -func (dst *GroupMemberFullInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupMemberFullInfo.Merge(dst, src) -} -func (m *GroupMemberFullInfo) XXX_Size() int { - return xxx_messageInfo_GroupMemberFullInfo.Size(m) -} -func (m *GroupMemberFullInfo) XXX_DiscardUnknown() { - xxx_messageInfo_GroupMemberFullInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupMemberFullInfo proto.InternalMessageInfo - -func (m *GroupMemberFullInfo) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *GroupMemberFullInfo) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *GroupMemberFullInfo) GetRoleLevel() int32 { - if m != nil { - return m.RoleLevel - } - return 0 -} - -func (m *GroupMemberFullInfo) GetJoinTime() int32 { - if m != nil { - return m.JoinTime - } - return 0 -} - -func (m *GroupMemberFullInfo) GetNickname() string { - if m != nil { - return m.Nickname - } - return "" -} - -func (m *GroupMemberFullInfo) GetFaceURL() string { - if m != nil { - return m.FaceURL - } - return "" -} - -func (m *GroupMemberFullInfo) GetAppMangerLevel() int32 { - if m != nil { - return m.AppMangerLevel - } - return 0 -} - -func (m *GroupMemberFullInfo) GetJoinSource() int32 { - if m != nil { - return m.JoinSource - } - return 0 -} - -func (m *GroupMemberFullInfo) GetOperatorUserID() string { - if m != nil { - return m.OperatorUserID - } - return "" -} - -func (m *GroupMemberFullInfo) GetEx() string { - if m != nil { - return m.Ex - } - return "" -} - -type ParticipantMetaData struct { - GroupInfo *GroupInfo `protobuf:"bytes,1,opt,name=groupInfo" json:"groupInfo,omitempty"` - GroupMemberInfo *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=groupMemberInfo" json:"groupMemberInfo,omitempty"` - UserInfo *PublicUserInfo `protobuf:"bytes,3,opt,name=userInfo" json:"userInfo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ParticipantMetaData) Reset() { *m = ParticipantMetaData{} } -func (m *ParticipantMetaData) String() string { return proto.CompactTextString(m) } -func (*ParticipantMetaData) ProtoMessage() {} -func (*ParticipantMetaData) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{4} -} -func (m *ParticipantMetaData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ParticipantMetaData.Unmarshal(m, b) -} -func (m *ParticipantMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ParticipantMetaData.Marshal(b, m, deterministic) -} -func (dst *ParticipantMetaData) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParticipantMetaData.Merge(dst, src) -} -func (m *ParticipantMetaData) XXX_Size() int { - return xxx_messageInfo_ParticipantMetaData.Size(m) -} -func (m *ParticipantMetaData) XXX_DiscardUnknown() { - xxx_messageInfo_ParticipantMetaData.DiscardUnknown(m) -} - -var xxx_messageInfo_ParticipantMetaData proto.InternalMessageInfo - -func (m *ParticipantMetaData) GetGroupInfo() *GroupInfo { - if m != nil { - return m.GroupInfo - } - return nil -} - -func (m *ParticipantMetaData) GetGroupMemberInfo() *GroupMemberFullInfo { - if m != nil { - return m.GroupMemberInfo - } - return nil -} - -func (m *ParticipantMetaData) GetUserInfo() *PublicUserInfo { - if m != nil { - return m.UserInfo - } - return nil -} - -type PublicUserInfo struct { - UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"` - Nickname string `protobuf:"bytes,2,opt,name=nickname" json:"nickname,omitempty"` - FaceURL string `protobuf:"bytes,3,opt,name=faceURL" json:"faceURL,omitempty"` - Gender int32 `protobuf:"varint,4,opt,name=gender" json:"gender,omitempty"` - Ex string `protobuf:"bytes,5,opt,name=ex" json:"ex,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PublicUserInfo) Reset() { *m = PublicUserInfo{} } -func (m *PublicUserInfo) String() string { return proto.CompactTextString(m) } -func (*PublicUserInfo) ProtoMessage() {} -func (*PublicUserInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{5} -} -func (m *PublicUserInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicUserInfo.Unmarshal(m, b) -} -func (m *PublicUserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicUserInfo.Marshal(b, m, deterministic) -} -func (dst *PublicUserInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicUserInfo.Merge(dst, src) -} -func (m *PublicUserInfo) XXX_Size() int { - return xxx_messageInfo_PublicUserInfo.Size(m) -} -func (m *PublicUserInfo) XXX_DiscardUnknown() { - xxx_messageInfo_PublicUserInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_PublicUserInfo proto.InternalMessageInfo - -func (m *PublicUserInfo) GetUserID() string { - if m != nil { - return m.UserID - } - return "" -} - -func (m *PublicUserInfo) GetNickname() string { - if m != nil { - return m.Nickname - } - return "" -} - -func (m *PublicUserInfo) GetFaceURL() string { - if m != nil { - return m.FaceURL - } - return "" -} - -func (m *PublicUserInfo) GetGender() int32 { - if m != nil { - return m.Gender - } - return 0 -} - -func (m *PublicUserInfo) GetEx() string { - if m != nil { - return m.Ex - } - return "" -} - -type GetJoinTokenReq struct { - Room string `protobuf:"bytes,1,opt,name=room" json:"room,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity" json:"identity,omitempty"` - MetaData *ParticipantMetaData `protobuf:"bytes,3,opt,name=metaData" json:"metaData,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetJoinTokenReq) Reset() { *m = GetJoinTokenReq{} } -func (m *GetJoinTokenReq) String() string { return proto.CompactTextString(m) } -func (*GetJoinTokenReq) ProtoMessage() {} -func (*GetJoinTokenReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{6} -} -func (m *GetJoinTokenReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetJoinTokenReq.Unmarshal(m, b) -} -func (m *GetJoinTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetJoinTokenReq.Marshal(b, m, deterministic) -} -func (dst *GetJoinTokenReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJoinTokenReq.Merge(dst, src) -} -func (m *GetJoinTokenReq) XXX_Size() int { - return xxx_messageInfo_GetJoinTokenReq.Size(m) -} -func (m *GetJoinTokenReq) XXX_DiscardUnknown() { - xxx_messageInfo_GetJoinTokenReq.DiscardUnknown(m) -} - -var xxx_messageInfo_GetJoinTokenReq proto.InternalMessageInfo - -func (m *GetJoinTokenReq) GetRoom() string { - if m != nil { - return m.Room - } - return "" -} - -func (m *GetJoinTokenReq) GetIdentity() string { - if m != nil { - return m.Identity - } - return "" -} - -func (m *GetJoinTokenReq) GetMetaData() *ParticipantMetaData { - if m != nil { - return m.MetaData - } - return nil -} - -func (m *GetJoinTokenReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type GetJoinTokenResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"` - Jwt string `protobuf:"bytes,2,opt,name=jwt" json:"jwt,omitempty"` - LiveURL string `protobuf:"bytes,3,opt,name=liveURL" json:"liveURL,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetJoinTokenResp) Reset() { *m = GetJoinTokenResp{} } -func (m *GetJoinTokenResp) String() string { return proto.CompactTextString(m) } -func (*GetJoinTokenResp) ProtoMessage() {} -func (*GetJoinTokenResp) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{7} -} -func (m *GetJoinTokenResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetJoinTokenResp.Unmarshal(m, b) -} -func (m *GetJoinTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetJoinTokenResp.Marshal(b, m, deterministic) -} -func (dst *GetJoinTokenResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJoinTokenResp.Merge(dst, src) -} -func (m *GetJoinTokenResp) XXX_Size() int { - return xxx_messageInfo_GetJoinTokenResp.Size(m) -} -func (m *GetJoinTokenResp) XXX_DiscardUnknown() { - xxx_messageInfo_GetJoinTokenResp.DiscardUnknown(m) -} - -var xxx_messageInfo_GetJoinTokenResp proto.InternalMessageInfo - -func (m *GetJoinTokenResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *GetJoinTokenResp) GetJwt() string { - if m != nil { - return m.Jwt - } - return "" -} - -func (m *GetJoinTokenResp) GetLiveURL() string { - if m != nil { - return m.LiveURL - } - return "" -} - -type OfflinePushInfo struct { - Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Desc string `protobuf:"bytes,2,opt,name=desc" json:"desc,omitempty"` - Ex string `protobuf:"bytes,3,opt,name=ex" json:"ex,omitempty"` - IOSPushSound string `protobuf:"bytes,4,opt,name=iOSPushSound" json:"iOSPushSound,omitempty"` - IOSBadgeCount bool `protobuf:"varint,5,opt,name=iOSBadgeCount" json:"iOSBadgeCount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OfflinePushInfo) Reset() { *m = OfflinePushInfo{} } -func (m *OfflinePushInfo) String() string { return proto.CompactTextString(m) } -func (*OfflinePushInfo) ProtoMessage() {} -func (*OfflinePushInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{8} -} -func (m *OfflinePushInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OfflinePushInfo.Unmarshal(m, b) -} -func (m *OfflinePushInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OfflinePushInfo.Marshal(b, m, deterministic) -} -func (dst *OfflinePushInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_OfflinePushInfo.Merge(dst, src) -} -func (m *OfflinePushInfo) XXX_Size() int { - return xxx_messageInfo_OfflinePushInfo.Size(m) -} -func (m *OfflinePushInfo) XXX_DiscardUnknown() { - xxx_messageInfo_OfflinePushInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_OfflinePushInfo proto.InternalMessageInfo - -func (m *OfflinePushInfo) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *OfflinePushInfo) GetDesc() string { - if m != nil { - return m.Desc - } - return "" -} - -func (m *OfflinePushInfo) GetEx() string { - if m != nil { - return m.Ex - } - return "" -} - -func (m *OfflinePushInfo) GetIOSPushSound() string { - if m != nil { - return m.IOSPushSound - } - return "" -} - -func (m *OfflinePushInfo) GetIOSBadgeCount() bool { - if m != nil { - return m.IOSBadgeCount - } - return false -} - -type SignalReq struct { - // Types that are valid to be assigned to Payload: - // *SignalReq_Invite - // *SignalReq_InviteInGroup - // *SignalReq_Cancel - // *SignalReq_Accept - // *SignalReq_HungUp - // *SignalReq_Reject - // *SignalReq_GetRoomByGroupID - // *SignalReq_OnRoomParticipantConnectedReq - // *SignalReq_OnRoomParticipantDisconnectedReq - // *SignalReq_GetTokenByRoomID - Payload isSignalReq_Payload `protobuf_oneof:"payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalReq) Reset() { *m = SignalReq{} } -func (m *SignalReq) String() string { return proto.CompactTextString(m) } -func (*SignalReq) ProtoMessage() {} -func (*SignalReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{9} -} -func (m *SignalReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalReq.Unmarshal(m, b) -} -func (m *SignalReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalReq.Marshal(b, m, deterministic) -} -func (dst *SignalReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalReq.Merge(dst, src) -} -func (m *SignalReq) XXX_Size() int { - return xxx_messageInfo_SignalReq.Size(m) -} -func (m *SignalReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalReq proto.InternalMessageInfo - -type isSignalReq_Payload interface { - isSignalReq_Payload() -} - -type SignalReq_Invite struct { - Invite *SignalInviteReq `protobuf:"bytes,1,opt,name=invite,oneof"` -} -type SignalReq_InviteInGroup struct { - InviteInGroup *SignalInviteInGroupReq `protobuf:"bytes,2,opt,name=inviteInGroup,oneof"` -} -type SignalReq_Cancel struct { - Cancel *SignalCancelReq `protobuf:"bytes,3,opt,name=cancel,oneof"` -} -type SignalReq_Accept struct { - Accept *SignalAcceptReq `protobuf:"bytes,4,opt,name=accept,oneof"` -} -type SignalReq_HungUp struct { - HungUp *SignalHungUpReq `protobuf:"bytes,5,opt,name=hungUp,oneof"` -} -type SignalReq_Reject struct { - Reject *SignalRejectReq `protobuf:"bytes,6,opt,name=reject,oneof"` -} -type SignalReq_GetRoomByGroupID struct { - GetRoomByGroupID *SignalGetRoomByGroupIDReq `protobuf:"bytes,7,opt,name=getRoomByGroupID,oneof"` -} -type SignalReq_OnRoomParticipantConnectedReq struct { - OnRoomParticipantConnectedReq *SignalOnRoomParticipantConnectedReq `protobuf:"bytes,8,opt,name=onRoomParticipantConnectedReq,oneof"` -} -type SignalReq_OnRoomParticipantDisconnectedReq struct { - OnRoomParticipantDisconnectedReq *SignalOnRoomParticipantDisconnectedReq `protobuf:"bytes,9,opt,name=onRoomParticipantDisconnectedReq,oneof"` -} -type SignalReq_GetTokenByRoomID struct { - GetTokenByRoomID *SignalGetTokenByRoomIDReq `protobuf:"bytes,10,opt,name=getTokenByRoomID,oneof"` -} - -func (*SignalReq_Invite) isSignalReq_Payload() {} -func (*SignalReq_InviteInGroup) isSignalReq_Payload() {} -func (*SignalReq_Cancel) isSignalReq_Payload() {} -func (*SignalReq_Accept) isSignalReq_Payload() {} -func (*SignalReq_HungUp) isSignalReq_Payload() {} -func (*SignalReq_Reject) isSignalReq_Payload() {} -func (*SignalReq_GetRoomByGroupID) isSignalReq_Payload() {} -func (*SignalReq_OnRoomParticipantConnectedReq) isSignalReq_Payload() {} -func (*SignalReq_OnRoomParticipantDisconnectedReq) isSignalReq_Payload() {} -func (*SignalReq_GetTokenByRoomID) isSignalReq_Payload() {} - -func (m *SignalReq) GetPayload() isSignalReq_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *SignalReq) GetInvite() *SignalInviteReq { - if x, ok := m.GetPayload().(*SignalReq_Invite); ok { - return x.Invite - } - return nil -} - -func (m *SignalReq) GetInviteInGroup() *SignalInviteInGroupReq { - if x, ok := m.GetPayload().(*SignalReq_InviteInGroup); ok { - return x.InviteInGroup - } - return nil -} - -func (m *SignalReq) GetCancel() *SignalCancelReq { - if x, ok := m.GetPayload().(*SignalReq_Cancel); ok { - return x.Cancel - } - return nil -} - -func (m *SignalReq) GetAccept() *SignalAcceptReq { - if x, ok := m.GetPayload().(*SignalReq_Accept); ok { - return x.Accept - } - return nil -} - -func (m *SignalReq) GetHungUp() *SignalHungUpReq { - if x, ok := m.GetPayload().(*SignalReq_HungUp); ok { - return x.HungUp - } - return nil -} - -func (m *SignalReq) GetReject() *SignalRejectReq { - if x, ok := m.GetPayload().(*SignalReq_Reject); ok { - return x.Reject - } - return nil -} - -func (m *SignalReq) GetGetRoomByGroupID() *SignalGetRoomByGroupIDReq { - if x, ok := m.GetPayload().(*SignalReq_GetRoomByGroupID); ok { - return x.GetRoomByGroupID - } - return nil -} - -func (m *SignalReq) GetOnRoomParticipantConnectedReq() *SignalOnRoomParticipantConnectedReq { - if x, ok := m.GetPayload().(*SignalReq_OnRoomParticipantConnectedReq); ok { - return x.OnRoomParticipantConnectedReq - } - return nil -} - -func (m *SignalReq) GetOnRoomParticipantDisconnectedReq() *SignalOnRoomParticipantDisconnectedReq { - if x, ok := m.GetPayload().(*SignalReq_OnRoomParticipantDisconnectedReq); ok { - return x.OnRoomParticipantDisconnectedReq - } - return nil -} - -func (m *SignalReq) GetGetTokenByRoomID() *SignalGetTokenByRoomIDReq { - if x, ok := m.GetPayload().(*SignalReq_GetTokenByRoomID); ok { - return x.GetTokenByRoomID - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*SignalReq) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _SignalReq_OneofMarshaler, _SignalReq_OneofUnmarshaler, _SignalReq_OneofSizer, []interface{}{ - (*SignalReq_Invite)(nil), - (*SignalReq_InviteInGroup)(nil), - (*SignalReq_Cancel)(nil), - (*SignalReq_Accept)(nil), - (*SignalReq_HungUp)(nil), - (*SignalReq_Reject)(nil), - (*SignalReq_GetRoomByGroupID)(nil), - (*SignalReq_OnRoomParticipantConnectedReq)(nil), - (*SignalReq_OnRoomParticipantDisconnectedReq)(nil), - (*SignalReq_GetTokenByRoomID)(nil), - } -} - -func _SignalReq_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*SignalReq) - // payload - switch x := m.Payload.(type) { - case *SignalReq_Invite: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Invite); err != nil { - return err - } - case *SignalReq_InviteInGroup: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.InviteInGroup); err != nil { - return err - } - case *SignalReq_Cancel: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Cancel); err != nil { - return err - } - case *SignalReq_Accept: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Accept); err != nil { - return err - } - case *SignalReq_HungUp: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.HungUp); err != nil { - return err - } - case *SignalReq_Reject: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Reject); err != nil { - return err - } - case *SignalReq_GetRoomByGroupID: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.GetRoomByGroupID); err != nil { - return err - } - case *SignalReq_OnRoomParticipantConnectedReq: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.OnRoomParticipantConnectedReq); err != nil { - return err - } - case *SignalReq_OnRoomParticipantDisconnectedReq: - b.EncodeVarint(9<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.OnRoomParticipantDisconnectedReq); err != nil { - return err - } - case *SignalReq_GetTokenByRoomID: - b.EncodeVarint(10<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.GetTokenByRoomID); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("SignalReq.Payload has unexpected type %T", x) - } - return nil -} - -func _SignalReq_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*SignalReq) - switch tag { - case 1: // payload.invite - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalInviteReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_Invite{msg} - return true, err - case 2: // payload.inviteInGroup - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalInviteInGroupReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_InviteInGroup{msg} - return true, err - case 3: // payload.cancel - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalCancelReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_Cancel{msg} - return true, err - case 4: // payload.accept - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalAcceptReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_Accept{msg} - return true, err - case 5: // payload.hungUp - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalHungUpReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_HungUp{msg} - return true, err - case 6: // payload.reject - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalRejectReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_Reject{msg} - return true, err - case 7: // payload.getRoomByGroupID - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalGetRoomByGroupIDReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_GetRoomByGroupID{msg} - return true, err - case 8: // payload.onRoomParticipantConnectedReq - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalOnRoomParticipantConnectedReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_OnRoomParticipantConnectedReq{msg} - return true, err - case 9: // payload.onRoomParticipantDisconnectedReq - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalOnRoomParticipantDisconnectedReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_OnRoomParticipantDisconnectedReq{msg} - return true, err - case 10: // payload.getTokenByRoomID - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalGetTokenByRoomIDReq) - err := b.DecodeMessage(msg) - m.Payload = &SignalReq_GetTokenByRoomID{msg} - return true, err - default: - return false, nil - } -} - -func _SignalReq_OneofSizer(msg proto.Message) (n int) { - m := msg.(*SignalReq) - // payload - switch x := m.Payload.(type) { - case *SignalReq_Invite: - s := proto.Size(x.Invite) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalReq_InviteInGroup: - s := proto.Size(x.InviteInGroup) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalReq_Cancel: - s := proto.Size(x.Cancel) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalReq_Accept: - s := proto.Size(x.Accept) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalReq_HungUp: - s := proto.Size(x.HungUp) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalReq_Reject: - s := proto.Size(x.Reject) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalReq_GetRoomByGroupID: - s := proto.Size(x.GetRoomByGroupID) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalReq_OnRoomParticipantConnectedReq: - s := proto.Size(x.OnRoomParticipantConnectedReq) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalReq_OnRoomParticipantDisconnectedReq: - s := proto.Size(x.OnRoomParticipantDisconnectedReq) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalReq_GetTokenByRoomID: - s := proto.Size(x.GetTokenByRoomID) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type SignalResp struct { - // Types that are valid to be assigned to Payload: - // *SignalResp_Invite - // *SignalResp_InviteInGroup - // *SignalResp_Cancel - // *SignalResp_Accept - // *SignalResp_HungUp - // *SignalResp_Reject - // *SignalResp_GetRoomByGroupID - // *SignalResp_GetTokenByRoomID - Payload isSignalResp_Payload `protobuf_oneof:"payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalResp) Reset() { *m = SignalResp{} } -func (m *SignalResp) String() string { return proto.CompactTextString(m) } -func (*SignalResp) ProtoMessage() {} -func (*SignalResp) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{10} -} -func (m *SignalResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalResp.Unmarshal(m, b) -} -func (m *SignalResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalResp.Marshal(b, m, deterministic) -} -func (dst *SignalResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalResp.Merge(dst, src) -} -func (m *SignalResp) XXX_Size() int { - return xxx_messageInfo_SignalResp.Size(m) -} -func (m *SignalResp) XXX_DiscardUnknown() { - xxx_messageInfo_SignalResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalResp proto.InternalMessageInfo - -type isSignalResp_Payload interface { - isSignalResp_Payload() -} - -type SignalResp_Invite struct { - Invite *SignalInviteReply `protobuf:"bytes,1,opt,name=invite,oneof"` -} -type SignalResp_InviteInGroup struct { - InviteInGroup *SignalInviteInGroupReply `protobuf:"bytes,2,opt,name=inviteInGroup,oneof"` -} -type SignalResp_Cancel struct { - Cancel *SignalCancelReply `protobuf:"bytes,3,opt,name=cancel,oneof"` -} -type SignalResp_Accept struct { - Accept *SignalAcceptReply `protobuf:"bytes,4,opt,name=accept,oneof"` -} -type SignalResp_HungUp struct { - HungUp *SignalHungUpReply `protobuf:"bytes,5,opt,name=hungUp,oneof"` -} -type SignalResp_Reject struct { - Reject *SignalRejectReply `protobuf:"bytes,6,opt,name=reject,oneof"` -} -type SignalResp_GetRoomByGroupID struct { - GetRoomByGroupID *SignalGetRoomByGroupIDReply `protobuf:"bytes,7,opt,name=getRoomByGroupID,oneof"` -} -type SignalResp_GetTokenByRoomID struct { - GetTokenByRoomID *SignalGetTokenByRoomIDReply `protobuf:"bytes,8,opt,name=getTokenByRoomID,oneof"` -} - -func (*SignalResp_Invite) isSignalResp_Payload() {} -func (*SignalResp_InviteInGroup) isSignalResp_Payload() {} -func (*SignalResp_Cancel) isSignalResp_Payload() {} -func (*SignalResp_Accept) isSignalResp_Payload() {} -func (*SignalResp_HungUp) isSignalResp_Payload() {} -func (*SignalResp_Reject) isSignalResp_Payload() {} -func (*SignalResp_GetRoomByGroupID) isSignalResp_Payload() {} -func (*SignalResp_GetTokenByRoomID) isSignalResp_Payload() {} - -func (m *SignalResp) GetPayload() isSignalResp_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *SignalResp) GetInvite() *SignalInviteReply { - if x, ok := m.GetPayload().(*SignalResp_Invite); ok { - return x.Invite - } - return nil -} - -func (m *SignalResp) GetInviteInGroup() *SignalInviteInGroupReply { - if x, ok := m.GetPayload().(*SignalResp_InviteInGroup); ok { - return x.InviteInGroup - } - return nil -} - -func (m *SignalResp) GetCancel() *SignalCancelReply { - if x, ok := m.GetPayload().(*SignalResp_Cancel); ok { - return x.Cancel - } - return nil -} - -func (m *SignalResp) GetAccept() *SignalAcceptReply { - if x, ok := m.GetPayload().(*SignalResp_Accept); ok { - return x.Accept - } - return nil -} - -func (m *SignalResp) GetHungUp() *SignalHungUpReply { - if x, ok := m.GetPayload().(*SignalResp_HungUp); ok { - return x.HungUp - } - return nil -} - -func (m *SignalResp) GetReject() *SignalRejectReply { - if x, ok := m.GetPayload().(*SignalResp_Reject); ok { - return x.Reject - } - return nil -} - -func (m *SignalResp) GetGetRoomByGroupID() *SignalGetRoomByGroupIDReply { - if x, ok := m.GetPayload().(*SignalResp_GetRoomByGroupID); ok { - return x.GetRoomByGroupID - } - return nil -} - -func (m *SignalResp) GetGetTokenByRoomID() *SignalGetTokenByRoomIDReply { - if x, ok := m.GetPayload().(*SignalResp_GetTokenByRoomID); ok { - return x.GetTokenByRoomID - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*SignalResp) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _SignalResp_OneofMarshaler, _SignalResp_OneofUnmarshaler, _SignalResp_OneofSizer, []interface{}{ - (*SignalResp_Invite)(nil), - (*SignalResp_InviteInGroup)(nil), - (*SignalResp_Cancel)(nil), - (*SignalResp_Accept)(nil), - (*SignalResp_HungUp)(nil), - (*SignalResp_Reject)(nil), - (*SignalResp_GetRoomByGroupID)(nil), - (*SignalResp_GetTokenByRoomID)(nil), - } -} - -func _SignalResp_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*SignalResp) - // payload - switch x := m.Payload.(type) { - case *SignalResp_Invite: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Invite); err != nil { - return err - } - case *SignalResp_InviteInGroup: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.InviteInGroup); err != nil { - return err - } - case *SignalResp_Cancel: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Cancel); err != nil { - return err - } - case *SignalResp_Accept: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Accept); err != nil { - return err - } - case *SignalResp_HungUp: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.HungUp); err != nil { - return err - } - case *SignalResp_Reject: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Reject); err != nil { - return err - } - case *SignalResp_GetRoomByGroupID: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.GetRoomByGroupID); err != nil { - return err - } - case *SignalResp_GetTokenByRoomID: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.GetTokenByRoomID); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("SignalResp.Payload has unexpected type %T", x) - } - return nil -} - -func _SignalResp_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*SignalResp) - switch tag { - case 1: // payload.invite - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalInviteReply) - err := b.DecodeMessage(msg) - m.Payload = &SignalResp_Invite{msg} - return true, err - case 2: // payload.inviteInGroup - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalInviteInGroupReply) - err := b.DecodeMessage(msg) - m.Payload = &SignalResp_InviteInGroup{msg} - return true, err - case 3: // payload.cancel - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalCancelReply) - err := b.DecodeMessage(msg) - m.Payload = &SignalResp_Cancel{msg} - return true, err - case 4: // payload.accept - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalAcceptReply) - err := b.DecodeMessage(msg) - m.Payload = &SignalResp_Accept{msg} - return true, err - case 5: // payload.hungUp - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalHungUpReply) - err := b.DecodeMessage(msg) - m.Payload = &SignalResp_HungUp{msg} - return true, err - case 6: // payload.reject - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalRejectReply) - err := b.DecodeMessage(msg) - m.Payload = &SignalResp_Reject{msg} - return true, err - case 7: // payload.getRoomByGroupID - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalGetRoomByGroupIDReply) - err := b.DecodeMessage(msg) - m.Payload = &SignalResp_GetRoomByGroupID{msg} - return true, err - case 8: // payload.getTokenByRoomID - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SignalGetTokenByRoomIDReply) - err := b.DecodeMessage(msg) - m.Payload = &SignalResp_GetTokenByRoomID{msg} - return true, err - default: - return false, nil - } -} - -func _SignalResp_OneofSizer(msg proto.Message) (n int) { - m := msg.(*SignalResp) - // payload - switch x := m.Payload.(type) { - case *SignalResp_Invite: - s := proto.Size(x.Invite) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalResp_InviteInGroup: - s := proto.Size(x.InviteInGroup) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalResp_Cancel: - s := proto.Size(x.Cancel) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalResp_Accept: - s := proto.Size(x.Accept) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalResp_HungUp: - s := proto.Size(x.HungUp) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalResp_Reject: - s := proto.Size(x.Reject) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalResp_GetRoomByGroupID: - s := proto.Size(x.GetRoomByGroupID) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *SignalResp_GetTokenByRoomID: - s := proto.Size(x.GetTokenByRoomID) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type InvitationInfo struct { - InviterUserID string `protobuf:"bytes,1,opt,name=inviterUserID" json:"inviterUserID,omitempty"` - InviteeUserIDList []string `protobuf:"bytes,2,rep,name=inviteeUserIDList" json:"inviteeUserIDList,omitempty"` - CustomData string `protobuf:"bytes,3,opt,name=customData" json:"customData,omitempty"` - GroupID string `protobuf:"bytes,4,opt,name=groupID" json:"groupID,omitempty"` - RoomID string `protobuf:"bytes,5,opt,name=roomID" json:"roomID,omitempty"` - Timeout int32 `protobuf:"varint,6,opt,name=timeout" json:"timeout,omitempty"` - MediaType string `protobuf:"bytes,7,opt,name=mediaType" json:"mediaType,omitempty"` - PlatformID int32 `protobuf:"varint,8,opt,name=platformID" json:"platformID,omitempty"` - SessionType int32 `protobuf:"varint,9,opt,name=sessionType" json:"sessionType,omitempty"` - InitiateTime int32 `protobuf:"varint,10,opt,name=initiateTime" json:"initiateTime,omitempty"` - BusyLineUserIDList []string `protobuf:"bytes,11,rep,name=busyLineUserIDList" json:"busyLineUserIDList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InvitationInfo) Reset() { *m = InvitationInfo{} } -func (m *InvitationInfo) String() string { return proto.CompactTextString(m) } -func (*InvitationInfo) ProtoMessage() {} -func (*InvitationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{11} -} -func (m *InvitationInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvitationInfo.Unmarshal(m, b) -} -func (m *InvitationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvitationInfo.Marshal(b, m, deterministic) -} -func (dst *InvitationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvitationInfo.Merge(dst, src) -} -func (m *InvitationInfo) XXX_Size() int { - return xxx_messageInfo_InvitationInfo.Size(m) -} -func (m *InvitationInfo) XXX_DiscardUnknown() { - xxx_messageInfo_InvitationInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_InvitationInfo proto.InternalMessageInfo - -func (m *InvitationInfo) GetInviterUserID() string { - if m != nil { - return m.InviterUserID - } - return "" -} - -func (m *InvitationInfo) GetInviteeUserIDList() []string { - if m != nil { - return m.InviteeUserIDList - } - return nil -} - -func (m *InvitationInfo) GetCustomData() string { - if m != nil { - return m.CustomData - } - return "" -} - -func (m *InvitationInfo) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *InvitationInfo) GetRoomID() string { - if m != nil { - return m.RoomID - } - return "" -} - -func (m *InvitationInfo) GetTimeout() int32 { - if m != nil { - return m.Timeout - } - return 0 -} - -func (m *InvitationInfo) GetMediaType() string { - if m != nil { - return m.MediaType - } - return "" -} - -func (m *InvitationInfo) GetPlatformID() int32 { - if m != nil { - return m.PlatformID - } - return 0 -} - -func (m *InvitationInfo) GetSessionType() int32 { - if m != nil { - return m.SessionType - } - return 0 -} - -func (m *InvitationInfo) GetInitiateTime() int32 { - if m != nil { - return m.InitiateTime - } - return 0 -} - -func (m *InvitationInfo) GetBusyLineUserIDList() []string { - if m != nil { - return m.BusyLineUserIDList - } - return nil -} - -type SignalInviteReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - Invitation *InvitationInfo `protobuf:"bytes,2,opt,name=invitation" json:"invitation,omitempty"` - OfflinePushInfo *OfflinePushInfo `protobuf:"bytes,3,opt,name=offlinePushInfo" json:"offlinePushInfo,omitempty"` - Participant *ParticipantMetaData `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalInviteReq) Reset() { *m = SignalInviteReq{} } -func (m *SignalInviteReq) String() string { return proto.CompactTextString(m) } -func (*SignalInviteReq) ProtoMessage() {} -func (*SignalInviteReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{12} -} -func (m *SignalInviteReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalInviteReq.Unmarshal(m, b) -} -func (m *SignalInviteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalInviteReq.Marshal(b, m, deterministic) -} -func (dst *SignalInviteReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalInviteReq.Merge(dst, src) -} -func (m *SignalInviteReq) XXX_Size() int { - return xxx_messageInfo_SignalInviteReq.Size(m) -} -func (m *SignalInviteReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalInviteReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalInviteReq proto.InternalMessageInfo - -func (m *SignalInviteReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SignalInviteReq) GetInvitation() *InvitationInfo { - if m != nil { - return m.Invitation - } - return nil -} - -func (m *SignalInviteReq) GetOfflinePushInfo() *OfflinePushInfo { - if m != nil { - return m.OfflinePushInfo - } - return nil -} - -func (m *SignalInviteReq) GetParticipant() *ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -type SignalInviteReply struct { - Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` - RoomID string `protobuf:"bytes,2,opt,name=roomID" json:"roomID,omitempty"` - LiveURL string `protobuf:"bytes,3,opt,name=liveURL" json:"liveURL,omitempty"` - BusyLineUserIDList []string `protobuf:"bytes,4,rep,name=busyLineUserIDList" json:"busyLineUserIDList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalInviteReply) Reset() { *m = SignalInviteReply{} } -func (m *SignalInviteReply) String() string { return proto.CompactTextString(m) } -func (*SignalInviteReply) ProtoMessage() {} -func (*SignalInviteReply) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{13} -} -func (m *SignalInviteReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalInviteReply.Unmarshal(m, b) -} -func (m *SignalInviteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalInviteReply.Marshal(b, m, deterministic) -} -func (dst *SignalInviteReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalInviteReply.Merge(dst, src) -} -func (m *SignalInviteReply) XXX_Size() int { - return xxx_messageInfo_SignalInviteReply.Size(m) -} -func (m *SignalInviteReply) XXX_DiscardUnknown() { - xxx_messageInfo_SignalInviteReply.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalInviteReply proto.InternalMessageInfo - -func (m *SignalInviteReply) GetToken() string { - if m != nil { - return m.Token - } - return "" -} - -func (m *SignalInviteReply) GetRoomID() string { - if m != nil { - return m.RoomID - } - return "" -} - -func (m *SignalInviteReply) GetLiveURL() string { - if m != nil { - return m.LiveURL - } - return "" -} - -func (m *SignalInviteReply) GetBusyLineUserIDList() []string { - if m != nil { - return m.BusyLineUserIDList - } - return nil -} - -type SignalInviteInGroupReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - Invitation *InvitationInfo `protobuf:"bytes,2,opt,name=invitation" json:"invitation,omitempty"` - OfflinePushInfo *OfflinePushInfo `protobuf:"bytes,3,opt,name=offlinePushInfo" json:"offlinePushInfo,omitempty"` - Participant *ParticipantMetaData `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalInviteInGroupReq) Reset() { *m = SignalInviteInGroupReq{} } -func (m *SignalInviteInGroupReq) String() string { return proto.CompactTextString(m) } -func (*SignalInviteInGroupReq) ProtoMessage() {} -func (*SignalInviteInGroupReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{14} -} -func (m *SignalInviteInGroupReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalInviteInGroupReq.Unmarshal(m, b) -} -func (m *SignalInviteInGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalInviteInGroupReq.Marshal(b, m, deterministic) -} -func (dst *SignalInviteInGroupReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalInviteInGroupReq.Merge(dst, src) -} -func (m *SignalInviteInGroupReq) XXX_Size() int { - return xxx_messageInfo_SignalInviteInGroupReq.Size(m) -} -func (m *SignalInviteInGroupReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalInviteInGroupReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalInviteInGroupReq proto.InternalMessageInfo - -func (m *SignalInviteInGroupReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SignalInviteInGroupReq) GetInvitation() *InvitationInfo { - if m != nil { - return m.Invitation - } - return nil -} - -func (m *SignalInviteInGroupReq) GetOfflinePushInfo() *OfflinePushInfo { - if m != nil { - return m.OfflinePushInfo - } - return nil -} - -func (m *SignalInviteInGroupReq) GetParticipant() *ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -type SignalInviteInGroupReply struct { - Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` - RoomID string `protobuf:"bytes,2,opt,name=roomID" json:"roomID,omitempty"` - LiveURL string `protobuf:"bytes,3,opt,name=liveURL" json:"liveURL,omitempty"` - BusyLineUserIDList []string `protobuf:"bytes,4,rep,name=busyLineUserIDList" json:"busyLineUserIDList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalInviteInGroupReply) Reset() { *m = SignalInviteInGroupReply{} } -func (m *SignalInviteInGroupReply) String() string { return proto.CompactTextString(m) } -func (*SignalInviteInGroupReply) ProtoMessage() {} -func (*SignalInviteInGroupReply) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{15} -} -func (m *SignalInviteInGroupReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalInviteInGroupReply.Unmarshal(m, b) -} -func (m *SignalInviteInGroupReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalInviteInGroupReply.Marshal(b, m, deterministic) -} -func (dst *SignalInviteInGroupReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalInviteInGroupReply.Merge(dst, src) -} -func (m *SignalInviteInGroupReply) XXX_Size() int { - return xxx_messageInfo_SignalInviteInGroupReply.Size(m) -} -func (m *SignalInviteInGroupReply) XXX_DiscardUnknown() { - xxx_messageInfo_SignalInviteInGroupReply.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalInviteInGroupReply proto.InternalMessageInfo - -func (m *SignalInviteInGroupReply) GetToken() string { - if m != nil { - return m.Token - } - return "" -} - -func (m *SignalInviteInGroupReply) GetRoomID() string { - if m != nil { - return m.RoomID - } - return "" -} - -func (m *SignalInviteInGroupReply) GetLiveURL() string { - if m != nil { - return m.LiveURL - } - return "" -} - -func (m *SignalInviteInGroupReply) GetBusyLineUserIDList() []string { - if m != nil { - return m.BusyLineUserIDList - } - return nil -} - -type SignalCancelReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - Invitation *InvitationInfo `protobuf:"bytes,2,opt,name=invitation" json:"invitation,omitempty"` - OfflinePushInfo *OfflinePushInfo `protobuf:"bytes,3,opt,name=offlinePushInfo" json:"offlinePushInfo,omitempty"` - Participant *ParticipantMetaData `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalCancelReq) Reset() { *m = SignalCancelReq{} } -func (m *SignalCancelReq) String() string { return proto.CompactTextString(m) } -func (*SignalCancelReq) ProtoMessage() {} -func (*SignalCancelReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{16} -} -func (m *SignalCancelReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalCancelReq.Unmarshal(m, b) -} -func (m *SignalCancelReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalCancelReq.Marshal(b, m, deterministic) -} -func (dst *SignalCancelReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalCancelReq.Merge(dst, src) -} -func (m *SignalCancelReq) XXX_Size() int { - return xxx_messageInfo_SignalCancelReq.Size(m) -} -func (m *SignalCancelReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalCancelReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalCancelReq proto.InternalMessageInfo - -func (m *SignalCancelReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SignalCancelReq) GetInvitation() *InvitationInfo { - if m != nil { - return m.Invitation - } - return nil -} - -func (m *SignalCancelReq) GetOfflinePushInfo() *OfflinePushInfo { - if m != nil { - return m.OfflinePushInfo - } - return nil -} - -func (m *SignalCancelReq) GetParticipant() *ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -type SignalCancelReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalCancelReply) Reset() { *m = SignalCancelReply{} } -func (m *SignalCancelReply) String() string { return proto.CompactTextString(m) } -func (*SignalCancelReply) ProtoMessage() {} -func (*SignalCancelReply) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{17} -} -func (m *SignalCancelReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalCancelReply.Unmarshal(m, b) -} -func (m *SignalCancelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalCancelReply.Marshal(b, m, deterministic) -} -func (dst *SignalCancelReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalCancelReply.Merge(dst, src) -} -func (m *SignalCancelReply) XXX_Size() int { - return xxx_messageInfo_SignalCancelReply.Size(m) -} -func (m *SignalCancelReply) XXX_DiscardUnknown() { - xxx_messageInfo_SignalCancelReply.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalCancelReply proto.InternalMessageInfo - -type SignalAcceptReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - Invitation *InvitationInfo `protobuf:"bytes,2,opt,name=invitation" json:"invitation,omitempty"` - OfflinePushInfo *OfflinePushInfo `protobuf:"bytes,3,opt,name=offlinePushInfo" json:"offlinePushInfo,omitempty"` - Participant *ParticipantMetaData `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"` - OpUserPlatformID int32 `protobuf:"varint,5,opt,name=opUserPlatformID" json:"opUserPlatformID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalAcceptReq) Reset() { *m = SignalAcceptReq{} } -func (m *SignalAcceptReq) String() string { return proto.CompactTextString(m) } -func (*SignalAcceptReq) ProtoMessage() {} -func (*SignalAcceptReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{18} -} -func (m *SignalAcceptReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalAcceptReq.Unmarshal(m, b) -} -func (m *SignalAcceptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalAcceptReq.Marshal(b, m, deterministic) -} -func (dst *SignalAcceptReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalAcceptReq.Merge(dst, src) -} -func (m *SignalAcceptReq) XXX_Size() int { - return xxx_messageInfo_SignalAcceptReq.Size(m) -} -func (m *SignalAcceptReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalAcceptReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalAcceptReq proto.InternalMessageInfo - -func (m *SignalAcceptReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SignalAcceptReq) GetInvitation() *InvitationInfo { - if m != nil { - return m.Invitation - } - return nil -} - -func (m *SignalAcceptReq) GetOfflinePushInfo() *OfflinePushInfo { - if m != nil { - return m.OfflinePushInfo - } - return nil -} - -func (m *SignalAcceptReq) GetParticipant() *ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -func (m *SignalAcceptReq) GetOpUserPlatformID() int32 { - if m != nil { - return m.OpUserPlatformID - } - return 0 -} - -type SignalAcceptReply struct { - Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` - RoomID string `protobuf:"bytes,2,opt,name=roomID" json:"roomID,omitempty"` - LiveURL string `protobuf:"bytes,3,opt,name=liveURL" json:"liveURL,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalAcceptReply) Reset() { *m = SignalAcceptReply{} } -func (m *SignalAcceptReply) String() string { return proto.CompactTextString(m) } -func (*SignalAcceptReply) ProtoMessage() {} -func (*SignalAcceptReply) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{19} -} -func (m *SignalAcceptReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalAcceptReply.Unmarshal(m, b) -} -func (m *SignalAcceptReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalAcceptReply.Marshal(b, m, deterministic) -} -func (dst *SignalAcceptReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalAcceptReply.Merge(dst, src) -} -func (m *SignalAcceptReply) XXX_Size() int { - return xxx_messageInfo_SignalAcceptReply.Size(m) -} -func (m *SignalAcceptReply) XXX_DiscardUnknown() { - xxx_messageInfo_SignalAcceptReply.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalAcceptReply proto.InternalMessageInfo - -func (m *SignalAcceptReply) GetToken() string { - if m != nil { - return m.Token - } - return "" -} - -func (m *SignalAcceptReply) GetRoomID() string { - if m != nil { - return m.RoomID - } - return "" -} - -func (m *SignalAcceptReply) GetLiveURL() string { - if m != nil { - return m.LiveURL - } - return "" -} - -type SignalHungUpReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - Invitation *InvitationInfo `protobuf:"bytes,2,opt,name=invitation" json:"invitation,omitempty"` - OfflinePushInfo *OfflinePushInfo `protobuf:"bytes,3,opt,name=offlinePushInfo" json:"offlinePushInfo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalHungUpReq) Reset() { *m = SignalHungUpReq{} } -func (m *SignalHungUpReq) String() string { return proto.CompactTextString(m) } -func (*SignalHungUpReq) ProtoMessage() {} -func (*SignalHungUpReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{20} -} -func (m *SignalHungUpReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalHungUpReq.Unmarshal(m, b) -} -func (m *SignalHungUpReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalHungUpReq.Marshal(b, m, deterministic) -} -func (dst *SignalHungUpReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalHungUpReq.Merge(dst, src) -} -func (m *SignalHungUpReq) XXX_Size() int { - return xxx_messageInfo_SignalHungUpReq.Size(m) -} -func (m *SignalHungUpReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalHungUpReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalHungUpReq proto.InternalMessageInfo - -func (m *SignalHungUpReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SignalHungUpReq) GetInvitation() *InvitationInfo { - if m != nil { - return m.Invitation - } - return nil -} - -func (m *SignalHungUpReq) GetOfflinePushInfo() *OfflinePushInfo { - if m != nil { - return m.OfflinePushInfo - } - return nil -} - -type SignalHungUpReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalHungUpReply) Reset() { *m = SignalHungUpReply{} } -func (m *SignalHungUpReply) String() string { return proto.CompactTextString(m) } -func (*SignalHungUpReply) ProtoMessage() {} -func (*SignalHungUpReply) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{21} -} -func (m *SignalHungUpReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalHungUpReply.Unmarshal(m, b) -} -func (m *SignalHungUpReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalHungUpReply.Marshal(b, m, deterministic) -} -func (dst *SignalHungUpReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalHungUpReply.Merge(dst, src) -} -func (m *SignalHungUpReply) XXX_Size() int { - return xxx_messageInfo_SignalHungUpReply.Size(m) -} -func (m *SignalHungUpReply) XXX_DiscardUnknown() { - xxx_messageInfo_SignalHungUpReply.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalHungUpReply proto.InternalMessageInfo - -type SignalRejectReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - Invitation *InvitationInfo `protobuf:"bytes,2,opt,name=invitation" json:"invitation,omitempty"` - OfflinePushInfo *OfflinePushInfo `protobuf:"bytes,3,opt,name=offlinePushInfo" json:"offlinePushInfo,omitempty"` - Participant *ParticipantMetaData `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"` - OpUserPlatformID int32 `protobuf:"varint,5,opt,name=opUserPlatformID" json:"opUserPlatformID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalRejectReq) Reset() { *m = SignalRejectReq{} } -func (m *SignalRejectReq) String() string { return proto.CompactTextString(m) } -func (*SignalRejectReq) ProtoMessage() {} -func (*SignalRejectReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{22} -} -func (m *SignalRejectReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalRejectReq.Unmarshal(m, b) -} -func (m *SignalRejectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalRejectReq.Marshal(b, m, deterministic) -} -func (dst *SignalRejectReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalRejectReq.Merge(dst, src) -} -func (m *SignalRejectReq) XXX_Size() int { - return xxx_messageInfo_SignalRejectReq.Size(m) -} -func (m *SignalRejectReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalRejectReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalRejectReq proto.InternalMessageInfo - -func (m *SignalRejectReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SignalRejectReq) GetInvitation() *InvitationInfo { - if m != nil { - return m.Invitation - } - return nil -} - -func (m *SignalRejectReq) GetOfflinePushInfo() *OfflinePushInfo { - if m != nil { - return m.OfflinePushInfo - } - return nil -} - -func (m *SignalRejectReq) GetParticipant() *ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -func (m *SignalRejectReq) GetOpUserPlatformID() int32 { - if m != nil { - return m.OpUserPlatformID - } - return 0 -} - -type SignalRejectReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalRejectReply) Reset() { *m = SignalRejectReply{} } -func (m *SignalRejectReply) String() string { return proto.CompactTextString(m) } -func (*SignalRejectReply) ProtoMessage() {} -func (*SignalRejectReply) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{23} -} -func (m *SignalRejectReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalRejectReply.Unmarshal(m, b) -} -func (m *SignalRejectReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalRejectReply.Marshal(b, m, deterministic) -} -func (dst *SignalRejectReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalRejectReply.Merge(dst, src) -} -func (m *SignalRejectReply) XXX_Size() int { - return xxx_messageInfo_SignalRejectReply.Size(m) -} -func (m *SignalRejectReply) XXX_DiscardUnknown() { - xxx_messageInfo_SignalRejectReply.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalRejectReply proto.InternalMessageInfo - -type SignalGetRoomByGroupIDReq struct { - OpUserID string `protobuf:"bytes,1,opt,name=opUserID" json:"opUserID,omitempty"` - GroupID string `protobuf:"bytes,2,opt,name=groupID" json:"groupID,omitempty"` - Participant *ParticipantMetaData `protobuf:"bytes,3,opt,name=participant" json:"participant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalGetRoomByGroupIDReq) Reset() { *m = SignalGetRoomByGroupIDReq{} } -func (m *SignalGetRoomByGroupIDReq) String() string { return proto.CompactTextString(m) } -func (*SignalGetRoomByGroupIDReq) ProtoMessage() {} -func (*SignalGetRoomByGroupIDReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{24} -} -func (m *SignalGetRoomByGroupIDReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalGetRoomByGroupIDReq.Unmarshal(m, b) -} -func (m *SignalGetRoomByGroupIDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalGetRoomByGroupIDReq.Marshal(b, m, deterministic) -} -func (dst *SignalGetRoomByGroupIDReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalGetRoomByGroupIDReq.Merge(dst, src) -} -func (m *SignalGetRoomByGroupIDReq) XXX_Size() int { - return xxx_messageInfo_SignalGetRoomByGroupIDReq.Size(m) -} -func (m *SignalGetRoomByGroupIDReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalGetRoomByGroupIDReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalGetRoomByGroupIDReq proto.InternalMessageInfo - -func (m *SignalGetRoomByGroupIDReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SignalGetRoomByGroupIDReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -func (m *SignalGetRoomByGroupIDReq) GetParticipant() *ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -type SignalGetRoomByGroupIDReply struct { - Invitation *InvitationInfo `protobuf:"bytes,1,opt,name=invitation" json:"invitation,omitempty"` - Participant []*ParticipantMetaData `protobuf:"bytes,2,rep,name=participant" json:"participant,omitempty"` - RoomID string `protobuf:"bytes,3,opt,name=roomID" json:"roomID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalGetRoomByGroupIDReply) Reset() { *m = SignalGetRoomByGroupIDReply{} } -func (m *SignalGetRoomByGroupIDReply) String() string { return proto.CompactTextString(m) } -func (*SignalGetRoomByGroupIDReply) ProtoMessage() {} -func (*SignalGetRoomByGroupIDReply) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{25} -} -func (m *SignalGetRoomByGroupIDReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalGetRoomByGroupIDReply.Unmarshal(m, b) -} -func (m *SignalGetRoomByGroupIDReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalGetRoomByGroupIDReply.Marshal(b, m, deterministic) -} -func (dst *SignalGetRoomByGroupIDReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalGetRoomByGroupIDReply.Merge(dst, src) -} -func (m *SignalGetRoomByGroupIDReply) XXX_Size() int { - return xxx_messageInfo_SignalGetRoomByGroupIDReply.Size(m) -} -func (m *SignalGetRoomByGroupIDReply) XXX_DiscardUnknown() { - xxx_messageInfo_SignalGetRoomByGroupIDReply.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalGetRoomByGroupIDReply proto.InternalMessageInfo - -func (m *SignalGetRoomByGroupIDReply) GetInvitation() *InvitationInfo { - if m != nil { - return m.Invitation - } - return nil -} - -func (m *SignalGetRoomByGroupIDReply) GetParticipant() []*ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -func (m *SignalGetRoomByGroupIDReply) GetRoomID() string { - if m != nil { - return m.RoomID - } - return "" -} - -type SignalOnRoomParticipantConnectedReq struct { - Invitation *InvitationInfo `protobuf:"bytes,1,opt,name=invitation" json:"invitation,omitempty"` - Participant []*ParticipantMetaData `protobuf:"bytes,2,rep,name=participant" json:"participant,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=groupID" json:"groupID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalOnRoomParticipantConnectedReq) Reset() { *m = SignalOnRoomParticipantConnectedReq{} } -func (m *SignalOnRoomParticipantConnectedReq) String() string { return proto.CompactTextString(m) } -func (*SignalOnRoomParticipantConnectedReq) ProtoMessage() {} -func (*SignalOnRoomParticipantConnectedReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{26} -} -func (m *SignalOnRoomParticipantConnectedReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalOnRoomParticipantConnectedReq.Unmarshal(m, b) -} -func (m *SignalOnRoomParticipantConnectedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalOnRoomParticipantConnectedReq.Marshal(b, m, deterministic) -} -func (dst *SignalOnRoomParticipantConnectedReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalOnRoomParticipantConnectedReq.Merge(dst, src) -} -func (m *SignalOnRoomParticipantConnectedReq) XXX_Size() int { - return xxx_messageInfo_SignalOnRoomParticipantConnectedReq.Size(m) -} -func (m *SignalOnRoomParticipantConnectedReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalOnRoomParticipantConnectedReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalOnRoomParticipantConnectedReq proto.InternalMessageInfo - -func (m *SignalOnRoomParticipantConnectedReq) GetInvitation() *InvitationInfo { - if m != nil { - return m.Invitation - } - return nil -} - -func (m *SignalOnRoomParticipantConnectedReq) GetParticipant() []*ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -func (m *SignalOnRoomParticipantConnectedReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -type SignalOnRoomParticipantDisconnectedReq struct { - Invitation *InvitationInfo `protobuf:"bytes,1,opt,name=invitation" json:"invitation,omitempty"` - Participant []*ParticipantMetaData `protobuf:"bytes,2,rep,name=participant" json:"participant,omitempty"` - GroupID string `protobuf:"bytes,3,opt,name=groupID" json:"groupID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalOnRoomParticipantDisconnectedReq) Reset() { - *m = SignalOnRoomParticipantDisconnectedReq{} -} -func (m *SignalOnRoomParticipantDisconnectedReq) String() string { return proto.CompactTextString(m) } -func (*SignalOnRoomParticipantDisconnectedReq) ProtoMessage() {} -func (*SignalOnRoomParticipantDisconnectedReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{27} -} -func (m *SignalOnRoomParticipantDisconnectedReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalOnRoomParticipantDisconnectedReq.Unmarshal(m, b) -} -func (m *SignalOnRoomParticipantDisconnectedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalOnRoomParticipantDisconnectedReq.Marshal(b, m, deterministic) -} -func (dst *SignalOnRoomParticipantDisconnectedReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalOnRoomParticipantDisconnectedReq.Merge(dst, src) -} -func (m *SignalOnRoomParticipantDisconnectedReq) XXX_Size() int { - return xxx_messageInfo_SignalOnRoomParticipantDisconnectedReq.Size(m) -} -func (m *SignalOnRoomParticipantDisconnectedReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalOnRoomParticipantDisconnectedReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalOnRoomParticipantDisconnectedReq proto.InternalMessageInfo - -func (m *SignalOnRoomParticipantDisconnectedReq) GetInvitation() *InvitationInfo { - if m != nil { - return m.Invitation - } - return nil -} - -func (m *SignalOnRoomParticipantDisconnectedReq) GetParticipant() []*ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -func (m *SignalOnRoomParticipantDisconnectedReq) GetGroupID() string { - if m != nil { - return m.GroupID - } - return "" -} - -type SignalGetTokenByRoomIDReq struct { - RoomID string `protobuf:"bytes,1,opt,name=roomID" json:"roomID,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=opUserID" json:"opUserID,omitempty"` - Participant *ParticipantMetaData `protobuf:"bytes,3,opt,name=participant" json:"participant,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalGetTokenByRoomIDReq) Reset() { *m = SignalGetTokenByRoomIDReq{} } -func (m *SignalGetTokenByRoomIDReq) String() string { return proto.CompactTextString(m) } -func (*SignalGetTokenByRoomIDReq) ProtoMessage() {} -func (*SignalGetTokenByRoomIDReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{28} -} -func (m *SignalGetTokenByRoomIDReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalGetTokenByRoomIDReq.Unmarshal(m, b) -} -func (m *SignalGetTokenByRoomIDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalGetTokenByRoomIDReq.Marshal(b, m, deterministic) -} -func (dst *SignalGetTokenByRoomIDReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalGetTokenByRoomIDReq.Merge(dst, src) -} -func (m *SignalGetTokenByRoomIDReq) XXX_Size() int { - return xxx_messageInfo_SignalGetTokenByRoomIDReq.Size(m) -} -func (m *SignalGetTokenByRoomIDReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalGetTokenByRoomIDReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalGetTokenByRoomIDReq proto.InternalMessageInfo - -func (m *SignalGetTokenByRoomIDReq) GetRoomID() string { - if m != nil { - return m.RoomID - } - return "" -} - -func (m *SignalGetTokenByRoomIDReq) GetOpUserID() string { - if m != nil { - return m.OpUserID - } - return "" -} - -func (m *SignalGetTokenByRoomIDReq) GetParticipant() *ParticipantMetaData { - if m != nil { - return m.Participant - } - return nil -} - -func (m *SignalGetTokenByRoomIDReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type SignalGetTokenByRoomIDReply struct { - Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` - LiveURL string `protobuf:"bytes,2,opt,name=liveURL" json:"liveURL,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalGetTokenByRoomIDReply) Reset() { *m = SignalGetTokenByRoomIDReply{} } -func (m *SignalGetTokenByRoomIDReply) String() string { return proto.CompactTextString(m) } -func (*SignalGetTokenByRoomIDReply) ProtoMessage() {} -func (*SignalGetTokenByRoomIDReply) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{29} -} -func (m *SignalGetTokenByRoomIDReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalGetTokenByRoomIDReply.Unmarshal(m, b) -} -func (m *SignalGetTokenByRoomIDReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalGetTokenByRoomIDReply.Marshal(b, m, deterministic) -} -func (dst *SignalGetTokenByRoomIDReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalGetTokenByRoomIDReply.Merge(dst, src) -} -func (m *SignalGetTokenByRoomIDReply) XXX_Size() int { - return xxx_messageInfo_SignalGetTokenByRoomIDReply.Size(m) -} -func (m *SignalGetTokenByRoomIDReply) XXX_DiscardUnknown() { - xxx_messageInfo_SignalGetTokenByRoomIDReply.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalGetTokenByRoomIDReply proto.InternalMessageInfo - -func (m *SignalGetTokenByRoomIDReply) GetToken() string { - if m != nil { - return m.Token - } - return "" -} - -func (m *SignalGetTokenByRoomIDReply) GetLiveURL() string { - if m != nil { - return m.LiveURL - } - return "" -} - -type SignalMessageAssembleReq struct { - SignalReq *SignalReq `protobuf:"bytes,1,opt,name=signalReq" json:"signalReq,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalMessageAssembleReq) Reset() { *m = SignalMessageAssembleReq{} } -func (m *SignalMessageAssembleReq) String() string { return proto.CompactTextString(m) } -func (*SignalMessageAssembleReq) ProtoMessage() {} -func (*SignalMessageAssembleReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{30} -} -func (m *SignalMessageAssembleReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalMessageAssembleReq.Unmarshal(m, b) -} -func (m *SignalMessageAssembleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalMessageAssembleReq.Marshal(b, m, deterministic) -} -func (dst *SignalMessageAssembleReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalMessageAssembleReq.Merge(dst, src) -} -func (m *SignalMessageAssembleReq) XXX_Size() int { - return xxx_messageInfo_SignalMessageAssembleReq.Size(m) -} -func (m *SignalMessageAssembleReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalMessageAssembleReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalMessageAssembleReq proto.InternalMessageInfo - -func (m *SignalMessageAssembleReq) GetSignalReq() *SignalReq { - if m != nil { - return m.SignalReq - } - return nil -} - -func (m *SignalMessageAssembleReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -type SignalMessageAssembleResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - IsPass bool `protobuf:"varint,2,opt,name=isPass" json:"isPass,omitempty"` - SignalResp *SignalResp `protobuf:"bytes,3,opt,name=signalResp" json:"signalResp,omitempty"` - MsgData *MsgData `protobuf:"bytes,4,opt,name=msgData" json:"msgData,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalMessageAssembleResp) Reset() { *m = SignalMessageAssembleResp{} } -func (m *SignalMessageAssembleResp) String() string { return proto.CompactTextString(m) } -func (*SignalMessageAssembleResp) ProtoMessage() {} -func (*SignalMessageAssembleResp) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{31} -} -func (m *SignalMessageAssembleResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalMessageAssembleResp.Unmarshal(m, b) -} -func (m *SignalMessageAssembleResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalMessageAssembleResp.Marshal(b, m, deterministic) -} -func (dst *SignalMessageAssembleResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalMessageAssembleResp.Merge(dst, src) -} -func (m *SignalMessageAssembleResp) XXX_Size() int { - return xxx_messageInfo_SignalMessageAssembleResp.Size(m) -} -func (m *SignalMessageAssembleResp) XXX_DiscardUnknown() { - xxx_messageInfo_SignalMessageAssembleResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalMessageAssembleResp proto.InternalMessageInfo - -func (m *SignalMessageAssembleResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *SignalMessageAssembleResp) GetIsPass() bool { - if m != nil { - return m.IsPass - } - return false -} - -func (m *SignalMessageAssembleResp) GetSignalResp() *SignalResp { - if m != nil { - return m.SignalResp - } - return nil -} - -func (m *SignalMessageAssembleResp) GetMsgData() *MsgData { - if m != nil { - return m.MsgData - } - return nil -} - -type SignalGetRoomsReq struct { - OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` - RoomID string `protobuf:"bytes,2,opt,name=roomID" json:"roomID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalGetRoomsReq) Reset() { *m = SignalGetRoomsReq{} } -func (m *SignalGetRoomsReq) String() string { return proto.CompactTextString(m) } -func (*SignalGetRoomsReq) ProtoMessage() {} -func (*SignalGetRoomsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{32} -} -func (m *SignalGetRoomsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalGetRoomsReq.Unmarshal(m, b) -} -func (m *SignalGetRoomsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalGetRoomsReq.Marshal(b, m, deterministic) -} -func (dst *SignalGetRoomsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalGetRoomsReq.Merge(dst, src) -} -func (m *SignalGetRoomsReq) XXX_Size() int { - return xxx_messageInfo_SignalGetRoomsReq.Size(m) -} -func (m *SignalGetRoomsReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignalGetRoomsReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalGetRoomsReq proto.InternalMessageInfo - -func (m *SignalGetRoomsReq) GetOperationID() string { - if m != nil { - return m.OperationID - } - return "" -} - -func (m *SignalGetRoomsReq) GetRoomID() string { - if m != nil { - return m.RoomID - } - return "" -} - -type SignalGetRoomsResp struct { - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"` - RoomList []*SignalGetRoomByGroupIDReply `protobuf:"bytes,2,rep,name=roomList" json:"roomList,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SignalGetRoomsResp) Reset() { *m = SignalGetRoomsResp{} } -func (m *SignalGetRoomsResp) String() string { return proto.CompactTextString(m) } -func (*SignalGetRoomsResp) ProtoMessage() {} -func (*SignalGetRoomsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_rtc_a10fa88fa610032a, []int{33} -} -func (m *SignalGetRoomsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalGetRoomsResp.Unmarshal(m, b) -} -func (m *SignalGetRoomsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalGetRoomsResp.Marshal(b, m, deterministic) -} -func (dst *SignalGetRoomsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalGetRoomsResp.Merge(dst, src) -} -func (m *SignalGetRoomsResp) XXX_Size() int { - return xxx_messageInfo_SignalGetRoomsResp.Size(m) -} -func (m *SignalGetRoomsResp) XXX_DiscardUnknown() { - xxx_messageInfo_SignalGetRoomsResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SignalGetRoomsResp proto.InternalMessageInfo - -func (m *SignalGetRoomsResp) GetCommonResp() *CommonResp { - if m != nil { - return m.CommonResp - } - return nil -} - -func (m *SignalGetRoomsResp) GetRoomList() []*SignalGetRoomByGroupIDReply { - if m != nil { - return m.RoomList - } - return nil -} - -func init() { - proto.RegisterType((*CommonResp)(nil), "proto.CommonResp") - proto.RegisterType((*MsgData)(nil), "proto.MsgData") - proto.RegisterMapType((map[string]bool)(nil), "proto.MsgData.OptionsEntry") - proto.RegisterType((*GroupInfo)(nil), "proto.GroupInfo") - proto.RegisterType((*GroupMemberFullInfo)(nil), "proto.GroupMemberFullInfo") - proto.RegisterType((*ParticipantMetaData)(nil), "proto.ParticipantMetaData") - proto.RegisterType((*PublicUserInfo)(nil), "proto.PublicUserInfo") - proto.RegisterType((*GetJoinTokenReq)(nil), "proto.GetJoinTokenReq") - proto.RegisterType((*GetJoinTokenResp)(nil), "proto.GetJoinTokenResp") - proto.RegisterType((*OfflinePushInfo)(nil), "proto.OfflinePushInfo") - proto.RegisterType((*SignalReq)(nil), "proto.SignalReq") - proto.RegisterType((*SignalResp)(nil), "proto.SignalResp") - proto.RegisterType((*InvitationInfo)(nil), "proto.InvitationInfo") - proto.RegisterType((*SignalInviteReq)(nil), "proto.SignalInviteReq") - proto.RegisterType((*SignalInviteReply)(nil), "proto.SignalInviteReply") - proto.RegisterType((*SignalInviteInGroupReq)(nil), "proto.SignalInviteInGroupReq") - proto.RegisterType((*SignalInviteInGroupReply)(nil), "proto.SignalInviteInGroupReply") - proto.RegisterType((*SignalCancelReq)(nil), "proto.SignalCancelReq") - proto.RegisterType((*SignalCancelReply)(nil), "proto.SignalCancelReply") - proto.RegisterType((*SignalAcceptReq)(nil), "proto.SignalAcceptReq") - proto.RegisterType((*SignalAcceptReply)(nil), "proto.SignalAcceptReply") - proto.RegisterType((*SignalHungUpReq)(nil), "proto.SignalHungUpReq") - proto.RegisterType((*SignalHungUpReply)(nil), "proto.SignalHungUpReply") - proto.RegisterType((*SignalRejectReq)(nil), "proto.SignalRejectReq") - proto.RegisterType((*SignalRejectReply)(nil), "proto.SignalRejectReply") - proto.RegisterType((*SignalGetRoomByGroupIDReq)(nil), "proto.SignalGetRoomByGroupIDReq") - proto.RegisterType((*SignalGetRoomByGroupIDReply)(nil), "proto.SignalGetRoomByGroupIDReply") - proto.RegisterType((*SignalOnRoomParticipantConnectedReq)(nil), "proto.SignalOnRoomParticipantConnectedReq") - proto.RegisterType((*SignalOnRoomParticipantDisconnectedReq)(nil), "proto.SignalOnRoomParticipantDisconnectedReq") - proto.RegisterType((*SignalGetTokenByRoomIDReq)(nil), "proto.SignalGetTokenByRoomIDReq") - proto.RegisterType((*SignalGetTokenByRoomIDReply)(nil), "proto.SignalGetTokenByRoomIDReply") - proto.RegisterType((*SignalMessageAssembleReq)(nil), "proto.SignalMessageAssembleReq") - proto.RegisterType((*SignalMessageAssembleResp)(nil), "proto.SignalMessageAssembleResp") - proto.RegisterType((*SignalGetRoomsReq)(nil), "proto.SignalGetRoomsReq") - proto.RegisterType((*SignalGetRoomsResp)(nil), "proto.SignalGetRoomsResp") -} - -// 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 - -// Client API for RtcService service - -type RtcServiceClient interface { - SignalMessageAssemble(ctx context.Context, in *SignalMessageAssembleReq, opts ...grpc.CallOption) (*SignalMessageAssembleResp, error) - SignalGetRooms(ctx context.Context, in *SignalGetRoomsReq, opts ...grpc.CallOption) (*SignalGetRoomsResp, error) -} - -type rtcServiceClient struct { - cc *grpc.ClientConn -} - -func NewRtcServiceClient(cc *grpc.ClientConn) RtcServiceClient { - return &rtcServiceClient{cc} -} - -func (c *rtcServiceClient) SignalMessageAssemble(ctx context.Context, in *SignalMessageAssembleReq, opts ...grpc.CallOption) (*SignalMessageAssembleResp, error) { - out := new(SignalMessageAssembleResp) - err := grpc.Invoke(ctx, "/proto.RtcService/SignalMessageAssemble", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *rtcServiceClient) SignalGetRooms(ctx context.Context, in *SignalGetRoomsReq, opts ...grpc.CallOption) (*SignalGetRoomsResp, error) { - out := new(SignalGetRoomsResp) - err := grpc.Invoke(ctx, "/proto.RtcService/SignalGetRooms", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Server API for RtcService service - -type RtcServiceServer interface { - SignalMessageAssemble(context.Context, *SignalMessageAssembleReq) (*SignalMessageAssembleResp, error) - SignalGetRooms(context.Context, *SignalGetRoomsReq) (*SignalGetRoomsResp, error) -} - -func RegisterRtcServiceServer(s *grpc.Server, srv RtcServiceServer) { - s.RegisterService(&_RtcService_serviceDesc, srv) -} - -func _RtcService_SignalMessageAssemble_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SignalMessageAssembleReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RtcServiceServer).SignalMessageAssemble(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/proto.RtcService/SignalMessageAssemble", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RtcServiceServer).SignalMessageAssemble(ctx, req.(*SignalMessageAssembleReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _RtcService_SignalGetRooms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SignalGetRoomsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RtcServiceServer).SignalGetRooms(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/proto.RtcService/SignalGetRooms", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RtcServiceServer).SignalGetRooms(ctx, req.(*SignalGetRoomsReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _RtcService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "proto.RtcService", - HandlerType: (*RtcServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SignalMessageAssemble", - Handler: _RtcService_SignalMessageAssemble_Handler, - }, - { - MethodName: "SignalGetRooms", - Handler: _RtcService_SignalGetRooms_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "rtc/rtc.proto", -} - -func init() { proto.RegisterFile("rtc/rtc.proto", fileDescriptor_rtc_a10fa88fa610032a) } - -var fileDescriptor_rtc_a10fa88fa610032a = []byte{ - // 1929 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x59, 0xcd, 0x6f, 0x23, 0x49, - 0x15, 0x9f, 0xb6, 0xe3, 0x24, 0x7e, 0xce, 0x67, 0x0d, 0x1b, 0xf5, 0x64, 0x58, 0xb0, 0x9a, 0xd1, - 0xc8, 0x1a, 0x41, 0x86, 0x35, 0x5a, 0x84, 0x16, 0xb4, 0x62, 0x13, 0xcf, 0x64, 0x8c, 0xc6, 0x93, - 0xa8, 0xb2, 0x73, 0x59, 0x0e, 0xa8, 0xd3, 0xae, 0x78, 0x7b, 0xc6, 0xae, 0xea, 0x74, 0x57, 0x67, - 0xd7, 0xe2, 0x8a, 0x00, 0x89, 0x03, 0x08, 0x89, 0x13, 0x57, 0xc4, 0x81, 0xcb, 0x5e, 0x90, 0xf6, - 0xc6, 0x85, 0x7f, 0x85, 0x03, 0x12, 0x67, 0xee, 0xa8, 0x5e, 0x55, 0x77, 0x57, 0xb7, 0xdb, 0x99, - 0x2c, 0x20, 0xed, 0x68, 0xf6, 0xe4, 0x7e, 0xaf, 0xde, 0xab, 0x8f, 0xf7, 0xfb, 0xd5, 0xab, 0x57, - 0x65, 0xd8, 0x8c, 0x65, 0xf0, 0x30, 0x96, 0xc1, 0x41, 0x14, 0x0b, 0x29, 0x48, 0x0b, 0x7f, 0xbc, - 0xf7, 0x01, 0x8e, 0xc4, 0x6c, 0x26, 0x38, 0x65, 0x49, 0x44, 0x5c, 0x58, 0x63, 0x71, 0x7c, 0x24, - 0xc6, 0xcc, 0x75, 0xba, 0x4e, 0xaf, 0x45, 0x33, 0x91, 0xec, 0xc1, 0x2a, 0x8b, 0xe3, 0x51, 0x32, - 0x71, 0x1b, 0x5d, 0xa7, 0xd7, 0xa6, 0x46, 0xf2, 0xfe, 0xd4, 0x82, 0xb5, 0x51, 0x32, 0x19, 0xf8, - 0xd2, 0x57, 0x36, 0x09, 0xe3, 0xe3, 0xe1, 0x00, 0x9d, 0xdb, 0xd4, 0x48, 0x4a, 0x1f, 0xb3, 0xe0, - 0x6a, 0x38, 0xc8, 0x7c, 0xb5, 0xa4, 0x46, 0x9b, 0xc4, 0x22, 0x8d, 0x86, 0x03, 0xb7, 0x89, 0x0d, - 0x99, 0x48, 0xba, 0xd0, 0x09, 0xa6, 0x21, 0xe3, 0x72, 0x94, 0x4c, 0x86, 0x03, 0x77, 0x05, 0x5b, - 0x6d, 0x95, 0xb2, 0x48, 0x58, 0x7c, 0xc5, 0x62, 0x6d, 0xd1, 0xd2, 0x16, 0x96, 0x8a, 0x3c, 0x80, - 0x1d, 0x35, 0x3e, 0x8b, 0x4f, 0xa7, 0xbe, 0xbc, 0x10, 0xf1, 0x6c, 0x38, 0x70, 0x57, 0x71, 0x51, - 0x0b, 0x7a, 0x72, 0x1f, 0xb6, 0xb4, 0xee, 0x59, 0x18, 0xbc, 0xe4, 0xfe, 0x8c, 0xb9, 0x6b, 0xd8, - 0x61, 0x45, 0x4b, 0xee, 0xc1, 0xa6, 0xd6, 0x3c, 0xf6, 0x03, 0xf6, 0x9c, 0x3e, 0x75, 0xd7, 0xd1, - 0xac, 0xac, 0xd4, 0x73, 0x4b, 0x92, 0x50, 0xf0, 0x0f, 0xe7, 0x11, 0x73, 0xdb, 0x38, 0xa8, 0xad, - 0x52, 0x2b, 0x9f, 0x25, 0x93, 0xc7, 0xb1, 0x98, 0xb9, 0xa0, 0xe3, 0x6c, 0x44, 0x5c, 0xb9, 0xe0, - 0x92, 0x71, 0x89, 0xbe, 0x1d, 0xed, 0x6b, 0xa9, 0x94, 0xaf, 0x11, 0xdd, 0x8d, 0xae, 0xd3, 0xdb, - 0xa0, 0x99, 0x48, 0x76, 0xa0, 0x99, 0xb0, 0x4b, 0x77, 0xab, 0xeb, 0xf4, 0x36, 0xa9, 0xfa, 0x24, - 0xfb, 0xb0, 0xae, 0xa6, 0xf6, 0x61, 0x38, 0x63, 0xee, 0x76, 0xd7, 0xe9, 0x35, 0x69, 0x2e, 0x93, - 0x6f, 0x00, 0x04, 0x31, 0xf3, 0x25, 0xc3, 0xd6, 0x1d, 0x6c, 0xb5, 0x34, 0x88, 0xa6, 0xf4, 0x65, - 0x9a, 0xb8, 0xbb, 0x38, 0x09, 0x23, 0x91, 0x77, 0x61, 0x4d, 0x44, 0x32, 0x14, 0x3c, 0x71, 0x49, - 0xb7, 0xd9, 0xeb, 0xf4, 0xef, 0x6a, 0x46, 0x1d, 0x18, 0x1a, 0x1c, 0x9c, 0xe8, 0xd6, 0x47, 0x5c, - 0xc6, 0x73, 0x9a, 0xd9, 0x92, 0x1f, 0xc3, 0xb6, 0xb8, 0xb8, 0x98, 0x86, 0x9c, 0x9d, 0xa6, 0xc9, - 0xc7, 0x43, 0x7e, 0x21, 0xdc, 0xdb, 0x5d, 0xa7, 0xd7, 0xe9, 0xef, 0x19, 0xf7, 0x93, 0x72, 0x2b, - 0xad, 0x9a, 0xef, 0xbf, 0x07, 0x1b, 0x76, 0xd7, 0x6a, 0xb9, 0x2f, 0xd9, 0xdc, 0x70, 0x4d, 0x7d, - 0x92, 0xaf, 0x41, 0xeb, 0xca, 0x9f, 0xa6, 0x0c, 0x79, 0xb6, 0x4e, 0xb5, 0xf0, 0x5e, 0xe3, 0x07, - 0x8e, 0xf7, 0xef, 0x06, 0xb4, 0x8f, 0x91, 0x5c, 0xfc, 0x42, 0xd8, 0xc4, 0x73, 0xca, 0xc4, 0xfb, - 0x3a, 0xb4, 0xf1, 0xf3, 0x99, 0xe2, 0x80, 0x66, 0x6b, 0xa1, 0x20, 0x1e, 0x6c, 0x70, 0x21, 0xc3, - 0x8b, 0x30, 0xf0, 0xd5, 0x3c, 0x0c, 0x6b, 0x4b, 0x3a, 0x65, 0x13, 0x72, 0x19, 0x8b, 0x71, 0x1a, - 0xa0, 0x8d, 0xe6, 0x6e, 0x49, 0xa7, 0xc6, 0xbf, 0x30, 0x04, 0xd2, 0xc4, 0xcd, 0x44, 0x05, 0xbf, - 0xf8, 0x84, 0xb3, 0xf8, 0x79, 0xc2, 0x62, 0xc3, 0xd7, 0x36, 0xb5, 0x55, 0x15, 0xd8, 0xd6, 0x10, - 0x6b, 0x1b, 0xb6, 0x2e, 0x74, 0x66, 0x6c, 0x76, 0xce, 0xe2, 0x23, 0x91, 0x72, 0x89, 0x04, 0xdd, - 0xa4, 0xb6, 0x8a, 0x6c, 0x41, 0x83, 0x7d, 0x8a, 0xac, 0x6c, 0xd3, 0x06, 0xfb, 0xd4, 0x02, 0x1a, - 0x4a, 0x40, 0xdf, 0x83, 0x4d, 0xec, 0x57, 0x64, 0xb3, 0xe9, 0x68, 0xb2, 0x97, 0x94, 0x79, 0xc4, - 0x90, 0xae, 0x1b, 0xd8, 0x41, 0xa1, 0xf0, 0x3e, 0x6f, 0xc0, 0x6d, 0x8c, 0xfb, 0x08, 0x27, 0xf0, - 0x38, 0x9d, 0x4e, 0x5f, 0x81, 0xc0, 0x1e, 0xac, 0xa6, 0x7a, 0x38, 0x93, 0x2c, 0xd2, 0x7c, 0x9c, - 0x58, 0x4c, 0xd9, 0x53, 0x76, 0xc5, 0xa6, 0x18, 0xf8, 0x16, 0x2d, 0x14, 0x8a, 0xe8, 0x2f, 0x44, - 0xc8, 0x31, 0x26, 0x2b, 0xd8, 0x98, 0xcb, 0xaa, 0x8d, 0x67, 0xdb, 0x5a, 0x87, 0x3b, 0x97, 0x6d, - 0x24, 0x56, 0xcb, 0x48, 0xdc, 0x87, 0x2d, 0x3f, 0x8a, 0x46, 0x3e, 0x9f, 0xb0, 0x58, 0x0f, 0xba, - 0x86, 0xfd, 0x56, 0xb4, 0x0a, 0x0f, 0x35, 0xd2, 0x99, 0x48, 0xe3, 0x80, 0x61, 0xb8, 0x5b, 0xd4, - 0xd2, 0xa8, 0x7e, 0x44, 0xc4, 0x62, 0x2b, 0x8c, 0x3a, 0xf2, 0x15, 0xad, 0x41, 0x05, 0x32, 0x54, - 0xbc, 0xbf, 0x39, 0x70, 0xfb, 0xd4, 0x8f, 0x65, 0x18, 0x84, 0x91, 0xcf, 0xe5, 0x88, 0x49, 0x1f, - 0x93, 0xec, 0x81, 0x89, 0x37, 0xee, 0x20, 0x07, 0x77, 0xd0, 0x8e, 0xd9, 0x41, 0x39, 0xc1, 0x69, - 0x61, 0x42, 0x06, 0xb0, 0x3d, 0x29, 0x00, 0x40, 0xaf, 0x06, 0x7a, 0xed, 0xdb, 0x5e, 0x65, 0x78, - 0x68, 0xd5, 0x85, 0xbc, 0x03, 0xeb, 0x88, 0x83, 0x72, 0x6f, 0xa2, 0xfb, 0x5b, 0xc6, 0xfd, 0x34, - 0x3d, 0x9f, 0x86, 0xc1, 0x73, 0xd3, 0x48, 0x73, 0x33, 0xef, 0x97, 0x0e, 0x6c, 0x95, 0x1b, 0x2d, - 0x6c, 0x9d, 0x12, 0xb6, 0x36, 0x42, 0x8d, 0xe5, 0x08, 0x35, 0xcb, 0x08, 0xed, 0xc1, 0xea, 0x04, - 0xf3, 0xae, 0x41, 0xdc, 0x48, 0x26, 0x92, 0xad, 0x3c, 0x92, 0x7f, 0x74, 0x60, 0xfb, 0x98, 0xc9, - 0x9f, 0x28, 0x3e, 0x88, 0x97, 0x8c, 0x53, 0x76, 0x49, 0x08, 0xac, 0xc4, 0x42, 0xcc, 0xcc, 0x3c, - 0xf0, 0x5b, 0xcd, 0x22, 0x1c, 0x33, 0x2e, 0x43, 0x39, 0xcf, 0x66, 0x91, 0xc9, 0xe4, 0xfb, 0xb0, - 0x3e, 0x33, 0x08, 0x98, 0xf5, 0x67, 0xe1, 0xab, 0xc1, 0x88, 0xe6, 0xb6, 0xb8, 0x9f, 0x11, 0xe7, - 0x50, 0xf0, 0xe2, 0x20, 0xb3, 0x54, 0xde, 0x25, 0xec, 0x94, 0x27, 0x97, 0x44, 0xe4, 0x1d, 0xfb, - 0x50, 0x36, 0x20, 0xef, 0x9a, 0xf1, 0x8a, 0x06, 0x6a, 0x9f, 0xdc, 0x3b, 0xd0, 0x7c, 0xf1, 0x89, - 0x34, 0xf3, 0x56, 0x9f, 0x2a, 0x70, 0xd3, 0xf0, 0xca, 0x0e, 0x9c, 0x11, 0xbd, 0x3f, 0x38, 0xb0, - 0x5d, 0xc9, 0xb6, 0x2a, 0x75, 0xca, 0x50, 0x4e, 0x99, 0x89, 0x88, 0x16, 0x54, 0x98, 0xc6, 0x2c, - 0x09, 0x4c, 0xb7, 0xf8, 0x6d, 0xc2, 0xdb, 0xcc, 0xd3, 0x87, 0x4a, 0x78, 0x27, 0x67, 0xaa, 0xa3, - 0x33, 0x91, 0xf2, 0x71, 0x9e, 0xf0, 0x2c, 0x9d, 0x4a, 0x25, 0xe1, 0xc9, 0xd9, 0xa1, 0x3f, 0x9e, - 0x30, 0x9d, 0x96, 0x5a, 0x98, 0xa0, 0xcb, 0x4a, 0xef, 0x9f, 0x2d, 0x68, 0x9f, 0x85, 0x13, 0xee, - 0x4f, 0x15, 0x44, 0xdf, 0x85, 0xd5, 0x90, 0x5f, 0x85, 0x92, 0x99, 0x00, 0x64, 0xe7, 0x84, 0xb6, - 0x18, 0x62, 0x13, 0x65, 0x97, 0x4f, 0x6e, 0x51, 0x63, 0x47, 0x1e, 0xc1, 0xa6, 0xfe, 0x1a, 0x72, - 0x24, 0xb5, 0x21, 0xfa, 0xdb, 0x35, 0x8e, 0xc6, 0x42, 0xfb, 0x97, 0xbd, 0xd4, 0xc0, 0x81, 0xcf, - 0x03, 0x93, 0x66, 0xaa, 0x03, 0x1f, 0x61, 0x93, 0x19, 0x58, 0xdb, 0x29, 0x0f, 0x3f, 0x08, 0x58, - 0x24, 0x71, 0xf1, 0x55, 0x8f, 0x0f, 0xb0, 0xc9, 0x78, 0x68, 0x3b, 0xe5, 0xf1, 0x71, 0xca, 0x27, - 0xcf, 0x23, 0x8c, 0x44, 0xd5, 0xe3, 0x09, 0x36, 0x19, 0x0f, 0x6d, 0xa7, 0x3c, 0x62, 0xf6, 0x82, - 0x05, 0x12, 0x13, 0x55, 0xd5, 0x83, 0x62, 0x93, 0xf1, 0xd0, 0x76, 0xe4, 0x19, 0xec, 0x4c, 0x98, - 0xa4, 0x42, 0xcc, 0x0e, 0xe7, 0xc7, 0x26, 0xd9, 0xae, 0xa1, 0x6f, 0xb7, 0xe4, 0x7b, 0x5c, 0x31, - 0xd2, 0xbd, 0x2c, 0xf8, 0x92, 0x18, 0xde, 0x16, 0x5c, 0xa9, 0x2c, 0xca, 0x1f, 0x09, 0xce, 0x59, - 0x20, 0xd9, 0x98, 0xb2, 0x4b, 0x4c, 0x7e, 0x9d, 0xfe, 0x83, 0x52, 0xe7, 0x27, 0xd7, 0x79, 0x3c, - 0xb9, 0x45, 0xaf, 0xef, 0x92, 0xfc, 0x1c, 0xba, 0x0b, 0x06, 0x83, 0x30, 0x09, 0xec, 0x61, 0xdb, - 0x38, 0xec, 0x77, 0xae, 0x1f, 0xb6, 0xe2, 0xf4, 0xe4, 0x16, 0x7d, 0x65, 0xc7, 0x26, 0x80, 0xb8, - 0x2d, 0x0f, 0xe7, 0xca, 0x76, 0x38, 0xc0, 0x04, 0x5d, 0x13, 0xc0, 0x92, 0x51, 0x11, 0xc0, 0x92, - 0xfa, 0xb0, 0x0d, 0x6b, 0x91, 0x3f, 0x9f, 0x0a, 0x7f, 0xec, 0xfd, 0x7a, 0x05, 0x20, 0x43, 0x2e, - 0x89, 0x48, 0xbf, 0xc2, 0x75, 0xb7, 0x96, 0xeb, 0xd1, 0x74, 0x6e, 0xb1, 0xfd, 0xb8, 0x9e, 0xed, - 0xdf, 0xbc, 0x8e, 0xed, 0xba, 0x87, 0x0a, 0xdf, 0xfb, 0x15, 0xbe, 0xbb, 0xb5, 0x7c, 0x37, 0x83, - 0x1b, 0xc6, 0xf7, 0x2b, 0x8c, 0x77, 0x6b, 0x19, 0x6f, 0x7c, 0x0c, 0xe7, 0xfb, 0x15, 0xce, 0xbb, - 0xb5, 0x9c, 0x37, 0x3e, 0x86, 0xf5, 0xfd, 0x0a, 0xeb, 0xdd, 0x5a, 0xd6, 0x1b, 0x1f, 0xc3, 0xfb, - 0xd3, 0xa5, 0xbc, 0xf7, 0x5e, 0xc1, 0x7b, 0xdd, 0xcf, 0x22, 0xf3, 0x4f, 0x6b, 0x88, 0xb0, 0x5e, - 0xdf, 0x63, 0x85, 0x08, 0x45, 0x8f, 0x4b, 0xa9, 0xf0, 0x8b, 0x26, 0x6c, 0x21, 0x4c, 0xfa, 0x44, - 0x50, 0xc9, 0xf8, 0x5e, 0x06, 0x6d, 0x56, 0x32, 0xe8, 0xa4, 0x5c, 0x56, 0x92, 0x6f, 0xc3, 0xae, - 0x56, 0x30, 0xad, 0x78, 0x1a, 0x26, 0xea, 0x00, 0x68, 0xf6, 0xda, 0x74, 0xb1, 0x01, 0xeb, 0xc6, - 0x34, 0x91, 0x62, 0x96, 0x9f, 0x61, 0x6d, 0x6a, 0x69, 0xec, 0x8a, 0x6c, 0x65, 0xa1, 0x22, 0x8b, - 0xf5, 0x9a, 0x5b, 0xe6, 0xfa, 0x86, 0x92, 0xf2, 0x90, 0xe1, 0x8c, 0x89, 0x54, 0x9a, 0x7b, 0x55, - 0x26, 0xaa, 0x5a, 0x6d, 0xc6, 0xc6, 0xa1, 0x8f, 0x35, 0xa1, 0xbe, 0x49, 0x15, 0x0a, 0x35, 0x93, - 0xa8, 0xb8, 0x92, 0x99, 0x8a, 0xa9, 0xd0, 0xdc, 0xe0, 0xfa, 0x84, 0x35, 0x76, 0x28, 0xc3, 0xac, - 0x0a, 0xd6, 0x75, 0x6b, 0x49, 0x47, 0x0e, 0x80, 0x9c, 0xa7, 0xc9, 0xfc, 0x69, 0xc8, 0xed, 0xf0, - 0x74, 0x30, 0x3c, 0x35, 0x2d, 0xde, 0x3f, 0x1c, 0xd8, 0xae, 0x1c, 0x2d, 0xaa, 0x22, 0x10, 0x51, - 0x09, 0x82, 0x5c, 0x26, 0xef, 0x02, 0x84, 0x39, 0x6a, 0x66, 0xef, 0x65, 0x35, 0x51, 0x19, 0x4e, - 0x6a, 0x19, 0xd6, 0x5d, 0x83, 0x9a, 0x5f, 0xe8, 0x1a, 0x44, 0x7e, 0x04, 0x9d, 0xa8, 0xc8, 0x59, - 0x66, 0xff, 0x5d, 0x57, 0x8d, 0xd8, 0xe6, 0xde, 0x6f, 0x1c, 0xd8, 0x5d, 0xc8, 0x2a, 0x78, 0xfa, - 0x2b, 0x7e, 0xe6, 0xa7, 0xbf, 0x12, 0x2c, 0xe0, 0x1b, 0x55, 0xe0, 0xeb, 0x2b, 0x8b, 0x25, 0x41, - 0x5f, 0x59, 0x1a, 0xf4, 0x7f, 0x39, 0xb0, 0x57, 0x7f, 0x2c, 0xbf, 0x89, 0xb1, 0xff, 0xbd, 0x03, - 0xee, 0xb2, 0xb4, 0xfc, 0xa5, 0x41, 0x50, 0xf0, 0x3e, 0xaf, 0x6c, 0xde, 0xc4, 0xd8, 0xdf, 0xce, - 0x68, 0x6f, 0x9d, 0x67, 0xde, 0xef, 0x1a, 0xd9, 0xda, 0xf3, 0x1a, 0xed, 0x0d, 0x5c, 0x3b, 0x79, - 0x00, 0x3b, 0x7a, 0x09, 0xd6, 0x4b, 0x58, 0x4b, 0xbf, 0x84, 0x55, 0xf5, 0xde, 0x4f, 0xb3, 0x38, - 0x59, 0x67, 0xf8, 0xff, 0x8b, 0x9b, 0xde, 0x9f, 0x73, 0xae, 0xe5, 0x15, 0xee, 0x6b, 0x19, 0xef, - 0x82, 0x2d, 0x56, 0x55, 0x62, 0xb1, 0x25, 0xaf, 0xb6, 0xbf, 0xea, 0x6c, 0xc9, 0xe3, 0x64, 0x55, - 0x62, 0xde, 0x6f, 0x1d, 0xb8, 0xb3, 0xf4, 0x66, 0x71, 0x6d, 0xc4, 0xac, 0x1a, 0xa4, 0x51, 0xae, - 0x41, 0x2a, 0x4b, 0x6a, 0x7e, 0xb1, 0xcd, 0xff, 0x17, 0x07, 0xee, 0x5e, 0x53, 0xf3, 0x55, 0x90, - 0x72, 0x6e, 0x8a, 0x54, 0x65, 0x52, 0x0d, 0x7c, 0x0d, 0xbd, 0x71, 0x9c, 0x8b, 0xed, 0xd3, 0xb4, - 0xb7, 0x8f, 0xf7, 0x57, 0x07, 0xbe, 0x75, 0x83, 0xbb, 0xd3, 0x97, 0x33, 0xe9, 0xa5, 0x4f, 0xf6, - 0xde, 0xe7, 0x0e, 0xdc, 0xbf, 0xd9, 0xdd, 0xeb, 0x75, 0x9b, 0xf9, 0x67, 0x36, 0x5f, 0xab, 0x17, - 0x39, 0x0b, 0x26, 0xa7, 0x94, 0xe5, 0x6c, 0x1e, 0x37, 0x2a, 0x3c, 0xfe, 0x9f, 0xd8, 0x7a, 0x83, - 0x37, 0xa3, 0x91, 0x45, 0xe7, 0xc5, 0x0b, 0xc7, 0x92, 0x74, 0x6d, 0xa5, 0xe5, 0x46, 0x39, 0x2d, - 0x4f, 0xb3, 0xb2, 0x64, 0xc4, 0x92, 0xc4, 0x9f, 0xb0, 0x0f, 0x92, 0x84, 0xcd, 0xce, 0xa7, 0x58, - 0x02, 0x1f, 0x40, 0x3b, 0xc9, 0x9e, 0x64, 0x2a, 0xcf, 0x8d, 0xf9, 0x53, 0x0d, 0x2d, 0x4c, 0xaa, - 0x93, 0x6f, 0x2c, 0x4e, 0xfe, 0xef, 0x79, 0xb8, 0x17, 0x86, 0xd3, 0x4f, 0x5f, 0xc1, 0x4d, 0x9e, - 0xbe, 0x0a, 0x23, 0x85, 0x50, 0x98, 0x9c, 0xfa, 0x49, 0x62, 0x9e, 0xfd, 0x8d, 0xa4, 0xba, 0x4a, - 0xf2, 0x2b, 0xb6, 0x01, 0x61, 0xb7, 0x32, 0x77, 0xd5, 0x55, 0x61, 0x44, 0x7a, 0xf8, 0xbf, 0x0c, - 0xde, 0x90, 0x74, 0xd6, 0xdc, 0x2a, 0xff, 0xb7, 0x41, 0xb3, 0x66, 0x6f, 0x94, 0x65, 0x3e, 0x93, - 0x51, 0x92, 0x9a, 0xc5, 0x3b, 0x0b, 0x8b, 0x5f, 0x76, 0x66, 0x7a, 0xbf, 0x72, 0x80, 0x54, 0xfb, - 0xfb, 0xef, 0xa2, 0xf1, 0x3e, 0xac, 0xab, 0x3e, 0xf3, 0xcb, 0xe0, 0x8d, 0x6e, 0xbd, 0x34, 0xf7, - 0xe9, 0x7f, 0xe6, 0x00, 0x50, 0x19, 0x9c, 0xb1, 0xf8, 0x2a, 0x0c, 0x18, 0xf9, 0x08, 0xde, 0xaa, - 0x05, 0x8b, 0x94, 0xdf, 0x19, 0x16, 0x99, 0xb3, 0xdf, 0xbd, 0xde, 0x20, 0x89, 0xc8, 0x23, 0xd8, - 0x2a, 0xaf, 0x99, 0xb8, 0x75, 0x53, 0x55, 0xa1, 0xdd, 0xbf, 0xb3, 0xa4, 0x25, 0x89, 0x0e, 0xef, - 0x7e, 0x74, 0xe7, 0x24, 0x62, 0xfc, 0x67, 0xc3, 0xd1, 0xc3, 0xe8, 0xe5, 0xe4, 0x21, 0xda, 0x3d, - 0x8c, 0x65, 0xf0, 0xc3, 0x58, 0x06, 0xe7, 0xab, 0x28, 0x7e, 0xef, 0x3f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x6f, 0x3b, 0x82, 0x8a, 0xfe, 0x1c, 0x00, 0x00, -} diff --git a/tools/data-conversion/proto/rtc/rtc.proto b/tools/data-conversion/proto/rtc/rtc.proto deleted file mode 100644 index e70739574..000000000 --- a/tools/data-conversion/proto/rtc/rtc.proto +++ /dev/null @@ -1,278 +0,0 @@ -syntax = "proto3"; -option go_package = "Open_IM/pkg/proto/rtc;rtc"; -package proto; - -message CommonResp{ - int32 errCode = 1; - string errMsg = 2; -} - -message MsgData { - string sendID = 1; - string recvID = 2; - string groupID = 3; - string clientMsgID = 4; - string serverMsgID = 5; - int32 senderPlatformID = 6; - string senderNickname = 7; - string senderFaceURL = 8; - int32 sessionType = 9; - int32 msgFrom = 10; - int32 contentType = 11; - bytes content = 12; - uint32 seq = 14; - int64 sendTime = 15; - int64 createTime = 16; - int32 status = 17; - map options = 18; - OfflinePushInfo offlinePushInfo = 19; -} - - -message GroupInfo{ - string groupID = 1; - string groupName = 2; - string notification = 3; - string introduction = 4; - string faceURL = 5; - string ownerUserID = 6; - uint32 createTime = 7; - uint32 memberCount = 8; - string ex = 9; - int32 status = 10; - string creatorUserID = 11; - int32 groupType = 12; -} - -message GroupMemberFullInfo { - string groupID = 1 ; - string userID = 2 ; - int32 roleLevel = 3; - int32 joinTime = 4; - string nickname = 5; - string faceURL = 6; - int32 appMangerLevel = 7; //if >0 - int32 joinSource = 8; - string operatorUserID = 9; - string ex = 10; -} - -message ParticipantMetaData{ - GroupInfo groupInfo = 1; - GroupMemberFullInfo groupMemberInfo = 2; - PublicUserInfo userInfo = 3; -} - -message PublicUserInfo{ - string userID = 1; - string nickname = 2; - string faceURL = 3; - int32 gender = 4; - string ex = 5; -} - -message GetJoinTokenReq{ - string room = 1; - string identity = 2; - ParticipantMetaData metaData = 3; - string operationID = 4; -} - -message GetJoinTokenResp{ - CommonResp CommonResp = 1; - string jwt = 2; - string liveURL = 3; -} - -message OfflinePushInfo{ - string title = 1; - string desc = 2; - string ex = 3; - string iOSPushSound = 4; - bool iOSBadgeCount = 5; -} - -message SignalReq { - oneof payload { - SignalInviteReq invite = 1; - SignalInviteInGroupReq inviteInGroup= 2; - SignalCancelReq cancel = 3; - SignalAcceptReq accept = 4; - SignalHungUpReq hungUp = 5; - SignalRejectReq reject = 6; - SignalGetRoomByGroupIDReq getRoomByGroupID = 7; - - SignalOnRoomParticipantConnectedReq onRoomParticipantConnectedReq = 8; - SignalOnRoomParticipantDisconnectedReq onRoomParticipantDisconnectedReq = 9; - SignalGetTokenByRoomIDReq getTokenByRoomID = 10; - } -} - -message SignalResp { - oneof payload { - SignalInviteReply invite = 1; - SignalInviteInGroupReply inviteInGroup= 2; - SignalCancelReply cancel = 3; - SignalAcceptReply accept = 4; - SignalHungUpReply hungUp = 5; - SignalRejectReply reject = 6; - SignalGetRoomByGroupIDReply getRoomByGroupID = 7; - SignalGetTokenByRoomIDReply getTokenByRoomID = 8; - } -} - -message InvitationInfo { - string inviterUserID = 1; - repeated string inviteeUserIDList = 2; - string customData = 3; - string groupID = 4; - string roomID = 5; - int32 timeout = 6; - string mediaType = 7; - int32 platformID = 8; - int32 sessionType = 9; - int32 initiateTime = 10; - repeated string busyLineUserIDList = 11; -} - - -message SignalInviteReq { - string opUserID = 1; - InvitationInfo invitation = 2; - OfflinePushInfo offlinePushInfo = 3; - ParticipantMetaData participant = 4; - -} - -message SignalInviteReply { - string token = 1; - string roomID = 2; - string liveURL = 3; - repeated string busyLineUserIDList = 4; -} - -message SignalInviteInGroupReq { - string opUserID = 1; - InvitationInfo invitation = 2; - OfflinePushInfo offlinePushInfo = 3; - ParticipantMetaData participant = 4; -} - -message SignalInviteInGroupReply { - string token = 1; - string roomID = 2; - string liveURL = 3; - repeated string busyLineUserIDList = 4; -} - -message SignalCancelReq { - string opUserID = 1; - InvitationInfo invitation = 2; - OfflinePushInfo offlinePushInfo = 3; - ParticipantMetaData participant = 4; -} - -message SignalCancelReply { - -} - -message SignalAcceptReq { - string opUserID = 1; - InvitationInfo invitation = 2; - OfflinePushInfo offlinePushInfo = 3; - ParticipantMetaData participant = 4; - int32 opUserPlatformID = 5; -} - -message SignalAcceptReply { - string token = 1; - string roomID = 2; - string liveURL = 3; -} - -message SignalHungUpReq { - string opUserID = 1; - InvitationInfo invitation = 2; - OfflinePushInfo offlinePushInfo = 3; -} - -message SignalHungUpReply { - -} - - -message SignalRejectReq { - string opUserID = 1; - InvitationInfo invitation = 2; - OfflinePushInfo offlinePushInfo = 3; - ParticipantMetaData participant = 4; - int32 opUserPlatformID = 5; -} - -message SignalRejectReply { - -} - -message SignalGetRoomByGroupIDReq { - string opUserID = 1; - string groupID = 2; - ParticipantMetaData participant = 3; -} - -message SignalGetRoomByGroupIDReply { - InvitationInfo invitation = 1; - repeated ParticipantMetaData participant = 2; - string roomID = 3; -} - -message SignalOnRoomParticipantConnectedReq { - InvitationInfo invitation = 1; - repeated ParticipantMetaData participant = 2; - string groupID = 3; -} - -message SignalOnRoomParticipantDisconnectedReq { - InvitationInfo invitation = 1; - repeated ParticipantMetaData participant = 2; - string groupID = 3; -} - -message SignalGetTokenByRoomIDReq { - string roomID = 1; - string opUserID = 2; - ParticipantMetaData participant = 3; - string operationID = 4; -} - -message SignalGetTokenByRoomIDReply { - string token = 1; - string liveURL = 2; -} - - -message SignalMessageAssembleReq { - SignalReq signalReq = 1; - string operationID = 2; -} - -message SignalMessageAssembleResp { - CommonResp commonResp = 1; - bool isPass = 2; - SignalResp signalResp = 3; - MsgData msgData = 4; -} - -message SignalGetRoomsReq { - string operationID = 1; - string roomID = 2; -} - -message SignalGetRoomsResp { - CommonResp commonResp = 1; - repeated SignalGetRoomByGroupIDReply roomList = 2; -} - -service RtcService { - rpc SignalMessageAssemble(SignalMessageAssembleReq) returns(SignalMessageAssembleResp); - rpc SignalGetRooms(SignalGetRoomsReq) returns(SignalGetRoomsResp); -} diff --git a/tools/data-conversion/proto/user/user.pb.go b/tools/data-conversion/proto/user/user.pb.go deleted file mode 100644 index bf66bccff..000000000 --- a/tools/data-conversion/proto/user/user.pb.go +++ /dev/null @@ -1,3733 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.15.5 -// source: user/user.proto - -package user - -import ( - conversation "Open_IM/pkg/proto/conversation" - sdk_ws "Open_IM/pkg/proto/sdk_ws" - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type CommonResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` -} - -func (x *CommonResp) Reset() { - *x = CommonResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommonResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommonResp) ProtoMessage() {} - -func (x *CommonResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommonResp.ProtoReflect.Descriptor instead. -func (*CommonResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{0} -} - -func (x *CommonResp) GetErrCode() int32 { - if x != nil { - return x.ErrCode - } - return 0 -} - -func (x *CommonResp) GetErrMsg() string { - if x != nil { - return x.ErrMsg - } - return "" -} - -type GetAllUserIDReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OpUserID string `protobuf:"bytes,1,opt,name=opUserID,proto3" json:"opUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *GetAllUserIDReq) Reset() { - *x = GetAllUserIDReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAllUserIDReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAllUserIDReq) ProtoMessage() {} - -func (x *GetAllUserIDReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetAllUserIDReq.ProtoReflect.Descriptor instead. -func (*GetAllUserIDReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{1} -} - -func (x *GetAllUserIDReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *GetAllUserIDReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetAllUserIDResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` - UserIDList []string `protobuf:"bytes,2,rep,name=UserIDList,proto3" json:"UserIDList,omitempty"` -} - -func (x *GetAllUserIDResp) Reset() { - *x = GetAllUserIDResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAllUserIDResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAllUserIDResp) ProtoMessage() {} - -func (x *GetAllUserIDResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetAllUserIDResp.ProtoReflect.Descriptor instead. -func (*GetAllUserIDResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{2} -} - -func (x *GetAllUserIDResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetAllUserIDResp) GetUserIDList() []string { - if x != nil { - return x.UserIDList - } - return nil -} - -type AccountCheckReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CheckUserIDList []string `protobuf:"bytes,1,rep,name=CheckUserIDList,proto3" json:"CheckUserIDList,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *AccountCheckReq) Reset() { - *x = AccountCheckReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AccountCheckReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AccountCheckReq) ProtoMessage() {} - -func (x *AccountCheckReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AccountCheckReq.ProtoReflect.Descriptor instead. -func (*AccountCheckReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{3} -} - -func (x *AccountCheckReq) GetCheckUserIDList() []string { - if x != nil { - return x.CheckUserIDList - } - return nil -} - -func (x *AccountCheckReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *AccountCheckReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type AccountCheckResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - ResultList []*AccountCheckResp_SingleUserStatus `protobuf:"bytes,2,rep,name=ResultList,proto3" json:"ResultList,omitempty"` -} - -func (x *AccountCheckResp) Reset() { - *x = AccountCheckResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AccountCheckResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AccountCheckResp) ProtoMessage() {} - -func (x *AccountCheckResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AccountCheckResp.ProtoReflect.Descriptor instead. -func (*AccountCheckResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{4} -} - -func (x *AccountCheckResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *AccountCheckResp) GetResultList() []*AccountCheckResp_SingleUserStatus { - if x != nil { - return x.ResultList - } - return nil -} - -type GetUserInfoReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *GetUserInfoReq) Reset() { - *x = GetUserInfoReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserInfoReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserInfoReq) ProtoMessage() {} - -func (x *GetUserInfoReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserInfoReq.ProtoReflect.Descriptor instead. -func (*GetUserInfoReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{5} -} - -func (x *GetUserInfoReq) GetUserIDList() []string { - if x != nil { - return x.UserIDList - } - return nil -} - -func (x *GetUserInfoReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *GetUserInfoReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetUserInfoResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - UserInfoList []*sdk_ws.UserInfo `protobuf:"bytes,3,rep,name=UserInfoList,proto3" json:"UserInfoList,omitempty"` -} - -func (x *GetUserInfoResp) Reset() { - *x = GetUserInfoResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUserInfoResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserInfoResp) ProtoMessage() {} - -func (x *GetUserInfoResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUserInfoResp.ProtoReflect.Descriptor instead. -func (*GetUserInfoResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{6} -} - -func (x *GetUserInfoResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetUserInfoResp) GetUserInfoList() []*sdk_ws.UserInfo { - if x != nil { - return x.UserInfoList - } - return nil -} - -type UpdateUserInfoReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=UserInfo,proto3" json:"UserInfo,omitempty"` - OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *UpdateUserInfoReq) Reset() { - *x = UpdateUserInfoReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateUserInfoReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserInfoReq) ProtoMessage() {} - -func (x *UpdateUserInfoReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateUserInfoReq.ProtoReflect.Descriptor instead. -func (*UpdateUserInfoReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{7} -} - -func (x *UpdateUserInfoReq) GetUserInfo() *sdk_ws.UserInfo { - if x != nil { - return x.UserInfo - } - return nil -} - -func (x *UpdateUserInfoReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -func (x *UpdateUserInfoReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type UpdateUserInfoResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *UpdateUserInfoResp) Reset() { - *x = UpdateUserInfoResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateUserInfoResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserInfoResp) ProtoMessage() {} - -func (x *UpdateUserInfoResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateUserInfoResp.ProtoReflect.Descriptor instead. -func (*UpdateUserInfoResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{8} -} - -func (x *UpdateUserInfoResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type SetGlobalRecvMessageOptReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - GlobalRecvMsgOpt int32 `protobuf:"varint,3,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt,omitempty"` -} - -func (x *SetGlobalRecvMessageOptReq) Reset() { - *x = SetGlobalRecvMessageOptReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetGlobalRecvMessageOptReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetGlobalRecvMessageOptReq) ProtoMessage() {} - -func (x *SetGlobalRecvMessageOptReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetGlobalRecvMessageOptReq.ProtoReflect.Descriptor instead. -func (*SetGlobalRecvMessageOptReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{9} -} - -func (x *SetGlobalRecvMessageOptReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *SetGlobalRecvMessageOptReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *SetGlobalRecvMessageOptReq) GetGlobalRecvMsgOpt() int32 { - if x != nil { - return x.GlobalRecvMsgOpt - } - return 0 -} - -type SetGlobalRecvMessageOptResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *SetGlobalRecvMessageOptResp) Reset() { - *x = SetGlobalRecvMessageOptResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetGlobalRecvMessageOptResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetGlobalRecvMessageOptResp) ProtoMessage() {} - -func (x *SetGlobalRecvMessageOptResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetGlobalRecvMessageOptResp.ProtoReflect.Descriptor instead. -func (*SetGlobalRecvMessageOptResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{10} -} - -func (x *SetGlobalRecvMessageOptResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type SetConversationReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Conversation *conversation.Conversation `protobuf:"bytes,1,opt,name=Conversation,proto3" json:"Conversation,omitempty"` - NotificationType int32 `protobuf:"varint,2,opt,name=notificationType,proto3" json:"notificationType,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *SetConversationReq) Reset() { - *x = SetConversationReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetConversationReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetConversationReq) ProtoMessage() {} - -func (x *SetConversationReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetConversationReq.ProtoReflect.Descriptor instead. -func (*SetConversationReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{11} -} - -func (x *SetConversationReq) GetConversation() *conversation.Conversation { - if x != nil { - return x.Conversation - } - return nil -} - -func (x *SetConversationReq) GetNotificationType() int32 { - if x != nil { - return x.NotificationType - } - return 0 -} - -func (x *SetConversationReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type SetConversationResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *SetConversationResp) Reset() { - *x = SetConversationResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetConversationResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetConversationResp) ProtoMessage() {} - -func (x *SetConversationResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetConversationResp.ProtoReflect.Descriptor instead. -func (*SetConversationResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{12} -} - -func (x *SetConversationResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type SetRecvMsgOptReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"` - ConversationID string `protobuf:"bytes,2,opt,name=ConversationID,proto3" json:"ConversationID,omitempty"` - RecvMsgOpt int32 `protobuf:"varint,3,opt,name=RecvMsgOpt,proto3" json:"RecvMsgOpt,omitempty"` - NotificationType int32 `protobuf:"varint,4,opt,name=notificationType,proto3" json:"notificationType,omitempty"` - OperationID string `protobuf:"bytes,5,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *SetRecvMsgOptReq) Reset() { - *x = SetRecvMsgOptReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetRecvMsgOptReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetRecvMsgOptReq) ProtoMessage() {} - -func (x *SetRecvMsgOptReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetRecvMsgOptReq.ProtoReflect.Descriptor instead. -func (*SetRecvMsgOptReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{13} -} - -func (x *SetRecvMsgOptReq) GetOwnerUserID() string { - if x != nil { - return x.OwnerUserID - } - return "" -} - -func (x *SetRecvMsgOptReq) GetConversationID() string { - if x != nil { - return x.ConversationID - } - return "" -} - -func (x *SetRecvMsgOptReq) GetRecvMsgOpt() int32 { - if x != nil { - return x.RecvMsgOpt - } - return 0 -} - -func (x *SetRecvMsgOptReq) GetNotificationType() int32 { - if x != nil { - return x.NotificationType - } - return 0 -} - -func (x *SetRecvMsgOptReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type SetRecvMsgOptResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` -} - -func (x *SetRecvMsgOptResp) Reset() { - *x = SetRecvMsgOptResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetRecvMsgOptResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetRecvMsgOptResp) ProtoMessage() {} - -func (x *SetRecvMsgOptResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetRecvMsgOptResp.ProtoReflect.Descriptor instead. -func (*SetRecvMsgOptResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{14} -} - -func (x *SetRecvMsgOptResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type GetConversationReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ConversationID string `protobuf:"bytes,1,opt,name=ConversationID,proto3" json:"ConversationID,omitempty"` - OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *GetConversationReq) Reset() { - *x = GetConversationReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetConversationReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetConversationReq) ProtoMessage() {} - -func (x *GetConversationReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetConversationReq.ProtoReflect.Descriptor instead. -func (*GetConversationReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{15} -} - -func (x *GetConversationReq) GetConversationID() string { - if x != nil { - return x.ConversationID - } - return "" -} - -func (x *GetConversationReq) GetOwnerUserID() string { - if x != nil { - return x.OwnerUserID - } - return "" -} - -func (x *GetConversationReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetConversationResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - Conversation *conversation.Conversation `protobuf:"bytes,2,opt,name=Conversation,proto3" json:"Conversation,omitempty"` -} - -func (x *GetConversationResp) Reset() { - *x = GetConversationResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetConversationResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetConversationResp) ProtoMessage() {} - -func (x *GetConversationResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetConversationResp.ProtoReflect.Descriptor instead. -func (*GetConversationResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{16} -} - -func (x *GetConversationResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetConversationResp) GetConversation() *conversation.Conversation { - if x != nil { - return x.Conversation - } - return nil -} - -type GetConversationsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"` - ConversationIDs []string `protobuf:"bytes,2,rep,name=ConversationIDs,proto3" json:"ConversationIDs,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *GetConversationsReq) Reset() { - *x = GetConversationsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetConversationsReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetConversationsReq) ProtoMessage() {} - -func (x *GetConversationsReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetConversationsReq.ProtoReflect.Descriptor instead. -func (*GetConversationsReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{17} -} - -func (x *GetConversationsReq) GetOwnerUserID() string { - if x != nil { - return x.OwnerUserID - } - return "" -} - -func (x *GetConversationsReq) GetConversationIDs() []string { - if x != nil { - return x.ConversationIDs - } - return nil -} - -func (x *GetConversationsReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetConversationsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=Conversations,proto3" json:"Conversations,omitempty"` -} - -func (x *GetConversationsResp) Reset() { - *x = GetConversationsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetConversationsResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetConversationsResp) ProtoMessage() {} - -func (x *GetConversationsResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetConversationsResp.ProtoReflect.Descriptor instead. -func (*GetConversationsResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{18} -} - -func (x *GetConversationsResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetConversationsResp) GetConversations() []*conversation.Conversation { - if x != nil { - return x.Conversations - } - return nil -} - -type GetAllConversationsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *GetAllConversationsReq) Reset() { - *x = GetAllConversationsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAllConversationsReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAllConversationsReq) ProtoMessage() {} - -func (x *GetAllConversationsReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetAllConversationsReq.ProtoReflect.Descriptor instead. -func (*GetAllConversationsReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{19} -} - -func (x *GetAllConversationsReq) GetOwnerUserID() string { - if x != nil { - return x.OwnerUserID - } - return "" -} - -func (x *GetAllConversationsReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type GetAllConversationsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=Conversations,proto3" json:"Conversations,omitempty"` -} - -func (x *GetAllConversationsResp) Reset() { - *x = GetAllConversationsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAllConversationsResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAllConversationsResp) ProtoMessage() {} - -func (x *GetAllConversationsResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetAllConversationsResp.ProtoReflect.Descriptor instead. -func (*GetAllConversationsResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{20} -} - -func (x *GetAllConversationsResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetAllConversationsResp) GetConversations() []*conversation.Conversation { - if x != nil { - return x.Conversations - } - return nil -} - -type BatchSetConversationsReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Conversations []*conversation.Conversation `protobuf:"bytes,1,rep,name=Conversations,proto3" json:"Conversations,omitempty"` - OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"` - NotificationType int32 `protobuf:"varint,3,opt,name=notificationType,proto3" json:"notificationType,omitempty"` - OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID,omitempty"` -} - -func (x *BatchSetConversationsReq) Reset() { - *x = BatchSetConversationsReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BatchSetConversationsReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchSetConversationsReq) ProtoMessage() {} - -func (x *BatchSetConversationsReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchSetConversationsReq.ProtoReflect.Descriptor instead. -func (*BatchSetConversationsReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{21} -} - -func (x *BatchSetConversationsReq) GetConversations() []*conversation.Conversation { - if x != nil { - return x.Conversations - } - return nil -} - -func (x *BatchSetConversationsReq) GetOwnerUserID() string { - if x != nil { - return x.OwnerUserID - } - return "" -} - -func (x *BatchSetConversationsReq) GetNotificationType() int32 { - if x != nil { - return x.NotificationType - } - return 0 -} - -func (x *BatchSetConversationsReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type BatchSetConversationsResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - Success []string `protobuf:"bytes,2,rep,name=Success,proto3" json:"Success,omitempty"` - Failed []string `protobuf:"bytes,3,rep,name=Failed,proto3" json:"Failed,omitempty"` -} - -func (x *BatchSetConversationsResp) Reset() { - *x = BatchSetConversationsResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BatchSetConversationsResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchSetConversationsResp) ProtoMessage() {} - -func (x *BatchSetConversationsResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BatchSetConversationsResp.ProtoReflect.Descriptor instead. -func (*BatchSetConversationsResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{22} -} - -func (x *BatchSetConversationsResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *BatchSetConversationsResp) GetSuccess() []string { - if x != nil { - return x.Success - } - return nil -} - -func (x *BatchSetConversationsResp) GetFailed() []string { - if x != nil { - return x.Failed - } - return nil -} - -type GetUsersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OperationID string `protobuf:"bytes,1,opt,name=operationID,proto3" json:"operationID,omitempty"` - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` - UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"` - UserID string `protobuf:"bytes,4,opt,name=userID,proto3" json:"userID,omitempty"` - Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` -} - -func (x *GetUsersReq) Reset() { - *x = GetUsersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUsersReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUsersReq) ProtoMessage() {} - -func (x *GetUsersReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUsersReq.ProtoReflect.Descriptor instead. -func (*GetUsersReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{23} -} - -func (x *GetUsersReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *GetUsersReq) GetPagination() *sdk_ws.RequestPagination { - if x != nil { - return x.Pagination - } - return nil -} - -func (x *GetUsersReq) GetUserName() string { - if x != nil { - return x.UserName - } - return "" -} - -func (x *GetUsersReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetUsersReq) GetContent() string { - if x != nil { - return x.Content - } - return "" -} - -type CmsUser struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - User *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - IsBlock bool `protobuf:"varint,2,opt,name=isBlock,proto3" json:"isBlock,omitempty"` -} - -func (x *CmsUser) Reset() { - *x = CmsUser{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CmsUser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CmsUser) ProtoMessage() {} - -func (x *CmsUser) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CmsUser.ProtoReflect.Descriptor instead. -func (*CmsUser) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{24} -} - -func (x *CmsUser) GetUser() *sdk_ws.UserInfo { - if x != nil { - return x.User - } - return nil -} - -func (x *CmsUser) GetIsBlock() bool { - if x != nil { - return x.IsBlock - } - return false -} - -type GetUsersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"` - UserList []*CmsUser `protobuf:"bytes,2,rep,name=userList,proto3" json:"userList,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,3,opt,name=Pagination,proto3" json:"Pagination,omitempty"` - TotalNums int32 `protobuf:"varint,4,opt,name=totalNums,proto3" json:"totalNums,omitempty"` -} - -func (x *GetUsersResp) Reset() { - *x = GetUsersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetUsersResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUsersResp) ProtoMessage() {} - -func (x *GetUsersResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetUsersResp.ProtoReflect.Descriptor instead. -func (*GetUsersResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{25} -} - -func (x *GetUsersResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetUsersResp) GetUserList() []*CmsUser { - if x != nil { - return x.UserList - } - return nil -} - -func (x *GetUsersResp) GetPagination() *sdk_ws.ResponsePagination { - if x != nil { - return x.Pagination - } - return nil -} - -func (x *GetUsersResp) GetTotalNums() int32 { - if x != nil { - return x.TotalNums - } - return 0 -} - -type AddUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` -} - -func (x *AddUserReq) Reset() { - *x = AddUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddUserReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddUserReq) ProtoMessage() {} - -func (x *AddUserReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddUserReq.ProtoReflect.Descriptor instead. -func (*AddUserReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{26} -} - -func (x *AddUserReq) GetUserInfo() *sdk_ws.UserInfo { - if x != nil { - return x.UserInfo - } - return nil -} - -func (x *AddUserReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -type AddUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *AddUserResp) Reset() { - *x = AddUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddUserResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddUserResp) ProtoMessage() {} - -func (x *AddUserResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddUserResp.ProtoReflect.Descriptor instead. -func (*AddUserResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{27} -} - -func (x *AddUserResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type BlockUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - EndDisableTime string `protobuf:"bytes,2,opt,name=endDisableTime,proto3" json:"endDisableTime,omitempty"` - OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,4,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *BlockUserReq) Reset() { - *x = BlockUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BlockUserReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BlockUserReq) ProtoMessage() {} - -func (x *BlockUserReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BlockUserReq.ProtoReflect.Descriptor instead. -func (*BlockUserReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{28} -} - -func (x *BlockUserReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *BlockUserReq) GetEndDisableTime() string { - if x != nil { - return x.EndDisableTime - } - return "" -} - -func (x *BlockUserReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *BlockUserReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type BlockUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *BlockUserResp) Reset() { - *x = BlockUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BlockUserResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BlockUserResp) ProtoMessage() {} - -func (x *BlockUserResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BlockUserResp.ProtoReflect.Descriptor instead. -func (*BlockUserResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{29} -} - -func (x *BlockUserResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type UnBlockUserReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID,omitempty"` -} - -func (x *UnBlockUserReq) Reset() { - *x = UnBlockUserReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnBlockUserReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnBlockUserReq) ProtoMessage() {} - -func (x *UnBlockUserReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnBlockUserReq.ProtoReflect.Descriptor instead. -func (*UnBlockUserReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{30} -} - -func (x *UnBlockUserReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *UnBlockUserReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *UnBlockUserReq) GetOpUserID() string { - if x != nil { - return x.OpUserID - } - return "" -} - -type UnBlockUserResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` -} - -func (x *UnBlockUserResp) Reset() { - *x = UnBlockUserResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnBlockUserResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnBlockUserResp) ProtoMessage() {} - -func (x *UnBlockUserResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnBlockUserResp.ProtoReflect.Descriptor instead. -func (*UnBlockUserResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{31} -} - -func (x *UnBlockUserResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -type GetBlockUsersReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Pagination *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` - OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` - UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"` - TotalBlockUserNum int32 `protobuf:"varint,4,opt,name=totalBlockUserNum,proto3" json:"totalBlockUserNum,omitempty"` -} - -func (x *GetBlockUsersReq) Reset() { - *x = GetBlockUsersReq{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlockUsersReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlockUsersReq) ProtoMessage() {} - -func (x *GetBlockUsersReq) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlockUsersReq.ProtoReflect.Descriptor instead. -func (*GetBlockUsersReq) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{32} -} - -func (x *GetBlockUsersReq) GetPagination() *sdk_ws.RequestPagination { - if x != nil { - return x.Pagination - } - return nil -} - -func (x *GetBlockUsersReq) GetOperationID() string { - if x != nil { - return x.OperationID - } - return "" -} - -func (x *GetBlockUsersReq) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *GetBlockUsersReq) GetTotalBlockUserNum() int32 { - if x != nil { - return x.TotalBlockUserNum - } - return 0 -} - -type BlockUser struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserInfo *sdk_ws.UserInfo `protobuf:"bytes,1,opt,name=UserInfo,proto3" json:"UserInfo,omitempty"` - BeginDisableTime string `protobuf:"bytes,2,opt,name=BeginDisableTime,proto3" json:"BeginDisableTime,omitempty"` - EndDisableTime string `protobuf:"bytes,3,opt,name=EndDisableTime,proto3" json:"EndDisableTime,omitempty"` -} - -func (x *BlockUser) Reset() { - *x = BlockUser{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BlockUser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BlockUser) ProtoMessage() {} - -func (x *BlockUser) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BlockUser.ProtoReflect.Descriptor instead. -func (*BlockUser) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{33} -} - -func (x *BlockUser) GetUserInfo() *sdk_ws.UserInfo { - if x != nil { - return x.UserInfo - } - return nil -} - -func (x *BlockUser) GetBeginDisableTime() string { - if x != nil { - return x.BeginDisableTime - } - return "" -} - -func (x *BlockUser) GetEndDisableTime() string { - if x != nil { - return x.EndDisableTime - } - return "" -} - -type GetBlockUsersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` - BlockUsers []*BlockUser `protobuf:"bytes,2,rep,name=BlockUsers,proto3" json:"BlockUsers,omitempty"` - Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,3,opt,name=Pagination,proto3" json:"Pagination,omitempty"` - UserNums int32 `protobuf:"varint,4,opt,name=UserNums,proto3" json:"UserNums,omitempty"` -} - -func (x *GetBlockUsersResp) Reset() { - *x = GetBlockUsersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlockUsersResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlockUsersResp) ProtoMessage() {} - -func (x *GetBlockUsersResp) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlockUsersResp.ProtoReflect.Descriptor instead. -func (*GetBlockUsersResp) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{34} -} - -func (x *GetBlockUsersResp) GetCommonResp() *CommonResp { - if x != nil { - return x.CommonResp - } - return nil -} - -func (x *GetBlockUsersResp) GetBlockUsers() []*BlockUser { - if x != nil { - return x.BlockUsers - } - return nil -} - -func (x *GetBlockUsersResp) GetPagination() *sdk_ws.ResponsePagination { - if x != nil { - return x.Pagination - } - return nil -} - -func (x *GetBlockUsersResp) GetUserNums() int32 { - if x != nil { - return x.UserNums - } - return 0 -} - -type AccountCheckResp_SingleUserStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` - AccountStatus string `protobuf:"bytes,2,opt,name=accountStatus,proto3" json:"accountStatus,omitempty"` -} - -func (x *AccountCheckResp_SingleUserStatus) Reset() { - *x = AccountCheckResp_SingleUserStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_user_user_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AccountCheckResp_SingleUserStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AccountCheckResp_SingleUserStatus) ProtoMessage() {} - -func (x *AccountCheckResp_SingleUserStatus) ProtoReflect() protoreflect.Message { - mi := &file_user_user_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AccountCheckResp_SingleUserStatus.ProtoReflect.Descriptor instead. -func (*AccountCheckResp_SingleUserStatus) Descriptor() ([]byte, []int) { - return file_user_user_proto_rawDescGZIP(), []int{4, 0} -} - -func (x *AccountCheckResp_SingleUserStatus) GetUserID() string { - if x != nil { - return x.UserID - } - return "" -} - -func (x *AccountCheckResp_SingleUserStatus) GetAccountStatus() string { - if x != nil { - return x.AccountStatus - } - return "" -} - -var File_user_user_proto protoreflect.FileDescriptor - -var file_user_user_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x04, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x28, 0x4f, 0x70, 0x65, 0x6e, 0x2d, 0x49, 0x4d, - 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x5f, 0x77, 0x73, 0x2f, 0x77, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x38, 0x4f, 0x70, 0x65, 0x6e, 0x2d, 0x49, 0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x76, - 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x0a, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x72, 0x72, - 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, - 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x4f, 0x0a, 0x0f, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x1a, - 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x64, 0x0a, 0x10, - 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, - 0x73, 0x74, 0x22, 0x79, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xdf, 0x01, - 0x0a, 0x10, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x47, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4c, 0x69, - 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x0a, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x50, 0x0a, - 0x10, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, - 0x6e, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, - 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, - 0x84, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3f, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, - 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, - 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x37, 0x0a, 0x08, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x22, 0x46, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, - 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, - 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x82, 0x01, 0x0a, 0x1a, - 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, - 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, - 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, - 0x22, 0x4f, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, - 0x76, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x3e, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x76, - 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x43, 0x6f, 0x6e, 0x76, - 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x6f, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x47, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, - 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, - 0xca, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, - 0x74, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, - 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, - 0x0a, 0x0a, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0a, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x12, 0x2a, - 0x0a, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x45, 0x0a, 0x11, - 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x22, 0x80, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, - 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x87, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, - 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x3e, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x83, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, - 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, - 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x0f, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x8a, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x30, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, - 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, - 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, - 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, - 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x22, 0x8d, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, - 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, - 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x40, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0xcc, 0x01, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x12, 0x40, - 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6e, 0x6f, - 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, - 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, - 0x22, 0x7f, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, - 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, - 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x18, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x46, 0x61, 0x69, - 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x46, 0x61, 0x69, 0x6c, 0x65, - 0x64, 0x22, 0xc3, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, - 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x12, 0x44, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, - 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x54, 0x0a, 0x07, 0x43, 0x6d, 0x73, 0x55, 0x73, - 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75, - 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0xd0, 0x01, - 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, - 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x29, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6d, 0x73, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x0a, 0x50, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x73, - 0x22, 0x67, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x37, - 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x3f, 0x0a, 0x0b, 0x41, 0x64, 0x64, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, - 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x6e, 0x64, - 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, - 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x41, 0x0a, 0x0d, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, - 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x66, 0x0a, 0x0e, - 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, - 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x22, 0x43, 0x0a, 0x0f, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, - 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0xc0, 0x01, 0x0a, 0x10, 0x47, 0x65, - 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x44, - 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x2c, - 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, - 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x22, 0x98, 0x01, 0x0a, - 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x08, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x10, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x42, - 0x65, 0x67, 0x69, 0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x26, 0x0a, 0x0e, 0x45, 0x6e, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x45, 0x6e, 0x64, 0x44, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xd9, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, - 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x2f, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, - 0x12, 0x45, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, - 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x50, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e, - 0x75, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4e, - 0x75, 0x6d, 0x73, 0x32, 0xc7, 0x08, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x0b, - 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x2e, 0x75, 0x73, - 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x71, 0x1a, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x43, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x2e, 0x75, 0x73, 0x65, - 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5e, 0x0a, - 0x17, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x12, 0x20, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, - 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x75, 0x73, 0x65, - 0x72, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x63, 0x76, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3d, 0x0a, - 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x15, 0x2e, - 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3d, 0x0a, 0x0c, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x15, 0x2e, 0x75, - 0x73, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0f, 0x47, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, - 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, - 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x12, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, - 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x2e, 0x75, 0x73, 0x65, - 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, - 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x2e, 0x75, 0x73, - 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x12, 0x58, 0x0a, 0x15, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x2e, 0x75, 0x73, - 0x65, 0x72, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, - 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x75, 0x73, - 0x65, 0x72, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, - 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0f, - 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x18, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, - 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x75, 0x73, 0x65, 0x72, - 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x4d, - 0x73, 0x67, 0x4f, 0x70, 0x74, 0x12, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x74, - 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, - 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x76, 0x4d, 0x73, 0x67, 0x4f, - 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x73, 0x12, 0x11, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2e, 0x0a, 0x07, 0x41, 0x64, 0x64, - 0x55, 0x73, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, - 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x09, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12, 0x12, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x75, 0x73, 0x65, - 0x72, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x3a, 0x0a, 0x0b, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12, 0x14, - 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x47, - 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x75, - 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, - 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x1d, 0x5a, - 0x1b, 0x4f, 0x70, 0x65, 0x6e, 0x5f, 0x49, 0x4d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_user_user_proto_rawDescOnce sync.Once - file_user_user_proto_rawDescData = file_user_user_proto_rawDesc -) - -func file_user_user_proto_rawDescGZIP() []byte { - file_user_user_proto_rawDescOnce.Do(func() { - file_user_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_user_user_proto_rawDescData) - }) - return file_user_user_proto_rawDescData -} - -var file_user_user_proto_msgTypes = make([]protoimpl.MessageInfo, 36) -var file_user_user_proto_goTypes = []interface{}{ - (*CommonResp)(nil), // 0: user.CommonResp - (*GetAllUserIDReq)(nil), // 1: user.GetAllUserIDReq - (*GetAllUserIDResp)(nil), // 2: user.GetAllUserIDResp - (*AccountCheckReq)(nil), // 3: user.AccountCheckReq - (*AccountCheckResp)(nil), // 4: user.AccountCheckResp - (*GetUserInfoReq)(nil), // 5: user.GetUserInfoReq - (*GetUserInfoResp)(nil), // 6: user.GetUserInfoResp - (*UpdateUserInfoReq)(nil), // 7: user.UpdateUserInfoReq - (*UpdateUserInfoResp)(nil), // 8: user.UpdateUserInfoResp - (*SetGlobalRecvMessageOptReq)(nil), // 9: user.SetGlobalRecvMessageOptReq - (*SetGlobalRecvMessageOptResp)(nil), // 10: user.SetGlobalRecvMessageOptResp - (*SetConversationReq)(nil), // 11: user.SetConversationReq - (*SetConversationResp)(nil), // 12: user.SetConversationResp - (*SetRecvMsgOptReq)(nil), // 13: user.SetRecvMsgOptReq - (*SetRecvMsgOptResp)(nil), // 14: user.SetRecvMsgOptResp - (*GetConversationReq)(nil), // 15: user.GetConversationReq - (*GetConversationResp)(nil), // 16: user.GetConversationResp - (*GetConversationsReq)(nil), // 17: user.GetConversationsReq - (*GetConversationsResp)(nil), // 18: user.GetConversationsResp - (*GetAllConversationsReq)(nil), // 19: user.GetAllConversationsReq - (*GetAllConversationsResp)(nil), // 20: user.GetAllConversationsResp - (*BatchSetConversationsReq)(nil), // 21: user.BatchSetConversationsReq - (*BatchSetConversationsResp)(nil), // 22: user.BatchSetConversationsResp - (*GetUsersReq)(nil), // 23: user.GetUsersReq - (*CmsUser)(nil), // 24: user.CmsUser - (*GetUsersResp)(nil), // 25: user.GetUsersResp - (*AddUserReq)(nil), // 26: user.AddUserReq - (*AddUserResp)(nil), // 27: user.AddUserResp - (*BlockUserReq)(nil), // 28: user.BlockUserReq - (*BlockUserResp)(nil), // 29: user.BlockUserResp - (*UnBlockUserReq)(nil), // 30: user.UnBlockUserReq - (*UnBlockUserResp)(nil), // 31: user.UnBlockUserResp - (*GetBlockUsersReq)(nil), // 32: user.GetBlockUsersReq - (*BlockUser)(nil), // 33: user.BlockUser - (*GetBlockUsersResp)(nil), // 34: user.GetBlockUsersResp - (*AccountCheckResp_SingleUserStatus)(nil), // 35: user.AccountCheckResp.SingleUserStatus - (*sdk_ws.UserInfo)(nil), // 36: server_api_params.UserInfo - (*conversation.Conversation)(nil), // 37: conversation.Conversation - (*sdk_ws.RequestPagination)(nil), // 38: server_api_params.RequestPagination - (*sdk_ws.ResponsePagination)(nil), // 39: server_api_params.ResponsePagination -} -var file_user_user_proto_depIdxs = []int32{ - 0, // 0: user.GetAllUserIDResp.CommonResp:type_name -> user.CommonResp - 0, // 1: user.AccountCheckResp.commonResp:type_name -> user.CommonResp - 35, // 2: user.AccountCheckResp.ResultList:type_name -> user.AccountCheckResp.SingleUserStatus - 0, // 3: user.GetUserInfoResp.commonResp:type_name -> user.CommonResp - 36, // 4: user.GetUserInfoResp.UserInfoList:type_name -> server_api_params.UserInfo - 36, // 5: user.UpdateUserInfoReq.UserInfo:type_name -> server_api_params.UserInfo - 0, // 6: user.UpdateUserInfoResp.commonResp:type_name -> user.CommonResp - 0, // 7: user.SetGlobalRecvMessageOptResp.commonResp:type_name -> user.CommonResp - 37, // 8: user.SetConversationReq.Conversation:type_name -> conversation.Conversation - 0, // 9: user.SetConversationResp.commonResp:type_name -> user.CommonResp - 0, // 10: user.SetRecvMsgOptResp.commonResp:type_name -> user.CommonResp - 0, // 11: user.GetConversationResp.commonResp:type_name -> user.CommonResp - 37, // 12: user.GetConversationResp.Conversation:type_name -> conversation.Conversation - 0, // 13: user.GetConversationsResp.commonResp:type_name -> user.CommonResp - 37, // 14: user.GetConversationsResp.Conversations:type_name -> conversation.Conversation - 0, // 15: user.GetAllConversationsResp.commonResp:type_name -> user.CommonResp - 37, // 16: user.GetAllConversationsResp.Conversations:type_name -> conversation.Conversation - 37, // 17: user.BatchSetConversationsReq.Conversations:type_name -> conversation.Conversation - 0, // 18: user.BatchSetConversationsResp.commonResp:type_name -> user.CommonResp - 38, // 19: user.GetUsersReq.pagination:type_name -> server_api_params.RequestPagination - 36, // 20: user.CmsUser.user:type_name -> server_api_params.UserInfo - 0, // 21: user.GetUsersResp.commonResp:type_name -> user.CommonResp - 24, // 22: user.GetUsersResp.userList:type_name -> user.CmsUser - 39, // 23: user.GetUsersResp.Pagination:type_name -> server_api_params.ResponsePagination - 36, // 24: user.AddUserReq.userInfo:type_name -> server_api_params.UserInfo - 0, // 25: user.AddUserResp.CommonResp:type_name -> user.CommonResp - 0, // 26: user.BlockUserResp.CommonResp:type_name -> user.CommonResp - 0, // 27: user.UnBlockUserResp.CommonResp:type_name -> user.CommonResp - 38, // 28: user.GetBlockUsersReq.pagination:type_name -> server_api_params.RequestPagination - 36, // 29: user.BlockUser.UserInfo:type_name -> server_api_params.UserInfo - 0, // 30: user.GetBlockUsersResp.CommonResp:type_name -> user.CommonResp - 33, // 31: user.GetBlockUsersResp.BlockUsers:type_name -> user.BlockUser - 39, // 32: user.GetBlockUsersResp.Pagination:type_name -> server_api_params.ResponsePagination - 5, // 33: user.user.GetUserInfo:input_type -> user.GetUserInfoReq - 7, // 34: user.user.UpdateUserInfo:input_type -> user.UpdateUserInfoReq - 9, // 35: user.user.SetGlobalRecvMessageOpt:input_type -> user.SetGlobalRecvMessageOptReq - 1, // 36: user.user.GetAllUserID:input_type -> user.GetAllUserIDReq - 3, // 37: user.user.AccountCheck:input_type -> user.AccountCheckReq - 15, // 38: user.user.GetConversation:input_type -> user.GetConversationReq - 19, // 39: user.user.GetAllConversations:input_type -> user.GetAllConversationsReq - 17, // 40: user.user.GetConversations:input_type -> user.GetConversationsReq - 21, // 41: user.user.BatchSetConversations:input_type -> user.BatchSetConversationsReq - 11, // 42: user.user.SetConversation:input_type -> user.SetConversationReq - 13, // 43: user.user.SetRecvMsgOpt:input_type -> user.SetRecvMsgOptReq - 23, // 44: user.user.GetUsers:input_type -> user.GetUsersReq - 26, // 45: user.user.AddUser:input_type -> user.AddUserReq - 28, // 46: user.user.BlockUser:input_type -> user.BlockUserReq - 30, // 47: user.user.UnBlockUser:input_type -> user.UnBlockUserReq - 32, // 48: user.user.GetBlockUsers:input_type -> user.GetBlockUsersReq - 6, // 49: user.user.GetUserInfo:output_type -> user.GetUserInfoResp - 8, // 50: user.user.UpdateUserInfo:output_type -> user.UpdateUserInfoResp - 10, // 51: user.user.SetGlobalRecvMessageOpt:output_type -> user.SetGlobalRecvMessageOptResp - 2, // 52: user.user.GetAllUserID:output_type -> user.GetAllUserIDResp - 4, // 53: user.user.AccountCheck:output_type -> user.AccountCheckResp - 16, // 54: user.user.GetConversation:output_type -> user.GetConversationResp - 20, // 55: user.user.GetAllConversations:output_type -> user.GetAllConversationsResp - 18, // 56: user.user.GetConversations:output_type -> user.GetConversationsResp - 22, // 57: user.user.BatchSetConversations:output_type -> user.BatchSetConversationsResp - 12, // 58: user.user.SetConversation:output_type -> user.SetConversationResp - 14, // 59: user.user.SetRecvMsgOpt:output_type -> user.SetRecvMsgOptResp - 25, // 60: user.user.GetUsers:output_type -> user.GetUsersResp - 27, // 61: user.user.AddUser:output_type -> user.AddUserResp - 29, // 62: user.user.BlockUser:output_type -> user.BlockUserResp - 31, // 63: user.user.UnBlockUser:output_type -> user.UnBlockUserResp - 34, // 64: user.user.GetBlockUsers:output_type -> user.GetBlockUsersResp - 49, // [49:65] is the sub-list for method output_type - 33, // [33:49] is the sub-list for method input_type - 33, // [33:33] is the sub-list for extension type_name - 33, // [33:33] is the sub-list for extension extendee - 0, // [0:33] is the sub-list for field type_name -} - -func init() { file_user_user_proto_init() } -func file_user_user_proto_init() { - if File_user_user_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_user_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommonResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAllUserIDReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAllUserIDResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountCheckReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountCheckResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserInfoReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserInfoResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserInfoReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserInfoResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetGlobalRecvMessageOptReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetGlobalRecvMessageOptResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetConversationReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetConversationResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetRecvMsgOptReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetRecvMsgOptResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConversationReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConversationResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConversationsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConversationsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAllConversationsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAllConversationsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchSetConversationsReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchSetConversationsResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUsersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CmsUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUsersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnBlockUserReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnBlockUserResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlockUsersReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlockUsersResp); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_user_user_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountCheckResp_SingleUserStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_user_user_proto_rawDesc, - NumEnums: 0, - NumMessages: 36, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_user_user_proto_goTypes, - DependencyIndexes: file_user_user_proto_depIdxs, - MessageInfos: file_user_user_proto_msgTypes, - }.Build() - File_user_user_proto = out.File - file_user_user_proto_rawDesc = nil - file_user_user_proto_goTypes = nil - file_user_user_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// UserClient is the client API for User service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type UserClient interface { - GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error) - UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error) - SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error) - GetAllUserID(ctx context.Context, in *GetAllUserIDReq, opts ...grpc.CallOption) (*GetAllUserIDResp, error) - AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error) - GetConversation(ctx context.Context, in *GetConversationReq, opts ...grpc.CallOption) (*GetConversationResp, error) - GetAllConversations(ctx context.Context, in *GetAllConversationsReq, opts ...grpc.CallOption) (*GetAllConversationsResp, error) - GetConversations(ctx context.Context, in *GetConversationsReq, opts ...grpc.CallOption) (*GetConversationsResp, error) - BatchSetConversations(ctx context.Context, in *BatchSetConversationsReq, opts ...grpc.CallOption) (*BatchSetConversationsResp, error) - SetConversation(ctx context.Context, in *SetConversationReq, opts ...grpc.CallOption) (*SetConversationResp, error) - SetRecvMsgOpt(ctx context.Context, in *SetRecvMsgOptReq, opts ...grpc.CallOption) (*SetRecvMsgOptResp, error) - GetUsers(ctx context.Context, in *GetUsersReq, opts ...grpc.CallOption) (*GetUsersResp, error) - AddUser(ctx context.Context, in *AddUserReq, opts ...grpc.CallOption) (*AddUserResp, error) - BlockUser(ctx context.Context, in *BlockUserReq, opts ...grpc.CallOption) (*BlockUserResp, error) - UnBlockUser(ctx context.Context, in *UnBlockUserReq, opts ...grpc.CallOption) (*UnBlockUserResp, error) - GetBlockUsers(ctx context.Context, in *GetBlockUsersReq, opts ...grpc.CallOption) (*GetBlockUsersResp, error) -} - -type userClient struct { - cc grpc.ClientConnInterface -} - -func NewUserClient(cc grpc.ClientConnInterface) UserClient { - return &userClient{cc} -} - -func (c *userClient) GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error) { - out := new(GetUserInfoResp) - err := c.cc.Invoke(ctx, "/user.user/GetUserInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error) { - out := new(UpdateUserInfoResp) - err := c.cc.Invoke(ctx, "/user.user/UpdateUserInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error) { - out := new(SetGlobalRecvMessageOptResp) - err := c.cc.Invoke(ctx, "/user.user/SetGlobalRecvMessageOpt", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) GetAllUserID(ctx context.Context, in *GetAllUserIDReq, opts ...grpc.CallOption) (*GetAllUserIDResp, error) { - out := new(GetAllUserIDResp) - err := c.cc.Invoke(ctx, "/user.user/GetAllUserID", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error) { - out := new(AccountCheckResp) - err := c.cc.Invoke(ctx, "/user.user/AccountCheck", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) GetConversation(ctx context.Context, in *GetConversationReq, opts ...grpc.CallOption) (*GetConversationResp, error) { - out := new(GetConversationResp) - err := c.cc.Invoke(ctx, "/user.user/GetConversation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) GetAllConversations(ctx context.Context, in *GetAllConversationsReq, opts ...grpc.CallOption) (*GetAllConversationsResp, error) { - out := new(GetAllConversationsResp) - err := c.cc.Invoke(ctx, "/user.user/GetAllConversations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) GetConversations(ctx context.Context, in *GetConversationsReq, opts ...grpc.CallOption) (*GetConversationsResp, error) { - out := new(GetConversationsResp) - err := c.cc.Invoke(ctx, "/user.user/GetConversations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) BatchSetConversations(ctx context.Context, in *BatchSetConversationsReq, opts ...grpc.CallOption) (*BatchSetConversationsResp, error) { - out := new(BatchSetConversationsResp) - err := c.cc.Invoke(ctx, "/user.user/BatchSetConversations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) SetConversation(ctx context.Context, in *SetConversationReq, opts ...grpc.CallOption) (*SetConversationResp, error) { - out := new(SetConversationResp) - err := c.cc.Invoke(ctx, "/user.user/SetConversation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) SetRecvMsgOpt(ctx context.Context, in *SetRecvMsgOptReq, opts ...grpc.CallOption) (*SetRecvMsgOptResp, error) { - out := new(SetRecvMsgOptResp) - err := c.cc.Invoke(ctx, "/user.user/SetRecvMsgOpt", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) GetUsers(ctx context.Context, in *GetUsersReq, opts ...grpc.CallOption) (*GetUsersResp, error) { - out := new(GetUsersResp) - err := c.cc.Invoke(ctx, "/user.user/GetUsers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) AddUser(ctx context.Context, in *AddUserReq, opts ...grpc.CallOption) (*AddUserResp, error) { - out := new(AddUserResp) - err := c.cc.Invoke(ctx, "/user.user/AddUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) BlockUser(ctx context.Context, in *BlockUserReq, opts ...grpc.CallOption) (*BlockUserResp, error) { - out := new(BlockUserResp) - err := c.cc.Invoke(ctx, "/user.user/BlockUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) UnBlockUser(ctx context.Context, in *UnBlockUserReq, opts ...grpc.CallOption) (*UnBlockUserResp, error) { - out := new(UnBlockUserResp) - err := c.cc.Invoke(ctx, "/user.user/UnBlockUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *userClient) GetBlockUsers(ctx context.Context, in *GetBlockUsersReq, opts ...grpc.CallOption) (*GetBlockUsersResp, error) { - out := new(GetBlockUsersResp) - err := c.cc.Invoke(ctx, "/user.user/GetBlockUsers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// UserServer is the server API for User service. -type UserServer interface { - GetUserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResp, error) - UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error) - SetGlobalRecvMessageOpt(context.Context, *SetGlobalRecvMessageOptReq) (*SetGlobalRecvMessageOptResp, error) - GetAllUserID(context.Context, *GetAllUserIDReq) (*GetAllUserIDResp, error) - AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error) - GetConversation(context.Context, *GetConversationReq) (*GetConversationResp, error) - GetAllConversations(context.Context, *GetAllConversationsReq) (*GetAllConversationsResp, error) - GetConversations(context.Context, *GetConversationsReq) (*GetConversationsResp, error) - BatchSetConversations(context.Context, *BatchSetConversationsReq) (*BatchSetConversationsResp, error) - SetConversation(context.Context, *SetConversationReq) (*SetConversationResp, error) - SetRecvMsgOpt(context.Context, *SetRecvMsgOptReq) (*SetRecvMsgOptResp, error) - GetUsers(context.Context, *GetUsersReq) (*GetUsersResp, error) - AddUser(context.Context, *AddUserReq) (*AddUserResp, error) - BlockUser(context.Context, *BlockUserReq) (*BlockUserResp, error) - UnBlockUser(context.Context, *UnBlockUserReq) (*UnBlockUserResp, error) - GetBlockUsers(context.Context, *GetBlockUsersReq) (*GetBlockUsersResp, error) -} - -// UnimplementedUserServer can be embedded to have forward compatible implementations. -type UnimplementedUserServer struct { -} - -func (*UnimplementedUserServer) GetUserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo not implemented") -} -func (*UnimplementedUserServer) UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInfo not implemented") -} -func (*UnimplementedUserServer) SetGlobalRecvMessageOpt(context.Context, *SetGlobalRecvMessageOptReq) (*SetGlobalRecvMessageOptResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetGlobalRecvMessageOpt not implemented") -} -func (*UnimplementedUserServer) GetAllUserID(context.Context, *GetAllUserIDReq) (*GetAllUserIDResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAllUserID not implemented") -} -func (*UnimplementedUserServer) AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method AccountCheck not implemented") -} -func (*UnimplementedUserServer) GetConversation(context.Context, *GetConversationReq) (*GetConversationResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConversation not implemented") -} -func (*UnimplementedUserServer) GetAllConversations(context.Context, *GetAllConversationsReq) (*GetAllConversationsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAllConversations not implemented") -} -func (*UnimplementedUserServer) GetConversations(context.Context, *GetConversationsReq) (*GetConversationsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConversations not implemented") -} -func (*UnimplementedUserServer) BatchSetConversations(context.Context, *BatchSetConversationsReq) (*BatchSetConversationsResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchSetConversations not implemented") -} -func (*UnimplementedUserServer) SetConversation(context.Context, *SetConversationReq) (*SetConversationResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetConversation not implemented") -} -func (*UnimplementedUserServer) SetRecvMsgOpt(context.Context, *SetRecvMsgOptReq) (*SetRecvMsgOptResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetRecvMsgOpt not implemented") -} -func (*UnimplementedUserServer) GetUsers(context.Context, *GetUsersReq) (*GetUsersResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUsers not implemented") -} -func (*UnimplementedUserServer) AddUser(context.Context, *AddUserReq) (*AddUserResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddUser not implemented") -} -func (*UnimplementedUserServer) BlockUser(context.Context, *BlockUserReq) (*BlockUserResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method BlockUser not implemented") -} -func (*UnimplementedUserServer) UnBlockUser(context.Context, *UnBlockUserReq) (*UnBlockUserResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnBlockUser not implemented") -} -func (*UnimplementedUserServer) GetBlockUsers(context.Context, *GetBlockUsersReq) (*GetBlockUsersResp, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockUsers not implemented") -} - -func RegisterUserServer(s *grpc.Server, srv UserServer) { - s.RegisterService(&_User_serviceDesc, srv) -} - -func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserInfoReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).GetUserInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/GetUserInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetUserInfo(ctx, req.(*GetUserInfoReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_UpdateUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateUserInfoReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).UpdateUserInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/UpdateUserInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).UpdateUserInfo(ctx, req.(*UpdateUserInfoReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_SetGlobalRecvMessageOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetGlobalRecvMessageOptReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).SetGlobalRecvMessageOpt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/SetGlobalRecvMessageOpt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).SetGlobalRecvMessageOpt(ctx, req.(*SetGlobalRecvMessageOptReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_GetAllUserID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAllUserIDReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).GetAllUserID(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/GetAllUserID", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetAllUserID(ctx, req.(*GetAllUserIDReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_AccountCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AccountCheckReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).AccountCheck(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/AccountCheck", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).AccountCheck(ctx, req.(*AccountCheckReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_GetConversation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConversationReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).GetConversation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/GetConversation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetConversation(ctx, req.(*GetConversationReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_GetAllConversations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAllConversationsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).GetAllConversations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/GetAllConversations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetAllConversations(ctx, req.(*GetAllConversationsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_GetConversations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConversationsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).GetConversations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/GetConversations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetConversations(ctx, req.(*GetConversationsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_BatchSetConversations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchSetConversationsReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).BatchSetConversations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/BatchSetConversations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).BatchSetConversations(ctx, req.(*BatchSetConversationsReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_SetConversation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetConversationReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).SetConversation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/SetConversation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).SetConversation(ctx, req.(*SetConversationReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_SetRecvMsgOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetRecvMsgOptReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).SetRecvMsgOpt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/SetRecvMsgOpt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).SetRecvMsgOpt(ctx, req.(*SetRecvMsgOptReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUsersReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).GetUsers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/GetUsers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetUsers(ctx, req.(*GetUsersReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_AddUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddUserReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).AddUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/AddUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).AddUser(ctx, req.(*AddUserReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_BlockUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BlockUserReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).BlockUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/BlockUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).BlockUser(ctx, req.(*BlockUserReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_UnBlockUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnBlockUserReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).UnBlockUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/UnBlockUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).UnBlockUser(ctx, req.(*UnBlockUserReq)) - } - return interceptor(ctx, in, info, handler) -} - -func _User_GetBlockUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBlockUsersReq) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserServer).GetBlockUsers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/user.user/GetBlockUsers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetBlockUsers(ctx, req.(*GetBlockUsersReq)) - } - return interceptor(ctx, in, info, handler) -} - -var _User_serviceDesc = grpc.ServiceDesc{ - ServiceName: "user.user", - HandlerType: (*UserServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetUserInfo", - Handler: _User_GetUserInfo_Handler, - }, - { - MethodName: "UpdateUserInfo", - Handler: _User_UpdateUserInfo_Handler, - }, - { - MethodName: "SetGlobalRecvMessageOpt", - Handler: _User_SetGlobalRecvMessageOpt_Handler, - }, - { - MethodName: "GetAllUserID", - Handler: _User_GetAllUserID_Handler, - }, - { - MethodName: "AccountCheck", - Handler: _User_AccountCheck_Handler, - }, - { - MethodName: "GetConversation", - Handler: _User_GetConversation_Handler, - }, - { - MethodName: "GetAllConversations", - Handler: _User_GetAllConversations_Handler, - }, - { - MethodName: "GetConversations", - Handler: _User_GetConversations_Handler, - }, - { - MethodName: "BatchSetConversations", - Handler: _User_BatchSetConversations_Handler, - }, - { - MethodName: "SetConversation", - Handler: _User_SetConversation_Handler, - }, - { - MethodName: "SetRecvMsgOpt", - Handler: _User_SetRecvMsgOpt_Handler, - }, - { - MethodName: "GetUsers", - Handler: _User_GetUsers_Handler, - }, - { - MethodName: "AddUser", - Handler: _User_AddUser_Handler, - }, - { - MethodName: "BlockUser", - Handler: _User_BlockUser_Handler, - }, - { - MethodName: "UnBlockUser", - Handler: _User_UnBlockUser_Handler, - }, - { - MethodName: "GetBlockUsers", - Handler: _User_GetBlockUsers_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "user/user.proto", -} diff --git a/tools/data-conversion/proto/user/user.proto b/tools/data-conversion/proto/user/user.proto deleted file mode 100644 index 685d9e150..000000000 --- a/tools/data-conversion/proto/user/user.proto +++ /dev/null @@ -1,232 +0,0 @@ -syntax = "proto3"; -import "Open-IM-Server/pkg/proto/sdk_ws/ws.proto"; -import "Open-IM-Server/pkg/proto/conversation/conversation.proto"; -option go_package = "Open_IM/pkg/proto/user;user"; -package user; - -message CommonResp{ - int32 errCode = 1; - string errMsg = 2; -} - - - -message GetAllUserIDReq{ - string opUserID = 1; - string operationID = 2; -} -message GetAllUserIDResp{ - CommonResp CommonResp = 1; - repeated string UserIDList = 2; -} - - -message AccountCheckReq{ - repeated string CheckUserIDList = 1; - string OpUserID = 2; - string OperationID = 3; - -} -message AccountCheckResp{ - CommonResp commonResp = 1; - message SingleUserStatus { - string userID = 1; - string accountStatus = 2; - } - repeated SingleUserStatus ResultList = 2; -} - - -message GetUserInfoReq{ - repeated string userIDList = 1; - string OpUserID = 2; - string OperationID = 3; -} -message GetUserInfoResp{ - CommonResp commonResp = 1; - repeated server_api_params.UserInfo UserInfoList = 3; -} - - - -message UpdateUserInfoReq{ - server_api_params.UserInfo UserInfo = 1; - string OpUserID = 2; - string operationID = 3; -} -message UpdateUserInfoResp{ - CommonResp commonResp = 1; -} -message SetGlobalRecvMessageOptReq{ - string userID = 1; - string operationID = 2; - int32 globalRecvMsgOpt = 3; -} -message SetGlobalRecvMessageOptResp{ - CommonResp commonResp = 1; -} - -message SetConversationReq{ - conversation.Conversation Conversation = 1; - int32 notificationType = 2; - string OperationID = 3; -} - -message SetConversationResp{ - CommonResp commonResp = 1; -} - -message SetRecvMsgOptReq { - string OwnerUserID = 1; - string ConversationID = 2; - int32 RecvMsgOpt = 3; - int32 notificationType = 4; - string OperationID = 5; -} - -message SetRecvMsgOptResp { - CommonResp commonResp = 1; -} - -message GetConversationReq{ - string ConversationID = 1; - string OwnerUserID = 2; - string OperationID = 3; -} - -message GetConversationResp{ - CommonResp commonResp = 1; - conversation.Conversation Conversation = 2; -} - -message GetConversationsReq{ - string OwnerUserID = 1; - repeated string ConversationIDs = 2; - string OperationID = 3; -} - -message GetConversationsResp{ - CommonResp commonResp = 1; - repeated conversation.Conversation Conversations = 2; -} - -message GetAllConversationsReq{ - string OwnerUserID = 1; - string OperationID = 2; -} - -message GetAllConversationsResp{ - CommonResp commonResp = 1; - repeated conversation.Conversation Conversations = 2; -} - -message BatchSetConversationsReq{ - repeated conversation.Conversation Conversations = 1; - string OwnerUserID = 2; - int32 notificationType = 3; - string OperationID = 4; -} - -message BatchSetConversationsResp{ - CommonResp commonResp = 1; - repeated string Success = 2; - repeated string Failed = 3; -} - - -message GetUsersReq { - string operationID = 1; - server_api_params.RequestPagination pagination = 2; - string userName = 3; - string userID = 4; - string content = 5; -} - -message CmsUser { - server_api_params.UserInfo user = 1; - bool isBlock = 2; -} - -message GetUsersResp{ - CommonResp commonResp = 1; - repeated CmsUser userList = 2; - server_api_params.ResponsePagination Pagination = 3; - int32 totalNums = 4; -} - -message AddUserReq{ - server_api_params.UserInfo userInfo = 1; - string operationID = 2; -} - -message AddUserResp{ - CommonResp CommonResp = 1; -} - - -message BlockUserReq{ - string userID = 1; - string endDisableTime = 2; - string operationID = 3; - string opUserID = 4; -} - -message BlockUserResp{ - CommonResp CommonResp = 1; -} - -message UnBlockUserReq{ - string userID = 1; - string operationID = 2; - string opUserID = 3; -} - -message UnBlockUserResp{ - CommonResp CommonResp = 1; -} - -message GetBlockUsersReq{ - server_api_params.RequestPagination pagination = 1; - string operationID = 2; - string userID = 3; - int32 totalBlockUserNum = 4; -} - -message BlockUser { - server_api_params.UserInfo UserInfo = 1; - string BeginDisableTime = 2; - string EndDisableTime = 3; -} - -message GetBlockUsersResp{ - CommonResp CommonResp = 1; - repeated BlockUser BlockUsers = 2; - server_api_params.ResponsePagination Pagination = 3; - int32 UserNums = 4; -} - - -service user { - rpc GetUserInfo(GetUserInfoReq) returns(GetUserInfoResp); - rpc UpdateUserInfo(UpdateUserInfoReq) returns(UpdateUserInfoResp); - rpc SetGlobalRecvMessageOpt(SetGlobalRecvMessageOptReq) returns(SetGlobalRecvMessageOptResp); - rpc GetAllUserID(GetAllUserIDReq)returns(GetAllUserIDResp); - - rpc AccountCheck(AccountCheckReq)returns(AccountCheckResp); - rpc GetConversation(GetConversationReq)returns(GetConversationResp); - rpc GetAllConversations(GetAllConversationsReq)returns(GetAllConversationsResp); - rpc GetConversations(GetConversationsReq)returns(GetConversationsResp); - rpc BatchSetConversations(BatchSetConversationsReq)returns(BatchSetConversationsResp); - rpc SetConversation(SetConversationReq)returns(SetConversationResp); - rpc SetRecvMsgOpt(SetRecvMsgOptReq)returns(SetRecvMsgOptResp); - - - rpc GetUsers(GetUsersReq) returns (GetUsersResp); - - rpc AddUser(AddUserReq) returns (AddUserResp); - - rpc BlockUser(BlockUserReq) returns (BlockUserResp); - rpc UnBlockUser(UnBlockUserReq) returns (UnBlockUserResp); - rpc GetBlockUsers(GetBlockUsersReq) returns (GetBlockUsersResp); -} -