| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.26.0-devel
- // protoc v3.15.8
- // source: chat.proto
- package chat
- import (
- common "git.ikuban.com/server/pw-protobuf/api/common"
- 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 PartnerFindRoomListRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- NextId int64 `protobuf:"varint,1,opt,name=nextId,proto3" json:"nextId"`
- Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset"`
- IdentifyId string `protobuf:"bytes,3,opt,name=IdentifyId,proto3" json:"IdentifyId"`
- IsFindNotReply bool `protobuf:"varint,4,opt,name=isFindNotReply,proto3" json:"isFindNotReply"` // 是否查询没回复过的内容
- IsWithinSevenDay bool `protobuf:"varint,5,opt,name=isWithinSevenDay,proto3" json:"isWithinSevenDay"` // 是否在七日内
- }
- func (x *PartnerFindRoomListRequest) Reset() {
- *x = PartnerFindRoomListRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_chat_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PartnerFindRoomListRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PartnerFindRoomListRequest) ProtoMessage() {}
- func (x *PartnerFindRoomListRequest) ProtoReflect() protoreflect.Message {
- mi := &file_chat_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 PartnerFindRoomListRequest.ProtoReflect.Descriptor instead.
- func (*PartnerFindRoomListRequest) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{0}
- }
- func (x *PartnerFindRoomListRequest) GetNextId() int64 {
- if x != nil {
- return x.NextId
- }
- return 0
- }
- func (x *PartnerFindRoomListRequest) GetOffset() int64 {
- if x != nil {
- return x.Offset
- }
- return 0
- }
- func (x *PartnerFindRoomListRequest) GetIdentifyId() string {
- if x != nil {
- return x.IdentifyId
- }
- return ""
- }
- func (x *PartnerFindRoomListRequest) GetIsFindNotReply() bool {
- if x != nil {
- return x.IsFindNotReply
- }
- return false
- }
- func (x *PartnerFindRoomListRequest) GetIsWithinSevenDay() bool {
- if x != nil {
- return x.IsWithinSevenDay
- }
- return false
- }
- type PartnerFindRoomListReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- List []*PartnerRoomInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- NextId int64 `protobuf:"varint,2,opt,name=nextId,proto3" json:"nextId"`
- }
- func (x *PartnerFindRoomListReply) Reset() {
- *x = PartnerFindRoomListReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_chat_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PartnerFindRoomListReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PartnerFindRoomListReply) ProtoMessage() {}
- func (x *PartnerFindRoomListReply) ProtoReflect() protoreflect.Message {
- mi := &file_chat_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 PartnerFindRoomListReply.ProtoReflect.Descriptor instead.
- func (*PartnerFindRoomListReply) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{1}
- }
- func (x *PartnerFindRoomListReply) GetList() []*PartnerRoomInfo {
- if x != nil {
- return x.List
- }
- return nil
- }
- func (x *PartnerFindRoomListReply) GetNextId() int64 {
- if x != nil {
- return x.NextId
- }
- return 0
- }
- type PartnerRoomInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PersonSendNum int64 `protobuf:"varint,1,opt,name=personSendNum,proto3" json:"personSendNum"` // 用户发送数
- PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"` // 用户ID
- UnreadNum int64 `protobuf:"varint,3,opt,name=unreadNum,proto3" json:"unreadNum"` // 接待者未读数
- LastContent string `protobuf:"bytes,4,opt,name=lastContent,proto3" json:"lastContent"` // 上次发送内容
- LastTime int64 `protobuf:"varint,5,opt,name=lastTime,proto3" json:"lastTime"` // 上次发送时间
- Benefit int64 `protobuf:"varint,6,opt,name=benefit,proto3" json:"benefit"` // 收益
- Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type"` // 类型(新客:new,付费:pay)
- Sex int64 `protobuf:"varint,8,opt,name=sex,proto3" json:"sex"` // 性别
- AvatarUrl string `protobuf:"bytes,9,opt,name=AvatarUrl,proto3" json:"AvatarUrl"` // 头像
- Nickname string `protobuf:"bytes,10,opt,name=nickname,proto3" json:"nickname"` // 昵称
- Age int64 `protobuf:"varint,11,opt,name=age,proto3" json:"age"` // 年龄
- }
- func (x *PartnerRoomInfo) Reset() {
- *x = PartnerRoomInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_chat_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PartnerRoomInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PartnerRoomInfo) ProtoMessage() {}
- func (x *PartnerRoomInfo) ProtoReflect() protoreflect.Message {
- mi := &file_chat_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 PartnerRoomInfo.ProtoReflect.Descriptor instead.
- func (*PartnerRoomInfo) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{2}
- }
- func (x *PartnerRoomInfo) GetPersonSendNum() int64 {
- if x != nil {
- return x.PersonSendNum
- }
- return 0
- }
- func (x *PartnerRoomInfo) GetPersonId() string {
- if x != nil {
- return x.PersonId
- }
- return ""
- }
- func (x *PartnerRoomInfo) GetUnreadNum() int64 {
- if x != nil {
- return x.UnreadNum
- }
- return 0
- }
- func (x *PartnerRoomInfo) GetLastContent() string {
- if x != nil {
- return x.LastContent
- }
- return ""
- }
- func (x *PartnerRoomInfo) GetLastTime() int64 {
- if x != nil {
- return x.LastTime
- }
- return 0
- }
- func (x *PartnerRoomInfo) GetBenefit() int64 {
- if x != nil {
- return x.Benefit
- }
- return 0
- }
- func (x *PartnerRoomInfo) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *PartnerRoomInfo) GetSex() int64 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- func (x *PartnerRoomInfo) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
- func (x *PartnerRoomInfo) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
- func (x *PartnerRoomInfo) GetAge() int64 {
- if x != nil {
- return x.Age
- }
- return 0
- }
- type CreateChatRoomParam struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PersonId1 string `protobuf:"bytes,1,opt,name=personId1,proto3" json:"personId1"`
- PersonIdentifyID1 string `protobuf:"bytes,2,opt,name=personIdentifyID1,proto3" json:"personIdentifyID1"` // 身份ID
- PersonType1 string `protobuf:"bytes,3,opt,name=personType1,proto3" json:"personType1"` // 类型
- PersonId2 string `protobuf:"bytes,4,opt,name=personId2,proto3" json:"personId2"`
- PersonIdentifyID2 string `protobuf:"bytes,5,opt,name=personIdentifyID2,proto3" json:"personIdentifyID2"` // 身份ID
- PersonType2 string `protobuf:"bytes,6,opt,name=personType2,proto3" json:"personType2"` // 类型
- }
- func (x *CreateChatRoomParam) Reset() {
- *x = CreateChatRoomParam{}
- if protoimpl.UnsafeEnabled {
- mi := &file_chat_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CreateChatRoomParam) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CreateChatRoomParam) ProtoMessage() {}
- func (x *CreateChatRoomParam) ProtoReflect() protoreflect.Message {
- mi := &file_chat_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 CreateChatRoomParam.ProtoReflect.Descriptor instead.
- func (*CreateChatRoomParam) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{3}
- }
- func (x *CreateChatRoomParam) GetPersonId1() string {
- if x != nil {
- return x.PersonId1
- }
- return ""
- }
- func (x *CreateChatRoomParam) GetPersonIdentifyID1() string {
- if x != nil {
- return x.PersonIdentifyID1
- }
- return ""
- }
- func (x *CreateChatRoomParam) GetPersonType1() string {
- if x != nil {
- return x.PersonType1
- }
- return ""
- }
- func (x *CreateChatRoomParam) GetPersonId2() string {
- if x != nil {
- return x.PersonId2
- }
- return ""
- }
- func (x *CreateChatRoomParam) GetPersonIdentifyID2() string {
- if x != nil {
- return x.PersonIdentifyID2
- }
- return ""
- }
- func (x *CreateChatRoomParam) GetPersonType2() string {
- if x != nil {
- return x.PersonType2
- }
- return ""
- }
- type ReceiveRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method"`
- Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
- Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id"`
- WebsocketTag string `protobuf:"bytes,4,opt,name=websocketTag,proto3" json:"websocketTag"`
- PersonType string `protobuf:"bytes,5,opt,name=personType,proto3" json:"personType"`
- PersonId string `protobuf:"bytes,6,opt,name=personId,proto3" json:"personId"`
- }
- func (x *ReceiveRequest) Reset() {
- *x = ReceiveRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_chat_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ReceiveRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ReceiveRequest) ProtoMessage() {}
- func (x *ReceiveRequest) ProtoReflect() protoreflect.Message {
- mi := &file_chat_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 ReceiveRequest.ProtoReflect.Descriptor instead.
- func (*ReceiveRequest) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{4}
- }
- func (x *ReceiveRequest) GetMethod() string {
- if x != nil {
- return x.Method
- }
- return ""
- }
- func (x *ReceiveRequest) GetData() []byte {
- if x != nil {
- return x.Data
- }
- return nil
- }
- func (x *ReceiveRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *ReceiveRequest) GetWebsocketTag() string {
- if x != nil {
- return x.WebsocketTag
- }
- return ""
- }
- func (x *ReceiveRequest) GetPersonType() string {
- if x != nil {
- return x.PersonType
- }
- return ""
- }
- func (x *ReceiveRequest) GetPersonId() string {
- if x != nil {
- return x.PersonId
- }
- return ""
- }
- type ReceiveReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *ReceiveReply) Reset() {
- *x = ReceiveReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_chat_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ReceiveReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ReceiveReply) ProtoMessage() {}
- func (x *ReceiveReply) ProtoReflect() protoreflect.Message {
- mi := &file_chat_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 ReceiveReply.ProtoReflect.Descriptor instead.
- func (*ReceiveReply) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{5}
- }
- type CheckUserPartnerIsRelationshipReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- IsBuildRelationship bool `protobuf:"varint,1,opt,name=isBuildRelationship,proto3" json:"isBuildRelationship"`
- RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId"`
- }
- func (x *CheckUserPartnerIsRelationshipReply) Reset() {
- *x = CheckUserPartnerIsRelationshipReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_chat_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CheckUserPartnerIsRelationshipReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CheckUserPartnerIsRelationshipReply) ProtoMessage() {}
- func (x *CheckUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
- mi := &file_chat_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 CheckUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
- func (*CheckUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{6}
- }
- func (x *CheckUserPartnerIsRelationshipReply) GetIsBuildRelationship() bool {
- if x != nil {
- return x.IsBuildRelationship
- }
- return false
- }
- func (x *CheckUserPartnerIsRelationshipReply) GetRoomId() int64 {
- if x != nil {
- return x.RoomId
- }
- return 0
- }
- type RoomReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"`
- }
- func (x *RoomReply) Reset() {
- *x = RoomReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_chat_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RoomReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RoomReply) ProtoMessage() {}
- func (x *RoomReply) ProtoReflect() protoreflect.Message {
- mi := &file_chat_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 RoomReply.ProtoReflect.Descriptor instead.
- func (*RoomReply) Descriptor() ([]byte, []int) {
- return file_chat_proto_rawDescGZIP(), []int{7}
- }
- func (x *RoomReply) GetRoomId() int64 {
- if x != nil {
- return x.RoomId
- }
- return 0
- }
- var File_chat_proto protoreflect.FileDescriptor
- var file_chat_proto_rawDesc = []byte{
- 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
- 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
- 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
- 0xc0, 0x01, 0x0a, 0x1a, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52,
- 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
- 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
- 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e,
- 0x0a, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x12, 0x26,
- 0x0a, 0x0e, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f,
- 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68,
- 0x69, 0x6e, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x10, 0x69, 0x73, 0x57, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x53, 0x65, 0x76, 0x65, 0x6e, 0x44,
- 0x61, 0x79, 0x22, 0x61, 0x0a, 0x18, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e,
- 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2d,
- 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x52,
- 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a,
- 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e,
- 0x65, 0x78, 0x74, 0x49, 0x64, 0x22, 0xbb, 0x02, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
- 0x72, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x65, 0x72,
- 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x0d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x12,
- 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x75,
- 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
- 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73,
- 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c,
- 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c,
- 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x65, 0x6e, 0x65, 0x66,
- 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x65, 0x6e, 0x65, 0x66, 0x69,
- 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x76, 0x61, 0x74, 0x61,
- 0x72, 0x55, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x41, 0x76, 0x61, 0x74,
- 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
- 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
- 0x61, 0x67, 0x65, 0x22, 0xf1, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68,
- 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70,
- 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x31, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x65, 0x72,
- 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x31, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e,
- 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x31, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f,
- 0x6e, 0x54, 0x79, 0x70, 0x65, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65,
- 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x31, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72,
- 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65,
- 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f,
- 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x44, 0x32, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x11, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
- 0x66, 0x79, 0x49, 0x44, 0x32, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54,
- 0x79, 0x70, 0x65, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x73,
- 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x32, 0x22, 0xac, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65,
- 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65,
- 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68,
- 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
- 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63,
- 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x65,
- 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65,
- 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
- 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65,
- 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65,
- 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
- 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x6f, 0x0a, 0x23, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55,
- 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a,
- 0x13, 0x69, 0x73, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x42, 0x75,
- 0x69, 0x6c, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12,
- 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x22, 0x23, 0x0a, 0x09, 0x52, 0x6f, 0x6f, 0x6d, 0x52,
- 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0xc3, 0x03, 0x0a,
- 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x72, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73,
- 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
- 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74,
- 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x2d, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50,
- 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x44, 0x0a, 0x0e, 0x43, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x1d, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61,
- 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x13, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
- 0x5f, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72,
- 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
- 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x41, 0x6e, 0x64,
- 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
- 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
- 0x12, 0x61, 0x0a, 0x13, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52,
- 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68,
- 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f,
- 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
- 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c,
- 0x79, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x18,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
- 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
- 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79,
- 0x22, 0x00, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x50, 0x01,
- 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d,
- 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61,
- 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_chat_proto_rawDescOnce sync.Once
- file_chat_proto_rawDescData = file_chat_proto_rawDesc
- )
- func file_chat_proto_rawDescGZIP() []byte {
- file_chat_proto_rawDescOnce.Do(func() {
- file_chat_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_proto_rawDescData)
- })
- return file_chat_proto_rawDescData
- }
- var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
- var file_chat_proto_goTypes = []interface{}{
- (*PartnerFindRoomListRequest)(nil), // 0: api.chat.PartnerFindRoomListRequest
- (*PartnerFindRoomListReply)(nil), // 1: api.chat.PartnerFindRoomListReply
- (*PartnerRoomInfo)(nil), // 2: api.chat.PartnerRoomInfo
- (*CreateChatRoomParam)(nil), // 3: api.chat.CreateChatRoomParam
- (*ReceiveRequest)(nil), // 4: api.chat.ReceiveRequest
- (*ReceiveReply)(nil), // 5: api.chat.ReceiveReply
- (*CheckUserPartnerIsRelationshipReply)(nil), // 6: api.chat.CheckUserPartnerIsRelationshipReply
- (*RoomReply)(nil), // 7: api.chat.RoomReply
- (*common.UserAndPartnerIdParam)(nil), // 8: api.common.UserAndPartnerIdParam
- (*common.ListPageAndPersonRequest)(nil), // 9: api.common.ListPageAndPersonRequest
- (*common.OnlinePersonListReply)(nil), // 10: api.common.OnlinePersonListReply
- }
- var file_chat_proto_depIdxs = []int32{
- 2, // 0: api.chat.PartnerFindRoomListReply.list:type_name -> api.chat.PartnerRoomInfo
- 8, // 1: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
- 3, // 2: api.chat.Chat.CreateChatRoom:input_type -> api.chat.CreateChatRoomParam
- 9, // 3: api.chat.Chat.FindOnlinePersonList:input_type -> api.common.ListPageAndPersonRequest
- 0, // 4: api.chat.Chat.PartnerFindRoomList:input_type -> api.chat.PartnerFindRoomListRequest
- 4, // 5: api.chat.Chat.Receive:input_type -> api.chat.ReceiveRequest
- 6, // 6: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
- 7, // 7: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
- 10, // 8: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.OnlinePersonListReply
- 1, // 9: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
- 5, // 10: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
- 6, // [6:11] is the sub-list for method output_type
- 1, // [1:6] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
- }
- func init() { file_chat_proto_init() }
- func file_chat_proto_init() {
- if File_chat_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_chat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PartnerFindRoomListRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_chat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PartnerFindRoomListReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_chat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PartnerRoomInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_chat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CreateChatRoomParam); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_chat_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ReceiveRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_chat_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ReceiveReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_chat_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CheckUserPartnerIsRelationshipReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_chat_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RoomReply); 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_chat_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 8,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_chat_proto_goTypes,
- DependencyIndexes: file_chat_proto_depIdxs,
- MessageInfos: file_chat_proto_msgTypes,
- }.Build()
- File_chat_proto = out.File
- file_chat_proto_rawDesc = nil
- file_chat_proto_goTypes = nil
- file_chat_proto_depIdxs = nil
- }
|