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/conversation/conversation.pb.go

1239 lines
48 KiB

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: conversation/conversation.proto
2 years ago
package conversation // import "OpenIM/pkg/proto/conversation"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type Conversation struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"`
ConversationID string `protobuf:"bytes,2,opt,name=conversationID" json:"conversationID,omitempty"`
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt" json:"recvMsgOpt,omitempty"`
ConversationType int32 `protobuf:"varint,4,opt,name=conversationType" json:"conversationType,omitempty"`
UserID string `protobuf:"bytes,5,opt,name=userID" json:"userID,omitempty"`
GroupID string `protobuf:"bytes,6,opt,name=groupID" json:"groupID,omitempty"`
UnreadCount int32 `protobuf:"varint,7,opt,name=unreadCount" json:"unreadCount,omitempty"`
DraftTextTime int64 `protobuf:"varint,8,opt,name=draftTextTime" json:"draftTextTime,omitempty"`
IsPinned bool `protobuf:"varint,9,opt,name=isPinned" json:"isPinned,omitempty"`
AttachedInfo string `protobuf:"bytes,10,opt,name=attachedInfo" json:"attachedInfo,omitempty"`
IsPrivateChat bool `protobuf:"varint,11,opt,name=isPrivateChat" json:"isPrivateChat,omitempty"`
GroupAtType int32 `protobuf:"varint,12,opt,name=groupAtType" json:"groupAtType,omitempty"`
IsNotInGroup bool `protobuf:"varint,13,opt,name=isNotInGroup" json:"isNotInGroup,omitempty"`
Ex string `protobuf:"bytes,14,opt,name=ex" json:"ex,omitempty"`
UpdateUnreadCountTime int64 `protobuf:"varint,15,opt,name=updateUnreadCountTime" json:"updateUnreadCountTime,omitempty"`
BurnDuration int32 `protobuf:"varint,16,opt,name=burnDuration" json:"burnDuration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Conversation) Reset() { *m = Conversation{} }
func (m *Conversation) String() string { return proto.CompactTextString(m) }
func (*Conversation) ProtoMessage() {}
func (*Conversation) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{0}
}
func (m *Conversation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Conversation.Unmarshal(m, b)
}
func (m *Conversation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Conversation.Marshal(b, m, deterministic)
}
func (dst *Conversation) XXX_Merge(src proto.Message) {
xxx_messageInfo_Conversation.Merge(dst, src)
}
func (m *Conversation) XXX_Size() int {
return xxx_messageInfo_Conversation.Size(m)
}
func (m *Conversation) XXX_DiscardUnknown() {
xxx_messageInfo_Conversation.DiscardUnknown(m)
2 years ago
}
var xxx_messageInfo_Conversation proto.InternalMessageInfo
func (m *Conversation) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *Conversation) GetConversationID() string {
if m != nil {
return m.ConversationID
}
return ""
}
func (m *Conversation) GetRecvMsgOpt() int32 {
if m != nil {
return m.RecvMsgOpt
}
return 0
}
func (m *Conversation) GetConversationType() int32 {
if m != nil {
return m.ConversationType
}
return 0
}
func (m *Conversation) GetUserID() string {
if m != nil {
return m.UserID
}
return ""
}
func (m *Conversation) GetGroupID() string {
if m != nil {
return m.GroupID
}
return ""
}
func (m *Conversation) GetUnreadCount() int32 {
if m != nil {
return m.UnreadCount
}
return 0
}
func (m *Conversation) GetDraftTextTime() int64 {
if m != nil {
return m.DraftTextTime
}
return 0
}
func (m *Conversation) GetIsPinned() bool {
if m != nil {
return m.IsPinned
}
return false
}
func (m *Conversation) GetAttachedInfo() string {
if m != nil {
return m.AttachedInfo
}
return ""
}
func (m *Conversation) GetIsPrivateChat() bool {
if m != nil {
return m.IsPrivateChat
}
return false
}
func (m *Conversation) GetGroupAtType() int32 {
if m != nil {
return m.GroupAtType
}
return 0
}
func (m *Conversation) GetIsNotInGroup() bool {
if m != nil {
return m.IsNotInGroup
}
return false
}
func (m *Conversation) GetEx() string {
if m != nil {
return m.Ex
}
return ""
}
func (m *Conversation) GetUpdateUnreadCountTime() int64 {
if m != nil {
return m.UpdateUnreadCountTime
2 years ago
}
return 0
}
func (m *Conversation) GetBurnDuration() int32 {
if m != nil {
return m.BurnDuration
2 years ago
}
return 0
}
2 years ago
type ModifyConversationFieldReq struct {
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"`
FieldType int32 `protobuf:"varint,2,opt,name=fieldType" json:"fieldType,omitempty"`
UserIDList []string `protobuf:"bytes,3,rep,name=userIDList" json:"userIDList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ModifyConversationFieldReq) Reset() { *m = ModifyConversationFieldReq{} }
func (m *ModifyConversationFieldReq) String() string { return proto.CompactTextString(m) }
func (*ModifyConversationFieldReq) ProtoMessage() {}
func (*ModifyConversationFieldReq) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{1}
}
func (m *ModifyConversationFieldReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ModifyConversationFieldReq.Unmarshal(m, b)
}
func (m *ModifyConversationFieldReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ModifyConversationFieldReq.Marshal(b, m, deterministic)
}
func (dst *ModifyConversationFieldReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_ModifyConversationFieldReq.Merge(dst, src)
}
func (m *ModifyConversationFieldReq) XXX_Size() int {
return xxx_messageInfo_ModifyConversationFieldReq.Size(m)
}
func (m *ModifyConversationFieldReq) XXX_DiscardUnknown() {
xxx_messageInfo_ModifyConversationFieldReq.DiscardUnknown(m)
2 years ago
}
var xxx_messageInfo_ModifyConversationFieldReq proto.InternalMessageInfo
func (m *ModifyConversationFieldReq) GetConversation() *Conversation {
if m != nil {
return m.Conversation
}
return nil
}
func (m *ModifyConversationFieldReq) GetFieldType() int32 {
if m != nil {
return m.FieldType
}
return 0
}
func (m *ModifyConversationFieldReq) GetUserIDList() []string {
if m != nil {
return m.UserIDList
}
return nil
}
type ModifyConversationFieldResp struct {
2 years ago
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2 years ago
func (m *ModifyConversationFieldResp) Reset() { *m = ModifyConversationFieldResp{} }
func (m *ModifyConversationFieldResp) String() string { return proto.CompactTextString(m) }
func (*ModifyConversationFieldResp) ProtoMessage() {}
func (*ModifyConversationFieldResp) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{2}
}
func (m *ModifyConversationFieldResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ModifyConversationFieldResp.Unmarshal(m, b)
}
func (m *ModifyConversationFieldResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ModifyConversationFieldResp.Marshal(b, m, deterministic)
}
func (dst *ModifyConversationFieldResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_ModifyConversationFieldResp.Merge(dst, src)
}
func (m *ModifyConversationFieldResp) XXX_Size() int {
return xxx_messageInfo_ModifyConversationFieldResp.Size(m)
}
func (m *ModifyConversationFieldResp) XXX_DiscardUnknown() {
xxx_messageInfo_ModifyConversationFieldResp.DiscardUnknown(m)
2 years ago
}
var xxx_messageInfo_ModifyConversationFieldResp proto.InternalMessageInfo
2 years ago
type SetConversationReq struct {
Conversation *Conversation `protobuf:"bytes,1,opt,name=Conversation" json:"Conversation,omitempty"`
NotificationType int32 `protobuf:"varint,2,opt,name=notificationType" json:"notificationType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetConversationReq) Reset() { *m = SetConversationReq{} }
func (m *SetConversationReq) String() string { return proto.CompactTextString(m) }
func (*SetConversationReq) ProtoMessage() {}
func (*SetConversationReq) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{3}
2 years ago
}
func (m *SetConversationReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetConversationReq.Unmarshal(m, b)
}
func (m *SetConversationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetConversationReq.Marshal(b, m, deterministic)
}
func (dst *SetConversationReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetConversationReq.Merge(dst, src)
}
func (m *SetConversationReq) XXX_Size() int {
return xxx_messageInfo_SetConversationReq.Size(m)
}
func (m *SetConversationReq) XXX_DiscardUnknown() {
xxx_messageInfo_SetConversationReq.DiscardUnknown(m)
}
var xxx_messageInfo_SetConversationReq proto.InternalMessageInfo
func (m *SetConversationReq) GetConversation() *Conversation {
if m != nil {
return m.Conversation
}
return nil
}
func (m *SetConversationReq) GetNotificationType() int32 {
if m != nil {
return m.NotificationType
}
return 0
}
type SetConversationResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetConversationResp) Reset() { *m = SetConversationResp{} }
func (m *SetConversationResp) String() string { return proto.CompactTextString(m) }
func (*SetConversationResp) ProtoMessage() {}
func (*SetConversationResp) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{4}
2 years ago
}
func (m *SetConversationResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetConversationResp.Unmarshal(m, b)
}
func (m *SetConversationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetConversationResp.Marshal(b, m, deterministic)
}
func (dst *SetConversationResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetConversationResp.Merge(dst, src)
}
func (m *SetConversationResp) XXX_Size() int {
return xxx_messageInfo_SetConversationResp.Size(m)
}
func (m *SetConversationResp) XXX_DiscardUnknown() {
xxx_messageInfo_SetConversationResp.DiscardUnknown(m)
}
var xxx_messageInfo_SetConversationResp proto.InternalMessageInfo
type SetRecvMsgOptReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
ConversationID string `protobuf:"bytes,2,opt,name=ConversationID" json:"ConversationID,omitempty"`
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=RecvMsgOpt" json:"RecvMsgOpt,omitempty"`
NotificationType int32 `protobuf:"varint,4,opt,name=notificationType" json:"notificationType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetRecvMsgOptReq) Reset() { *m = SetRecvMsgOptReq{} }
func (m *SetRecvMsgOptReq) String() string { return proto.CompactTextString(m) }
func (*SetRecvMsgOptReq) ProtoMessage() {}
func (*SetRecvMsgOptReq) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{5}
2 years ago
}
func (m *SetRecvMsgOptReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetRecvMsgOptReq.Unmarshal(m, b)
}
func (m *SetRecvMsgOptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetRecvMsgOptReq.Marshal(b, m, deterministic)
}
func (dst *SetRecvMsgOptReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetRecvMsgOptReq.Merge(dst, src)
}
func (m *SetRecvMsgOptReq) XXX_Size() int {
return xxx_messageInfo_SetRecvMsgOptReq.Size(m)
}
func (m *SetRecvMsgOptReq) XXX_DiscardUnknown() {
xxx_messageInfo_SetRecvMsgOptReq.DiscardUnknown(m)
}
var xxx_messageInfo_SetRecvMsgOptReq proto.InternalMessageInfo
func (m *SetRecvMsgOptReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *SetRecvMsgOptReq) GetConversationID() string {
if m != nil {
return m.ConversationID
}
return ""
}
func (m *SetRecvMsgOptReq) GetRecvMsgOpt() int32 {
if m != nil {
return m.RecvMsgOpt
}
return 0
}
func (m *SetRecvMsgOptReq) GetNotificationType() int32 {
if m != nil {
return m.NotificationType
}
return 0
}
type SetRecvMsgOptResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetRecvMsgOptResp) Reset() { *m = SetRecvMsgOptResp{} }
func (m *SetRecvMsgOptResp) String() string { return proto.CompactTextString(m) }
func (*SetRecvMsgOptResp) ProtoMessage() {}
func (*SetRecvMsgOptResp) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{6}
2 years ago
}
func (m *SetRecvMsgOptResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetRecvMsgOptResp.Unmarshal(m, b)
}
func (m *SetRecvMsgOptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetRecvMsgOptResp.Marshal(b, m, deterministic)
}
func (dst *SetRecvMsgOptResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetRecvMsgOptResp.Merge(dst, src)
}
func (m *SetRecvMsgOptResp) XXX_Size() int {
return xxx_messageInfo_SetRecvMsgOptResp.Size(m)
}
func (m *SetRecvMsgOptResp) XXX_DiscardUnknown() {
xxx_messageInfo_SetRecvMsgOptResp.DiscardUnknown(m)
}
var xxx_messageInfo_SetRecvMsgOptResp proto.InternalMessageInfo
type GetConversationReq struct {
ConversationID string `protobuf:"bytes,1,opt,name=ConversationID" json:"ConversationID,omitempty"`
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetConversationReq) Reset() { *m = GetConversationReq{} }
func (m *GetConversationReq) String() string { return proto.CompactTextString(m) }
func (*GetConversationReq) ProtoMessage() {}
func (*GetConversationReq) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{7}
2 years ago
}
func (m *GetConversationReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConversationReq.Unmarshal(m, b)
}
func (m *GetConversationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConversationReq.Marshal(b, m, deterministic)
}
func (dst *GetConversationReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConversationReq.Merge(dst, src)
}
func (m *GetConversationReq) XXX_Size() int {
return xxx_messageInfo_GetConversationReq.Size(m)
}
func (m *GetConversationReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetConversationReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetConversationReq proto.InternalMessageInfo
func (m *GetConversationReq) GetConversationID() string {
if m != nil {
return m.ConversationID
}
return ""
}
func (m *GetConversationReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
type GetConversationResp struct {
Conversation *Conversation `protobuf:"bytes,2,opt,name=Conversation" json:"Conversation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetConversationResp) Reset() { *m = GetConversationResp{} }
func (m *GetConversationResp) String() string { return proto.CompactTextString(m) }
func (*GetConversationResp) ProtoMessage() {}
func (*GetConversationResp) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{8}
2 years ago
}
func (m *GetConversationResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConversationResp.Unmarshal(m, b)
}
func (m *GetConversationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConversationResp.Marshal(b, m, deterministic)
}
func (dst *GetConversationResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConversationResp.Merge(dst, src)
}
func (m *GetConversationResp) XXX_Size() int {
return xxx_messageInfo_GetConversationResp.Size(m)
}
func (m *GetConversationResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetConversationResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetConversationResp proto.InternalMessageInfo
func (m *GetConversationResp) GetConversation() *Conversation {
if m != nil {
return m.Conversation
}
return nil
}
type GetConversationsReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
ConversationIDs []string `protobuf:"bytes,2,rep,name=ConversationIDs" json:"ConversationIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetConversationsReq) Reset() { *m = GetConversationsReq{} }
func (m *GetConversationsReq) String() string { return proto.CompactTextString(m) }
func (*GetConversationsReq) ProtoMessage() {}
func (*GetConversationsReq) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{9}
2 years ago
}
func (m *GetConversationsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConversationsReq.Unmarshal(m, b)
}
func (m *GetConversationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConversationsReq.Marshal(b, m, deterministic)
}
func (dst *GetConversationsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConversationsReq.Merge(dst, src)
}
func (m *GetConversationsReq) XXX_Size() int {
return xxx_messageInfo_GetConversationsReq.Size(m)
}
func (m *GetConversationsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetConversationsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetConversationsReq proto.InternalMessageInfo
func (m *GetConversationsReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *GetConversationsReq) GetConversationIDs() []string {
if m != nil {
return m.ConversationIDs
}
return nil
}
type GetConversationsResp struct {
Conversations []*Conversation `protobuf:"bytes,2,rep,name=Conversations" json:"Conversations,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetConversationsResp) Reset() { *m = GetConversationsResp{} }
func (m *GetConversationsResp) String() string { return proto.CompactTextString(m) }
func (*GetConversationsResp) ProtoMessage() {}
func (*GetConversationsResp) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{10}
2 years ago
}
func (m *GetConversationsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConversationsResp.Unmarshal(m, b)
}
func (m *GetConversationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConversationsResp.Marshal(b, m, deterministic)
}
func (dst *GetConversationsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConversationsResp.Merge(dst, src)
}
func (m *GetConversationsResp) XXX_Size() int {
return xxx_messageInfo_GetConversationsResp.Size(m)
}
func (m *GetConversationsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetConversationsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetConversationsResp proto.InternalMessageInfo
func (m *GetConversationsResp) GetConversations() []*Conversation {
if m != nil {
return m.Conversations
}
return nil
}
type GetAllConversationsReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetAllConversationsReq) Reset() { *m = GetAllConversationsReq{} }
func (m *GetAllConversationsReq) String() string { return proto.CompactTextString(m) }
func (*GetAllConversationsReq) ProtoMessage() {}
func (*GetAllConversationsReq) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{11}
2 years ago
}
func (m *GetAllConversationsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAllConversationsReq.Unmarshal(m, b)
}
func (m *GetAllConversationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAllConversationsReq.Marshal(b, m, deterministic)
}
func (dst *GetAllConversationsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAllConversationsReq.Merge(dst, src)
}
func (m *GetAllConversationsReq) XXX_Size() int {
return xxx_messageInfo_GetAllConversationsReq.Size(m)
}
func (m *GetAllConversationsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetAllConversationsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetAllConversationsReq proto.InternalMessageInfo
func (m *GetAllConversationsReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
type GetAllConversationsResp struct {
Conversations []*Conversation `protobuf:"bytes,2,rep,name=Conversations" json:"Conversations,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetAllConversationsResp) Reset() { *m = GetAllConversationsResp{} }
func (m *GetAllConversationsResp) String() string { return proto.CompactTextString(m) }
func (*GetAllConversationsResp) ProtoMessage() {}
func (*GetAllConversationsResp) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{12}
2 years ago
}
func (m *GetAllConversationsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetAllConversationsResp.Unmarshal(m, b)
}
func (m *GetAllConversationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetAllConversationsResp.Marshal(b, m, deterministic)
}
func (dst *GetAllConversationsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetAllConversationsResp.Merge(dst, src)
}
func (m *GetAllConversationsResp) XXX_Size() int {
return xxx_messageInfo_GetAllConversationsResp.Size(m)
}
func (m *GetAllConversationsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetAllConversationsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetAllConversationsResp proto.InternalMessageInfo
func (m *GetAllConversationsResp) GetConversations() []*Conversation {
if m != nil {
return m.Conversations
}
return nil
}
type BatchSetConversationsReq struct {
Conversations []*Conversation `protobuf:"bytes,1,rep,name=Conversations" json:"Conversations,omitempty"`
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
NotificationType int32 `protobuf:"varint,3,opt,name=notificationType" json:"notificationType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchSetConversationsReq) Reset() { *m = BatchSetConversationsReq{} }
func (m *BatchSetConversationsReq) String() string { return proto.CompactTextString(m) }
func (*BatchSetConversationsReq) ProtoMessage() {}
func (*BatchSetConversationsReq) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{13}
2 years ago
}
func (m *BatchSetConversationsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchSetConversationsReq.Unmarshal(m, b)
}
func (m *BatchSetConversationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchSetConversationsReq.Marshal(b, m, deterministic)
}
func (dst *BatchSetConversationsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchSetConversationsReq.Merge(dst, src)
}
func (m *BatchSetConversationsReq) XXX_Size() int {
return xxx_messageInfo_BatchSetConversationsReq.Size(m)
}
func (m *BatchSetConversationsReq) XXX_DiscardUnknown() {
xxx_messageInfo_BatchSetConversationsReq.DiscardUnknown(m)
}
var xxx_messageInfo_BatchSetConversationsReq proto.InternalMessageInfo
func (m *BatchSetConversationsReq) GetConversations() []*Conversation {
if m != nil {
return m.Conversations
}
return nil
}
func (m *BatchSetConversationsReq) GetOwnerUserID() string {
if m != nil {
return m.OwnerUserID
}
return ""
}
func (m *BatchSetConversationsReq) GetNotificationType() int32 {
if m != nil {
return m.NotificationType
}
return 0
}
type BatchSetConversationsResp struct {
Success []string `protobuf:"bytes,1,rep,name=Success" json:"Success,omitempty"`
Failed []string `protobuf:"bytes,2,rep,name=Failed" json:"Failed,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchSetConversationsResp) Reset() { *m = BatchSetConversationsResp{} }
func (m *BatchSetConversationsResp) String() string { return proto.CompactTextString(m) }
func (*BatchSetConversationsResp) ProtoMessage() {}
func (*BatchSetConversationsResp) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{14}
2 years ago
}
func (m *BatchSetConversationsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchSetConversationsResp.Unmarshal(m, b)
}
func (m *BatchSetConversationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchSetConversationsResp.Marshal(b, m, deterministic)
}
func (dst *BatchSetConversationsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchSetConversationsResp.Merge(dst, src)
}
func (m *BatchSetConversationsResp) XXX_Size() int {
return xxx_messageInfo_BatchSetConversationsResp.Size(m)
}
func (m *BatchSetConversationsResp) XXX_DiscardUnknown() {
xxx_messageInfo_BatchSetConversationsResp.DiscardUnknown(m)
}
var xxx_messageInfo_BatchSetConversationsResp proto.InternalMessageInfo
func (m *BatchSetConversationsResp) GetSuccess() []string {
if m != nil {
2 years ago
return m.Success
}
return nil
}
func (m *BatchSetConversationsResp) GetFailed() []string {
if m != nil {
return m.Failed
}
return nil
}
type GetRecvMsgNotNotifyUserIDsReq struct {
GroupID string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetRecvMsgNotNotifyUserIDsReq) Reset() { *m = GetRecvMsgNotNotifyUserIDsReq{} }
func (m *GetRecvMsgNotNotifyUserIDsReq) String() string { return proto.CompactTextString(m) }
func (*GetRecvMsgNotNotifyUserIDsReq) ProtoMessage() {}
func (*GetRecvMsgNotNotifyUserIDsReq) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{15}
}
func (m *GetRecvMsgNotNotifyUserIDsReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRecvMsgNotNotifyUserIDsReq.Unmarshal(m, b)
}
func (m *GetRecvMsgNotNotifyUserIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetRecvMsgNotNotifyUserIDsReq.Marshal(b, m, deterministic)
}
func (dst *GetRecvMsgNotNotifyUserIDsReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRecvMsgNotNotifyUserIDsReq.Merge(dst, src)
}
func (m *GetRecvMsgNotNotifyUserIDsReq) XXX_Size() int {
return xxx_messageInfo_GetRecvMsgNotNotifyUserIDsReq.Size(m)
}
func (m *GetRecvMsgNotNotifyUserIDsReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetRecvMsgNotNotifyUserIDsReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetRecvMsgNotNotifyUserIDsReq proto.InternalMessageInfo
func (m *GetRecvMsgNotNotifyUserIDsReq) GetGroupID() string {
if m != nil {
return m.GroupID
}
return ""
}
type GetRecvMsgNotNotifyUserIDsResp struct {
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs" json:"userIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetRecvMsgNotNotifyUserIDsResp) Reset() { *m = GetRecvMsgNotNotifyUserIDsResp{} }
func (m *GetRecvMsgNotNotifyUserIDsResp) String() string { return proto.CompactTextString(m) }
func (*GetRecvMsgNotNotifyUserIDsResp) ProtoMessage() {}
func (*GetRecvMsgNotNotifyUserIDsResp) Descriptor() ([]byte, []int) {
2 years ago
return fileDescriptor_conversation_f3f9347ed949ef7d, []int{16}
}
func (m *GetRecvMsgNotNotifyUserIDsResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRecvMsgNotNotifyUserIDsResp.Unmarshal(m, b)
}
func (m *GetRecvMsgNotNotifyUserIDsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetRecvMsgNotNotifyUserIDsResp.Marshal(b, m, deterministic)
}
func (dst *GetRecvMsgNotNotifyUserIDsResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRecvMsgNotNotifyUserIDsResp.Merge(dst, src)
}
func (m *GetRecvMsgNotNotifyUserIDsResp) XXX_Size() int {
return xxx_messageInfo_GetRecvMsgNotNotifyUserIDsResp.Size(m)
}
func (m *GetRecvMsgNotNotifyUserIDsResp) XXX_DiscardUnknown() {
xxx_messageInfo_GetRecvMsgNotNotifyUserIDsResp.DiscardUnknown(m)
}
var xxx_messageInfo_GetRecvMsgNotNotifyUserIDsResp proto.InternalMessageInfo
func (m *GetRecvMsgNotNotifyUserIDsResp) GetUserIDs() []string {
if m != nil {
return m.UserIDs
}
return nil
}
func init() {
proto.RegisterType((*Conversation)(nil), "conversation.Conversation")
proto.RegisterType((*ModifyConversationFieldReq)(nil), "conversation.ModifyConversationFieldReq")
proto.RegisterType((*ModifyConversationFieldResp)(nil), "conversation.ModifyConversationFieldResp")
2 years ago
proto.RegisterType((*SetConversationReq)(nil), "conversation.SetConversationReq")
proto.RegisterType((*SetConversationResp)(nil), "conversation.SetConversationResp")
proto.RegisterType((*SetRecvMsgOptReq)(nil), "conversation.SetRecvMsgOptReq")
proto.RegisterType((*SetRecvMsgOptResp)(nil), "conversation.SetRecvMsgOptResp")
proto.RegisterType((*GetConversationReq)(nil), "conversation.GetConversationReq")
proto.RegisterType((*GetConversationResp)(nil), "conversation.GetConversationResp")
proto.RegisterType((*GetConversationsReq)(nil), "conversation.GetConversationsReq")
proto.RegisterType((*GetConversationsResp)(nil), "conversation.GetConversationsResp")
proto.RegisterType((*GetAllConversationsReq)(nil), "conversation.GetAllConversationsReq")
proto.RegisterType((*GetAllConversationsResp)(nil), "conversation.GetAllConversationsResp")
proto.RegisterType((*BatchSetConversationsReq)(nil), "conversation.BatchSetConversationsReq")
proto.RegisterType((*BatchSetConversationsResp)(nil), "conversation.BatchSetConversationsResp")
proto.RegisterType((*GetRecvMsgNotNotifyUserIDsReq)(nil), "conversation.GetRecvMsgNotNotifyUserIDsReq")
proto.RegisterType((*GetRecvMsgNotNotifyUserIDsResp)(nil), "conversation.GetRecvMsgNotNotifyUserIDsResp")
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for Conversation service
type ConversationClient interface {
ModifyConversationField(ctx context.Context, in *ModifyConversationFieldReq, opts ...grpc.CallOption) (*ModifyConversationFieldResp, error)
2 years ago
GetConversation(ctx context.Context, in *GetConversationReq, opts ...grpc.CallOption) (*GetConversationResp, error)
GetAllConversations(ctx context.Context, in *GetAllConversationsReq, opts ...grpc.CallOption) (*GetAllConversationsResp, error)
GetConversations(ctx context.Context, in *GetConversationsReq, opts ...grpc.CallOption) (*GetConversationsResp, error)
BatchSetConversations(ctx context.Context, in *BatchSetConversationsReq, opts ...grpc.CallOption) (*BatchSetConversationsResp, error)
SetConversation(ctx context.Context, in *SetConversationReq, opts ...grpc.CallOption) (*SetConversationResp, error)
SetRecvMsgOpt(ctx context.Context, in *SetRecvMsgOptReq, opts ...grpc.CallOption) (*SetRecvMsgOptResp, error)
GetRecvMsgNotNotifyUserIDs(ctx context.Context, in *GetRecvMsgNotNotifyUserIDsReq, opts ...grpc.CallOption) (*GetRecvMsgNotNotifyUserIDsResp, error)
}
type conversationClient struct {
cc *grpc.ClientConn
}
func NewConversationClient(cc *grpc.ClientConn) ConversationClient {
return &conversationClient{cc}
}
func (c *conversationClient) ModifyConversationField(ctx context.Context, in *ModifyConversationFieldReq, opts ...grpc.CallOption) (*ModifyConversationFieldResp, error) {
out := new(ModifyConversationFieldResp)
err := grpc.Invoke(ctx, "/conversation.conversation/ModifyConversationField", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2 years ago
func (c *conversationClient) GetConversation(ctx context.Context, in *GetConversationReq, opts ...grpc.CallOption) (*GetConversationResp, error) {
out := new(GetConversationResp)
err := grpc.Invoke(ctx, "/conversation.conversation/GetConversation", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *conversationClient) GetAllConversations(ctx context.Context, in *GetAllConversationsReq, opts ...grpc.CallOption) (*GetAllConversationsResp, error) {
out := new(GetAllConversationsResp)
err := grpc.Invoke(ctx, "/conversation.conversation/GetAllConversations", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *conversationClient) GetConversations(ctx context.Context, in *GetConversationsReq, opts ...grpc.CallOption) (*GetConversationsResp, error) {
out := new(GetConversationsResp)
err := grpc.Invoke(ctx, "/conversation.conversation/GetConversations", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *conversationClient) BatchSetConversations(ctx context.Context, in *BatchSetConversationsReq, opts ...grpc.CallOption) (*BatchSetConversationsResp, error) {
out := new(BatchSetConversationsResp)
err := grpc.Invoke(ctx, "/conversation.conversation/BatchSetConversations", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *conversationClient) SetConversation(ctx context.Context, in *SetConversationReq, opts ...grpc.CallOption) (*SetConversationResp, error) {
out := new(SetConversationResp)
err := grpc.Invoke(ctx, "/conversation.conversation/SetConversation", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *conversationClient) SetRecvMsgOpt(ctx context.Context, in *SetRecvMsgOptReq, opts ...grpc.CallOption) (*SetRecvMsgOptResp, error) {
out := new(SetRecvMsgOptResp)
err := grpc.Invoke(ctx, "/conversation.conversation/SetRecvMsgOpt", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *conversationClient) GetRecvMsgNotNotifyUserIDs(ctx context.Context, in *GetRecvMsgNotNotifyUserIDsReq, opts ...grpc.CallOption) (*GetRecvMsgNotNotifyUserIDsResp, error) {
out := new(GetRecvMsgNotNotifyUserIDsResp)
err := grpc.Invoke(ctx, "/conversation.conversation/GetRecvMsgNotNotifyUserIDs", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Conversation service
type ConversationServer interface {
ModifyConversationField(context.Context, *ModifyConversationFieldReq) (*ModifyConversationFieldResp, error)
2 years ago
GetConversation(context.Context, *GetConversationReq) (*GetConversationResp, error)
GetAllConversations(context.Context, *GetAllConversationsReq) (*GetAllConversationsResp, error)
GetConversations(context.Context, *GetConversationsReq) (*GetConversationsResp, error)
BatchSetConversations(context.Context, *BatchSetConversationsReq) (*BatchSetConversationsResp, error)
SetConversation(context.Context, *SetConversationReq) (*SetConversationResp, error)
SetRecvMsgOpt(context.Context, *SetRecvMsgOptReq) (*SetRecvMsgOptResp, error)
GetRecvMsgNotNotifyUserIDs(context.Context, *GetRecvMsgNotNotifyUserIDsReq) (*GetRecvMsgNotNotifyUserIDsResp, error)
}
func RegisterConversationServer(s *grpc.Server, srv ConversationServer) {
s.RegisterService(&_Conversation_serviceDesc, srv)
}
func _Conversation_ModifyConversationField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ModifyConversationFieldReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ConversationServer).ModifyConversationField(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/conversation.conversation/ModifyConversationField",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConversationServer).ModifyConversationField(ctx, req.(*ModifyConversationFieldReq))
}
return interceptor(ctx, in, info, handler)
}
2 years ago
func _Conversation_GetConversation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetConversationReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ConversationServer).GetConversation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/conversation.conversation/GetConversation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConversationServer).GetConversation(ctx, req.(*GetConversationReq))
}
return interceptor(ctx, in, info, handler)
}
func _Conversation_GetAllConversations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetAllConversationsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ConversationServer).GetAllConversations(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/conversation.conversation/GetAllConversations",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConversationServer).GetAllConversations(ctx, req.(*GetAllConversationsReq))
}
return interceptor(ctx, in, info, handler)
}
func _Conversation_GetConversations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetConversationsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ConversationServer).GetConversations(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/conversation.conversation/GetConversations",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConversationServer).GetConversations(ctx, req.(*GetConversationsReq))
}
return interceptor(ctx, in, info, handler)
}
func _Conversation_BatchSetConversations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchSetConversationsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ConversationServer).BatchSetConversations(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/conversation.conversation/BatchSetConversations",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConversationServer).BatchSetConversations(ctx, req.(*BatchSetConversationsReq))
}
return interceptor(ctx, in, info, handler)
}
func _Conversation_SetConversation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetConversationReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ConversationServer).SetConversation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/conversation.conversation/SetConversation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConversationServer).SetConversation(ctx, req.(*SetConversationReq))
}
return interceptor(ctx, in, info, handler)
}
func _Conversation_SetRecvMsgOpt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetRecvMsgOptReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ConversationServer).SetRecvMsgOpt(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/conversation.conversation/SetRecvMsgOpt",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConversationServer).SetRecvMsgOpt(ctx, req.(*SetRecvMsgOptReq))
}
return interceptor(ctx, in, info, handler)
}
func _Conversation_GetRecvMsgNotNotifyUserIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetRecvMsgNotNotifyUserIDsReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ConversationServer).GetRecvMsgNotNotifyUserIDs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/conversation.conversation/GetRecvMsgNotNotifyUserIDs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ConversationServer).GetRecvMsgNotNotifyUserIDs(ctx, req.(*GetRecvMsgNotNotifyUserIDsReq))
}
return interceptor(ctx, in, info, handler)
}
var _Conversation_serviceDesc = grpc.ServiceDesc{
ServiceName: "conversation.conversation",
HandlerType: (*ConversationServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ModifyConversationField",
Handler: _Conversation_ModifyConversationField_Handler,
},
2 years ago
{
MethodName: "GetConversation",
Handler: _Conversation_GetConversation_Handler,
},
{
MethodName: "GetAllConversations",
Handler: _Conversation_GetAllConversations_Handler,
},
{
MethodName: "GetConversations",
Handler: _Conversation_GetConversations_Handler,
},
{
MethodName: "BatchSetConversations",
Handler: _Conversation_BatchSetConversations_Handler,
},
{
MethodName: "SetConversation",
Handler: _Conversation_SetConversation_Handler,
},
{
MethodName: "SetRecvMsgOpt",
Handler: _Conversation_SetRecvMsgOpt_Handler,
},
{
MethodName: "GetRecvMsgNotNotifyUserIDs",
Handler: _Conversation_GetRecvMsgNotNotifyUserIDs_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "conversation/conversation.proto",
}
func init() {
2 years ago
proto.RegisterFile("conversation/conversation.proto", fileDescriptor_conversation_f3f9347ed949ef7d)
}
2 years ago
var fileDescriptor_conversation_f3f9347ed949ef7d = []byte{
// 841 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 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