// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.19.3 // source: message/message.proto package message import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type BoradcastMessageReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"` } func (x *BoradcastMessageReq) Reset() { *x = BoradcastMessageReq{} if protoimpl.UnsafeEnabled { mi := &file_message_message_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BoradcastMessageReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BoradcastMessageReq) ProtoMessage() {} func (x *BoradcastMessageReq) ProtoReflect() protoreflect.Message { mi := &file_message_message_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BoradcastMessageReq.ProtoReflect.Descriptor instead. func (*BoradcastMessageReq) Descriptor() ([]byte, []int) { return file_message_message_proto_rawDescGZIP(), []int{0} } func (x *BoradcastMessageReq) GetMessage() string { if x != nil { return x.Message } return "" } func (x *BoradcastMessageReq) GetOperationID() string { if x != nil { return x.OperationID } return "" } type BoradcastMessageResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *BoradcastMessageResp) Reset() { *x = BoradcastMessageResp{} if protoimpl.UnsafeEnabled { mi := &file_message_message_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BoradcastMessageResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*BoradcastMessageResp) ProtoMessage() {} func (x *BoradcastMessageResp) ProtoReflect() protoreflect.Message { mi := &file_message_message_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BoradcastMessageResp.ProtoReflect.Descriptor instead. func (*BoradcastMessageResp) Descriptor() ([]byte, []int) { return file_message_message_proto_rawDescGZIP(), []int{1} } type MassSendMessageReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` UserIds []string `protobuf:"bytes,2,rep,name=UserIds,proto3" json:"UserIds,omitempty"` OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"` } func (x *MassSendMessageReq) Reset() { *x = MassSendMessageReq{} if protoimpl.UnsafeEnabled { mi := &file_message_message_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MassSendMessageReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*MassSendMessageReq) ProtoMessage() {} func (x *MassSendMessageReq) ProtoReflect() protoreflect.Message { mi := &file_message_message_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MassSendMessageReq.ProtoReflect.Descriptor instead. func (*MassSendMessageReq) Descriptor() ([]byte, []int) { return file_message_message_proto_rawDescGZIP(), []int{2} } func (x *MassSendMessageReq) GetMessage() string { if x != nil { return x.Message } return "" } func (x *MassSendMessageReq) GetUserIds() []string { if x != nil { return x.UserIds } return nil } func (x *MassSendMessageReq) GetOperationID() string { if x != nil { return x.OperationID } return "" } type MassSendMessageResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *MassSendMessageResp) Reset() { *x = MassSendMessageResp{} if protoimpl.UnsafeEnabled { mi := &file_message_message_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MassSendMessageResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*MassSendMessageResp) ProtoMessage() {} func (x *MassSendMessageResp) ProtoReflect() protoreflect.Message { mi := &file_message_message_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MassSendMessageResp.ProtoReflect.Descriptor instead. func (*MassSendMessageResp) Descriptor() ([]byte, []int) { return file_message_message_proto_rawDescGZIP(), []int{3} } type GetChatLogsReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` UserId string `protobuf:"bytes,2,opt,name=UserId,proto3" json:"UserId,omitempty"` Date string `protobuf:"bytes,3,opt,name=Date,proto3" json:"Date,omitempty"` SessionType int32 `protobuf:"varint,4,opt,name=SessionType,proto3" json:"SessionType,omitempty"` ContentType int32 `protobuf:"varint,5,opt,name=ContentType,proto3" json:"ContentType,omitempty"` OperationID string `protobuf:"bytes,6,opt,name=OperationID,proto3" json:"OperationID,omitempty"` } func (x *GetChatLogsReq) Reset() { *x = GetChatLogsReq{} if protoimpl.UnsafeEnabled { mi := &file_message_message_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetChatLogsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetChatLogsReq) ProtoMessage() {} func (x *GetChatLogsReq) ProtoReflect() protoreflect.Message { mi := &file_message_message_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetChatLogsReq.ProtoReflect.Descriptor instead. func (*GetChatLogsReq) Descriptor() ([]byte, []int) { return file_message_message_proto_rawDescGZIP(), []int{4} } func (x *GetChatLogsReq) GetContent() string { if x != nil { return x.Content } return "" } func (x *GetChatLogsReq) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *GetChatLogsReq) GetDate() string { if x != nil { return x.Date } return "" } func (x *GetChatLogsReq) GetSessionType() int32 { if x != nil { return x.SessionType } return 0 } func (x *GetChatLogsReq) GetContentType() int32 { if x != nil { return x.ContentType } return 0 } func (x *GetChatLogsReq) GetOperationID() string { if x != nil { return x.OperationID } return "" } type GetChatLogsResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SessionType int32 `protobuf:"varint,1,opt,name=SessionType,proto3" json:"SessionType,omitempty"` ContentType int32 `protobuf:"varint,2,opt,name=ContentType,proto3" json:"ContentType,omitempty"` SenderNickName string `protobuf:"bytes,3,opt,name=SenderNickName,proto3" json:"SenderNickName,omitempty"` ReciverNickName string `protobuf:"bytes,4,opt,name=ReciverNickName,proto3" json:"ReciverNickName,omitempty"` SearchContent string `protobuf:"bytes,5,opt,name=SearchContent,proto3" json:"SearchContent,omitempty"` Content string `protobuf:"bytes,6,opt,name=Content,proto3" json:"Content,omitempty"` Date string `protobuf:"bytes,7,opt,name=Date,proto3" json:"Date,omitempty"` } func (x *GetChatLogsResp) Reset() { *x = GetChatLogsResp{} if protoimpl.UnsafeEnabled { mi := &file_message_message_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetChatLogsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetChatLogsResp) ProtoMessage() {} func (x *GetChatLogsResp) ProtoReflect() protoreflect.Message { mi := &file_message_message_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetChatLogsResp.ProtoReflect.Descriptor instead. func (*GetChatLogsResp) Descriptor() ([]byte, []int) { return file_message_message_proto_rawDescGZIP(), []int{5} } func (x *GetChatLogsResp) GetSessionType() int32 { if x != nil { return x.SessionType } return 0 } func (x *GetChatLogsResp) GetContentType() int32 { if x != nil { return x.ContentType } return 0 } func (x *GetChatLogsResp) GetSenderNickName() string { if x != nil { return x.SenderNickName } return "" } func (x *GetChatLogsResp) GetReciverNickName() string { if x != nil { return x.ReciverNickName } return "" } func (x *GetChatLogsResp) GetSearchContent() string { if x != nil { return x.SearchContent } return "" } func (x *GetChatLogsResp) GetContent() string { if x != nil { return x.Content } return "" } func (x *GetChatLogsResp) GetDate() string { if x != nil { return x.Date } return "" } type WithdrawMessageReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ServerMsgId string `protobuf:"bytes,1,opt,name=ServerMsgId,proto3" json:"ServerMsgId,omitempty"` OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"` } func (x *WithdrawMessageReq) Reset() { *x = WithdrawMessageReq{} if protoimpl.UnsafeEnabled { mi := &file_message_message_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *WithdrawMessageReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*WithdrawMessageReq) ProtoMessage() {} func (x *WithdrawMessageReq) ProtoReflect() protoreflect.Message { mi := &file_message_message_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use WithdrawMessageReq.ProtoReflect.Descriptor instead. func (*WithdrawMessageReq) Descriptor() ([]byte, []int) { return file_message_message_proto_rawDescGZIP(), []int{6} } func (x *WithdrawMessageReq) GetServerMsgId() string { if x != nil { return x.ServerMsgId } return "" } func (x *WithdrawMessageReq) GetOperationID() string { if x != nil { return x.OperationID } return "" } type WithdrawMessageResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *WithdrawMessageResp) Reset() { *x = WithdrawMessageResp{} if protoimpl.UnsafeEnabled { mi := &file_message_message_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *WithdrawMessageResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*WithdrawMessageResp) ProtoMessage() {} func (x *WithdrawMessageResp) ProtoReflect() protoreflect.Message { mi := &file_message_message_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use WithdrawMessageResp.ProtoReflect.Descriptor instead. func (*WithdrawMessageResp) Descriptor() ([]byte, []int) { return file_message_message_proto_rawDescGZIP(), []int{7} } var File_message_message_proto protoreflect.FileDescriptor var file_message_message_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x51, 0x0a, 0x13, 0x42, 0x6f, 0x72, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x16, 0x0a, 0x14, 0x42, 0x6f, 0x72, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x6a, 0x0a, 0x12, 0x4d, 0x61, 0x73, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x61, 0x73, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0xbc, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x44, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xfb, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x69, 0x76, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x52, 0x65, 0x63, 0x69, 0x76, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x44, 0x61, 0x74, 0x65, 0x22, 0x58, 0x0a, 0x12, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x15, 0x0a, 0x13, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x32, 0xb8, 0x02, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4f, 0x0a, 0x10, 0x42, 0x6f, 0x72, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6f, 0x72, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6f, 0x72, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x4d, 0x61, 0x73, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4c, 0x0a, 0x0f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x42, 0x13, 0x5a, 0x11, 0x2e, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x3b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_message_message_proto_rawDescOnce sync.Once file_message_message_proto_rawDescData = file_message_message_proto_rawDesc ) func file_message_message_proto_rawDescGZIP() []byte { file_message_message_proto_rawDescOnce.Do(func() { file_message_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_message_message_proto_rawDescData) }) return file_message_message_proto_rawDescData } var file_message_message_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_message_message_proto_goTypes = []interface{}{ (*BoradcastMessageReq)(nil), // 0: message.BoradcastMessageReq (*BoradcastMessageResp)(nil), // 1: message.BoradcastMessageResp (*MassSendMessageReq)(nil), // 2: message.MassSendMessageReq (*MassSendMessageResp)(nil), // 3: message.MassSendMessageResp (*GetChatLogsReq)(nil), // 4: message.GetChatLogsReq (*GetChatLogsResp)(nil), // 5: message.GetChatLogsResp (*WithdrawMessageReq)(nil), // 6: message.WithdrawMessageReq (*WithdrawMessageResp)(nil), // 7: message.WithdrawMessageResp } var file_message_message_proto_depIdxs = []int32{ 0, // 0: message.message.BoradcastMessage:input_type -> message.BoradcastMessageReq 2, // 1: message.message.MassSendMessage:input_type -> message.MassSendMessageReq 4, // 2: message.message.GetChatLogs:input_type -> message.GetChatLogsReq 6, // 3: message.message.WithdrawMessage:input_type -> message.WithdrawMessageReq 1, // 4: message.message.BoradcastMessage:output_type -> message.BoradcastMessageResp 3, // 5: message.message.MassSendMessage:output_type -> message.MassSendMessageResp 5, // 6: message.message.GetChatLogs:output_type -> message.GetChatLogsResp 7, // 7: message.message.WithdrawMessage:output_type -> message.WithdrawMessageResp 4, // [4:8] is the sub-list for method output_type 0, // [0:4] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_message_message_proto_init() } func file_message_message_proto_init() { if File_message_message_proto != nil { return } if !protoimpl.UnsafeEnabled { file_message_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BoradcastMessageReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_message_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BoradcastMessageResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_message_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MassSendMessageReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_message_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MassSendMessageResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_message_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetChatLogsReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_message_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetChatLogsResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_message_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WithdrawMessageReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_message_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WithdrawMessageResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_message_message_proto_rawDesc, NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 1, }, GoTypes: file_message_message_proto_goTypes, DependencyIndexes: file_message_message_proto_depIdxs, MessageInfos: file_message_message_proto_msgTypes, }.Build() File_message_message_proto = out.File file_message_message_proto_rawDesc = nil file_message_message_proto_goTypes = nil file_message_message_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // MessageClient is the client API for Message service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MessageClient interface { BoradcastMessage(ctx context.Context, in *BoradcastMessageReq, opts ...grpc.CallOption) (*BoradcastMessageResp, error) MassSendMessage(ctx context.Context, in *MassSendMessageReq, opts ...grpc.CallOption) (*MassSendMessageResp, error) GetChatLogs(ctx context.Context, in *GetChatLogsReq, opts ...grpc.CallOption) (*GetChatLogsResp, error) WithdrawMessage(ctx context.Context, in *WithdrawMessageReq, opts ...grpc.CallOption) (*WithdrawMessageResp, error) } type messageClient struct { cc grpc.ClientConnInterface } func NewMessageClient(cc grpc.ClientConnInterface) MessageClient { return &messageClient{cc} } func (c *messageClient) BoradcastMessage(ctx context.Context, in *BoradcastMessageReq, opts ...grpc.CallOption) (*BoradcastMessageResp, error) { out := new(BoradcastMessageResp) err := c.cc.Invoke(ctx, "/message.message/BoradcastMessage", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *messageClient) MassSendMessage(ctx context.Context, in *MassSendMessageReq, opts ...grpc.CallOption) (*MassSendMessageResp, error) { out := new(MassSendMessageResp) err := c.cc.Invoke(ctx, "/message.message/MassSendMessage", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *messageClient) GetChatLogs(ctx context.Context, in *GetChatLogsReq, opts ...grpc.CallOption) (*GetChatLogsResp, error) { out := new(GetChatLogsResp) err := c.cc.Invoke(ctx, "/message.message/GetChatLogs", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *messageClient) WithdrawMessage(ctx context.Context, in *WithdrawMessageReq, opts ...grpc.CallOption) (*WithdrawMessageResp, error) { out := new(WithdrawMessageResp) err := c.cc.Invoke(ctx, "/message.message/WithdrawMessage", in, out, opts...) if err != nil { return nil, err } return out, nil } // MessageServer is the server API for Message service. type MessageServer interface { BoradcastMessage(context.Context, *BoradcastMessageReq) (*BoradcastMessageResp, error) MassSendMessage(context.Context, *MassSendMessageReq) (*MassSendMessageResp, error) GetChatLogs(context.Context, *GetChatLogsReq) (*GetChatLogsResp, error) WithdrawMessage(context.Context, *WithdrawMessageReq) (*WithdrawMessageResp, error) } // UnimplementedMessageServer can be embedded to have forward compatible implementations. type UnimplementedMessageServer struct { } func (*UnimplementedMessageServer) BoradcastMessage(context.Context, *BoradcastMessageReq) (*BoradcastMessageResp, error) { return nil, status.Errorf(codes.Unimplemented, "method BoradcastMessage not implemented") } func (*UnimplementedMessageServer) MassSendMessage(context.Context, *MassSendMessageReq) (*MassSendMessageResp, error) { return nil, status.Errorf(codes.Unimplemented, "method MassSendMessage not implemented") } func (*UnimplementedMessageServer) GetChatLogs(context.Context, *GetChatLogsReq) (*GetChatLogsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetChatLogs not implemented") } func (*UnimplementedMessageServer) WithdrawMessage(context.Context, *WithdrawMessageReq) (*WithdrawMessageResp, error) { return nil, status.Errorf(codes.Unimplemented, "method WithdrawMessage not implemented") } func RegisterMessageServer(s *grpc.Server, srv MessageServer) { s.RegisterService(&_Message_serviceDesc, srv) } func _Message_BoradcastMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BoradcastMessageReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MessageServer).BoradcastMessage(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/message.message/BoradcastMessage", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MessageServer).BoradcastMessage(ctx, req.(*BoradcastMessageReq)) } return interceptor(ctx, in, info, handler) } func _Message_MassSendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MassSendMessageReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MessageServer).MassSendMessage(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/message.message/MassSendMessage", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MessageServer).MassSendMessage(ctx, req.(*MassSendMessageReq)) } return interceptor(ctx, in, info, handler) } func _Message_GetChatLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetChatLogsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MessageServer).GetChatLogs(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/message.message/GetChatLogs", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MessageServer).GetChatLogs(ctx, req.(*GetChatLogsReq)) } return interceptor(ctx, in, info, handler) } func _Message_WithdrawMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(WithdrawMessageReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MessageServer).WithdrawMessage(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/message.message/WithdrawMessage", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MessageServer).WithdrawMessage(ctx, req.(*WithdrawMessageReq)) } return interceptor(ctx, in, info, handler) } var _Message_serviceDesc = grpc.ServiceDesc{ ServiceName: "message.message", HandlerType: (*MessageServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BoradcastMessage", Handler: _Message_BoradcastMessage_Handler, }, { MethodName: "MassSendMessage", Handler: _Message_MassSendMessage_Handler, }, { MethodName: "GetChatLogs", Handler: _Message_GetChatLogs_Handler, }, { MethodName: "WithdrawMessage", Handler: _Message_WithdrawMessage_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message/message.proto", }