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

2103 lines
70 KiB

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: friend/friend.proto
package friend // import "./friend"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type CommonResp struct {
ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode" json:"errorCode,omitempty"`
ErrorMsg string `protobuf:"bytes,2,opt,name=errorMsg" json:"errorMsg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommonResp) Reset() { *m = CommonResp{} }
func (m *CommonResp) String() string { return proto.CompactTextString(m) }
func (*CommonResp) ProtoMessage() {}
func (*CommonResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_03bf5fbe59a174aa, []int{0}
}
func (m *CommonResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommonResp.Unmarshal(m, b)
}
func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic)
}
func (dst *CommonResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommonResp.Merge(dst, src)
}
func (m *CommonResp) XXX_Size() int {
return xxx_messageInfo_CommonResp.Size(m)
}
func (m *CommonResp) XXX_DiscardUnknown() {
xxx_messageInfo_CommonResp.DiscardUnknown(m)
}
var xxx_messageInfo_CommonResp proto.InternalMessageInfo
func (m *CommonResp) GetErrorCode() int32 {
if m != nil {
return m.ErrorCode
}
return 0
}
func (m *CommonResp) GetErrorMsg() string {
if m != nil {
return m.ErrorMsg
}
return ""
}
3 years ago
type GetFriendsInfoReq struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,3,opt,name=Token" json:"Token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
3 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_03bf5fbe59a174aa, []int{1}
}
3 years ago
func (m *GetFriendsInfoReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendsInfoReq.Unmarshal(m, b)
}
3 years ago
func (m *GetFriendsInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendsInfoReq.Marshal(b, m, deterministic)
}
func (dst *GetFriendsInfoReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendsInfoReq.Merge(dst, src)
}
3 years ago
func (m *GetFriendsInfoReq) XXX_Size() int {
return xxx_messageInfo_GetFriendsInfoReq.Size(m)
}
3 years ago
func (m *GetFriendsInfoReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendsInfoReq.DiscardUnknown(m)
}
3 years ago
var xxx_messageInfo_GetFriendsInfoReq proto.InternalMessageInfo
3 years ago
func (m *GetFriendsInfoReq) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
3 years ago
func (m *GetFriendsInfoReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
3 years ago
func (m *GetFriendsInfoReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
3 years ago
type GetFriendInfoResp struct {
ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode" json:"errorCode,omitempty"`
ErrorMsg string `protobuf:"bytes,2,opt,name=errorMsg" json:"errorMsg,omitempty"`
Data *GetFriendData `protobuf:"bytes,3,opt,name=Data" json:"Data,omitempty"`
3 years ago
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
3 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_03bf5fbe59a174aa, []int{2}
}
3 years ago
func (m *GetFriendInfoResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendInfoResp.Unmarshal(m, b)
}
3 years ago
func (m *GetFriendInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendInfoResp.Marshal(b, m, deterministic)
}
func (dst *GetFriendInfoResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendInfoResp.Merge(dst, src)
}
3 years ago
func (m *GetFriendInfoResp) XXX_Size() int {
return xxx_messageInfo_GetFriendInfoResp.Size(m)
}
3 years ago
func (m *GetFriendInfoResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendInfoResp.DiscardUnknown(m)
}
3 years ago
var xxx_messageInfo_GetFriendInfoResp proto.InternalMessageInfo
3 years ago
func (m *GetFriendInfoResp) GetErrorCode() int32 {
if m != nil {
return m.ErrorCode
}
return 0
}
3 years ago
func (m *GetFriendInfoResp) GetErrorMsg() string {
if m != nil {
return m.ErrorMsg
}
return ""
}
3 years ago
func (m *GetFriendInfoResp) GetData() *GetFriendData {
if m != nil {
return m.Data
}
return nil
}
3 years ago
type GetFriendData struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
Icon string `protobuf:"bytes,2,opt,name=icon" json:"icon,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
Gender int32 `protobuf:"varint,4,opt,name=gender" json:"gender,omitempty"`
Mobile string `protobuf:"bytes,5,opt,name=mobile" json:"mobile,omitempty"`
Birth string `protobuf:"bytes,6,opt,name=birth" json:"birth,omitempty"`
Email string `protobuf:"bytes,7,opt,name=email" json:"email,omitempty"`
Ex string `protobuf:"bytes,8,opt,name=ex" json:"ex,omitempty"`
Comment string `protobuf:"bytes,9,opt,name=comment" json:"comment,omitempty"`
IsFriend int32 `protobuf:"varint,10,opt,name=isFriend" json:"isFriend,omitempty"`
IsInBlackList int32 `protobuf:"varint,11,opt,name=isInBlackList" json:"isInBlackList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
3 years ago
func (m *GetFriendData) Reset() { *m = GetFriendData{} }
func (m *GetFriendData) String() string { return proto.CompactTextString(m) }
func (*GetFriendData) ProtoMessage() {}
func (*GetFriendData) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_03bf5fbe59a174aa, []int{3}
}
3 years ago
func (m *GetFriendData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendData.Unmarshal(m, b)
}
3 years ago
func (m *GetFriendData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendData.Marshal(b, m, deterministic)
}
func (dst *GetFriendData) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendData.Merge(dst, src)
}
3 years ago
func (m *GetFriendData) XXX_Size() int {
return xxx_messageInfo_GetFriendData.Size(m)
}
3 years ago
func (m *GetFriendData) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendData.DiscardUnknown(m)
}
3 years ago
var xxx_messageInfo_GetFriendData proto.InternalMessageInfo
3 years ago
func (m *GetFriendData) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
3 years ago
func (m *GetFriendData) GetIcon() string {
if m != nil {
return m.Icon
}
return ""
}
3 years ago
func (m *GetFriendData) GetName() string {
if m != nil {
return m.Name
}
return ""
}
3 years ago
func (m *GetFriendData) GetGender() int32 {
if m != nil {
return m.Gender
}
return 0
}
3 years ago
func (m *GetFriendData) GetMobile() string {
if m != nil {
return m.Mobile
}
return ""
}
3 years ago
func (m *GetFriendData) GetBirth() string {
if m != nil {
return m.Birth
}
return ""
}
3 years ago
func (m *GetFriendData) GetEmail() string {
if m != nil {
return m.Email
}
return ""
}
3 years ago
func (m *GetFriendData) GetEx() string {
if m != nil {
return m.Ex
}
return ""
}
3 years ago
func (m *GetFriendData) GetComment() string {
if m != nil {
return m.Comment
}
return ""
}
3 years ago
func (m *GetFriendData) GetIsFriend() int32 {
if m != nil {
return m.IsFriend
}
return 0
}
3 years ago
func (m *GetFriendData) GetIsInBlackList() int32 {
if m != nil {
return m.IsInBlackList
}
return 0
}
type AddFriendReq struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,3,opt,name=Token" json:"Token,omitempty"`
ReqMessage string `protobuf:"bytes,4,opt,name=ReqMessage" json:"ReqMessage,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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_03bf5fbe59a174aa, []int{4}
}
func (m *AddFriendReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddFriendReq.Unmarshal(m, b)
}
func (m *AddFriendReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddFriendReq.Marshal(b, m, deterministic)
}
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)
}
func (m *AddFriendReq) XXX_DiscardUnknown() {
xxx_messageInfo_AddFriendReq.DiscardUnknown(m)
}
var xxx_messageInfo_AddFriendReq proto.InternalMessageInfo
func (m *AddFriendReq) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
func (m *AddFriendReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *AddFriendReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *AddFriendReq) GetReqMessage() string {
if m != nil {
return m.ReqMessage
}
return ""
}
type ImportFriendReq struct {
UidList []string `protobuf:"bytes,1,rep,name=uidList" json:"uidList,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,3,opt,name=Token" json:"Token,omitempty"`
OwnerUid string `protobuf:"bytes,4,opt,name=OwnerUid" json:"OwnerUid,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_03bf5fbe59a174aa, []int{5}
}
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) GetUidList() []string {
if m != nil {
return m.UidList
}
return nil
}
func (m *ImportFriendReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *ImportFriendReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *ImportFriendReq) GetOwnerUid() string {
if m != nil {
return m.OwnerUid
}
return ""
}
type ImportFriendResp struct {
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
FailedUidList []string `protobuf:"bytes,2,rep,name=failedUidList" json:"failedUidList,omitempty"`
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_03bf5fbe59a174aa, []int{6}
}
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
func (m *ImportFriendResp) GetCommonResp() *CommonResp {
if m != nil {
return m.CommonResp
}
return nil
}
func (m *ImportFriendResp) GetFailedUidList() []string {
if m != nil {
return m.FailedUidList
}
return nil
}
type GetFriendApplyReq struct {
OperationID string `protobuf:"bytes,1,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetFriendApplyReq) Reset() { *m = GetFriendApplyReq{} }
func (m *GetFriendApplyReq) String() string { return proto.CompactTextString(m) }
func (*GetFriendApplyReq) ProtoMessage() {}
func (*GetFriendApplyReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_03bf5fbe59a174aa, []int{7}
}
func (m *GetFriendApplyReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendApplyReq.Unmarshal(m, b)
}
func (m *GetFriendApplyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendApplyReq.Marshal(b, m, deterministic)
}
func (dst *GetFriendApplyReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendApplyReq.Merge(dst, src)
}
func (m *GetFriendApplyReq) XXX_Size() int {
return xxx_messageInfo_GetFriendApplyReq.Size(m)
}
func (m *GetFriendApplyReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendApplyReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetFriendApplyReq proto.InternalMessageInfo
func (m *GetFriendApplyReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *GetFriendApplyReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
type GetFriendApplyResp struct {
ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode" json:"errorCode,omitempty"`
ErrorMsg string `protobuf:"bytes,2,opt,name=errorMsg" json:"errorMsg,omitempty"`
Data []*ApplyUserInfo `protobuf:"bytes,4,rep,name=data" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetFriendApplyResp) Reset() { *m = GetFriendApplyResp{} }
func (m *GetFriendApplyResp) String() string { return proto.CompactTextString(m) }
func (*GetFriendApplyResp) ProtoMessage() {}
func (*GetFriendApplyResp) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_03bf5fbe59a174aa, []int{8}
}
func (m *GetFriendApplyResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendApplyResp.Unmarshal(m, b)
}
func (m *GetFriendApplyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendApplyResp.Marshal(b, m, deterministic)
}
func (dst *GetFriendApplyResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFriendApplyResp.Merge(dst, src)
}
func (m *GetFriendApplyResp) XXX_Size() int {
return xxx_messageInfo_GetFriendApplyResp.Size(m)
}
func (m *GetFriendApplyResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendApplyResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetFriendApplyResp proto.InternalMessageInfo
func (m *GetFriendApplyResp) GetErrorCode() int32 {
if m != nil {
return m.ErrorCode
}
return 0
}
func (m *GetFriendApplyResp) GetErrorMsg() string {
if m != nil {
return m.ErrorMsg
}
return ""
}
func (m *GetFriendApplyResp) GetData() []*ApplyUserInfo {
if m != nil {
return m.Data
}
return nil
}
type ApplyUserInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
Icon string `protobuf:"bytes,3,opt,name=icon" json:"icon,omitempty"`
Gender int32 `protobuf:"varint,4,opt,name=gender" json:"gender,omitempty"`
Mobile string `protobuf:"bytes,5,opt,name=mobile" json:"mobile,omitempty"`
Birth string `protobuf:"bytes,6,opt,name=birth" json:"birth,omitempty"`
Email string `protobuf:"bytes,7,opt,name=email" json:"email,omitempty"`
Ex string `protobuf:"bytes,8,opt,name=ex" json:"ex,omitempty"`
Flag int32 `protobuf:"varint,9,opt,name=flag" json:"flag,omitempty"`
ApplyTime string `protobuf:"bytes,10,opt,name=applyTime" json:"applyTime,omitempty"`
ReqMessage string `protobuf:"bytes,11,opt,name=reqMessage" json:"reqMessage,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApplyUserInfo) Reset() { *m = ApplyUserInfo{} }
func (m *ApplyUserInfo) String() string { return proto.CompactTextString(m) }
func (*ApplyUserInfo) ProtoMessage() {}
func (*ApplyUserInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_03bf5fbe59a174aa, []int{9}
}
func (m *ApplyUserInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApplyUserInfo.Unmarshal(m, b)
}
func (m *ApplyUserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApplyUserInfo.Marshal(b, m, deterministic)
}
func (dst *ApplyUserInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApplyUserInfo.Merge(dst, src)
}
func (m *ApplyUserInfo) XXX_Size() int {
return xxx_messageInfo_ApplyUserInfo.Size(m)
}
func (m *ApplyUserInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ApplyUserInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ApplyUserInfo proto.InternalMessageInfo
func (m *ApplyUserInfo) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
func (m *ApplyUserInfo) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ApplyUserInfo) GetIcon() string {
if m != nil {
return m.Icon
}
return ""
}
func (m *ApplyUserInfo) GetGender() int32 {
if m != nil {
return m.Gender
}
return 0
}
func (m *ApplyUserInfo) GetMobile() string {
if m != nil {
return m.Mobile
}
return ""
}
func (m *ApplyUserInfo) GetBirth() string {
if m != nil {
return m.Birth
}
return ""
}
func (m *ApplyUserInfo) GetEmail() string {
if m != nil {
return m.Email
}
return ""
}
func (m *ApplyUserInfo) GetEx() string {
if m != nil {
return m.Ex
}
return ""
}
func (m *ApplyUserInfo) GetFlag() int32 {
if m != nil {
return m.Flag
}
return 0
}
func (m *ApplyUserInfo) GetApplyTime() string {
if m != nil {
return m.ApplyTime
}
return ""
}
func (m *ApplyUserInfo) GetReqMessage() string {
if m != nil {
return m.ReqMessage
}
return ""
}
type GetFriendListReq struct {
OperationID string `protobuf:"bytes,1,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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_03bf5fbe59a174aa, []int{10}
}
func (m *GetFriendListReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendListReq.Unmarshal(m, b)
}
func (m *GetFriendListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendListReq.Marshal(b, m, deterministic)
}
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)
}
func (m *GetFriendListReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetFriendListReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetFriendListReq proto.InternalMessageInfo
func (m *GetFriendListReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *GetFriendListReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
type GetFriendListResp struct {
ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode" json:"errorCode,omitempty"`
ErrorMsg string `protobuf:"bytes,2,opt,name=errorMsg" json:"errorMsg,omitempty"`
Data []*UserInfo `protobuf:"bytes,3,rep,name=data" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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_03bf5fbe59a174aa, []int{11}
}
func (m *GetFriendListResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFriendListResp.Unmarshal(m, b)
}
func (m *GetFriendListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFriendListResp.Marshal(b, m, deterministic)
}
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)
}
var xxx_messageInfo_GetFriendListResp proto.InternalMessageInfo
func (m *GetFriendListResp) GetErrorCode() int32 {
if m != nil {
return m.ErrorCode
}
return 0
}
func (m *GetFriendListResp) GetErrorMsg() string {
if m != nil {
return m.ErrorMsg
}
return ""
}
func (m *GetFriendListResp) GetData() []*UserInfo {
if m != nil {
return m.Data
}
return nil
}
type UserInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
Icon string `protobuf:"bytes,2,opt,name=icon" json:"icon,omitempty"`
Gender int32 `protobuf:"varint,4,opt,name=gender" json:"gender,omitempty"`
Mobile string `protobuf:"bytes,5,opt,name=mobile" json:"mobile,omitempty"`
Birth string `protobuf:"bytes,6,opt,name=birth" json:"birth,omitempty"`
Email string `protobuf:"bytes,7,opt,name=email" json:"email,omitempty"`
Ex string `protobuf:"bytes,8,opt,name=ex" json:"ex,omitempty"`
Comment string `protobuf:"bytes,9,opt,name=comment" json:"comment,omitempty"`
IsInBlackList int32 `protobuf:"varint,10,opt,name=isInBlackList" json:"isInBlackList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UserInfo) Reset() { *m = UserInfo{} }
func (m *UserInfo) String() string { return proto.CompactTextString(m) }
func (*UserInfo) ProtoMessage() {}
func (*UserInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_03bf5fbe59a174aa, []int{12}
}
func (m *UserInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserInfo.Unmarshal(m, b)
}
func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserInfo.Marshal(b, m, deterministic)
}
func (dst *UserInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserInfo.Merge(dst, src)
}
func (m *UserInfo) XXX_Size() int {
return xxx_messageInfo_UserInfo.Size(m)
}
func (m *UserInfo) XXX_DiscardUnknown() {
xxx_messageInfo_UserInfo.DiscardUnknown(m)
}
var xxx_messageInfo_UserInfo proto.InternalMessageInfo
func (m *UserInfo) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
func (m *UserInfo) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *UserInfo) GetIcon() string {
if m != nil {
return m.Icon
}
return ""
}
func (m *UserInfo) GetGender() int32 {
if m != nil {
return m.Gender
}
return 0
}
func (m *UserInfo) GetMobile() string {
if m != nil {
return m.Mobile
}
return ""
}
func (m *UserInfo) GetBirth() string {
if m != nil {
return m.Birth
}
return ""
}
func (m *UserInfo) GetEmail() string {
if m != nil {
return m.Email
}
return ""
}
func (m *UserInfo) GetEx() string {
if m != nil {
return m.Ex
}
return ""
}
func (m *UserInfo) GetComment() string {
if m != nil {
return m.Comment
}
return ""
}
func (m *UserInfo) GetIsInBlackList() int32 {
if m != nil {
return m.IsInBlackList
}
return 0
}
type AddBlacklistReq struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,3,opt,name=Token" json:"Token,omitempty"`
OwnerUid string `protobuf:"bytes,4,opt,name=OwnerUid" json:"OwnerUid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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_03bf5fbe59a174aa, []int{13}
}
func (m *AddBlacklistReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddBlacklistReq.Unmarshal(m, b)
}
func (m *AddBlacklistReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddBlacklistReq.Marshal(b, m, deterministic)
}
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)
}
var xxx_messageInfo_AddBlacklistReq proto.InternalMessageInfo
func (m *AddBlacklistReq) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
func (m *AddBlacklistReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *AddBlacklistReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *AddBlacklistReq) GetOwnerUid() string {
if m != nil {
return m.OwnerUid
}
return ""
}
type RemoveBlacklistReq struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,3,opt,name=Token" json:"Token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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_03bf5fbe59a174aa, []int{14}
}
func (m *RemoveBlacklistReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveBlacklistReq.Unmarshal(m, b)
}
func (m *RemoveBlacklistReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveBlacklistReq.Marshal(b, m, deterministic)
}
func (dst *RemoveBlacklistReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveBlacklistReq.Merge(dst, src)
}
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
func (m *RemoveBlacklistReq) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
func (m *RemoveBlacklistReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *RemoveBlacklistReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
type GetBlacklistReq struct {
OperationID string `protobuf:"bytes,1,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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_03bf5fbe59a174aa, []int{15}
}
func (m *GetBlacklistReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetBlacklistReq.Unmarshal(m, b)
}
func (m *GetBlacklistReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetBlacklistReq.Marshal(b, m, deterministic)
}
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)
}
func (m *GetBlacklistReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetBlacklistReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetBlacklistReq proto.InternalMessageInfo
func (m *GetBlacklistReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *GetBlacklistReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
type GetBlacklistResp struct {
ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode" json:"errorCode,omitempty"`
ErrorMsg string `protobuf:"bytes,2,opt,name=errorMsg" json:"errorMsg,omitempty"`
Data []*UserInfo `protobuf:"bytes,3,rep,name=data" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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_03bf5fbe59a174aa, []int{16}
}
func (m *GetBlacklistResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetBlacklistResp.Unmarshal(m, b)
}
func (m *GetBlacklistResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetBlacklistResp.Marshal(b, m, deterministic)
}
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)
}
var xxx_messageInfo_GetBlacklistResp proto.InternalMessageInfo
func (m *GetBlacklistResp) GetErrorCode() int32 {
if m != nil {
return m.ErrorCode
}
return 0
}
func (m *GetBlacklistResp) GetErrorMsg() string {
if m != nil {
return m.ErrorMsg
}
return ""
}
func (m *GetBlacklistResp) GetData() []*UserInfo {
if m != nil {
return m.Data
}
return nil
}
3 years ago
type IsFriendReq struct {
Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
ReceiveUid string `protobuf:"bytes,2,opt,name=receiveUid" json:"receiveUid,omitempty"`
OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"`
3 years ago
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_03bf5fbe59a174aa, []int{17}
3 years ago
}
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)
3 years ago
}
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) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *IsFriendReq) GetReceiveUid() string {
if m != nil {
return m.ReceiveUid
}
return ""
}
func (m *IsFriendReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
type IsFriendResp struct {
ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode" json:"errorCode,omitempty"`
ErrorMsg string `protobuf:"bytes,2,opt,name=errorMsg" json:"errorMsg,omitempty"`
ShipType int32 `protobuf:"varint,3,opt,name=shipType" json:"shipType,omitempty"`
3 years ago
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_03bf5fbe59a174aa, []int{18}
3 years ago
}
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)
3 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
func (m *IsFriendResp) GetErrorCode() int32 {
if m != nil {
return m.ErrorCode
}
return 0
}
func (m *IsFriendResp) GetErrorMsg() string {
if m != nil {
return m.ErrorMsg
}
return ""
}
func (m *IsFriendResp) GetShipType() int32 {
if m != nil {
return m.ShipType
}
return 0
}
type IsInBlackListReq struct {
SendUid string `protobuf:"bytes,1,opt,name=sendUid" json:"sendUid,omitempty"`
ReceiveUid string `protobuf:"bytes,2,opt,name=receiveUid" json:"receiveUid,omitempty"`
OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IsInBlackListReq) Reset() { *m = IsInBlackListReq{} }
func (m *IsInBlackListReq) String() string { return proto.CompactTextString(m) }
func (*IsInBlackListReq) ProtoMessage() {}
func (*IsInBlackListReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_03bf5fbe59a174aa, []int{19}
}
func (m *IsInBlackListReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsInBlackListReq.Unmarshal(m, b)
}
func (m *IsInBlackListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsInBlackListReq.Marshal(b, m, deterministic)
}
func (dst *IsInBlackListReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_IsInBlackListReq.Merge(dst, src)
}
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
func (m *IsInBlackListReq) GetSendUid() string {
if m != nil {
return m.SendUid
}
return ""
}
func (m *IsInBlackListReq) GetReceiveUid() string {
if m != nil {
return m.ReceiveUid
}
return ""
}
func (m *IsInBlackListReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
type IsInBlackListResp struct {
ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode" json:"errorCode,omitempty"`
ErrorMsg string `protobuf:"bytes,2,opt,name=errorMsg" json:"errorMsg,omitempty"`
Response bool `protobuf:"varint,3,opt,name=response" json:"response,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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_03bf5fbe59a174aa, []int{20}
}
func (m *IsInBlackListResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IsInBlackListResp.Unmarshal(m, b)
}
func (m *IsInBlackListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IsInBlackListResp.Marshal(b, m, deterministic)
}
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)
}
func (m *IsInBlackListResp) XXX_DiscardUnknown() {
xxx_messageInfo_IsInBlackListResp.DiscardUnknown(m)
}
var xxx_messageInfo_IsInBlackListResp proto.InternalMessageInfo
func (m *IsInBlackListResp) GetErrorCode() int32 {
if m != nil {
return m.ErrorCode
}
return 0
}
func (m *IsInBlackListResp) GetErrorMsg() string {
if m != nil {
return m.ErrorMsg
}
return ""
}
func (m *IsInBlackListResp) GetResponse() bool {
if m != nil {
return m.Response
}
return false
}
type DeleteFriendReq struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,3,opt,name=Token" json:"Token,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_03bf5fbe59a174aa, []int{21}
}
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) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
func (m *DeleteFriendReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *DeleteFriendReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
3 years ago
type AddFriendResponseReq struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
Flag int32 `protobuf:"varint,2,opt,name=flag" json:"flag,omitempty"`
OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"`
Token string `protobuf:"bytes,4,opt,name=Token" json:"Token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
3 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_03bf5fbe59a174aa, []int{22}
}
3 years ago
func (m *AddFriendResponseReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddFriendResponseReq.Unmarshal(m, b)
}
3 years ago
func (m *AddFriendResponseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddFriendResponseReq.Marshal(b, m, deterministic)
}
func (dst *AddFriendResponseReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddFriendResponseReq.Merge(dst, src)
}
3 years ago
func (m *AddFriendResponseReq) XXX_Size() int {
return xxx_messageInfo_AddFriendResponseReq.Size(m)
}
3 years ago
func (m *AddFriendResponseReq) XXX_DiscardUnknown() {
xxx_messageInfo_AddFriendResponseReq.DiscardUnknown(m)
}
3 years ago
var xxx_messageInfo_AddFriendResponseReq proto.InternalMessageInfo
3 years ago
func (m *AddFriendResponseReq) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
3 years ago
func (m *AddFriendResponseReq) GetFlag() int32 {
if m != nil {
return m.Flag
}
return 0
}
3 years ago
func (m *AddFriendResponseReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
3 years ago
func (m *AddFriendResponseReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
type SetFriendCommentReq struct {
Uid string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
Comment string `protobuf:"bytes,3,opt,name=comment" json:"comment,omitempty"`
Token string `protobuf:"bytes,4,opt,name=token" json:"token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetFriendCommentReq) Reset() { *m = SetFriendCommentReq{} }
func (m *SetFriendCommentReq) String() string { return proto.CompactTextString(m) }
func (*SetFriendCommentReq) ProtoMessage() {}
func (*SetFriendCommentReq) Descriptor() ([]byte, []int) {
return fileDescriptor_friend_03bf5fbe59a174aa, []int{23}
}
func (m *SetFriendCommentReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetFriendCommentReq.Unmarshal(m, b)
}
func (m *SetFriendCommentReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetFriendCommentReq.Marshal(b, m, deterministic)
}
func (dst *SetFriendCommentReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetFriendCommentReq.Merge(dst, src)
}
func (m *SetFriendCommentReq) XXX_Size() int {
return xxx_messageInfo_SetFriendCommentReq.Size(m)
}
func (m *SetFriendCommentReq) XXX_DiscardUnknown() {
xxx_messageInfo_SetFriendCommentReq.DiscardUnknown(m)
}
var xxx_messageInfo_SetFriendCommentReq proto.InternalMessageInfo
func (m *SetFriendCommentReq) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
func (m *SetFriendCommentReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
func (m *SetFriendCommentReq) GetComment() string {
if m != nil {
return m.Comment
}
return ""
}
func (m *SetFriendCommentReq) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func init() {
proto.RegisterType((*CommonResp)(nil), "friend.CommonResp")
3 years ago
proto.RegisterType((*GetFriendsInfoReq)(nil), "friend.GetFriendsInfoReq")
proto.RegisterType((*GetFriendInfoResp)(nil), "friend.GetFriendInfoResp")
proto.RegisterType((*GetFriendData)(nil), "friend.GetFriendData")
proto.RegisterType((*AddFriendReq)(nil), "friend.AddFriendReq")
proto.RegisterType((*ImportFriendReq)(nil), "friend.ImportFriendReq")
proto.RegisterType((*ImportFriendResp)(nil), "friend.ImportFriendResp")
proto.RegisterType((*GetFriendApplyReq)(nil), "friend.GetFriendApplyReq")
proto.RegisterType((*GetFriendApplyResp)(nil), "friend.GetFriendApplyResp")
proto.RegisterType((*ApplyUserInfo)(nil), "friend.ApplyUserInfo")
proto.RegisterType((*GetFriendListReq)(nil), "friend.getFriendListReq")
proto.RegisterType((*GetFriendListResp)(nil), "friend.getFriendListResp")
proto.RegisterType((*UserInfo)(nil), "friend.UserInfo")
proto.RegisterType((*AddBlacklistReq)(nil), "friend.AddBlacklistReq")
proto.RegisterType((*RemoveBlacklistReq)(nil), "friend.RemoveBlacklistReq")
proto.RegisterType((*GetBlacklistReq)(nil), "friend.GetBlacklistReq")
proto.RegisterType((*GetBlacklistResp)(nil), "friend.GetBlacklistResp")
3 years ago
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")
3 years ago
proto.RegisterType((*AddFriendResponseReq)(nil), "friend.AddFriendResponseReq")
proto.RegisterType((*SetFriendCommentReq)(nil), "friend.SetFriendCommentReq")
}
// 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 {
3 years ago
GetFriendsInfo(ctx context.Context, in *GetFriendsInfoReq, opts ...grpc.CallOption) (*GetFriendInfoResp, error)
AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*CommonResp, error)
GetFriendApplyList(ctx context.Context, in *GetFriendApplyReq, opts ...grpc.CallOption) (*GetFriendApplyResp, error)
3 years ago
GetSelfApplyList(ctx context.Context, in *GetFriendApplyReq, opts ...grpc.CallOption) (*GetFriendApplyResp, error)
GetFriendList(ctx context.Context, in *GetFriendListReq, opts ...grpc.CallOption) (*GetFriendListResp, error)
AddBlacklist(ctx context.Context, in *AddBlacklistReq, opts ...grpc.CallOption) (*CommonResp, error)
RemoveBlacklist(ctx context.Context, in *RemoveBlacklistReq, opts ...grpc.CallOption) (*CommonResp, 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)
DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*CommonResp, error)
3 years ago
AddFriendResponse(ctx context.Context, in *AddFriendResponseReq, opts ...grpc.CallOption) (*CommonResp, error)
SetFriendComment(ctx context.Context, in *SetFriendCommentReq, opts ...grpc.CallOption) (*CommonResp, error)
ImportFriend(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, error)
}
type friendClient struct {
cc *grpc.ClientConn
}
func NewFriendClient(cc *grpc.ClientConn) FriendClient {
return &friendClient{cc}
}
3 years ago
func (c *friendClient) GetFriendsInfo(ctx context.Context, in *GetFriendsInfoReq, opts ...grpc.CallOption) (*GetFriendInfoResp, error) {
out := new(GetFriendInfoResp)
err := grpc.Invoke(ctx, "/friend.friend/getFriendsInfo", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*CommonResp, error) {
out := new(CommonResp)
err := grpc.Invoke(ctx, "/friend.friend/addFriend", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) GetFriendApplyList(ctx context.Context, in *GetFriendApplyReq, opts ...grpc.CallOption) (*GetFriendApplyResp, error) {
out := new(GetFriendApplyResp)
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 *GetFriendApplyReq, opts ...grpc.CallOption) (*GetFriendApplyResp, error) {
out := new(GetFriendApplyResp)
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)
err := grpc.Invoke(ctx, "/friend.friend/getFriendList", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) AddBlacklist(ctx context.Context, in *AddBlacklistReq, opts ...grpc.CallOption) (*CommonResp, error) {
out := new(CommonResp)
err := grpc.Invoke(ctx, "/friend.friend/addBlacklist", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) RemoveBlacklist(ctx context.Context, in *RemoveBlacklistReq, opts ...grpc.CallOption) (*CommonResp, error) {
out := new(CommonResp)
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)
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)
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)
err := grpc.Invoke(ctx, "/friend.friend/getBlacklist", 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) (*CommonResp, error) {
out := new(CommonResp)
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) (*CommonResp, error) {
out := new(CommonResp)
err := grpc.Invoke(ctx, "/friend.friend/addFriendResponse", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *friendClient) SetFriendComment(ctx context.Context, in *SetFriendCommentReq, opts ...grpc.CallOption) (*CommonResp, error) {
out := new(CommonResp)
err := grpc.Invoke(ctx, "/friend.friend/setFriendComment", 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)
err := grpc.Invoke(ctx, "/friend.friend/ImportFriend", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Friend service
type FriendServer interface {
3 years ago
GetFriendsInfo(context.Context, *GetFriendsInfoReq) (*GetFriendInfoResp, error)
AddFriend(context.Context, *AddFriendReq) (*CommonResp, error)
GetFriendApplyList(context.Context, *GetFriendApplyReq) (*GetFriendApplyResp, error)
3 years ago
GetSelfApplyList(context.Context, *GetFriendApplyReq) (*GetFriendApplyResp, error)
GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error)
AddBlacklist(context.Context, *AddBlacklistReq) (*CommonResp, error)
RemoveBlacklist(context.Context, *RemoveBlacklistReq) (*CommonResp, error)
3 years ago
IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error)
IsInBlackList(context.Context, *IsInBlackListReq) (*IsInBlackListResp, error)
GetBlacklist(context.Context, *GetBlacklistReq) (*GetBlacklistResp, error)
DeleteFriend(context.Context, *DeleteFriendReq) (*CommonResp, error)
3 years ago
AddFriendResponse(context.Context, *AddFriendResponseReq) (*CommonResp, error)
SetFriendComment(context.Context, *SetFriendCommentReq) (*CommonResp, error)
ImportFriend(context.Context, *ImportFriendReq) (*ImportFriendResp, error)
}
func RegisterFriendServer(s *grpc.Server, srv FriendServer) {
s.RegisterService(&_Friend_serviceDesc, srv)
}
3 years ago
func _Friend_GetFriendsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetFriendsInfoReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
3 years ago
return srv.(FriendServer).GetFriendsInfo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
3 years ago
FullMethod: "/friend.friend/GetFriendsInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3 years ago
return srv.(FriendServer).GetFriendsInfo(ctx, req.(*GetFriendsInfoReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_AddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddFriendReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).AddFriend(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/friend.friend/AddFriend",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).AddFriend(ctx, req.(*AddFriendReq))
}
return interceptor(ctx, in, info, handler)
}
func _Friend_GetFriendApplyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetFriendApplyReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).GetFriendApplyList(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/friend.friend/GetFriendApplyList",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).GetFriendApplyList(ctx, req.(*GetFriendApplyReq))
}
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) {
in := new(GetFriendApplyReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).GetSelfApplyList(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/friend.friend/GetSelfApplyList",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).GetSelfApplyList(ctx, req.(*GetFriendApplyReq))
}
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)
}
func _Friend_SetFriendComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetFriendCommentReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FriendServer).SetFriendComment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/friend.friend/SetFriendComment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FriendServer).SetFriendComment(ctx, req.(*SetFriendCommentReq))
}
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{
{
3 years ago
MethodName: "getFriendsInfo",
Handler: _Friend_GetFriendsInfo_Handler,
},
{
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,
},
{
MethodName: "setFriendComment",
Handler: _Friend_SetFriendComment_Handler,
},
{
MethodName: "ImportFriend",
Handler: _Friend_ImportFriend_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "friend/friend.proto",
}
func init() { proto.RegisterFile("friend/friend.proto", fileDescriptor_friend_03bf5fbe59a174aa) }
var fileDescriptor_friend_03bf5fbe59a174aa = []byte{
// 1013 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcd, 0x6e, 0xdb, 0x46,
0x10, 0x86, 0x48, 0xc9, 0x96, 0x46, 0x72, 0x24, 0xad, 0xdd, 0x96, 0x65, 0x83, 0x42, 0x20, 0x72,
0x48, 0x2f, 0x2e, 0xe0, 0x22, 0xa7, 0x9c, 0x14, 0xbb, 0x0e, 0xd4, 0x34, 0x08, 0xc0, 0xd8, 0x97,
0x16, 0x2d, 0x40, 0x8b, 0x23, 0x66, 0x11, 0xfe, 0x85, 0xcb, 0x24, 0xf6, 0xa9, 0xc7, 0x9e, 0xfb,
0x28, 0x7d, 0xb3, 0x3e, 0x42, 0xb1, 0xbb, 0x24, 0x77, 0xf9, 0xa3, 0x34, 0xa8, 0x1c, 0xe7, 0x24,
0xce, 0x70, 0x35, 0x3b, 0xdf, 0xcc, 0x7c, 0x33, 0x43, 0x38, 0xdc, 0x64, 0x14, 0x63, 0xff, 0x7b,
0xf9, 0x73, 0x9c, 0x66, 0x49, 0x9e, 0x90, 0x3d, 0x29, 0x39, 0xe7, 0x00, 0xa7, 0x49, 0x14, 0x25,
0xb1, 0x8b, 0x2c, 0x25, 0xf7, 0x61, 0x84, 0x59, 0x96, 0x64, 0xa7, 0x89, 0x8f, 0x56, 0x6f, 0xd1,
0x7b, 0x38, 0x70, 0x95, 0x82, 0xd8, 0x30, 0x14, 0xc2, 0x73, 0x16, 0x58, 0xc6, 0xa2, 0xf7, 0x70,
0xe4, 0x56, 0xb2, 0xf3, 0x1b, 0xcc, 0x9f, 0x62, 0x7e, 0x2e, 0x8c, 0xb2, 0x55, 0xbc, 0x49, 0x5c,
0x7c, 0x43, 0x66, 0x60, 0xbe, 0xa5, 0xbe, 0x30, 0x34, 0x72, 0xf9, 0x23, 0x59, 0xc0, 0xf8, 0x45,
0x8a, 0x99, 0x97, 0xd3, 0x24, 0x5e, 0x9d, 0x15, 0x56, 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