You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/pkg/proto/friend/friend.pb.go

1979 lines
76 KiB

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: friend/friend.proto
package friend // import "OpenIM/pkg/proto/friend"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import sdkws "OpenIM/pkg/proto/sdkws"
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 GetPaginationFriendsReq struct {
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination" json:"pagination,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 *GetPaginationFriendsReq) Reset() { *m = GetPaginationFriendsReq{} }
func (m *GetPaginationFriendsReq) String() string { return proto.CompactTextString(m) }
func (*GetPaginationFriendsReq) ProtoMessage() {}
func (*GetPaginationFriendsReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{0}
}
func (m *GetPaginationFriendsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationFriendsReq.Unmarshal(m, b)
}
func (m *GetPaginationFriendsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationFriendsReq.Marshal(b, m, deterministic)
}
func (dst *GetPaginationFriendsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationFriendsReq.Merge(dst, src)
}
func (m *GetPaginationFriendsReq) XXX_Size() int {
return xxx_messageInfo_GetPaginationFriendsReq.Size(m)
}
func (m *GetPaginationFriendsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationFriendsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetPaginationFriendsReq proto.InternalMessageInfo
func (m *GetPaginationFriendsReq) GetPagination() *sdkws.RequestPagination {
if m != nil {
return m.Pagination
}
return nil
}
func (m *GetPaginationFriendsReq) GetUserID() string {
if m != nil {
return m.UserID
}
return ""
}
type GetPaginationFriendsResp struct {
FriendsInfo []*sdkws.FriendInfo `protobuf:"bytes,1,rep,name=FriendsInfo" json:"FriendsInfo,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total" json:"total,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPaginationFriendsResp) Reset() { *m = GetPaginationFriendsResp{} }
func (m *GetPaginationFriendsResp) String() string { return proto.CompactTextString(m) }
func (*GetPaginationFriendsResp) ProtoMessage() {}
func (*GetPaginationFriendsResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{1}
}
func (m *GetPaginationFriendsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationFriendsResp.Unmarshal(m, b)
}
func (m *GetPaginationFriendsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationFriendsResp.Marshal(b, m, deterministic)
}
func (dst *GetPaginationFriendsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationFriendsResp.Merge(dst, src)
}
func (m *GetPaginationFriendsResp) XXX_Size() int {
return xxx_messageInfo_GetPaginationFriendsResp.Size(m)
}
func (m *GetPaginationFriendsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationFriendsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetPaginationFriendsResp proto.InternalMessageInfo
func (m *GetPaginationFriendsResp) GetFriendsInfo() []*sdkws.FriendInfo {
if m != nil {
return m.FriendsInfo
}
return nil
}
func (m *GetPaginationFriendsResp) GetTotal() int32 {
if m != nil {
return m.Total
}
return 0
}
type ApplyToAddFriendReq struct {
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID" json:"fromUserID,omitempty"`
ToUserID string `protobuf:"bytes,2,opt,name=toUserID" json:"toUserID,omitempty"`
ReqMsg string `protobuf:"bytes,3,opt,name=reqMsg" json:"reqMsg,omitempty"`
Ex string `protobuf:"bytes,4,opt,name=ex" json:"ex,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApplyToAddFriendReq) Reset() { *m = ApplyToAddFriendReq{} }
func (m *ApplyToAddFriendReq) String() string { return proto.CompactTextString(m) }
func (*ApplyToAddFriendReq) ProtoMessage() {}
func (*ApplyToAddFriendReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{2}
}
func (m *ApplyToAddFriendReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApplyToAddFriendReq.Unmarshal(m, b)
}
func (m *ApplyToAddFriendReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApplyToAddFriendReq.Marshal(b, m, deterministic)
}
func (dst *ApplyToAddFriendReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApplyToAddFriendReq.Merge(dst, src)
}
func (m *ApplyToAddFriendReq) XXX_Size() int {
return xxx_messageInfo_ApplyToAddFriendReq.Size(m)
}
func (m *ApplyToAddFriendReq) XXX_DiscardUnknown() {
xxx_messageInfo_ApplyToAddFriendReq.DiscardUnknown(m)
}
var xxx_messageInfo_ApplyToAddFriendReq proto.InternalMessageInfo
func (m *ApplyToAddFriendReq) GetFromUserID() string {
if m != nil {
return m.FromUserID
}
return ""
}
func (m *ApplyToAddFriendReq) GetToUserID() string {
if m != nil {
return m.ToUserID
}
return ""
}
func (m *ApplyToAddFriendReq) GetReqMsg() string {
if m != nil {
return m.ReqMsg
}
return ""
}
func (m *ApplyToAddFriendReq) GetEx() string {
if m != nil {
return m.Ex
}
return ""
}
type ApplyToAddFriendResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApplyToAddFriendResp) Reset() { *m = ApplyToAddFriendResp{} }
func (m *ApplyToAddFriendResp) String() string { return proto.CompactTextString(m) }
func (*ApplyToAddFriendResp) ProtoMessage() {}
func (*ApplyToAddFriendResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{3}
}
func (m *ApplyToAddFriendResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApplyToAddFriendResp.Unmarshal(m, b)
}
func (m *ApplyToAddFriendResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApplyToAddFriendResp.Marshal(b, m, deterministic)
}
func (dst *ApplyToAddFriendResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApplyToAddFriendResp.Merge(dst, src)
}
func (m *ApplyToAddFriendResp) XXX_Size() int {
return xxx_messageInfo_ApplyToAddFriendResp.Size(m)
}
func (m *ApplyToAddFriendResp) XXX_DiscardUnknown() {
xxx_messageInfo_ApplyToAddFriendResp.DiscardUnknown(m)
}
var xxx_messageInfo_ApplyToAddFriendResp proto.InternalMessageInfo
type ImportFriendReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"`
FriendUserIDs []string `protobuf:"bytes,2,rep,name=friendUserIDs" json:"friendUserIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportFriendReq) Reset() { *m = ImportFriendReq{} }
func (m *ImportFriendReq) String() string { return proto.CompactTextString(m) }
func (*ImportFriendReq) ProtoMessage() {}
func (*ImportFriendReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{4}
}
func (m *ImportFriendReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportFriendReq.Unmarshal(m, b)
}
func (m *ImportFriendReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportFriendReq.Marshal(b, m, deterministic)
}
func (dst *ImportFriendReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportFriendReq.Merge(dst, src)
}
func (m *ImportFriendReq) XXX_Size() int {
return xxx_messageInfo_ImportFriendReq.Size(m)
}
func (m *ImportFriendReq) XXX_DiscardUnknown() {
xxx_messageInfo_ImportFriendReq.DiscardUnknown(m)
}
var xxx_messageInfo_ImportFriendReq proto.InternalMessageInfo
func (m *ImportFriendReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *ImportFriendReq) GetFriendUserIDs() []string {
if m != nil {
return m.FriendUserIDs
}
return nil
}
type ImportFriendResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportFriendResp) Reset() { *m = ImportFriendResp{} }
func (m *ImportFriendResp) String() string { return proto.CompactTextString(m) }
func (*ImportFriendResp) ProtoMessage() {}
func (*ImportFriendResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{5}
}
func (m *ImportFriendResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportFriendResp.Unmarshal(m, b)
}
func (m *ImportFriendResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportFriendResp.Marshal(b, m, deterministic)
}
func (dst *ImportFriendResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportFriendResp.Merge(dst, src)
}
func (m *ImportFriendResp) XXX_Size() int {
return xxx_messageInfo_ImportFriendResp.Size(m)
}
func (m *ImportFriendResp) XXX_DiscardUnknown() {
xxx_messageInfo_ImportFriendResp.DiscardUnknown(m)
}
var xxx_messageInfo_ImportFriendResp proto.InternalMessageInfo
type GetPaginationFriendsApplyToReq struct {
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPaginationFriendsApplyToReq) Reset() { *m = GetPaginationFriendsApplyToReq{} }
func (m *GetPaginationFriendsApplyToReq) String() string { return proto.CompactTextString(m) }
func (*GetPaginationFriendsApplyToReq) ProtoMessage() {}
func (*GetPaginationFriendsApplyToReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{6}
}
func (m *GetPaginationFriendsApplyToReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationFriendsApplyToReq.Unmarshal(m, b)
}
func (m *GetPaginationFriendsApplyToReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationFriendsApplyToReq.Marshal(b, m, deterministic)
}
func (dst *GetPaginationFriendsApplyToReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationFriendsApplyToReq.Merge(dst, src)
}
func (m *GetPaginationFriendsApplyToReq) XXX_Size() int {
return xxx_messageInfo_GetPaginationFriendsApplyToReq.Size(m)
}
func (m *GetPaginationFriendsApplyToReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationFriendsApplyToReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetPaginationFriendsApplyToReq proto.InternalMessageInfo
func (m *GetPaginationFriendsApplyToReq) GetUserID() string {
if m != nil {
return m.UserID
}
return ""
}
func (m *GetPaginationFriendsApplyToReq) GetPagination() *sdkws.RequestPagination {
if m != nil {
return m.Pagination
}
return nil
}
type GetPaginationFriendsApplyToResp struct {
FriendRequests []*sdkws.FriendRequest `protobuf:"bytes,1,rep,name=FriendRequests" json:"FriendRequests,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total" json:"total,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPaginationFriendsApplyToResp) Reset() { *m = GetPaginationFriendsApplyToResp{} }
func (m *GetPaginationFriendsApplyToResp) String() string { return proto.CompactTextString(m) }
func (*GetPaginationFriendsApplyToResp) ProtoMessage() {}
func (*GetPaginationFriendsApplyToResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{7}
}
func (m *GetPaginationFriendsApplyToResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationFriendsApplyToResp.Unmarshal(m, b)
}
func (m *GetPaginationFriendsApplyToResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationFriendsApplyToResp.Marshal(b, m, deterministic)
}
func (dst *GetPaginationFriendsApplyToResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationFriendsApplyToResp.Merge(dst, src)
}
func (m *GetPaginationFriendsApplyToResp) XXX_Size() int {
return xxx_messageInfo_GetPaginationFriendsApplyToResp.Size(m)
}
func (m *GetPaginationFriendsApplyToResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationFriendsApplyToResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetPaginationFriendsApplyToResp proto.InternalMessageInfo
func (m *GetPaginationFriendsApplyToResp) GetFriendRequests() []*sdkws.FriendRequest {
if m != nil {
return m.FriendRequests
}
return nil
}
func (m *GetPaginationFriendsApplyToResp) GetTotal() int32 {
if m != nil {
return m.Total
}
return 0
}
type GetDesignatedFriendsReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"`
FriendUserIDs []string `protobuf:"bytes,2,rep,name=friendUserIDs" json:"friendUserIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDesignatedFriendsReq) Reset() { *m = GetDesignatedFriendsReq{} }
func (m *GetDesignatedFriendsReq) String() string { return proto.CompactTextString(m) }
func (*GetDesignatedFriendsReq) ProtoMessage() {}
func (*GetDesignatedFriendsReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{8}
}
func (m *GetDesignatedFriendsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDesignatedFriendsReq.Unmarshal(m, b)
}
func (m *GetDesignatedFriendsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDesignatedFriendsReq.Marshal(b, m, deterministic)
}
func (dst *GetDesignatedFriendsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDesignatedFriendsReq.Merge(dst, src)
}
func (m *GetDesignatedFriendsReq) XXX_Size() int {
return xxx_messageInfo_GetDesignatedFriendsReq.Size(m)
}
func (m *GetDesignatedFriendsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetDesignatedFriendsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetDesignatedFriendsReq proto.InternalMessageInfo
func (m *GetDesignatedFriendsReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *GetDesignatedFriendsReq) GetFriendUserIDs() []string {
if m != nil {
return m.FriendUserIDs
}
return nil
}
type GetDesignatedFriendsResp struct {
FriendsInfo []*sdkws.FriendInfo `protobuf:"bytes,1,rep,name=friendsInfo" json:"friendsInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDesignatedFriendsResp) Reset() { *m = GetDesignatedFriendsResp{} }
func (m *GetDesignatedFriendsResp) String() string { return proto.CompactTextString(m) }
func (*GetDesignatedFriendsResp) ProtoMessage() {}
func (*GetDesignatedFriendsResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{9}
}
func (m *GetDesignatedFriendsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDesignatedFriendsResp.Unmarshal(m, b)
}
func (m *GetDesignatedFriendsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDesignatedFriendsResp.Marshal(b, m, deterministic)
}
func (dst *GetDesignatedFriendsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDesignatedFriendsResp.Merge(dst, src)
}
func (m *GetDesignatedFriendsResp) XXX_Size() int {
return xxx_messageInfo_GetDesignatedFriendsResp.Size(m)
}
func (m *GetDesignatedFriendsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetDesignatedFriendsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetDesignatedFriendsResp proto.InternalMessageInfo
func (m *GetDesignatedFriendsResp) GetFriendsInfo() []*sdkws.FriendInfo {
if m != nil {
return m.FriendsInfo
}
return nil
}
type AddBlackReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"`
BlackUserID string `protobuf:"bytes,2,opt,name=blackUserID" json:"blackUserID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddBlackReq) Reset() { *m = AddBlackReq{} }
func (m *AddBlackReq) String() string { return proto.CompactTextString(m) }
func (*AddBlackReq) ProtoMessage() {}
func (*AddBlackReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{10}
}
func (m *AddBlackReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddBlackReq.Unmarshal(m, b)
}
func (m *AddBlackReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddBlackReq.Marshal(b, m, deterministic)
}
func (dst *AddBlackReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddBlackReq.Merge(dst, src)
}
func (m *AddBlackReq) XXX_Size() int {
return xxx_messageInfo_AddBlackReq.Size(m)
}
func (m *AddBlackReq) XXX_DiscardUnknown() {
xxx_messageInfo_AddBlackReq.DiscardUnknown(m)
}
var xxx_messageInfo_AddBlackReq proto.InternalMessageInfo
func (m *AddBlackReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *AddBlackReq) GetBlackUserID() string {
if m != nil {
return m.BlackUserID
}
return ""
}
type AddBlackResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddBlackResp) Reset() { *m = AddBlackResp{} }
func (m *AddBlackResp) String() string { return proto.CompactTextString(m) }
func (*AddBlackResp) ProtoMessage() {}
func (*AddBlackResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{11}
}
func (m *AddBlackResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddBlackResp.Unmarshal(m, b)
}
func (m *AddBlackResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddBlackResp.Marshal(b, m, deterministic)
}
func (dst *AddBlackResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddBlackResp.Merge(dst, src)
}
func (m *AddBlackResp) XXX_Size() int {
return xxx_messageInfo_AddBlackResp.Size(m)
}
func (m *AddBlackResp) XXX_DiscardUnknown() {
xxx_messageInfo_AddBlackResp.DiscardUnknown(m)
}
var xxx_messageInfo_AddBlackResp proto.InternalMessageInfo
type RemoveBlackReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"`
BlackUserID string `protobuf:"bytes,2,opt,name=blackUserID" json:"blackUserID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RemoveBlackReq) Reset() { *m = RemoveBlackReq{} }
func (m *RemoveBlackReq) String() string { return proto.CompactTextString(m) }
func (*RemoveBlackReq) ProtoMessage() {}
func (*RemoveBlackReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{12}
}
func (m *RemoveBlackReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveBlackReq.Unmarshal(m, b)
}
func (m *RemoveBlackReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveBlackReq.Marshal(b, m, deterministic)
}
func (dst *RemoveBlackReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveBlackReq.Merge(dst, src)
}
func (m *RemoveBlackReq) XXX_Size() int {
return xxx_messageInfo_RemoveBlackReq.Size(m)
}
func (m *RemoveBlackReq) XXX_DiscardUnknown() {
xxx_messageInfo_RemoveBlackReq.DiscardUnknown(m)
}
var xxx_messageInfo_RemoveBlackReq proto.InternalMessageInfo
func (m *RemoveBlackReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *RemoveBlackReq) GetBlackUserID() string {
if m != nil {
return m.BlackUserID
}
return ""
}
type RemoveBlackResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RemoveBlackResp) Reset() { *m = RemoveBlackResp{} }
func (m *RemoveBlackResp) String() string { return proto.CompactTextString(m) }
func (*RemoveBlackResp) ProtoMessage() {}
func (*RemoveBlackResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{13}
}
func (m *RemoveBlackResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveBlackResp.Unmarshal(m, b)
}
func (m *RemoveBlackResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveBlackResp.Marshal(b, m, deterministic)
}
func (dst *RemoveBlackResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveBlackResp.Merge(dst, src)
}
func (m *RemoveBlackResp) XXX_Size() int {
return xxx_messageInfo_RemoveBlackResp.Size(m)
}
func (m *RemoveBlackResp) XXX_DiscardUnknown() {
xxx_messageInfo_RemoveBlackResp.DiscardUnknown(m)
}
var xxx_messageInfo_RemoveBlackResp proto.InternalMessageInfo
type GetPaginationBlacksReq struct {
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPaginationBlacksReq) Reset() { *m = GetPaginationBlacksReq{} }
func (m *GetPaginationBlacksReq) String() string { return proto.CompactTextString(m) }
func (*GetPaginationBlacksReq) ProtoMessage() {}
func (*GetPaginationBlacksReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{14}
}
func (m *GetPaginationBlacksReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationBlacksReq.Unmarshal(m, b)
}
func (m *GetPaginationBlacksReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationBlacksReq.Marshal(b, m, deterministic)
}
func (dst *GetPaginationBlacksReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationBlacksReq.Merge(dst, src)
}
func (m *GetPaginationBlacksReq) XXX_Size() int {
return xxx_messageInfo_GetPaginationBlacksReq.Size(m)
}
func (m *GetPaginationBlacksReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationBlacksReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetPaginationBlacksReq proto.InternalMessageInfo
func (m *GetPaginationBlacksReq) GetUserID() string {
if m != nil {
return m.UserID
}
return ""
}
func (m *GetPaginationBlacksReq) GetPagination() *sdkws.RequestPagination {
if m != nil {
return m.Pagination
}
return nil
}
type GetPaginationBlacksResp struct {
Blacks []*sdkws.BlackInfo `protobuf:"bytes,1,rep,name=blacks" json:"blacks,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total" json:"total,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPaginationBlacksResp) Reset() { *m = GetPaginationBlacksResp{} }
func (m *GetPaginationBlacksResp) String() string { return proto.CompactTextString(m) }
func (*GetPaginationBlacksResp) ProtoMessage() {}
func (*GetPaginationBlacksResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{15}
}
func (m *GetPaginationBlacksResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationBlacksResp.Unmarshal(m, b)
}
func (m *GetPaginationBlacksResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationBlacksResp.Marshal(b, m, deterministic)
}
func (dst *GetPaginationBlacksResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationBlacksResp.Merge(dst, src)
}
func (m *GetPaginationBlacksResp) XXX_Size() int {
return xxx_messageInfo_GetPaginationBlacksResp.Size(m)
}
func (m *GetPaginationBlacksResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationBlacksResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetPaginationBlacksResp proto.InternalMessageInfo
func (m *GetPaginationBlacksResp) GetBlacks() []*sdkws.BlackInfo {
if m != nil {
return m.Blacks
}
return nil
}
func (m *GetPaginationBlacksResp) GetTotal() int32 {
if m != nil {
return m.Total
}
return 0
}
type IsFriendReq struct {
UserID1 string `protobuf:"bytes,1,opt,name=userID1" json:"userID1,omitempty"`
UserID2 string `protobuf:"bytes,2,opt,name=userID2" json:"userID2,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IsFriendReq) Reset() { *m = IsFriendReq{} }
func (m *IsFriendReq) String() string { return proto.CompactTextString(m) }
func (*IsFriendReq) ProtoMessage() {}
func (*IsFriendReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{16}
}
func (m *IsFriendReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsFriendReq.Unmarshal(m, b)
}
func (m *IsFriendReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsFriendReq.Marshal(b, m, deterministic)
}
func (dst *IsFriendReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_IsFriendReq.Merge(dst, src)
}
func (m *IsFriendReq) XXX_Size() int {
return xxx_messageInfo_IsFriendReq.Size(m)
}
func (m *IsFriendReq) XXX_DiscardUnknown() {
xxx_messageInfo_IsFriendReq.DiscardUnknown(m)
}
var xxx_messageInfo_IsFriendReq proto.InternalMessageInfo
func (m *IsFriendReq) GetUserID1() string {
if m != nil {
return m.UserID1
}
return ""
}
func (m *IsFriendReq) GetUserID2() string {
if m != nil {
return m.UserID2
}
return ""
}
type IsFriendResp struct {
InUser1Friends bool `protobuf:"varint,1,opt,name=inUser1Friends" json:"inUser1Friends,omitempty"`
InUser2Friends bool `protobuf:"varint,2,opt,name=inUser2Friends" json:"inUser2Friends,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IsFriendResp) Reset() { *m = IsFriendResp{} }
func (m *IsFriendResp) String() string { return proto.CompactTextString(m) }
func (*IsFriendResp) ProtoMessage() {}
func (*IsFriendResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{17}
}
func (m *IsFriendResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsFriendResp.Unmarshal(m, b)
}
func (m *IsFriendResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsFriendResp.Marshal(b, m, deterministic)
}
func (dst *IsFriendResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_IsFriendResp.Merge(dst, src)
}
func (m *IsFriendResp) XXX_Size() int {
return xxx_messageInfo_IsFriendResp.Size(m)
}
func (m *IsFriendResp) XXX_DiscardUnknown() {
xxx_messageInfo_IsFriendResp.DiscardUnknown(m)
}
var xxx_messageInfo_IsFriendResp proto.InternalMessageInfo
func (m *IsFriendResp) GetInUser1Friends() bool {
if m != nil {
return m.InUser1Friends
}
return false
}
func (m *IsFriendResp) GetInUser2Friends() bool {
if m != nil {
return m.InUser2Friends
}
return false
}
type IsBlackReq struct {
UserID1 string `protobuf:"bytes,1,opt,name=userID1" json:"userID1,omitempty"`
UserID2 string `protobuf:"bytes,2,opt,name=userID2" json:"userID2,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IsBlackReq) Reset() { *m = IsBlackReq{} }
func (m *IsBlackReq) String() string { return proto.CompactTextString(m) }
func (*IsBlackReq) ProtoMessage() {}
func (*IsBlackReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{18}
}
func (m *IsBlackReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsBlackReq.Unmarshal(m, b)
}
func (m *IsBlackReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsBlackReq.Marshal(b, m, deterministic)
}
func (dst *IsBlackReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_IsBlackReq.Merge(dst, src)
}
func (m *IsBlackReq) XXX_Size() int {
return xxx_messageInfo_IsBlackReq.Size(m)
}
func (m *IsBlackReq) XXX_DiscardUnknown() {
xxx_messageInfo_IsBlackReq.DiscardUnknown(m)
}
var xxx_messageInfo_IsBlackReq proto.InternalMessageInfo
func (m *IsBlackReq) GetUserID1() string {
if m != nil {
return m.UserID1
}
return ""
}
func (m *IsBlackReq) GetUserID2() string {
if m != nil {
return m.UserID2
}
return ""
}
type IsBlackResp struct {
InUser1Blacks bool `protobuf:"varint,1,opt,name=inUser1Blacks" json:"inUser1Blacks,omitempty"`
InUser2Blacks bool `protobuf:"varint,2,opt,name=inUser2Blacks" json:"inUser2Blacks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IsBlackResp) Reset() { *m = IsBlackResp{} }
func (m *IsBlackResp) String() string { return proto.CompactTextString(m) }
func (*IsBlackResp) ProtoMessage() {}
func (*IsBlackResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{19}
}
func (m *IsBlackResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsBlackResp.Unmarshal(m, b)
}
func (m *IsBlackResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsBlackResp.Marshal(b, m, deterministic)
}
func (dst *IsBlackResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_IsBlackResp.Merge(dst, src)
}
func (m *IsBlackResp) XXX_Size() int {
return xxx_messageInfo_IsBlackResp.Size(m)
}
func (m *IsBlackResp) XXX_DiscardUnknown() {
xxx_messageInfo_IsBlackResp.DiscardUnknown(m)
}
var xxx_messageInfo_IsBlackResp proto.InternalMessageInfo
func (m *IsBlackResp) GetInUser1Blacks() bool {
if m != nil {
return m.InUser1Blacks
}
return false
}
func (m *IsBlackResp) GetInUser2Blacks() bool {
if m != nil {
return m.InUser2Blacks
}
return false
}
type DeleteFriendReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"`
FriendUserID string `protobuf:"bytes,2,opt,name=friendUserID" json:"friendUserID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteFriendReq) Reset() { *m = DeleteFriendReq{} }
func (m *DeleteFriendReq) String() string { return proto.CompactTextString(m) }
func (*DeleteFriendReq) ProtoMessage() {}
func (*DeleteFriendReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{20}
}
func (m *DeleteFriendReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteFriendReq.Unmarshal(m, b)
}
func (m *DeleteFriendReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteFriendReq.Marshal(b, m, deterministic)
}
func (dst *DeleteFriendReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteFriendReq.Merge(dst, src)
}
func (m *DeleteFriendReq) XXX_Size() int {
return xxx_messageInfo_DeleteFriendReq.Size(m)
}
func (m *DeleteFriendReq) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteFriendReq.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteFriendReq proto.InternalMessageInfo
func (m *DeleteFriendReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *DeleteFriendReq) GetFriendUserID() string {
if m != nil {
return m.FriendUserID
}
return ""
}
type DeleteFriendResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteFriendResp) Reset() { *m = DeleteFriendResp{} }
func (m *DeleteFriendResp) String() string { return proto.CompactTextString(m) }
func (*DeleteFriendResp) ProtoMessage() {}
func (*DeleteFriendResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{21}
}
func (m *DeleteFriendResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteFriendResp.Unmarshal(m, b)
}
func (m *DeleteFriendResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteFriendResp.Marshal(b, m, deterministic)
}
func (dst *DeleteFriendResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteFriendResp.Merge(dst, src)
}
func (m *DeleteFriendResp) XXX_Size() int {
return xxx_messageInfo_DeleteFriendResp.Size(m)
}
func (m *DeleteFriendResp) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteFriendResp.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteFriendResp proto.InternalMessageInfo
// process
type RespondFriendApplyReq struct {
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID" json:"fromUserID,omitempty"`
ToUserID string `protobuf:"bytes,2,opt,name=toUserID" json:"toUserID,omitempty"`
HandleResult int32 `protobuf:"varint,3,opt,name=handleResult" json:"handleResult,omitempty"`
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg" json:"handleMsg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespondFriendApplyReq) Reset() { *m = RespondFriendApplyReq{} }
func (m *RespondFriendApplyReq) String() string { return proto.CompactTextString(m) }
func (*RespondFriendApplyReq) ProtoMessage() {}
func (*RespondFriendApplyReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{22}
}
func (m *RespondFriendApplyReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespondFriendApplyReq.Unmarshal(m, b)
}
func (m *RespondFriendApplyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespondFriendApplyReq.Marshal(b, m, deterministic)
}
func (dst *RespondFriendApplyReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespondFriendApplyReq.Merge(dst, src)
}
func (m *RespondFriendApplyReq) XXX_Size() int {
return xxx_messageInfo_RespondFriendApplyReq.Size(m)
}
func (m *RespondFriendApplyReq) XXX_DiscardUnknown() {
xxx_messageInfo_RespondFriendApplyReq.DiscardUnknown(m)
}
var xxx_messageInfo_RespondFriendApplyReq proto.InternalMessageInfo
func (m *RespondFriendApplyReq) GetFromUserID() string {
if m != nil {
return m.FromUserID
}
return ""
}
func (m *RespondFriendApplyReq) GetToUserID() string {
if m != nil {
return m.ToUserID
}
return ""
}
func (m *RespondFriendApplyReq) GetHandleResult() int32 {
if m != nil {
return m.HandleResult
}
return 0
}
func (m *RespondFriendApplyReq) GetHandleMsg() string {
if m != nil {
return m.HandleMsg
}
return ""
}
type RespondFriendApplyResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespondFriendApplyResp) Reset() { *m = RespondFriendApplyResp{} }
func (m *RespondFriendApplyResp) String() string { return proto.CompactTextString(m) }
func (*RespondFriendApplyResp) ProtoMessage() {}
func (*RespondFriendApplyResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{23}
}
func (m *RespondFriendApplyResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespondFriendApplyResp.Unmarshal(m, b)
}
func (m *RespondFriendApplyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespondFriendApplyResp.Marshal(b, m, deterministic)
}
func (dst *RespondFriendApplyResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespondFriendApplyResp.Merge(dst, src)
}
func (m *RespondFriendApplyResp) XXX_Size() int {
return xxx_messageInfo_RespondFriendApplyResp.Size(m)
}
func (m *RespondFriendApplyResp) XXX_DiscardUnknown() {
xxx_messageInfo_RespondFriendApplyResp.DiscardUnknown(m)
}
var xxx_messageInfo_RespondFriendApplyResp proto.InternalMessageInfo
type SetFriendRemarkReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"`
FriendUserID string `protobuf:"bytes,2,opt,name=friendUserID" json:"friendUserID,omitempty"`
Remark string `protobuf:"bytes,3,opt,name=remark" json:"remark,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetFriendRemarkReq) Reset() { *m = SetFriendRemarkReq{} }
func (m *SetFriendRemarkReq) String() string { return proto.CompactTextString(m) }
func (*SetFriendRemarkReq) ProtoMessage() {}
func (*SetFriendRemarkReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{24}
}
func (m *SetFriendRemarkReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetFriendRemarkReq.Unmarshal(m, b)
}
func (m *SetFriendRemarkReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetFriendRemarkReq.Marshal(b, m, deterministic)
}
func (dst *SetFriendRemarkReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetFriendRemarkReq.Merge(dst, src)
}
func (m *SetFriendRemarkReq) XXX_Size() int {
return xxx_messageInfo_SetFriendRemarkReq.Size(m)
}
func (m *SetFriendRemarkReq) XXX_DiscardUnknown() {
xxx_messageInfo_SetFriendRemarkReq.DiscardUnknown(m)
}
var xxx_messageInfo_SetFriendRemarkReq proto.InternalMessageInfo
func (m *SetFriendRemarkReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *SetFriendRemarkReq) GetFriendUserID() string {
if m != nil {
return m.FriendUserID
}
return ""
}
func (m *SetFriendRemarkReq) GetRemark() string {
if m != nil {
return m.Remark
}
return ""
}
type SetFriendRemarkResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetFriendRemarkResp) Reset() { *m = SetFriendRemarkResp{} }
func (m *SetFriendRemarkResp) String() string { return proto.CompactTextString(m) }
func (*SetFriendRemarkResp) ProtoMessage() {}
func (*SetFriendRemarkResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{25}
}
func (m *SetFriendRemarkResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetFriendRemarkResp.Unmarshal(m, b)
}
func (m *SetFriendRemarkResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetFriendRemarkResp.Marshal(b, m, deterministic)
}
func (dst *SetFriendRemarkResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetFriendRemarkResp.Merge(dst, src)
}
func (m *SetFriendRemarkResp) XXX_Size() int {
return xxx_messageInfo_SetFriendRemarkResp.Size(m)
}
func (m *SetFriendRemarkResp) XXX_DiscardUnknown() {
xxx_messageInfo_SetFriendRemarkResp.DiscardUnknown(m)
}
var xxx_messageInfo_SetFriendRemarkResp proto.InternalMessageInfo
type GetPaginationFriendsApplyFromReq struct {
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination" json:"pagination,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPaginationFriendsApplyFromReq) Reset() { *m = GetPaginationFriendsApplyFromReq{} }
func (m *GetPaginationFriendsApplyFromReq) String() string { return proto.CompactTextString(m) }
func (*GetPaginationFriendsApplyFromReq) ProtoMessage() {}
func (*GetPaginationFriendsApplyFromReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{26}
}
func (m *GetPaginationFriendsApplyFromReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationFriendsApplyFromReq.Unmarshal(m, b)
}
func (m *GetPaginationFriendsApplyFromReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationFriendsApplyFromReq.Marshal(b, m, deterministic)
}
func (dst *GetPaginationFriendsApplyFromReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationFriendsApplyFromReq.Merge(dst, src)
}
func (m *GetPaginationFriendsApplyFromReq) XXX_Size() int {
return xxx_messageInfo_GetPaginationFriendsApplyFromReq.Size(m)
}
func (m *GetPaginationFriendsApplyFromReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationFriendsApplyFromReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetPaginationFriendsApplyFromReq proto.InternalMessageInfo
func (m *GetPaginationFriendsApplyFromReq) GetUserID() string {
if m != nil {
return m.UserID
}
return ""
}
func (m *GetPaginationFriendsApplyFromReq) GetPagination() *sdkws.RequestPagination {
if m != nil {
return m.Pagination
}
return nil
}
type GetPaginationFriendsApplyFromResp struct {
FriendRequests []*sdkws.FriendRequest `protobuf:"bytes,1,rep,name=friendRequests" json:"friendRequests,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total" json:"total,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetPaginationFriendsApplyFromResp) Reset() { *m = GetPaginationFriendsApplyFromResp{} }
func (m *GetPaginationFriendsApplyFromResp) String() string { return proto.CompactTextString(m) }
func (*GetPaginationFriendsApplyFromResp) ProtoMessage() {}
func (*GetPaginationFriendsApplyFromResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{27}
}
func (m *GetPaginationFriendsApplyFromResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetPaginationFriendsApplyFromResp.Unmarshal(m, b)
}
func (m *GetPaginationFriendsApplyFromResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetPaginationFriendsApplyFromResp.Marshal(b, m, deterministic)
}
func (dst *GetPaginationFriendsApplyFromResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetPaginationFriendsApplyFromResp.Merge(dst, src)
}
func (m *GetPaginationFriendsApplyFromResp) XXX_Size() int {
return xxx_messageInfo_GetPaginationFriendsApplyFromResp.Size(m)
}
func (m *GetPaginationFriendsApplyFromResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetPaginationFriendsApplyFromResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetPaginationFriendsApplyFromResp proto.InternalMessageInfo
func (m *GetPaginationFriendsApplyFromResp) GetFriendRequests() []*sdkws.FriendRequest {
if m != nil {
return m.FriendRequests
}
return nil
}
func (m *GetPaginationFriendsApplyFromResp) GetTotal() int32 {
if m != nil {
return m.Total
}
return 0
}
type GetFriendIDsReq struct {
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetFriendIDsReq) Reset() { *m = GetFriendIDsReq{} }
func (m *GetFriendIDsReq) String() string { return proto.CompactTextString(m) }
func (*GetFriendIDsReq) ProtoMessage() {}
func (*GetFriendIDsReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{28}
}
func (m *GetFriendIDsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendIDsReq.Unmarshal(m, b)
}
func (m *GetFriendIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendIDsReq.Marshal(b, m, deterministic)
}
func (dst *GetFriendIDsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendIDsReq.Merge(dst, src)
}
func (m *GetFriendIDsReq) XXX_Size() int {
return xxx_messageInfo_GetFriendIDsReq.Size(m)
}
func (m *GetFriendIDsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendIDsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetFriendIDsReq proto.InternalMessageInfo
func (m *GetFriendIDsReq) GetUserID() string {
if m != nil {
return m.UserID
}
return ""
}
type GetFriendIDsResp struct {
FriendIDs []string `protobuf:"bytes,1,rep,name=friendIDs" json:"friendIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetFriendIDsResp) Reset() { *m = GetFriendIDsResp{} }
func (m *GetFriendIDsResp) String() string { return proto.CompactTextString(m) }
func (*GetFriendIDsResp) ProtoMessage() {}
func (*GetFriendIDsResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_10585ad6091091a7, []int{29}
}
func (m *GetFriendIDsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendIDsResp.Unmarshal(m, b)
}
func (m *GetFriendIDsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendIDsResp.Marshal(b, m, deterministic)
}
func (dst *GetFriendIDsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendIDsResp.Merge(dst, src)
}
func (m *GetFriendIDsResp) XXX_Size() int {
return xxx_messageInfo_GetFriendIDsResp.Size(m)
}
func (m *GetFriendIDsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendIDsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetFriendIDsResp proto.InternalMessageInfo
func (m *GetFriendIDsResp) GetFriendIDs() []string {
if m != nil {
return m.FriendIDs
}
return nil
}
func init() {
proto.RegisterType((*GetPaginationFriendsReq)(nil), "OpenIMServer.friend.getPaginationFriendsReq")
proto.RegisterType((*GetPaginationFriendsResp)(nil), "OpenIMServer.friend.getPaginationFriendsResp")
proto.RegisterType((*ApplyToAddFriendReq)(nil), "OpenIMServer.friend.applyToAddFriendReq")
proto.RegisterType((*ApplyToAddFriendResp)(nil), "OpenIMServer.friend.applyToAddFriendResp")
proto.RegisterType((*ImportFriendReq)(nil), "OpenIMServer.friend.importFriendReq")
proto.RegisterType((*ImportFriendResp)(nil), "OpenIMServer.friend.importFriendResp")
proto.RegisterType((*GetPaginationFriendsApplyToReq)(nil), "OpenIMServer.friend.getPaginationFriendsApplyToReq")
proto.RegisterType((*GetPaginationFriendsApplyToResp)(nil), "OpenIMServer.friend.getPaginationFriendsApplyToResp")
proto.RegisterType((*GetDesignatedFriendsReq)(nil), "OpenIMServer.friend.getDesignatedFriendsReq")
proto.RegisterType((*GetDesignatedFriendsResp)(nil), "OpenIMServer.friend.getDesignatedFriendsResp")
proto.RegisterType((*AddBlackReq)(nil), "OpenIMServer.friend.addBlackReq")
proto.RegisterType((*AddBlackResp)(nil), "OpenIMServer.friend.addBlackResp")
proto.RegisterType((*RemoveBlackReq)(nil), "OpenIMServer.friend.removeBlackReq")
proto.RegisterType((*RemoveBlackResp)(nil), "OpenIMServer.friend.removeBlackResp")
proto.RegisterType((*GetPaginationBlacksReq)(nil), "OpenIMServer.friend.getPaginationBlacksReq")
proto.RegisterType((*GetPaginationBlacksResp)(nil), "OpenIMServer.friend.getPaginationBlacksResp")
proto.RegisterType((*IsFriendReq)(nil), "OpenIMServer.friend.isFriendReq")
proto.RegisterType((*IsFriendResp)(nil), "OpenIMServer.friend.isFriendResp")
proto.RegisterType((*IsBlackReq)(nil), "OpenIMServer.friend.isBlackReq")
proto.RegisterType((*IsBlackResp)(nil), "OpenIMServer.friend.isBlackResp")
proto.RegisterType((*DeleteFriendReq)(nil), "OpenIMServer.friend.deleteFriendReq")
proto.RegisterType((*DeleteFriendResp)(nil), "OpenIMServer.friend.deleteFriendResp")
proto.RegisterType((*RespondFriendApplyReq)(nil), "OpenIMServer.friend.respondFriendApplyReq")
proto.RegisterType((*RespondFriendApplyResp)(nil), "OpenIMServer.friend.respondFriendApplyResp")
proto.RegisterType((*SetFriendRemarkReq)(nil), "OpenIMServer.friend.setFriendRemarkReq")
proto.RegisterType((*SetFriendRemarkResp)(nil), "OpenIMServer.friend.setFriendRemarkResp")
proto.RegisterType((*GetPaginationFriendsApplyFromReq)(nil), "OpenIMServer.friend.getPaginationFriendsApplyFromReq")
proto.RegisterType((*GetPaginationFriendsApplyFromResp)(nil), "OpenIMServer.friend.getPaginationFriendsApplyFromResp")
proto.RegisterType((*GetFriendIDsReq)(nil), "OpenIMServer.friend.getFriendIDsReq")
proto.RegisterType((*GetFriendIDsResp)(nil), "OpenIMServer.friend.getFriendIDsResp")
}
// 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 Friend service
type FriendClient interface {
// 申请加好友
ApplyToAddFriend(ctx context.Context, in *ApplyToAddFriendReq, opts ...grpc.CallOption) (*ApplyToAddFriendResp, error)
// 获取收到的好友申请列表
GetPaginationFriendsApplyTo(ctx context.Context, in *GetPaginationFriendsApplyToReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyToResp, error)
// 获取主动发出去的好友申请列表
GetPaginationFriendsApplyFrom(ctx context.Context, in *GetPaginationFriendsApplyFromReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyFromResp, error)
// 添加黑名单
AddBlack(ctx context.Context, in *AddBlackReq, opts ...grpc.CallOption) (*AddBlackResp, error)
// 移除黑名单
RemoveBlack(ctx context.Context, in *RemoveBlackReq, opts ...grpc.CallOption) (*RemoveBlackResp, error)
// 判断是否好友关系
IsFriend(ctx context.Context, in *IsFriendReq, opts ...grpc.CallOption) (*IsFriendResp, error)
// 判断是否在黑名单中
IsBlack(ctx context.Context, in *IsBlackReq, opts ...grpc.CallOption) (*IsBlackResp, error)
// 获取黑名单列表
GetPaginationBlacks(ctx context.Context, in *GetPaginationBlacksReq, opts ...grpc.CallOption) (*GetPaginationBlacksResp, error)
// 删除好友
DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error)
// 对好友申请响应(同意或拒绝)
RespondFriendApply(ctx context.Context, in *RespondFriendApplyReq, opts ...grpc.CallOption) (*RespondFriendApplyResp, error)
// 设置好友备注
SetFriendRemark(ctx context.Context, in *SetFriendRemarkReq, opts ...grpc.CallOption) (*SetFriendRemarkResp, error)
// 导入好友关系
ImportFriends(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, error)
// 翻页获取好友列表 无结果不返回错误
GetDesignatedFriends(ctx context.Context, in *GetDesignatedFriendsReq, opts ...grpc.CallOption) (*GetDesignatedFriendsResp, error)
// 获取指定好友信息 有id不存在也返回错误
GetPaginationFriends(ctx context.Context, in *GetPaginationFriendsReq, opts ...grpc.CallOption) (*GetPaginationFriendsResp, error)
// 获取好友ID列表
GetFriendIDs(ctx context.Context, in *GetFriendIDsReq, opts ...grpc.CallOption) (*GetFriendIDsResp, error)
}
type friendClient struct {
cc *grpc.ClientConn
}
func NewFriendClient(cc *grpc.ClientConn) FriendClient {
return &friendClient{cc}
}
func (c *friendClient) ApplyToAddFriend(ctx context.Context, in *ApplyToAddFriendReq, opts ...grpc.CallOption) (*ApplyToAddFriendResp, error) {
out := new(ApplyToAddFriendResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/applyToAddFriend", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) GetPaginationFriendsApplyTo(ctx context.Context, in *GetPaginationFriendsApplyToReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyToResp, error) {
out := new(GetPaginationFriendsApplyToResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/getPaginationFriendsApplyTo", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) GetPaginationFriendsApplyFrom(ctx context.Context, in *GetPaginationFriendsApplyFromReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyFromResp, error) {
out := new(GetPaginationFriendsApplyFromResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/getPaginationFriendsApplyFrom", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) AddBlack(ctx context.Context, in *AddBlackReq, opts ...grpc.CallOption) (*AddBlackResp, error) {
out := new(AddBlackResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/addBlack", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) RemoveBlack(ctx context.Context, in *RemoveBlackReq, opts ...grpc.CallOption) (*RemoveBlackResp, error) {
out := new(RemoveBlackResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/removeBlack", in, out, c.cc, 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 := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/isFriend", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) IsBlack(ctx context.Context, in *IsBlackReq, opts ...grpc.CallOption) (*IsBlackResp, error) {
out := new(IsBlackResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/isBlack", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) GetPaginationBlacks(ctx context.Context, in *GetPaginationBlacksReq, opts ...grpc.CallOption) (*GetPaginationBlacksResp, error) {
out := new(GetPaginationBlacksResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/getPaginationBlacks", in, out, c.cc, 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 := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/deleteFriend", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) RespondFriendApply(ctx context.Context, in *RespondFriendApplyReq, opts ...grpc.CallOption) (*RespondFriendApplyResp, error) {
out := new(RespondFriendApplyResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/respondFriendApply", in, out, c.cc, 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 := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/setFriendRemark", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) ImportFriends(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, error) {
out := new(ImportFriendResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/importFriends", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) GetDesignatedFriends(ctx context.Context, in *GetDesignatedFriendsReq, opts ...grpc.CallOption) (*GetDesignatedFriendsResp, error) {
out := new(GetDesignatedFriendsResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/getDesignatedFriends", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) GetPaginationFriends(ctx context.Context, in *GetPaginationFriendsReq, opts ...grpc.CallOption) (*GetPaginationFriendsResp, error) {
out := new(GetPaginationFriendsResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/getPaginationFriends", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) GetFriendIDs(ctx context.Context, in *GetFriendIDsReq, opts ...grpc.CallOption) (*GetFriendIDsResp, error) {
out := new(GetFriendIDsResp)
err := grpc.Invoke(ctx, "/OpenIMServer.friend.friend/getFriendIDs", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Friend service
type FriendServer interface {
// 申请加好友
ApplyToAddFriend(context.Context, *ApplyToAddFriendReq) (*ApplyToAddFriendResp, error)
// 获取收到的好友申请列表
GetPaginationFriendsApplyTo(context.Context, *GetPaginationFriendsApplyToReq) (*GetPaginationFriendsApplyToResp, error)
// 获取主动发出去的好友申请列表
GetPaginationFriendsApplyFrom(context.Context, *GetPaginationFriendsApplyFromReq) (*GetPaginationFriendsApplyFromResp, error)
// 添加黑名单
AddBlack(context.Context, *AddBlackReq) (*AddBlackResp, error)
// 移除黑名单
RemoveBlack(context.Context, *RemoveBlackReq) (*RemoveBlackResp, error)
// 判断是否好友关系
IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error)
// 判断是否在黑名单中
IsBlack(context.Context, *IsBlackReq) (*IsBlackResp, error)
// 获取黑名单列表
GetPaginationBlacks(context.Context, *GetPaginationBlacksReq) (*GetPaginationBlacksResp, error)
// 删除好友
DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
// 对好友申请响应(同意或拒绝)
RespondFriendApply(context.Context, *RespondFriendApplyReq) (*RespondFriendApplyResp, error)
// 设置好友备注
SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error)
// 导入好友关系
ImportFriends(context.Context, *ImportFriendReq) (*ImportFriendResp, error)
// 翻页获取好友列表 无结果不返回错误
GetDesignatedFriends(context.Context, *GetDesignatedFriendsReq) (*GetDesignatedFriendsResp, error)
// 获取指定好友信息 有id不存在也返回错误
GetPaginationFriends(context.Context, *GetPaginationFriendsReq) (*GetPaginationFriendsResp, error)
// 获取好友ID列表
GetFriendIDs(context.Context, *GetFriendIDsReq) (*GetFriendIDsResp, error)
}
func RegisterFriendServer(s *grpc.Server, srv FriendServer) {
s.RegisterService(&_Friend_serviceDesc, srv)
}
func _Friend_ApplyToAddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ApplyToAddFriendReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).ApplyToAddFriend(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/ApplyToAddFriend",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).ApplyToAddFriend(ctx, req.(*ApplyToAddFriendReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_GetPaginationFriendsApplyTo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetPaginationFriendsApplyToReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).GetPaginationFriendsApplyTo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/GetPaginationFriendsApplyTo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).GetPaginationFriendsApplyTo(ctx, req.(*GetPaginationFriendsApplyToReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_GetPaginationFriendsApplyFrom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetPaginationFriendsApplyFromReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).GetPaginationFriendsApplyFrom(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/GetPaginationFriendsApplyFrom",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).GetPaginationFriendsApplyFrom(ctx, req.(*GetPaginationFriendsApplyFromReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_AddBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddBlackReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).AddBlack(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/AddBlack",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).AddBlack(ctx, req.(*AddBlackReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_RemoveBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RemoveBlackReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).RemoveBlack(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/RemoveBlack",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).RemoveBlack(ctx, req.(*RemoveBlackReq))
}
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: "/OpenIMServer.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_IsBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(IsBlackReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).IsBlack(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/IsBlack",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).IsBlack(ctx, req.(*IsBlackReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_GetPaginationBlacks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetPaginationBlacksReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).GetPaginationBlacks(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/GetPaginationBlacks",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).GetPaginationBlacks(ctx, req.(*GetPaginationBlacksReq))
}
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: "/OpenIMServer.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_RespondFriendApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RespondFriendApplyReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).RespondFriendApply(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/RespondFriendApply",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).RespondFriendApply(ctx, req.(*RespondFriendApplyReq))
}
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: "/OpenIMServer.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_ImportFriends_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).ImportFriends(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/ImportFriends",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).ImportFriends(ctx, req.(*ImportFriendReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_GetDesignatedFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetDesignatedFriendsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).GetDesignatedFriends(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/GetDesignatedFriends",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).GetDesignatedFriends(ctx, req.(*GetDesignatedFriendsReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_GetPaginationFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetPaginationFriendsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).GetPaginationFriends(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/GetPaginationFriends",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).GetPaginationFriends(ctx, req.(*GetPaginationFriendsReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_GetFriendIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetFriendIDsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).GetFriendIDs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/OpenIMServer.friend.friend/GetFriendIDs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).GetFriendIDs(ctx, req.(*GetFriendIDsReq))
}
return interceptor(ctx, in, info, handler)
}
var _Friend_serviceDesc = grpc.ServiceDesc{
ServiceName: "OpenIMServer.friend.friend",
HandlerType: (*FriendServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "applyToAddFriend",
Handler: _Friend_ApplyToAddFriend_Handler,
},
{
MethodName: "getPaginationFriendsApplyTo",
Handler: _Friend_GetPaginationFriendsApplyTo_Handler,
},
{
MethodName: "getPaginationFriendsApplyFrom",
Handler: _Friend_GetPaginationFriendsApplyFrom_Handler,
},
{
MethodName: "addBlack",
Handler: _Friend_AddBlack_Handler,
},
{
MethodName: "removeBlack",
Handler: _Friend_RemoveBlack_Handler,
},
{
MethodName: "isFriend",
Handler: _Friend_IsFriend_Handler,
},
{
MethodName: "isBlack",
Handler: _Friend_IsBlack_Handler,
},
{
MethodName: "getPaginationBlacks",
Handler: _Friend_GetPaginationBlacks_Handler,
},
{
MethodName: "deleteFriend",
Handler: _Friend_DeleteFriend_Handler,
},
{
MethodName: "respondFriendApply",
Handler: _Friend_RespondFriendApply_Handler,
},
{
MethodName: "setFriendRemark",
Handler: _Friend_SetFriendRemark_Handler,
},
{
MethodName: "importFriends",
Handler: _Friend_ImportFriends_Handler,
},
{
MethodName: "getDesignatedFriends",
Handler: _Friend_GetDesignatedFriends_Handler,
},
{
MethodName: "getPaginationFriends",
Handler: _Friend_GetPaginationFriends_Handler,
},
{
MethodName: "getFriendIDs",
Handler: _Friend_GetFriendIDs_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "friend/friend.proto",
}
func init() { proto.RegisterFile("friend/friend.proto", fileDescriptor_friend_10585ad6091091a7) }
var fileDescriptor_friend_10585ad6091091a7 = []byte{
// 1029 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0xdb, 0xc6,
0x12, 0x06, 0xe5, 0x67, 0x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