mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
574 lines
12 KiB
Go
574 lines
12 KiB
Go
// Code generated by protoc-gen-golite. DO NOT EDIT.
|
|
// source: accountsearch.proto
|
|
|
|
package profilecard
|
|
|
|
type Location struct {
|
|
Latitude *float64 `protobuf:"fixed64,1,opt"`
|
|
Longitude *float64 `protobuf:"fixed64,2,opt"`
|
|
}
|
|
|
|
func (x *Location) GetLatitude() float64 {
|
|
if x != nil && x.Latitude != nil {
|
|
return *x.Latitude
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Location) GetLongitude() float64 {
|
|
if x != nil && x.Longitude != nil {
|
|
return *x.Longitude
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ResultItem struct {
|
|
FeedId []byte `protobuf:"bytes,1,opt"`
|
|
Name []byte `protobuf:"bytes,2,opt"`
|
|
PicUrl []byte `protobuf:"bytes,3,opt"`
|
|
JmpUrl []byte `protobuf:"bytes,4,opt"`
|
|
FeedType []byte `protobuf:"bytes,5,opt"`
|
|
Summary []byte `protobuf:"bytes,6,opt"`
|
|
HasVideo []byte `protobuf:"bytes,7,opt"`
|
|
PhtotUpdate []byte `protobuf:"bytes,8,opt"`
|
|
Uin *uint64 `protobuf:"varint,9,opt"`
|
|
ResultId []byte `protobuf:"bytes,10,opt"`
|
|
Ftime *uint32 `protobuf:"varint,11,opt"`
|
|
NickName []byte `protobuf:"bytes,12,opt"`
|
|
PicUrlList [][]byte `protobuf:"bytes,13,rep"`
|
|
TotalPicNum *uint32 `protobuf:"varint,14,opt"`
|
|
}
|
|
|
|
func (x *ResultItem) GetFeedId() []byte {
|
|
if x != nil {
|
|
return x.FeedId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetName() []byte {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetPicUrl() []byte {
|
|
if x != nil {
|
|
return x.PicUrl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetJmpUrl() []byte {
|
|
if x != nil {
|
|
return x.JmpUrl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetFeedType() []byte {
|
|
if x != nil {
|
|
return x.FeedType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetSummary() []byte {
|
|
if x != nil {
|
|
return x.Summary
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetHasVideo() []byte {
|
|
if x != nil {
|
|
return x.HasVideo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetPhtotUpdate() []byte {
|
|
if x != nil {
|
|
return x.PhtotUpdate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetUin() uint64 {
|
|
if x != nil && x.Uin != nil {
|
|
return *x.Uin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ResultItem) GetResultId() []byte {
|
|
if x != nil {
|
|
return x.ResultId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetFtime() uint32 {
|
|
if x != nil && x.Ftime != nil {
|
|
return *x.Ftime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ResultItem) GetNickName() []byte {
|
|
if x != nil {
|
|
return x.NickName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetPicUrlList() [][]byte {
|
|
if x != nil {
|
|
return x.PicUrlList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResultItem) GetTotalPicNum() uint32 {
|
|
if x != nil && x.TotalPicNum != nil {
|
|
return *x.TotalPicNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Hotwordrecord struct {
|
|
Hotword *string `protobuf:"bytes,1,opt"`
|
|
HotwordType *uint32 `protobuf:"varint,2,opt"`
|
|
HotwordCoverUrl *string `protobuf:"bytes,3,opt"`
|
|
HotwordTitle *string `protobuf:"bytes,4,opt"`
|
|
HotwordDescription *string `protobuf:"bytes,5,opt"`
|
|
}
|
|
|
|
func (x *Hotwordrecord) GetHotword() string {
|
|
if x != nil && x.Hotword != nil {
|
|
return *x.Hotword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Hotwordrecord) GetHotwordType() uint32 {
|
|
if x != nil && x.HotwordType != nil {
|
|
return *x.HotwordType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hotwordrecord) GetHotwordCoverUrl() string {
|
|
if x != nil && x.HotwordCoverUrl != nil {
|
|
return *x.HotwordCoverUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Hotwordrecord) GetHotwordTitle() string {
|
|
if x != nil && x.HotwordTitle != nil {
|
|
return *x.HotwordTitle
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Hotwordrecord) GetHotwordDescription() string {
|
|
if x != nil && x.HotwordDescription != nil {
|
|
return *x.HotwordDescription
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AccountSearchRecord struct {
|
|
Uin *uint64 `protobuf:"varint,1,opt"`
|
|
Code *uint64 `protobuf:"varint,2,opt"`
|
|
Source *uint32 `protobuf:"varint,3,opt"`
|
|
Name *string `protobuf:"bytes,4,opt"`
|
|
Sex *uint32 `protobuf:"varint,5,opt"`
|
|
Age *uint32 `protobuf:"varint,6,opt"`
|
|
Accout *string `protobuf:"bytes,7,opt"`
|
|
Brief *string `protobuf:"bytes,8,opt"`
|
|
Number *uint32 `protobuf:"varint,9,opt"`
|
|
Flag *uint64 `protobuf:"varint,10,opt"`
|
|
Relation *uint64 `protobuf:"varint,11,opt"`
|
|
Mobile *string `protobuf:"bytes,12,opt"`
|
|
Sign []byte `protobuf:"bytes,13,opt"`
|
|
Country *uint32 `protobuf:"varint,14,opt"`
|
|
Province *uint32 `protobuf:"varint,15,opt"`
|
|
City *uint32 `protobuf:"varint,16,opt"`
|
|
ClassIndex *uint32 `protobuf:"varint,17,opt"`
|
|
ClassName *string `protobuf:"bytes,18,opt"`
|
|
CountryName *string `protobuf:"bytes,19,opt"`
|
|
ProvinceName *string `protobuf:"bytes,20,opt"`
|
|
CityName *string `protobuf:"bytes,21,opt"`
|
|
AccountFlag *uint32 `protobuf:"varint,22,opt"`
|
|
TitleImage *string `protobuf:"bytes,23,opt"`
|
|
ArticleShortUrl *string `protobuf:"bytes,24,opt"`
|
|
ArticleCreateTime *string `protobuf:"bytes,25,opt"`
|
|
ArticleAuthor *string `protobuf:"bytes,26,opt"`
|
|
AccountId *uint64 `protobuf:"varint,27,opt"`
|
|
//repeated Label groupLabels = 30;
|
|
VideoAccount *uint32 `protobuf:"varint,31,opt"`
|
|
VideoArticle *uint32 `protobuf:"varint,32,opt"`
|
|
UinPrivilege *int32 `protobuf:"varint,33,opt"`
|
|
JoinGroupAuth []byte `protobuf:"bytes,34,opt"`
|
|
Token []byte `protobuf:"bytes,500,opt"`
|
|
Richflag1_59 *uint32 `protobuf:"varint,40603,opt"`
|
|
Richflag4_409 *uint32 `protobuf:"varint,42409,opt"`
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetUin() uint64 {
|
|
if x != nil && x.Uin != nil {
|
|
return *x.Uin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetCode() uint64 {
|
|
if x != nil && x.Code != nil {
|
|
return *x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetSource() uint32 {
|
|
if x != nil && x.Source != nil {
|
|
return *x.Source
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetSex() uint32 {
|
|
if x != nil && x.Sex != nil {
|
|
return *x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetAge() uint32 {
|
|
if x != nil && x.Age != nil {
|
|
return *x.Age
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetAccout() string {
|
|
if x != nil && x.Accout != nil {
|
|
return *x.Accout
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetBrief() string {
|
|
if x != nil && x.Brief != nil {
|
|
return *x.Brief
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetNumber() uint32 {
|
|
if x != nil && x.Number != nil {
|
|
return *x.Number
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetFlag() uint64 {
|
|
if x != nil && x.Flag != nil {
|
|
return *x.Flag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetRelation() uint64 {
|
|
if x != nil && x.Relation != nil {
|
|
return *x.Relation
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetMobile() string {
|
|
if x != nil && x.Mobile != nil {
|
|
return *x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetSign() []byte {
|
|
if x != nil {
|
|
return x.Sign
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetCountry() uint32 {
|
|
if x != nil && x.Country != nil {
|
|
return *x.Country
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetProvince() uint32 {
|
|
if x != nil && x.Province != nil {
|
|
return *x.Province
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetCity() uint32 {
|
|
if x != nil && x.City != nil {
|
|
return *x.City
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetClassIndex() uint32 {
|
|
if x != nil && x.ClassIndex != nil {
|
|
return *x.ClassIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetClassName() string {
|
|
if x != nil && x.ClassName != nil {
|
|
return *x.ClassName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetCountryName() string {
|
|
if x != nil && x.CountryName != nil {
|
|
return *x.CountryName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetProvinceName() string {
|
|
if x != nil && x.ProvinceName != nil {
|
|
return *x.ProvinceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetCityName() string {
|
|
if x != nil && x.CityName != nil {
|
|
return *x.CityName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetAccountFlag() uint32 {
|
|
if x != nil && x.AccountFlag != nil {
|
|
return *x.AccountFlag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetTitleImage() string {
|
|
if x != nil && x.TitleImage != nil {
|
|
return *x.TitleImage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetArticleShortUrl() string {
|
|
if x != nil && x.ArticleShortUrl != nil {
|
|
return *x.ArticleShortUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetArticleCreateTime() string {
|
|
if x != nil && x.ArticleCreateTime != nil {
|
|
return *x.ArticleCreateTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetArticleAuthor() string {
|
|
if x != nil && x.ArticleAuthor != nil {
|
|
return *x.ArticleAuthor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetAccountId() uint64 {
|
|
if x != nil && x.AccountId != nil {
|
|
return *x.AccountId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetVideoAccount() uint32 {
|
|
if x != nil && x.VideoAccount != nil {
|
|
return *x.VideoAccount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetVideoArticle() uint32 {
|
|
if x != nil && x.VideoArticle != nil {
|
|
return *x.VideoArticle
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetUinPrivilege() int32 {
|
|
if x != nil && x.UinPrivilege != nil {
|
|
return *x.UinPrivilege
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetJoinGroupAuth() []byte {
|
|
if x != nil {
|
|
return x.JoinGroupAuth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetToken() []byte {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetRichflag1_59() uint32 {
|
|
if x != nil && x.Richflag1_59 != nil {
|
|
return *x.Richflag1_59
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearchRecord) GetRichflag4_409() uint32 {
|
|
if x != nil && x.Richflag4_409 != nil {
|
|
return *x.Richflag4_409
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AccountSearch struct {
|
|
Start *int32 `protobuf:"varint,1,opt"`
|
|
Count *uint32 `protobuf:"varint,2,opt"`
|
|
End *uint32 `protobuf:"varint,3,opt"`
|
|
Keyword *string `protobuf:"bytes,4,opt"`
|
|
List []*AccountSearchRecord `protobuf:"bytes,5,rep"`
|
|
Highlight []string `protobuf:"bytes,6,rep"`
|
|
UserLocation *Location `protobuf:"bytes,10,opt"`
|
|
LocationGroup *bool `protobuf:"varint,11,opt"`
|
|
Filtertype *int32 `protobuf:"varint,12,opt"`
|
|
//repeated C33304record recommendList = 13;
|
|
HotwordRecord *Hotwordrecord `protobuf:"bytes,14,opt"`
|
|
ArticleMoreUrl *string `protobuf:"bytes,15,opt"`
|
|
ResultItems []*ResultItem `protobuf:"bytes,16,rep"`
|
|
KeywordSuicide *bool `protobuf:"varint,17,opt"`
|
|
ExactSearch *bool `protobuf:"varint,18,opt"`
|
|
}
|
|
|
|
func (x *AccountSearch) GetStart() int32 {
|
|
if x != nil && x.Start != nil {
|
|
return *x.Start
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearch) GetCount() uint32 {
|
|
if x != nil && x.Count != nil {
|
|
return *x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearch) GetEnd() uint32 {
|
|
if x != nil && x.End != nil {
|
|
return *x.End
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearch) GetKeyword() string {
|
|
if x != nil && x.Keyword != nil {
|
|
return *x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearch) GetList() []*AccountSearchRecord {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountSearch) GetHighlight() []string {
|
|
if x != nil {
|
|
return x.Highlight
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountSearch) GetUserLocation() *Location {
|
|
if x != nil {
|
|
return x.UserLocation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountSearch) GetLocationGroup() bool {
|
|
if x != nil && x.LocationGroup != nil {
|
|
return *x.LocationGroup
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AccountSearch) GetFiltertype() int32 {
|
|
if x != nil && x.Filtertype != nil {
|
|
return *x.Filtertype
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountSearch) GetHotwordRecord() *Hotwordrecord {
|
|
if x != nil {
|
|
return x.HotwordRecord
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountSearch) GetArticleMoreUrl() string {
|
|
if x != nil && x.ArticleMoreUrl != nil {
|
|
return *x.ArticleMoreUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountSearch) GetResultItems() []*ResultItem {
|
|
if x != nil {
|
|
return x.ResultItems
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountSearch) GetKeywordSuicide() bool {
|
|
if x != nil && x.KeywordSuicide != nil {
|
|
return *x.KeywordSuicide
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AccountSearch) GetExactSearch() bool {
|
|
if x != nil && x.ExactSearch != nil {
|
|
return *x.ExactSearch
|
|
}
|
|
return false
|
|
}
|