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

1886 lines
69 KiB

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: friend/friend.proto
2 years ago
package friend // import "Open_IM/pkg/proto/friend"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import sdk_ws "Open_IM/pkg/proto/sdk_ws"
import (
2 years ago
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
2 years ago
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
2 years ago
// 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
3 years ago
type CommID struct {
2 years ago
OpUserID string `protobuf:"bytes,1,opt,name=OpUserID" json:"OpUserID,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
ToUserID string `protobuf:"bytes,4,opt,name=ToUserID" json:"ToUserID,omitempty"`
FromUserID string `protobuf:"bytes,5,opt,name=FromUserID" json:"FromUserID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommID) Reset() { *m = CommID{} }
func (m *CommID) String() string { return proto.CompactTextString(m) }
func (*CommID) ProtoMessage() {}
func (*CommID) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{0}
3 years ago
}
2 years ago
func (m *CommID) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommID.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *CommID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommID.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
func (dst *CommID) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommID.Merge(dst, src)
3 years ago
}
2 years ago
func (m *CommID) XXX_Size() int {
return xxx_messageInfo_CommID.Size(m)
2 years ago
}
2 years ago
func (m *CommID) XXX_DiscardUnknown() {
xxx_messageInfo_CommID.DiscardUnknown(m)
}
var xxx_messageInfo_CommID proto.InternalMessageInfo
3 years ago
2 years ago
func (m *CommID) GetOpUserID() string {
if m != nil {
return m.OpUserID
3 years ago
}
return ""
}
2 years ago
func (m *CommID) GetOperationID() string {
if m != nil {
return m.OperationID
3 years ago
}
return ""
}
2 years ago
func (m *CommID) GetToUserID() string {
if m != nil {
return m.ToUserID
3 years ago
}
return ""
}
2 years ago
func (m *CommID) GetFromUserID() string {
if m != nil {
return m.FromUserID
3 years ago
}
return ""
}
type GetFriendsInfoReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *GetFriendsInfoReq) Reset() { *m = GetFriendsInfoReq{} }
func (m *GetFriendsInfoReq) String() string { return proto.CompactTextString(m) }
func (*GetFriendsInfoReq) ProtoMessage() {}
func (*GetFriendsInfoReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{1}
}
2 years ago
func (m *GetFriendsInfoReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendsInfoReq.Unmarshal(m, b)
}
2 years ago
func (m *GetFriendsInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendsInfoReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *GetFriendsInfoReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendsInfoReq.Merge(dst, src)
2 years ago
}
2 years ago
func (m *GetFriendsInfoReq) XXX_Size() int {
return xxx_messageInfo_GetFriendsInfoReq.Size(m)
}
func (m *GetFriendsInfoReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendsInfoReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetFriendsInfoReq proto.InternalMessageInfo
2 years ago
func (m *GetFriendsInfoReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
3 years ago
type GetFriendInfoResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,2,rep,name=FriendInfoList" json:"FriendInfoList,omitempty"`
2 years ago
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *GetFriendInfoResp) Reset() { *m = GetFriendInfoResp{} }
func (m *GetFriendInfoResp) String() string { return proto.CompactTextString(m) }
func (*GetFriendInfoResp) ProtoMessage() {}
func (*GetFriendInfoResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{2}
}
2 years ago
func (m *GetFriendInfoResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendInfoResp.Unmarshal(m, b)
}
2 years ago
func (m *GetFriendInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendInfoResp.Marshal(b, m, deterministic)
}
2 years ago
func (dst *GetFriendInfoResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendInfoResp.Merge(dst, src)
}
func (m *GetFriendInfoResp) XXX_Size() int {
return xxx_messageInfo_GetFriendInfoResp.Size(m)
}
func (m *GetFriendInfoResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendInfoResp.DiscardUnknown(m)
2 years ago
}
2 years ago
var xxx_messageInfo_GetFriendInfoResp proto.InternalMessageInfo
func (m *GetFriendInfoResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
}
return nil
}
2 years ago
func (m *GetFriendInfoResp) GetFriendInfoList() []*sdk_ws.FriendInfo {
if m != nil {
return m.FriendInfoList
}
3 years ago
return nil
}
type AddFriendReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
ReqMsg string `protobuf:"bytes,2,opt,name=ReqMsg" json:"ReqMsg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *AddFriendReq) Reset() { *m = AddFriendReq{} }
func (m *AddFriendReq) String() string { return proto.CompactTextString(m) }
func (*AddFriendReq) ProtoMessage() {}
func (*AddFriendReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{3}
}
2 years ago
func (m *AddFriendReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddFriendReq.Unmarshal(m, b)
}
2 years ago
func (m *AddFriendReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddFriendReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *AddFriendReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddFriendReq.Merge(dst, src)
}
func (m *AddFriendReq) XXX_Size() int {
return xxx_messageInfo_AddFriendReq.Size(m)
2 years ago
}
2 years ago
func (m *AddFriendReq) XXX_DiscardUnknown() {
xxx_messageInfo_AddFriendReq.DiscardUnknown(m)
}
var xxx_messageInfo_AddFriendReq proto.InternalMessageInfo
2 years ago
func (m *AddFriendReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
2 years ago
func (m *AddFriendReq) GetReqMsg() string {
if m != nil {
return m.ReqMsg
}
return ""
}
3 years ago
type AddFriendResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
func (m *AddFriendResp) Reset() { *m = AddFriendResp{} }
func (m *AddFriendResp) String() string { return proto.CompactTextString(m) }
func (*AddFriendResp) ProtoMessage() {}
func (*AddFriendResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{4}
3 years ago
}
2 years ago
func (m *AddFriendResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddFriendResp.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *AddFriendResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddFriendResp.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
func (dst *AddFriendResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddFriendResp.Merge(dst, src)
}
func (m *AddFriendResp) XXX_Size() int {
return xxx_messageInfo_AddFriendResp.Size(m)
2 years ago
}
2 years ago
func (m *AddFriendResp) XXX_DiscardUnknown() {
xxx_messageInfo_AddFriendResp.DiscardUnknown(m)
}
var xxx_messageInfo_AddFriendResp proto.InternalMessageInfo
3 years ago
func (m *AddFriendResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
3 years ago
}
return nil
}
type ImportFriendReq struct {
2 years ago
FriendUserIDList []string `protobuf:"bytes,1,rep,name=FriendUserIDList" json:"FriendUserIDList,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
FromUserID string `protobuf:"bytes,3,opt,name=FromUserID" json:"FromUserID,omitempty"`
OpUserID string `protobuf:"bytes,4,opt,name=OpUserID" json:"OpUserID,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_30fdefc06aa43365, []int{5}
}
2 years ago
func (m *ImportFriendReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportFriendReq.Unmarshal(m, b)
}
2 years ago
func (m *ImportFriendReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportFriendReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *ImportFriendReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportFriendReq.Merge(dst, src)
}
2 years ago
func (m *ImportFriendReq) XXX_Size() int {
return xxx_messageInfo_ImportFriendReq.Size(m)
}
func (m *ImportFriendReq) XXX_DiscardUnknown() {
xxx_messageInfo_ImportFriendReq.DiscardUnknown(m)
2 years ago
}
2 years ago
var xxx_messageInfo_ImportFriendReq proto.InternalMessageInfo
func (m *ImportFriendReq) GetFriendUserIDList() []string {
if m != nil {
return m.FriendUserIDList
}
return nil
}
2 years ago
func (m *ImportFriendReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
2 years ago
func (m *ImportFriendReq) GetFromUserID() string {
if m != nil {
return m.FromUserID
}
return ""
}
2 years ago
func (m *ImportFriendReq) GetOpUserID() string {
if m != nil {
return m.OpUserID
}
return ""
}
3 years ago
type UserIDResult struct {
2 years ago
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:"-"`
3 years ago
}
2 years ago
2 years ago
func (m *UserIDResult) Reset() { *m = UserIDResult{} }
func (m *UserIDResult) String() string { return proto.CompactTextString(m) }
func (*UserIDResult) ProtoMessage() {}
func (*UserIDResult) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{6}
3 years ago
}
2 years ago
func (m *UserIDResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserIDResult.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *UserIDResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserIDResult.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
func (dst *UserIDResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserIDResult.Merge(dst, src)
}
func (m *UserIDResult) XXX_Size() int {
return xxx_messageInfo_UserIDResult.Size(m)
}
func (m *UserIDResult) XXX_DiscardUnknown() {
xxx_messageInfo_UserIDResult.DiscardUnknown(m)
2 years ago
}
3 years ago
2 years ago
var xxx_messageInfo_UserIDResult proto.InternalMessageInfo
func (m *UserIDResult) GetUserID() string {
if m != nil {
return m.UserID
3 years ago
}
return ""
}
2 years ago
func (m *UserIDResult) GetResult() int32 {
if m != nil {
return m.Result
3 years ago
}
return 0
}
type ImportFriendResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
UserIDResultList []*UserIDResult `protobuf:"bytes,2,rep,name=UserIDResultList" json:"UserIDResultList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
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_30fdefc06aa43365, []int{7}
}
2 years ago
func (m *ImportFriendResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportFriendResp.Unmarshal(m, b)
}
2 years ago
func (m *ImportFriendResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportFriendResp.Marshal(b, m, deterministic)
}
2 years ago
func (dst *ImportFriendResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportFriendResp.Merge(dst, src)
2 years ago
}
2 years ago
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
func (m *ImportFriendResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
}
return nil
}
2 years ago
func (m *ImportFriendResp) GetUserIDResultList() []*UserIDResult {
if m != nil {
return m.UserIDResultList
}
return nil
}
3 years ago
type GetFriendApplyListReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *GetFriendApplyListReq) Reset() { *m = GetFriendApplyListReq{} }
func (m *GetFriendApplyListReq) String() string { return proto.CompactTextString(m) }
func (*GetFriendApplyListReq) ProtoMessage() {}
func (*GetFriendApplyListReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{8}
}
2 years ago
func (m *GetFriendApplyListReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendApplyListReq.Unmarshal(m, b)
}
2 years ago
func (m *GetFriendApplyListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendApplyListReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *GetFriendApplyListReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendApplyListReq.Merge(dst, src)
2 years ago
}
2 years ago
func (m *GetFriendApplyListReq) XXX_Size() int {
return xxx_messageInfo_GetFriendApplyListReq.Size(m)
}
func (m *GetFriendApplyListReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendApplyListReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetFriendApplyListReq proto.InternalMessageInfo
2 years ago
func (m *GetFriendApplyListReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
3 years ago
type GetFriendApplyListResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
FriendRequestList []*sdk_ws.FriendRequest `protobuf:"bytes,2,rep,name=FriendRequestList" json:"FriendRequestList,omitempty"`
2 years ago
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *GetFriendApplyListResp) Reset() { *m = GetFriendApplyListResp{} }
func (m *GetFriendApplyListResp) String() string { return proto.CompactTextString(m) }
func (*GetFriendApplyListResp) ProtoMessage() {}
func (*GetFriendApplyListResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{9}
}
2 years ago
func (m *GetFriendApplyListResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendApplyListResp.Unmarshal(m, b)
}
2 years ago
func (m *GetFriendApplyListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendApplyListResp.Marshal(b, m, deterministic)
}
2 years ago
func (dst *GetFriendApplyListResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendApplyListResp.Merge(dst, src)
}
func (m *GetFriendApplyListResp) XXX_Size() int {
return xxx_messageInfo_GetFriendApplyListResp.Size(m)
2 years ago
}
2 years ago
func (m *GetFriendApplyListResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendApplyListResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetFriendApplyListResp proto.InternalMessageInfo
func (m *GetFriendApplyListResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
}
return nil
}
2 years ago
func (m *GetFriendApplyListResp) GetFriendRequestList() []*sdk_ws.FriendRequest {
if m != nil {
return m.FriendRequestList
}
3 years ago
return nil
}
type GetFriendListReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *GetFriendListReq) Reset() { *m = GetFriendListReq{} }
func (m *GetFriendListReq) String() string { return proto.CompactTextString(m) }
func (*GetFriendListReq) ProtoMessage() {}
func (*GetFriendListReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{10}
}
2 years ago
func (m *GetFriendListReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendListReq.Unmarshal(m, b)
}
2 years ago
func (m *GetFriendListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendListReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *GetFriendListReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendListReq.Merge(dst, src)
}
func (m *GetFriendListReq) XXX_Size() int {
return xxx_messageInfo_GetFriendListReq.Size(m)
2 years ago
}
2 years ago
func (m *GetFriendListReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendListReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetFriendListReq proto.InternalMessageInfo
2 years ago
func (m *GetFriendListReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
type GetFriendListResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,2,rep,name=FriendInfoList" json:"FriendInfoList,omitempty"`
2 years ago
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *GetFriendListResp) Reset() { *m = GetFriendListResp{} }
func (m *GetFriendListResp) String() string { return proto.CompactTextString(m) }
func (*GetFriendListResp) ProtoMessage() {}
func (*GetFriendListResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{11}
}
2 years ago
func (m *GetFriendListResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendListResp.Unmarshal(m, b)
}
2 years ago
func (m *GetFriendListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendListResp.Marshal(b, m, deterministic)
}
2 years ago
func (dst *GetFriendListResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendListResp.Merge(dst, src)
}
func (m *GetFriendListResp) XXX_Size() int {
return xxx_messageInfo_GetFriendListResp.Size(m)
}
func (m *GetFriendListResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendListResp.DiscardUnknown(m)
2 years ago
}
2 years ago
var xxx_messageInfo_GetFriendListResp proto.InternalMessageInfo
func (m *GetFriendListResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
}
return nil
}
2 years ago
func (m *GetFriendListResp) GetFriendInfoList() []*sdk_ws.FriendInfo {
if m != nil {
return m.FriendInfoList
}
return nil
}
type AddBlacklistReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *AddBlacklistReq) Reset() { *m = AddBlacklistReq{} }
func (m *AddBlacklistReq) String() string { return proto.CompactTextString(m) }
func (*AddBlacklistReq) ProtoMessage() {}
func (*AddBlacklistReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{12}
}
2 years ago
func (m *AddBlacklistReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddBlacklistReq.Unmarshal(m, b)
}
2 years ago
func (m *AddBlacklistReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddBlacklistReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *AddBlacklistReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddBlacklistReq.Merge(dst, src)
}
func (m *AddBlacklistReq) XXX_Size() int {
return xxx_messageInfo_AddBlacklistReq.Size(m)
}
func (m *AddBlacklistReq) XXX_DiscardUnknown() {
xxx_messageInfo_AddBlacklistReq.DiscardUnknown(m)
2 years ago
}
2 years ago
var xxx_messageInfo_AddBlacklistReq proto.InternalMessageInfo
func (m *AddBlacklistReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
3 years ago
type AddBlacklistResp struct {
2 years ago
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
func (m *AddBlacklistResp) Reset() { *m = AddBlacklistResp{} }
func (m *AddBlacklistResp) String() string { return proto.CompactTextString(m) }
func (*AddBlacklistResp) ProtoMessage() {}
func (*AddBlacklistResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{13}
3 years ago
}
2 years ago
func (m *AddBlacklistResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddBlacklistResp.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *AddBlacklistResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddBlacklistResp.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
func (dst *AddBlacklistResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddBlacklistResp.Merge(dst, src)
2 years ago
}
2 years ago
func (m *AddBlacklistResp) XXX_Size() int {
return xxx_messageInfo_AddBlacklistResp.Size(m)
}
func (m *AddBlacklistResp) XXX_DiscardUnknown() {
xxx_messageInfo_AddBlacklistResp.DiscardUnknown(m)
}
var xxx_messageInfo_AddBlacklistResp proto.InternalMessageInfo
3 years ago
2 years ago
func (m *AddBlacklistResp) GetCommonResp() *sdk_ws.CommonResp {
if m != nil {
return m.CommonResp
3 years ago
}
return nil
}
type RemoveBlacklistReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *RemoveBlacklistReq) Reset() { *m = RemoveBlacklistReq{} }
func (m *RemoveBlacklistReq) String() string { return proto.CompactTextString(m) }
func (*RemoveBlacklistReq) ProtoMessage() {}
func (*RemoveBlacklistReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{14}
}
2 years ago
func (m *RemoveBlacklistReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveBlacklistReq.Unmarshal(m, b)
}
2 years ago
func (m *RemoveBlacklistReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveBlacklistReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *RemoveBlacklistReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveBlacklistReq.Merge(dst, src)
2 years ago
}
2 years ago
func (m *RemoveBlacklistReq) XXX_Size() int {
return xxx_messageInfo_RemoveBlacklistReq.Size(m)
}
func (m *RemoveBlacklistReq) XXX_DiscardUnknown() {
xxx_messageInfo_RemoveBlacklistReq.DiscardUnknown(m)
}
var xxx_messageInfo_RemoveBlacklistReq proto.InternalMessageInfo
2 years ago
func (m *RemoveBlacklistReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
3 years ago
type RemoveBlacklistResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
func (m *RemoveBlacklistResp) Reset() { *m = RemoveBlacklistResp{} }
func (m *RemoveBlacklistResp) String() string { return proto.CompactTextString(m) }
func (*RemoveBlacklistResp) ProtoMessage() {}
func (*RemoveBlacklistResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{15}
3 years ago
}
2 years ago
func (m *RemoveBlacklistResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveBlacklistResp.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *RemoveBlacklistResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveBlacklistResp.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
func (dst *RemoveBlacklistResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveBlacklistResp.Merge(dst, src)
}
func (m *RemoveBlacklistResp) XXX_Size() int {
return xxx_messageInfo_RemoveBlacklistResp.Size(m)
2 years ago
}
2 years ago
func (m *RemoveBlacklistResp) XXX_DiscardUnknown() {
xxx_messageInfo_RemoveBlacklistResp.DiscardUnknown(m)
}
var xxx_messageInfo_RemoveBlacklistResp proto.InternalMessageInfo
3 years ago
func (m *RemoveBlacklistResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
3 years ago
}
return nil
}
type GetBlacklistReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *GetBlacklistReq) Reset() { *m = GetBlacklistReq{} }
func (m *GetBlacklistReq) String() string { return proto.CompactTextString(m) }
func (*GetBlacklistReq) ProtoMessage() {}
func (*GetBlacklistReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{16}
}
2 years ago
func (m *GetBlacklistReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetBlacklistReq.Unmarshal(m, b)
}
2 years ago
func (m *GetBlacklistReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetBlacklistReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *GetBlacklistReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetBlacklistReq.Merge(dst, src)
}
func (m *GetBlacklistReq) XXX_Size() int {
return xxx_messageInfo_GetBlacklistReq.Size(m)
2 years ago
}
2 years ago
func (m *GetBlacklistReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetBlacklistReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetBlacklistReq proto.InternalMessageInfo
2 years ago
func (m *GetBlacklistReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
type GetBlacklistResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
BlackUserInfoList []*sdk_ws.PublicUserInfo `protobuf:"bytes,2,rep,name=BlackUserInfoList" json:"BlackUserInfoList,omitempty"`
2 years ago
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *GetBlacklistResp) Reset() { *m = GetBlacklistResp{} }
func (m *GetBlacklistResp) String() string { return proto.CompactTextString(m) }
func (*GetBlacklistResp) ProtoMessage() {}
func (*GetBlacklistResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{17}
}
2 years ago
func (m *GetBlacklistResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetBlacklistResp.Unmarshal(m, b)
}
2 years ago
func (m *GetBlacklistResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetBlacklistResp.Marshal(b, m, deterministic)
}
2 years ago
func (dst *GetBlacklistResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetBlacklistResp.Merge(dst, src)
}
func (m *GetBlacklistResp) XXX_Size() int {
return xxx_messageInfo_GetBlacklistResp.Size(m)
}
func (m *GetBlacklistResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetBlacklistResp.DiscardUnknown(m)
2 years ago
}
2 years ago
var xxx_messageInfo_GetBlacklistResp proto.InternalMessageInfo
func (m *GetBlacklistResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
}
return nil
}
2 years ago
func (m *GetBlacklistResp) GetBlackUserInfoList() []*sdk_ws.PublicUserInfo {
if m != nil {
return m.BlackUserInfoList
}
return nil
}
3 years ago
type IsFriendReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
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_30fdefc06aa43365, []int{18}
3 years ago
}
2 years ago
func (m *IsFriendReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsFriendReq.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *IsFriendReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsFriendReq.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
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)
2 years ago
}
3 years ago
2 years ago
var xxx_messageInfo_IsFriendReq proto.InternalMessageInfo
func (m *IsFriendReq) GetCommID() *CommID {
if m != nil {
return m.CommID
3 years ago
}
3 years ago
return nil
3 years ago
}
type IsFriendResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
Response bool `protobuf:"varint,2,opt,name=Response" json:"Response,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
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_30fdefc06aa43365, []int{19}
3 years ago
}
2 years ago
func (m *IsFriendResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsFriendResp.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *IsFriendResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsFriendResp.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
func (dst *IsFriendResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_IsFriendResp.Merge(dst, src)
2 years ago
}
2 years ago
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
3 years ago
func (m *IsFriendResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
3 years ago
}
return nil
3 years ago
}
2 years ago
func (m *IsFriendResp) GetResponse() bool {
if m != nil {
return m.Response
3 years ago
}
3 years ago
return false
3 years ago
}
type IsInBlackListReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *IsInBlackListReq) Reset() { *m = IsInBlackListReq{} }
func (m *IsInBlackListReq) String() string { return proto.CompactTextString(m) }
func (*IsInBlackListReq) ProtoMessage() {}
func (*IsInBlackListReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{20}
}
2 years ago
func (m *IsInBlackListReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsInBlackListReq.Unmarshal(m, b)
}
2 years ago
func (m *IsInBlackListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsInBlackListReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *IsInBlackListReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_IsInBlackListReq.Merge(dst, src)
2 years ago
}
2 years ago
func (m *IsInBlackListReq) XXX_Size() int {
return xxx_messageInfo_IsInBlackListReq.Size(m)
}
func (m *IsInBlackListReq) XXX_DiscardUnknown() {
xxx_messageInfo_IsInBlackListReq.DiscardUnknown(m)
}
var xxx_messageInfo_IsInBlackListReq proto.InternalMessageInfo
2 years ago
func (m *IsInBlackListReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
type IsInBlackListResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
Response bool `protobuf:"varint,2,opt,name=Response" json:"Response,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *IsInBlackListResp) Reset() { *m = IsInBlackListResp{} }
func (m *IsInBlackListResp) String() string { return proto.CompactTextString(m) }
func (*IsInBlackListResp) ProtoMessage() {}
func (*IsInBlackListResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{21}
}
2 years ago
func (m *IsInBlackListResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsInBlackListResp.Unmarshal(m, b)
}
2 years ago
func (m *IsInBlackListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsInBlackListResp.Marshal(b, m, deterministic)
}
2 years ago
func (dst *IsInBlackListResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_IsInBlackListResp.Merge(dst, src)
}
func (m *IsInBlackListResp) XXX_Size() int {
return xxx_messageInfo_IsInBlackListResp.Size(m)
2 years ago
}
2 years ago
func (m *IsInBlackListResp) XXX_DiscardUnknown() {
xxx_messageInfo_IsInBlackListResp.DiscardUnknown(m)
}
var xxx_messageInfo_IsInBlackListResp proto.InternalMessageInfo
func (m *IsInBlackListResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
}
return nil
}
2 years ago
func (m *IsInBlackListResp) GetResponse() bool {
if m != nil {
return m.Response
}
return false
}
type DeleteFriendReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
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_30fdefc06aa43365, []int{22}
}
2 years ago
func (m *DeleteFriendReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteFriendReq.Unmarshal(m, b)
}
2 years ago
func (m *DeleteFriendReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteFriendReq.Marshal(b, m, deterministic)
}
2 years ago
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)
2 years ago
}
2 years ago
func (m *DeleteFriendReq) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteFriendReq.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteFriendReq proto.InternalMessageInfo
2 years ago
func (m *DeleteFriendReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
3 years ago
type DeleteFriendResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
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_30fdefc06aa43365, []int{23}
3 years ago
}
2 years ago
func (m *DeleteFriendResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteFriendResp.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *DeleteFriendResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteFriendResp.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
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)
2 years ago
}
3 years ago
2 years ago
var xxx_messageInfo_DeleteFriendResp proto.InternalMessageInfo
func (m *DeleteFriendResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
3 years ago
}
return nil
}
2 years ago
// process
3 years ago
type AddFriendResponseReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
HandleResult int32 `protobuf:"varint,2,opt,name=handleResult" json:"handleResult,omitempty"`
HandleMsg string `protobuf:"bytes,3,opt,name=handleMsg" json:"handleMsg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
func (m *AddFriendResponseReq) Reset() { *m = AddFriendResponseReq{} }
func (m *AddFriendResponseReq) String() string { return proto.CompactTextString(m) }
func (*AddFriendResponseReq) ProtoMessage() {}
func (*AddFriendResponseReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{24}
}
2 years ago
func (m *AddFriendResponseReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddFriendResponseReq.Unmarshal(m, b)
}
2 years ago
func (m *AddFriendResponseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddFriendResponseReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *AddFriendResponseReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddFriendResponseReq.Merge(dst, src)
}
func (m *AddFriendResponseReq) XXX_Size() int {
return xxx_messageInfo_AddFriendResponseReq.Size(m)
}
func (m *AddFriendResponseReq) XXX_DiscardUnknown() {
xxx_messageInfo_AddFriendResponseReq.DiscardUnknown(m)
2 years ago
}
2 years ago
var xxx_messageInfo_AddFriendResponseReq proto.InternalMessageInfo
func (m *AddFriendResponseReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
2 years ago
func (m *AddFriendResponseReq) GetHandleResult() int32 {
if m != nil {
return m.HandleResult
}
return 0
}
2 years ago
func (m *AddFriendResponseReq) GetHandleMsg() string {
if m != nil {
return m.HandleMsg
3 years ago
}
return ""
}
type AddFriendResponseResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
func (m *AddFriendResponseResp) Reset() { *m = AddFriendResponseResp{} }
func (m *AddFriendResponseResp) String() string { return proto.CompactTextString(m) }
func (*AddFriendResponseResp) ProtoMessage() {}
func (*AddFriendResponseResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{25}
3 years ago
}
2 years ago
func (m *AddFriendResponseResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddFriendResponseResp.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *AddFriendResponseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddFriendResponseResp.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
func (dst *AddFriendResponseResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddFriendResponseResp.Merge(dst, src)
}
func (m *AddFriendResponseResp) XXX_Size() int {
return xxx_messageInfo_AddFriendResponseResp.Size(m)
2 years ago
}
2 years ago
func (m *AddFriendResponseResp) XXX_DiscardUnknown() {
xxx_messageInfo_AddFriendResponseResp.DiscardUnknown(m)
}
var xxx_messageInfo_AddFriendResponseResp proto.InternalMessageInfo
3 years ago
func (m *AddFriendResponseResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
3 years ago
}
return nil
}
3 years ago
type SetFriendRemarkReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
Remark string `protobuf:"bytes,2,opt,name=Remark" json:"Remark,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
2 years ago
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_30fdefc06aa43365, []int{26}
}
2 years ago
func (m *SetFriendRemarkReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetFriendRemarkReq.Unmarshal(m, b)
}
2 years ago
func (m *SetFriendRemarkReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetFriendRemarkReq.Marshal(b, m, deterministic)
}
2 years ago
func (dst *SetFriendRemarkReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetFriendRemarkReq.Merge(dst, src)
2 years ago
}
2 years ago
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
2 years ago
func (m *SetFriendRemarkReq) GetCommID() *CommID {
if m != nil {
return m.CommID
}
3 years ago
return nil
}
2 years ago
func (m *SetFriendRemarkReq) GetRemark() string {
if m != nil {
return m.Remark
}
return ""
}
3 years ago
type SetFriendRemarkResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
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_30fdefc06aa43365, []int{27}
3 years ago
}
2 years ago
func (m *SetFriendRemarkResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetFriendRemarkResp.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *SetFriendRemarkResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetFriendRemarkResp.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
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)
2 years ago
}
3 years ago
2 years ago
var xxx_messageInfo_SetFriendRemarkResp proto.InternalMessageInfo
func (m *SetFriendRemarkResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
3 years ago
}
return nil
}
type GetSelfApplyListReq struct {
2 years ago
CommID *CommID `protobuf:"bytes,1,opt,name=CommID" json:"CommID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
func (m *GetSelfApplyListReq) Reset() { *m = GetSelfApplyListReq{} }
func (m *GetSelfApplyListReq) String() string { return proto.CompactTextString(m) }
func (*GetSelfApplyListReq) ProtoMessage() {}
func (*GetSelfApplyListReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{28}
3 years ago
}
2 years ago
func (m *GetSelfApplyListReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetSelfApplyListReq.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *GetSelfApplyListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetSelfApplyListReq.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
func (dst *GetSelfApplyListReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetSelfApplyListReq.Merge(dst, src)
}
func (m *GetSelfApplyListReq) XXX_Size() int {
return xxx_messageInfo_GetSelfApplyListReq.Size(m)
2 years ago
}
2 years ago
func (m *GetSelfApplyListReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetSelfApplyListReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetSelfApplyListReq proto.InternalMessageInfo
3 years ago
2 years ago
func (m *GetSelfApplyListReq) GetCommID() *CommID {
if m != nil {
return m.CommID
3 years ago
}
return nil
}
type GetSelfApplyListResp struct {
CommonResp *sdk_ws.CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
FriendRequestList []*sdk_ws.FriendRequest `protobuf:"bytes,2,rep,name=FriendRequestList" json:"FriendRequestList,omitempty"`
2 years ago
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
3 years ago
}
2 years ago
2 years ago
func (m *GetSelfApplyListResp) Reset() { *m = GetSelfApplyListResp{} }
func (m *GetSelfApplyListResp) String() string { return proto.CompactTextString(m) }
func (*GetSelfApplyListResp) ProtoMessage() {}
func (*GetSelfApplyListResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_30fdefc06aa43365, []int{29}
3 years ago
}
2 years ago
func (m *GetSelfApplyListResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetSelfApplyListResp.Unmarshal(m, b)
3 years ago
}
2 years ago
func (m *GetSelfApplyListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetSelfApplyListResp.Marshal(b, m, deterministic)
3 years ago
}
2 years ago
func (dst *GetSelfApplyListResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetSelfApplyListResp.Merge(dst, src)
}
func (m *GetSelfApplyListResp) XXX_Size() int {
return xxx_messageInfo_GetSelfApplyListResp.Size(m)
2 years ago
}
2 years ago
func (m *GetSelfApplyListResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetSelfApplyListResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetSelfApplyListResp proto.InternalMessageInfo
3 years ago
func (m *GetSelfApplyListResp) GetCommonResp() *sdk_ws.CommonResp {
2 years ago
if m != nil {
return m.CommonResp
3 years ago
}
return nil
3 years ago
}
2 years ago
func (m *GetSelfApplyListResp) GetFriendRequestList() []*sdk_ws.FriendRequest {
if m != nil {
return m.FriendRequestList
3 years ago
}
return nil
}
2 years ago
func init() {
proto.RegisterType((*CommID)(nil), "friend.CommID")
proto.RegisterType((*GetFriendsInfoReq)(nil), "friend.GetFriendsInfoReq")
proto.RegisterType((*GetFriendInfoResp)(nil), "friend.GetFriendInfoResp")
proto.RegisterType((*AddFriendReq)(nil), "friend.AddFriendReq")
proto.RegisterType((*AddFriendResp)(nil), "friend.AddFriendResp")
proto.RegisterType((*ImportFriendReq)(nil), "friend.ImportFriendReq")
proto.RegisterType((*UserIDResult)(nil), "friend.UserIDResult")
proto.RegisterType((*ImportFriendResp)(nil), "friend.ImportFriendResp")
proto.RegisterType((*GetFriendApplyListReq)(nil), "friend.GetFriendApplyListReq")
proto.RegisterType((*GetFriendApplyListResp)(nil), "friend.GetFriendApplyListResp")
proto.RegisterType((*GetFriendListReq)(nil), "friend.GetFriendListReq")
proto.RegisterType((*GetFriendListResp)(nil), "friend.GetFriendListResp")
proto.RegisterType((*AddBlacklistReq)(nil), "friend.AddBlacklistReq")
proto.RegisterType((*AddBlacklistResp)(nil), "friend.AddBlacklistResp")
proto.RegisterType((*RemoveBlacklistReq)(nil), "friend.RemoveBlacklistReq")
proto.RegisterType((*RemoveBlacklistResp)(nil), "friend.RemoveBlacklistResp")
proto.RegisterType((*GetBlacklistReq)(nil), "friend.GetBlacklistReq")
proto.RegisterType((*GetBlacklistResp)(nil), "friend.GetBlacklistResp")
proto.RegisterType((*IsFriendReq)(nil), "friend.IsFriendReq")
proto.RegisterType((*IsFriendResp)(nil), "friend.IsFriendResp")
proto.RegisterType((*IsInBlackListReq)(nil), "friend.IsInBlackListReq")
proto.RegisterType((*IsInBlackListResp)(nil), "friend.IsInBlackListResp")
proto.RegisterType((*DeleteFriendReq)(nil), "friend.DeleteFriendReq")
proto.RegisterType((*DeleteFriendResp)(nil), "friend.DeleteFriendResp")
proto.RegisterType((*AddFriendResponseReq)(nil), "friend.AddFriendResponseReq")
proto.RegisterType((*AddFriendResponseResp)(nil), "friend.AddFriendResponseResp")
proto.RegisterType((*SetFriendRemarkReq)(nil), "friend.SetFriendRemarkReq")
proto.RegisterType((*SetFriendRemarkResp)(nil), "friend.SetFriendRemarkResp")
proto.RegisterType((*GetSelfApplyListReq)(nil), "friend.GetSelfApplyListReq")
proto.RegisterType((*GetSelfApplyListResp)(nil), "friend.GetSelfApplyListResp")
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
2 years ago
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.
2 years ago
const _ = grpc.SupportPackageIsVersion4
// Client API for Friend service
type FriendClient interface {
3 years ago
// 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)
3 years ago
AddBlacklist(ctx context.Context, in *AddBlacklistReq, opts ...grpc.CallOption) (*AddBlacklistResp, error)
RemoveBlacklist(ctx context.Context, in *RemoveBlacklistReq, opts ...grpc.CallOption) (*RemoveBlacklistResp, error)
3 years ago
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)
3 years ago
DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error)
AddFriendResponse(ctx context.Context, in *AddFriendResponseReq, opts ...grpc.CallOption) (*AddFriendResponseResp, error)
3 years ago
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 {
2 years ago
cc *grpc.ClientConn
}
2 years ago
func NewFriendClient(cc *grpc.ClientConn) FriendClient {
return &friendClient{cc}
}
3 years ago
func (c *friendClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*AddFriendResp, error) {
out := new(AddFriendResp)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/addFriend", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
3 years ago
func (c *friendClient) GetFriendApplyList(ctx context.Context, in *GetFriendApplyListReq, opts ...grpc.CallOption) (*GetFriendApplyListResp, error) {
out := new(GetFriendApplyListResp)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/getFriendApplyList", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
3 years ago
func (c *friendClient) GetSelfApplyList(ctx context.Context, in *GetSelfApplyListReq, opts ...grpc.CallOption) (*GetSelfApplyListResp, error) {
out := new(GetSelfApplyListResp)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/getSelfApplyList", in, out, c.cc, opts...)
3 years ago
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)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/getFriendList", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
3 years ago
func (c *friendClient) AddBlacklist(ctx context.Context, in *AddBlacklistReq, opts ...grpc.CallOption) (*AddBlacklistResp, error) {
out := new(AddBlacklistResp)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/addBlacklist", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
3 years ago
func (c *friendClient) RemoveBlacklist(ctx context.Context, in *RemoveBlacklistReq, opts ...grpc.CallOption) (*RemoveBlacklistResp, error) {
out := new(RemoveBlacklistResp)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/removeBlacklist", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
3 years ago
func (c *friendClient) IsFriend(ctx context.Context, in *IsFriendReq, opts ...grpc.CallOption) (*IsFriendResp, error) {
out := new(IsFriendResp)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/isFriend", in, out, c.cc, opts...)
3 years ago
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)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/isInBlackList", in, out, c.cc, 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)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/getBlacklist", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
3 years ago
func (c *friendClient) DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error) {
out := new(DeleteFriendResp)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/deleteFriend", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
3 years ago
func (c *friendClient) AddFriendResponse(ctx context.Context, in *AddFriendResponseReq, opts ...grpc.CallOption) (*AddFriendResponseResp, error) {
out := new(AddFriendResponseResp)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/addFriendResponse", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
3 years ago
func (c *friendClient) SetFriendRemark(ctx context.Context, in *SetFriendRemarkReq, opts ...grpc.CallOption) (*SetFriendRemarkResp, error) {
3 years ago
out := new(SetFriendRemarkResp)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/setFriendRemark", in, out, c.cc, 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)
2 years ago
err := grpc.Invoke(ctx, "/friend.friend/importFriend", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2 years ago
// Server API for Friend service
type FriendServer interface {
3 years ago
// 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)
3 years ago
AddBlacklist(context.Context, *AddBlacklistReq) (*AddBlacklistResp, error)
RemoveBlacklist(context.Context, *RemoveBlacklistReq) (*RemoveBlacklistResp, error)
3 years ago
IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error)
IsInBlackList(context.Context, *IsInBlackListReq) (*IsInBlackListResp, error)
GetBlacklist(context.Context, *GetBlacklistReq) (*GetBlacklistResp, error)
3 years ago
DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
AddFriendResponse(context.Context, *AddFriendResponseReq) (*AddFriendResponseResp, error)
3 years ago
SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error)
ImportFriend(context.Context, *ImportFriendReq) (*ImportFriendResp, error)
}
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) {
3 years ago
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) {
3 years ago
return srv.(FriendServer).GetFriendApplyList(ctx, req.(*GetFriendApplyListReq))
}
return interceptor(ctx, in, info, handler)
}
3 years ago
func _Friend_GetSelfApplyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3 years ago
in := new(GetSelfApplyListReq)
3 years ago
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) {
3 years ago
return srv.(FriendServer).GetSelfApplyList(ctx, req.(*GetSelfApplyListReq))
3 years ago
}
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)
}
3 years ago
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)
}
3 years ago
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 {
3 years ago
return srv.(FriendServer).AddFriendResponse(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
3 years ago
FullMethod: "/friend.friend/AddFriendResponse",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3 years ago
return srv.(FriendServer).AddFriendResponse(ctx, req.(*AddFriendResponseReq))
}
return interceptor(ctx, in, info, handler)
}
3 years ago
func _Friend_SetFriendRemark_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3 years ago
in := new(SetFriendRemarkReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
3 years ago
return srv.(FriendServer).SetFriendRemark(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
3 years ago
FullMethod: "/friend.friend/SetFriendRemark",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3 years ago
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,
},
3 years ago
{
MethodName: "getSelfApplyList",
Handler: _Friend_GetSelfApplyList_Handler,
},
{
MethodName: "getFriendList",
Handler: _Friend_GetFriendList_Handler,
},
{
MethodName: "addBlacklist",
Handler: _Friend_AddBlacklist_Handler,
},
{
MethodName: "removeBlacklist",
Handler: _Friend_RemoveBlacklist_Handler,
},
3 years ago
{
MethodName: "isFriend",
Handler: _Friend_IsFriend_Handler,
},
{
MethodName: "isInBlackList",
Handler: _Friend_IsInBlackList_Handler,
},
{
MethodName: "getBlacklist",
Handler: _Friend_GetBlacklist_Handler,
},
{
MethodName: "deleteFriend",
Handler: _Friend_DeleteFriend_Handler,
},
{
3 years ago
MethodName: "addFriendResponse",
Handler: _Friend_AddFriendResponse_Handler,
},
{
3 years ago
MethodName: "setFriendRemark",
Handler: _Friend_SetFriendRemark_Handler,
},
{
3 years ago
MethodName: "importFriend",
Handler: _Friend_ImportFriend_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "friend/friend.proto",
}
2 years ago
func init() { proto.RegisterFile("friend/friend.proto", fileDescriptor_friend_30fdefc06aa43365) }
var fileDescriptor_friend_30fdefc06aa43365 = []byte{
// 914 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x5b, 0x4f, 0x3b, 0x45,
0x14, 0xcf, 0x72, 0xa9, 0xed, 0xa1, 0xd0, 0x76, 0x5a, 0xb0, 0x2e, 0x17, 0xcb, 0x3e, 0x18, 0x62,
0x02, 0x4d, 0x30, 0x24, 0x22, 0xa2, 0x16, 0x2b, 0x64, 0x8d, 0xa5, 0xb0, 0x45, 0x1f, 0x7c, 0x69,
0x16, 0x76, 0xa8, 0x9b, 0xee, 0x65, 0xd8, 0x59, 0x20, 0xbe, 0x19, 0xbf, 0x82, 0x4f, 0xc6, 0x07,
0x13, 0x13, 0xe3, 0xd7, 0x34, 0xbb, 0xb3, 0xdb, 0x9d, 0xbd, 0x94, 0xb8, 0x2c, 0x26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