| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.26.0-devel
- // protoc v3.15.8
- // source: common.proto
- package common
- import (
- 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 UserAndPartnerIdParam struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PartnerId string `protobuf:"bytes,1,opt,name=partnerId,proto3" json:"partnerId"`
- UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId"`
- }
- func (x *UserAndPartnerIdParam) Reset() {
- *x = UserAndPartnerIdParam{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserAndPartnerIdParam) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserAndPartnerIdParam) ProtoMessage() {}
- func (x *UserAndPartnerIdParam) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 UserAndPartnerIdParam.ProtoReflect.Descriptor instead.
- func (*UserAndPartnerIdParam) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{0}
- }
- func (x *UserAndPartnerIdParam) GetPartnerId() string {
- if x != nil {
- return x.PartnerId
- }
- return ""
- }
- func (x *UserAndPartnerIdParam) GetUserId() string {
- if x != nil {
- return x.UserId
- }
- return ""
- }
- type User1AndUser2IdParam struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- User1 string `protobuf:"bytes,1,opt,name=user1,proto3" json:"user1"`
- User2 string `protobuf:"bytes,2,opt,name=user2,proto3" json:"user2"`
- }
- func (x *User1AndUser2IdParam) Reset() {
- *x = User1AndUser2IdParam{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *User1AndUser2IdParam) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*User1AndUser2IdParam) ProtoMessage() {}
- func (x *User1AndUser2IdParam) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 User1AndUser2IdParam.ProtoReflect.Descriptor instead.
- func (*User1AndUser2IdParam) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{1}
- }
- func (x *User1AndUser2IdParam) GetUser1() string {
- if x != nil {
- return x.User1
- }
- return ""
- }
- func (x *User1AndUser2IdParam) GetUser2() string {
- if x != nil {
- return x.User2
- }
- return ""
- }
- type PartnerIDParam struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PartnerID string `protobuf:"bytes,1,opt,name=partnerID,proto3" json:"partnerID"`
- }
- func (x *PartnerIDParam) Reset() {
- *x = PartnerIDParam{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PartnerIDParam) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PartnerIDParam) ProtoMessage() {}
- func (x *PartnerIDParam) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 PartnerIDParam.ProtoReflect.Descriptor instead.
- func (*PartnerIDParam) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{2}
- }
- func (x *PartnerIDParam) GetPartnerID() string {
- if x != nil {
- return x.PartnerID
- }
- return ""
- }
- type PersonParam 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"` // 类型
- }
- func (x *PersonParam) Reset() {
- *x = PersonParam{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PersonParam) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PersonParam) ProtoMessage() {}
- func (x *PersonParam) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 PersonParam.ProtoReflect.Descriptor instead.
- func (*PersonParam) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{3}
- }
- func (x *PersonParam) GetPersonID() string {
- if x != nil {
- return x.PersonID
- }
- return ""
- }
- func (x *PersonParam) GetPersonType() string {
- if x != nil {
- return x.PersonType
- }
- return ""
- }
- type UserIDParam struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"`
- }
- func (x *UserIDParam) Reset() {
- *x = UserIDParam{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UserIDParam) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UserIDParam) ProtoMessage() {}
- func (x *UserIDParam) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 UserIDParam.ProtoReflect.Descriptor instead.
- func (*UserIDParam) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{4}
- }
- func (x *UserIDParam) GetUserId() string {
- if x != nil {
- return x.UserId
- }
- return ""
- }
- // 主页信息
- type HomeInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
- AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
- Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
- Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
- Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
- Constellation string `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"` // 星座
- Area string `protobuf:"bytes,8,opt,name=area,proto3" json:"area"` // 地区
- Tag []string `protobuf:"bytes,9,rep,name=tag,proto3" json:"tag"` // 标签
- Signature string `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature"` // 签名
- IntroduceVoice string `protobuf:"bytes,11,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音
- LikedNum int64 `protobuf:"varint,12,opt,name=likedNum,proto3" json:"likedNum"` // 喜欢我
- LookNum int64 `protobuf:"varint,13,opt,name=lookNum,proto3" json:"lookNum"` // 看过我
- }
- func (x *HomeInfo) Reset() {
- *x = HomeInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *HomeInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*HomeInfo) ProtoMessage() {}
- func (x *HomeInfo) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 HomeInfo.ProtoReflect.Descriptor instead.
- func (*HomeInfo) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{5}
- }
- func (x *HomeInfo) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *HomeInfo) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
- func (x *HomeInfo) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
- func (x *HomeInfo) GetSex() int64 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- func (x *HomeInfo) GetPictures() []string {
- if x != nil {
- return x.Pictures
- }
- return nil
- }
- func (x *HomeInfo) GetAge() int64 {
- if x != nil {
- return x.Age
- }
- return 0
- }
- func (x *HomeInfo) GetConstellation() string {
- if x != nil {
- return x.Constellation
- }
- return ""
- }
- func (x *HomeInfo) GetArea() string {
- if x != nil {
- return x.Area
- }
- return ""
- }
- func (x *HomeInfo) GetTag() []string {
- if x != nil {
- return x.Tag
- }
- return nil
- }
- func (x *HomeInfo) GetSignature() string {
- if x != nil {
- return x.Signature
- }
- return ""
- }
- func (x *HomeInfo) GetIntroduceVoice() string {
- if x != nil {
- return x.IntroduceVoice
- }
- return ""
- }
- func (x *HomeInfo) GetLikedNum() int64 {
- if x != nil {
- return x.LikedNum
- }
- return 0
- }
- func (x *HomeInfo) GetLookNum() int64 {
- if x != nil {
- return x.LookNum
- }
- return 0
- }
- // 添加好友页面信息
- type AddFriendMessageInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
- AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
- Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
- Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
- }
- func (x *AddFriendMessageInfo) Reset() {
- *x = AddFriendMessageInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddFriendMessageInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddFriendMessageInfo) ProtoMessage() {}
- func (x *AddFriendMessageInfo) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 AddFriendMessageInfo.ProtoReflect.Descriptor instead.
- func (*AddFriendMessageInfo) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{6}
- }
- func (x *AddFriendMessageInfo) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *AddFriendMessageInfo) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
- func (x *AddFriendMessageInfo) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
- func (x *AddFriendMessageInfo) GetSex() int64 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- func (x *AddFriendMessageInfo) GetPictures() []string {
- if x != nil {
- return x.Pictures
- }
- return nil
- }
- type PersonIDList struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PersonIds []string `protobuf:"bytes,1,rep,name=personIds,proto3" json:"personIds"`
- }
- func (x *PersonIDList) Reset() {
- *x = PersonIDList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PersonIDList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PersonIDList) ProtoMessage() {}
- func (x *PersonIDList) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 PersonIDList.ProtoReflect.Descriptor instead.
- func (*PersonIDList) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{7}
- }
- func (x *PersonIDList) GetPersonIds() []string {
- if x != nil {
- return x.PersonIds
- }
- return nil
- }
- type PersonDBReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- List []*PersonDB `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- }
- func (x *PersonDBReply) Reset() {
- *x = PersonDBReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PersonDBReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PersonDBReply) ProtoMessage() {}
- func (x *PersonDBReply) ProtoReflect() protoreflect.Message {
- mi := &file_common_proto_msgTypes[8]
- 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 PersonDBReply.ProtoReflect.Descriptor instead.
- func (*PersonDBReply) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{8}
- }
- func (x *PersonDBReply) GetList() []*PersonDB {
- if x != nil {
- return x.List
- }
- return nil
- }
- type PersonDB struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // id
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` // 昵称
- AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"` // 头像链接
- Sex int64 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` // 性别
- Pictures []string `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures"` // 图片
- Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
- Constellation string `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"` // 星座
- Area string `protobuf:"bytes,8,opt,name=area,proto3" json:"area"` // 地区
- IntroduceVoice string `protobuf:"bytes,9,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音
- }
- func (x *PersonDB) Reset() {
- *x = PersonDB{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PersonDB) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PersonDB) ProtoMessage() {}
- func (x *PersonDB) ProtoReflect() protoreflect.Message {
- mi := &file_common_proto_msgTypes[9]
- 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 PersonDB.ProtoReflect.Descriptor instead.
- func (*PersonDB) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{9}
- }
- func (x *PersonDB) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *PersonDB) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
- func (x *PersonDB) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
- func (x *PersonDB) GetSex() int64 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- func (x *PersonDB) GetPictures() []string {
- if x != nil {
- return x.Pictures
- }
- return nil
- }
- func (x *PersonDB) GetAge() int64 {
- if x != nil {
- return x.Age
- }
- return 0
- }
- func (x *PersonDB) GetConstellation() string {
- if x != nil {
- return x.Constellation
- }
- return ""
- }
- func (x *PersonDB) GetArea() string {
- if x != nil {
- return x.Area
- }
- return ""
- }
- func (x *PersonDB) GetIntroduceVoice() string {
- if x != nil {
- return x.IntroduceVoice
- }
- return ""
- }
- var File_common_proto protoreflect.FileDescriptor
- var file_common_proto_rawDesc = []byte{
- 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
- 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x4d, 0x0a, 0x15, 0x55, 0x73,
- 0x65, 0x72, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61,
- 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49,
- 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x14, 0x55, 0x73, 0x65,
- 0x72, 0x31, 0x41, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x32, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61,
- 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x22, 0x2e, 0x0a,
- 0x0e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12,
- 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x22, 0x49, 0x0a,
- 0x0b, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0x22, 0x25, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72,
- 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22,
- 0xdc, 0x02, 0x0a, 0x08, 0x48, 0x6f, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
- 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61,
- 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74,
- 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74,
- 0x75, 0x72, 0x65, 0x73, 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, 0x12, 0x0a, 0x04,
- 0x61, 0x72, 0x65, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61,
- 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x74,
- 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18,
- 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
- 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69,
- 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64,
- 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6b, 0x65,
- 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69, 0x6b, 0x65,
- 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75, 0x6d, 0x18,
- 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6c, 0x6f, 0x6f, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x8e,
- 0x01, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
- 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
- 0x73, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18,
- 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22,
- 0x2c, 0x0a, 0x0c, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12,
- 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x39, 0x0a,
- 0x0d, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x28,
- 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
- 0x44, 0x42, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xf6, 0x01, 0x0a, 0x08, 0x50, 0x65, 0x72,
- 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x02, 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, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12,
- 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65,
- 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20,
- 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 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, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x08, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61, 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x6e, 0x74,
- 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63,
- 0x65, 0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50,
- 0x01, 0x5a, 0x33, 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, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b,
- 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_common_proto_rawDescOnce sync.Once
- file_common_proto_rawDescData = file_common_proto_rawDesc
- )
- func file_common_proto_rawDescGZIP() []byte {
- file_common_proto_rawDescOnce.Do(func() {
- file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData)
- })
- return file_common_proto_rawDescData
- }
- var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
- var file_common_proto_goTypes = []interface{}{
- (*UserAndPartnerIdParam)(nil), // 0: api.common.UserAndPartnerIdParam
- (*User1AndUser2IdParam)(nil), // 1: api.common.User1AndUser2IdParam
- (*PartnerIDParam)(nil), // 2: api.common.PartnerIDParam
- (*PersonParam)(nil), // 3: api.common.PersonParam
- (*UserIDParam)(nil), // 4: api.common.UserIDParam
- (*HomeInfo)(nil), // 5: api.common.HomeInfo
- (*AddFriendMessageInfo)(nil), // 6: api.common.AddFriendMessageInfo
- (*PersonIDList)(nil), // 7: api.common.PersonIDList
- (*PersonDBReply)(nil), // 8: api.common.PersonDBReply
- (*PersonDB)(nil), // 9: api.common.PersonDB
- }
- var file_common_proto_depIdxs = []int32{
- 9, // 0: api.common.PersonDBReply.list:type_name -> api.common.PersonDB
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] 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_common_proto_init() }
- func file_common_proto_init() {
- if File_common_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UserAndPartnerIdParam); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*User1AndUser2IdParam); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PartnerIDParam); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PersonParam); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UserIDParam); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HomeInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddFriendMessageInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PersonIDList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PersonDBReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PersonDB); 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_common_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 10,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_common_proto_goTypes,
- DependencyIndexes: file_common_proto_depIdxs,
- MessageInfos: file_common_proto_msgTypes,
- }.Build()
- File_common_proto = out.File
- file_common_proto_rawDesc = nil
- file_common_proto_goTypes = nil
- file_common_proto_depIdxs = nil
- }
|