|
|
@@ -10,6 +10,7 @@ import (
|
|
|
common "git.ikuban.com/server/pw-protobuf/api/common"
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
+ _ "google.golang.org/protobuf/types/known/emptypb"
|
|
|
reflect "reflect"
|
|
|
sync "sync"
|
|
|
)
|
|
|
@@ -21,6 +22,180 @@ const (
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
)
|
|
|
|
|
|
+type OnlinePersonListReply struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ List []*OnlinePersonInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonListReply) Reset() {
|
|
|
+ *x = OnlinePersonListReply{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_chat_proto_msgTypes[0]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonListReply) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*OnlinePersonListReply) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *OnlinePersonListReply) 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 OnlinePersonListReply.ProtoReflect.Descriptor instead.
|
|
|
+func (*OnlinePersonListReply) Descriptor() ([]byte, []int) {
|
|
|
+ return file_chat_proto_rawDescGZIP(), []int{0}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonListReply) GetList() []*OnlinePersonInfo {
|
|
|
+ if x != nil {
|
|
|
+ return x.List
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type OnlinePersonInfo struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ PersonID string `protobuf:"bytes,1,opt,name=personID,proto3" json:"personID"` // 查询目标的ID
|
|
|
+ PersonType string `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"` // 类型
|
|
|
+ Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname"` // 昵称
|
|
|
+ AvatarUrl string `protobuf:"bytes,4,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
|
|
|
+ Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
|
|
|
+ Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
|
|
|
+ Constellation string `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"` // 星座
|
|
|
+ Signature string `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature"` // 签名
|
|
|
+ Province string `protobuf:"bytes,9,opt,name=province,proto3" json:"province"` // 省
|
|
|
+ City string `protobuf:"bytes,10,opt,name=city,proto3" json:"city"` // 市
|
|
|
+ Area string `protobuf:"bytes,11,opt,name=area,proto3" json:"area"` // 区
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) Reset() {
|
|
|
+ *x = OnlinePersonInfo{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_chat_proto_msgTypes[1]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*OnlinePersonInfo) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) 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 OnlinePersonInfo.ProtoReflect.Descriptor instead.
|
|
|
+func (*OnlinePersonInfo) Descriptor() ([]byte, []int) {
|
|
|
+ return file_chat_proto_rawDescGZIP(), []int{1}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetPersonID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.PersonID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetPersonType() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.PersonType
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetNickname() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Nickname
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetAvatarUrl() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.AvatarUrl
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetSex() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Sex
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetAge() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Age
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetConstellation() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Constellation
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetSignature() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Signature
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetProvince() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Province
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetCity() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.City
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *OnlinePersonInfo) GetArea() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Area
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
type CheckUserPartnerIsRelationshipReply struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
@@ -33,7 +208,7 @@ type CheckUserPartnerIsRelationshipReply struct {
|
|
|
func (x *CheckUserPartnerIsRelationshipReply) Reset() {
|
|
|
*x = CheckUserPartnerIsRelationshipReply{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_chat_proto_msgTypes[0]
|
|
|
+ mi := &file_chat_proto_msgTypes[2]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
@@ -46,7 +221,7 @@ func (x *CheckUserPartnerIsRelationshipReply) String() string {
|
|
|
func (*CheckUserPartnerIsRelationshipReply) ProtoMessage() {}
|
|
|
|
|
|
func (x *CheckUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_chat_proto_msgTypes[0]
|
|
|
+ mi := &file_chat_proto_msgTypes[2]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -59,7 +234,7 @@ func (x *CheckUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Messag
|
|
|
|
|
|
// Deprecated: Use CheckUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
|
|
|
func (*CheckUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_chat_proto_rawDescGZIP(), []int{0}
|
|
|
+ return file_chat_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
|
|
|
|
func (x *CheckUserPartnerIsRelationshipReply) GetIsBuildRelationship() bool {
|
|
|
@@ -87,7 +262,7 @@ type CreateUserPartnerIsRelationshipReply struct {
|
|
|
func (x *CreateUserPartnerIsRelationshipReply) Reset() {
|
|
|
*x = CreateUserPartnerIsRelationshipReply{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_chat_proto_msgTypes[1]
|
|
|
+ mi := &file_chat_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
@@ -100,7 +275,7 @@ func (x *CreateUserPartnerIsRelationshipReply) String() string {
|
|
|
func (*CreateUserPartnerIsRelationshipReply) ProtoMessage() {}
|
|
|
|
|
|
func (x *CreateUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_chat_proto_msgTypes[1]
|
|
|
+ mi := &file_chat_proto_msgTypes[3]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -113,7 +288,7 @@ func (x *CreateUserPartnerIsRelationshipReply) ProtoReflect() protoreflect.Messa
|
|
|
|
|
|
// Deprecated: Use CreateUserPartnerIsRelationshipReply.ProtoReflect.Descriptor instead.
|
|
|
func (*CreateUserPartnerIsRelationshipReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_chat_proto_rawDescGZIP(), []int{1}
|
|
|
+ return file_chat_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
|
|
|
|
func (x *CreateUserPartnerIsRelationshipReply) GetRoomId() int64 {
|
|
|
@@ -127,39 +302,70 @@ 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,
|
|
|
- 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, 0x3e, 0x0a, 0x24, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 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, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d,
|
|
|
- 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64,
|
|
|
- 0x32, 0xf0, 0x01, 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, 0x74, 0x0a,
|
|
|
- 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 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, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43,
|
|
|
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
|
|
|
+ 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
|
|
|
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
|
|
|
+ 0x6f, 0x74, 0x6f, 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, 0x47, 0x0a, 0x15,
|
|
|
+ 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74,
|
|
|
+ 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20,
|
|
|
+ 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x4f,
|
|
|
+ 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
|
|
+ 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xb4, 0x02, 0x0a, 0x10, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
|
|
|
+ 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65,
|
|
|
+ 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65,
|
|
|
+ 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
|
|
|
+ 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73,
|
|
|
+ 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
|
|
|
+ 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
|
|
|
+ 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18,
|
|
|
+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c,
|
|
|
+ 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73,
|
|
|
+ 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
+ 0x03, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c,
|
|
|
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e,
|
|
|
+ 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69,
|
|
|
+ 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73,
|
|
|
+ 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76,
|
|
|
+ 0x69, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76,
|
|
|
+ 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61,
|
|
|
+ 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61, 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, 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,
|
|
|
+ 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, 0x3e, 0x0a,
|
|
|
+ 0x24, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 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, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18,
|
|
|
+ 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0xc2, 0x02,
|
|
|
+ 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, 0x74, 0x0a, 0x1f, 0x43, 0x72,
|
|
|
+ 0x65, 0x61, 0x74, 0x65, 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, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
|
|
+ 0x74, 0x65, 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, 0x50, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65,
|
|
|
+ 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
|
|
|
+ 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61,
|
|
|
+ 0x6d, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x4f, 0x6e, 0x6c,
|
|
|
+ 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70,
|
|
|
+ 0x6c, 0x79, 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 (
|
|
|
@@ -174,22 +380,28 @@ func file_chat_proto_rawDescGZIP() []byte {
|
|
|
return file_chat_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
+var file_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
var file_chat_proto_goTypes = []interface{}{
|
|
|
- (*CheckUserPartnerIsRelationshipReply)(nil), // 0: api.chat.CheckUserPartnerIsRelationshipReply
|
|
|
- (*CreateUserPartnerIsRelationshipReply)(nil), // 1: api.chat.CreateUserPartnerIsRelationshipReply
|
|
|
- (*common.UserAndPartnerIdParam)(nil), // 2: api.common.UserAndPartnerIdParam
|
|
|
+ (*OnlinePersonListReply)(nil), // 0: api.chat.OnlinePersonListReply
|
|
|
+ (*OnlinePersonInfo)(nil), // 1: api.chat.OnlinePersonInfo
|
|
|
+ (*CheckUserPartnerIsRelationshipReply)(nil), // 2: api.chat.CheckUserPartnerIsRelationshipReply
|
|
|
+ (*CreateUserPartnerIsRelationshipReply)(nil), // 3: api.chat.CreateUserPartnerIsRelationshipReply
|
|
|
+ (*common.UserAndPartnerIdParam)(nil), // 4: api.common.UserAndPartnerIdParam
|
|
|
+ (*common.PersonParam)(nil), // 5: api.common.PersonParam
|
|
|
}
|
|
|
var file_chat_proto_depIdxs = []int32{
|
|
|
- 2, // 0: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
|
|
|
- 2, // 1: api.chat.Chat.CreateUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
|
|
|
- 0, // 2: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
|
|
|
- 1, // 3: api.chat.Chat.CreateUserPartnerIsRelationship:output_type -> api.chat.CreateUserPartnerIsRelationshipReply
|
|
|
- 2, // [2:4] is the sub-list for method output_type
|
|
|
- 0, // [0:2] 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
|
|
|
+ 1, // 0: api.chat.OnlinePersonListReply.list:type_name -> api.chat.OnlinePersonInfo
|
|
|
+ 4, // 1: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
|
|
|
+ 4, // 2: api.chat.Chat.CreateUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdParam
|
|
|
+ 5, // 3: api.chat.Chat.FindOnlinePersonList:input_type -> api.common.PersonParam
|
|
|
+ 2, // 4: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
|
|
|
+ 3, // 5: api.chat.Chat.CreateUserPartnerIsRelationship:output_type -> api.chat.CreateUserPartnerIsRelationshipReply
|
|
|
+ 0, // 6: api.chat.Chat.FindOnlinePersonList:output_type -> api.chat.OnlinePersonListReply
|
|
|
+ 4, // [4:7] is the sub-list for method output_type
|
|
|
+ 1, // [1:4] 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() }
|
|
|
@@ -199,7 +411,7 @@ func file_chat_proto_init() {
|
|
|
}
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
file_chat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*CheckUserPartnerIsRelationshipReply); i {
|
|
|
+ switch v := v.(*OnlinePersonListReply); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
|
@@ -211,6 +423,30 @@ func file_chat_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_chat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*OnlinePersonInfo); 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.(*CheckUserPartnerIsRelationshipReply); 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.(*CreateUserPartnerIsRelationshipReply); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
@@ -229,7 +465,7 @@ func file_chat_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_chat_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 2,
|
|
|
+ NumMessages: 4,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|