Documentation ¶
Index ¶
- Variables
- type Cat
- func (*Cat) Descriptor() ([]byte, []int)deprecated
- func (x *Cat) GetAge() string
- func (x *Cat) GetArea() string
- func (x *Cat) GetAvatars() []string
- func (x *Cat) GetColor() string
- func (x *Cat) GetCommunityId() string
- func (x *Cat) GetCreateAt() int64
- func (x *Cat) GetDetails() string
- func (x *Cat) GetId() string
- func (x *Cat) GetIsSnipped() bool
- func (x *Cat) GetIsSterilized() bool
- func (x *Cat) GetName() string
- func (x *Cat) GetPopularity() int64
- func (x *Cat) GetSex() string
- func (x *Cat) GetStatus() int64
- func (*Cat) ProtoMessage()
- func (x *Cat) ProtoReflect() protoreflect.Message
- func (x *Cat) Reset()
- func (x *Cat) String() string
- type CreateImageElement
- func (*CreateImageElement) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageElement) GetCatId() string
- func (x *CreateImageElement) GetUrl() string
- func (*CreateImageElement) ProtoMessage()
- func (x *CreateImageElement) ProtoReflect() protoreflect.Message
- func (x *CreateImageElement) Reset()
- func (x *CreateImageElement) String() string
- type Image
- type Moment
- func (*Moment) Descriptor() ([]byte, []int)deprecated
- func (x *Moment) GetCatId() string
- func (x *Moment) GetCommunityId() string
- func (x *Moment) GetCreateAt() int64
- func (x *Moment) GetId() string
- func (x *Moment) GetPhotos() []string
- func (x *Moment) GetText() string
- func (x *Moment) GetTitle() string
- func (x *Moment) GetUserId() string
- func (*Moment) ProtoMessage()
- func (x *Moment) ProtoReflect() protoreflect.Message
- func (x *Moment) Reset()
- func (x *Moment) String() string
- type MomentFilterOptions
- func (*MomentFilterOptions) Descriptor() ([]byte, []int)deprecated
- func (x *MomentFilterOptions) GetOnlyCommunityId() string
- func (x *MomentFilterOptions) GetOnlyCommunityIds() []string
- func (x *MomentFilterOptions) GetOnlyUserId() string
- func (*MomentFilterOptions) ProtoMessage()
- func (x *MomentFilterOptions) ProtoReflect() protoreflect.Message
- func (x *MomentFilterOptions) Reset()
- func (x *MomentFilterOptions) String() string
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)deprecated
- func (x *Plan) GetCatId() string
- func (x *Plan) GetCommunityId() string
- func (x *Plan) GetCoverUrl() string
- func (x *Plan) GetCreateAt() int64
- func (x *Plan) GetDescription() string
- func (x *Plan) GetEndTime() int64
- func (x *Plan) GetId() string
- func (x *Plan) GetImageUrls() []string
- func (x *Plan) GetInitiatorId() string
- func (x *Plan) GetInstruction() string
- func (x *Plan) GetMaxFish() int64
- func (x *Plan) GetName() string
- func (x *Plan) GetNowFish() int64
- func (x *Plan) GetPlanState() PlanState
- func (x *Plan) GetPlanType() PlanType
- func (x *Plan) GetStartTime() int64
- func (x *Plan) GetSummary() string
- func (*Plan) ProtoMessage()
- func (x *Plan) ProtoReflect() protoreflect.Message
- func (x *Plan) Reset()
- func (x *Plan) String() string
- type PlanFilterOptions
- func (*PlanFilterOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PlanFilterOptions) GetIncludeGlobal() bool
- func (x *PlanFilterOptions) GetOnlyCatId() string
- func (x *PlanFilterOptions) GetOnlyCommunityId() string
- func (x *PlanFilterOptions) GetOnlyUserId() string
- func (*PlanFilterOptions) ProtoMessage()
- func (x *PlanFilterOptions) ProtoReflect() protoreflect.Message
- func (x *PlanFilterOptions) Reset()
- func (x *PlanFilterOptions) String() string
- type PlanPreview
- func (*PlanPreview) Descriptor() ([]byte, []int)deprecated
- func (x *PlanPreview) GetCatId() string
- func (x *PlanPreview) GetCoverUrl() string
- func (x *PlanPreview) GetDonateNum() int64
- func (x *PlanPreview) GetDonateTime() int64
- func (x *PlanPreview) GetId() string
- func (x *PlanPreview) GetName() string
- func (*PlanPreview) ProtoMessage()
- func (x *PlanPreview) ProtoReflect() protoreflect.Message
- func (x *PlanPreview) Reset()
- func (x *PlanPreview) String() string
- type PlanState
- type PlanType
- type Post
- func (*Post) Descriptor() ([]byte, []int)deprecated
- func (x *Post) GetCoverUrl() string
- func (x *Post) GetCreateAt() int64
- func (x *Post) GetId() string
- func (x *Post) GetIsOfficial() bool
- func (x *Post) GetTags() []string
- func (x *Post) GetText() string
- func (x *Post) GetTitle() string
- func (x *Post) GetUpdateAt() int64
- func (x *Post) GetUserId() string
- func (*Post) ProtoMessage()
- func (x *Post) ProtoReflect() protoreflect.Message
- func (x *Post) Reset()
- func (x *Post) String() string
- type PostFilterOptions
- func (*PostFilterOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PostFilterOptions) GetOnlyOfficial() bool
- func (x *PostFilterOptions) GetOnlyUserId() string
- func (*PostFilterOptions) ProtoMessage()
- func (x *PostFilterOptions) ProtoReflect() protoreflect.Message
- func (x *PostFilterOptions) Reset()
- func (x *PostFilterOptions) String() string
- type SearchField
- func (*SearchField) Descriptor() ([]byte, []int)deprecated
- func (x *SearchField) GetTag() string
- func (x *SearchField) GetText() string
- func (x *SearchField) GetTitle() string
- func (*SearchField) ProtoMessage()
- func (x *SearchField) ProtoReflect() protoreflect.Message
- func (x *SearchField) Reset()
- func (x *SearchField) String() string
- type SearchOptions
- func (*SearchOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SearchOptions) GetAllFieldsKey() string
- func (x *SearchOptions) GetMultiFieldsKey() *SearchField
- func (m *SearchOptions) GetType() isSearchOptions_Type
- func (*SearchOptions) ProtoMessage()
- func (x *SearchOptions) ProtoReflect() protoreflect.Message
- func (x *SearchOptions) Reset()
- func (x *SearchOptions) String() string
- type SearchOptions_AllFieldsKey
- type SearchOptions_MultiFieldsKey
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PlanType_name = map[int32]string{ 0: "TypeOther", 1: "TypeCastrate", 2: "TypeHeal", 3: "TypeFeed", } PlanType_value = map[string]int32{ "TypeOther": 0, "TypeCastrate": 1, "TypeHeal": 2, "TypeFeed": 3, } )
Enum value maps for PlanType.
View Source
var ( PlanState_name = map[int32]string{ 0: "StateUnknown", 1: "StateFunding", 2: "StateDoing", 3: "StateComplete", } PlanState_value = map[string]int32{ "StateUnknown": 0, "StateFunding": 1, "StateDoing": 2, "StateComplete": 3, } )
Enum value maps for PlanState.
View Source
var File_meowchat_content_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cat ¶
type Cat struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` CreateAt int64 `protobuf:"varint,2,opt,name=createAt,proto3" json:"createAt" form:"createAt" query:"createAt"` Age string `protobuf:"bytes,3,opt,name=age,proto3" json:"age" form:"age" query:"age"` CommunityId string `protobuf:"bytes,4,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color" form:"color" query:"color"` Details string `protobuf:"bytes,6,opt,name=details,proto3" json:"details" form:"details" query:"details"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name" form:"name" query:"name"` Popularity int64 `protobuf:"varint,8,opt,name=popularity,proto3" json:"popularity" form:"popularity" query:"popularity"` Sex string `protobuf:"bytes,9,opt,name=sex,proto3" json:"sex" form:"sex" query:"sex"` Status int64 `protobuf:"varint,10,opt,name=status,proto3" json:"status" form:"status" query:"status"` Area string `protobuf:"bytes,11,opt,name=area,proto3" json:"area" form:"area" query:"area"` IsSnipped bool `protobuf:"varint,12,opt,name=isSnipped,proto3" json:"isSnipped" form:"isSnipped" query:"isSnipped"` IsSterilized bool `protobuf:"varint,13,opt,name=isSterilized,proto3" json:"isSterilized" form:"isSterilized" query:"isSterilized"` Avatars []string `protobuf:"bytes,14,rep,name=avatars,proto3" json:"avatars" form:"avatars" query:"avatars"` // contains filtered or unexported fields }
func (*Cat) Descriptor
deprecated
func (*Cat) GetAvatars ¶
func (*Cat) GetCommunityId ¶
func (*Cat) GetCreateAt ¶
func (*Cat) GetDetails ¶
func (*Cat) GetIsSnipped ¶
func (*Cat) GetIsSterilized ¶
func (*Cat) GetPopularity ¶
func (*Cat) ProtoMessage ¶
func (*Cat) ProtoMessage()
func (*Cat) ProtoReflect ¶
func (x *Cat) ProtoReflect() protoreflect.Message
type CreateImageElement ¶
type CreateImageElement struct { CatId string `protobuf:"bytes,1,opt,name=catId,proto3" json:"catId" form:"catId" query:"catId"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url" form:"url" query:"url"` // contains filtered or unexported fields }
func (*CreateImageElement) Descriptor
deprecated
func (*CreateImageElement) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageElement.ProtoReflect.Descriptor instead.
func (*CreateImageElement) GetCatId ¶
func (x *CreateImageElement) GetCatId() string
func (*CreateImageElement) GetUrl ¶
func (x *CreateImageElement) GetUrl() string
func (*CreateImageElement) ProtoMessage ¶
func (*CreateImageElement) ProtoMessage()
func (*CreateImageElement) ProtoReflect ¶
func (x *CreateImageElement) ProtoReflect() protoreflect.Message
func (*CreateImageElement) Reset ¶
func (x *CreateImageElement) Reset()
func (*CreateImageElement) String ¶
func (x *CreateImageElement) String() string
type Image ¶
type Image struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url" form:"url" query:"url"` CatId string `protobuf:"bytes,3,opt,name=catId,proto3" json:"catId" form:"catId" query:"catId"` // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type Moment ¶
type Moment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` CreateAt int64 `protobuf:"varint,2,opt,name=createAt,proto3" json:"createAt" form:"createAt" query:"createAt"` CatId *string `protobuf:"bytes,3,opt,name=catId,proto3,oneof" json:"catId" form:"catId" query:"catId"` Photos []string `protobuf:"bytes,4,rep,name=photos,proto3" json:"photos" form:"photos" query:"photos"` // 图片url Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title" form:"title" query:"title"` Text string `protobuf:"bytes,6,opt,name=text,proto3" json:"text" form:"text" query:"text"` CommunityId string `protobuf:"bytes,7,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"` UserId string `protobuf:"bytes,8,opt,name=userId,proto3" json:"userId" form:"userId" query:"userId"` // contains filtered or unexported fields }
func (*Moment) Descriptor
deprecated
func (*Moment) GetCommunityId ¶
func (*Moment) GetCreateAt ¶
func (*Moment) ProtoMessage ¶
func (*Moment) ProtoMessage()
func (*Moment) ProtoReflect ¶
func (x *Moment) ProtoReflect() protoreflect.Message
type MomentFilterOptions ¶
type MomentFilterOptions struct { OnlyUserId *string `protobuf:"bytes,1,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId" form:"onlyUserId" query:"onlyUserId"` OnlyCommunityId *string `` /* 126-byte string literal not displayed */ OnlyCommunityIds []string `protobuf:"bytes,3,rep,name=onlyCommunityIds,proto3" json:"onlyCommunityIds" form:"onlyCommunityIds" query:"onlyCommunityIds"` // contains filtered or unexported fields }
func (*MomentFilterOptions) Descriptor
deprecated
func (*MomentFilterOptions) Descriptor() ([]byte, []int)
Deprecated: Use MomentFilterOptions.ProtoReflect.Descriptor instead.
func (*MomentFilterOptions) GetOnlyCommunityId ¶
func (x *MomentFilterOptions) GetOnlyCommunityId() string
func (*MomentFilterOptions) GetOnlyCommunityIds ¶
func (x *MomentFilterOptions) GetOnlyCommunityIds() []string
func (*MomentFilterOptions) GetOnlyUserId ¶
func (x *MomentFilterOptions) GetOnlyUserId() string
func (*MomentFilterOptions) ProtoMessage ¶
func (*MomentFilterOptions) ProtoMessage()
func (*MomentFilterOptions) ProtoReflect ¶
func (x *MomentFilterOptions) ProtoReflect() protoreflect.Message
func (*MomentFilterOptions) Reset ¶
func (x *MomentFilterOptions) Reset()
func (*MomentFilterOptions) String ¶
func (x *MomentFilterOptions) String() string
type Plan ¶ added in v1.0.15
type Plan struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name" query:"name"` CoverUrl string `protobuf:"bytes,3,opt,name=coverUrl,proto3" json:"coverUrl" form:"coverUrl" query:"coverUrl"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description" form:"description" query:"description"` PlanType PlanType `protobuf:"varint,5,opt,name=planType,proto3,enum=meowchat.content.PlanType" json:"planType" form:"planType" query:"planType"` Instruction string `protobuf:"bytes,6,opt,name=instruction,proto3" json:"instruction" form:"instruction" query:"instruction"` StartTime int64 `protobuf:"varint,7,opt,name=startTime,proto3" json:"startTime" form:"startTime" query:"startTime"` EndTime int64 `protobuf:"varint,8,opt,name=endTime,proto3" json:"endTime" form:"endTime" query:"endTime"` CatId string `protobuf:"bytes,9,opt,name=catId,proto3" json:"catId" form:"catId" query:"catId"` CommunityId string `protobuf:"bytes,10,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"` InitiatorId string `protobuf:"bytes,11,opt,name=initiatorId,proto3" json:"initiatorId" form:"initiatorId" query:"initiatorId"` ImageUrls []string `protobuf:"bytes,12,rep,name=imageUrls,proto3" json:"imageUrls" form:"imageUrls" query:"imageUrls"` CreateAt int64 `protobuf:"varint,13,opt,name=createAt,proto3" json:"createAt" form:"createAt" query:"createAt"` MaxFish int64 `protobuf:"varint,14,opt,name=maxFish,proto3" json:"maxFish" form:"maxFish" query:"maxFish"` NowFish int64 `protobuf:"varint,15,opt,name=nowFish,proto3" json:"nowFish" form:"nowFish" query:"nowFish"` Summary string `protobuf:"bytes,16,opt,name=summary,proto3" json:"summary" form:"summary" query:"summary"` PlanState PlanState `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Plan) Descriptor
deprecated
added in
v1.0.15
func (*Plan) GetCommunityId ¶ added in v1.0.37
func (*Plan) GetCoverUrl ¶ added in v1.0.35
func (*Plan) GetCreateAt ¶ added in v1.0.15
func (*Plan) GetDescription ¶ added in v1.0.15
func (*Plan) GetEndTime ¶ added in v1.0.15
func (*Plan) GetImageUrls ¶ added in v1.0.15
func (*Plan) GetInitiatorId ¶ added in v1.0.35
func (*Plan) GetInstruction ¶ added in v1.0.35
func (*Plan) GetMaxFish ¶ added in v1.0.16
func (*Plan) GetNowFish ¶ added in v1.0.16
func (*Plan) GetPlanState ¶ added in v1.0.35
func (*Plan) GetPlanType ¶ added in v1.0.15
func (*Plan) GetStartTime ¶ added in v1.0.15
func (*Plan) GetSummary ¶ added in v1.0.35
func (*Plan) ProtoMessage ¶ added in v1.0.15
func (*Plan) ProtoMessage()
func (*Plan) ProtoReflect ¶ added in v1.0.15
func (x *Plan) ProtoReflect() protoreflect.Message
type PlanFilterOptions ¶ added in v1.0.15
type PlanFilterOptions struct { OnlyCatId *string `protobuf:"bytes,1,opt,name=onlyCatId,proto3,oneof" json:"onlyCatId" form:"onlyCatId" query:"onlyCatId"` OnlyUserId *string `protobuf:"bytes,2,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId" form:"onlyUserId" query:"onlyUserId"` OnlyCommunityId *string `` /* 126-byte string literal not displayed */ IncludeGlobal *bool `protobuf:"varint,4,opt,name=includeGlobal,proto3,oneof" json:"includeGlobal" form:"includeGlobal" query:"includeGlobal"` // contains filtered or unexported fields }
func (*PlanFilterOptions) Descriptor
deprecated
added in
v1.0.15
func (*PlanFilterOptions) Descriptor() ([]byte, []int)
Deprecated: Use PlanFilterOptions.ProtoReflect.Descriptor instead.
func (*PlanFilterOptions) GetIncludeGlobal ¶ added in v1.0.37
func (x *PlanFilterOptions) GetIncludeGlobal() bool
func (*PlanFilterOptions) GetOnlyCatId ¶ added in v1.0.15
func (x *PlanFilterOptions) GetOnlyCatId() string
func (*PlanFilterOptions) GetOnlyCommunityId ¶ added in v1.0.37
func (x *PlanFilterOptions) GetOnlyCommunityId() string
func (*PlanFilterOptions) GetOnlyUserId ¶ added in v1.0.15
func (x *PlanFilterOptions) GetOnlyUserId() string
func (*PlanFilterOptions) ProtoMessage ¶ added in v1.0.15
func (*PlanFilterOptions) ProtoMessage()
func (*PlanFilterOptions) ProtoReflect ¶ added in v1.0.15
func (x *PlanFilterOptions) ProtoReflect() protoreflect.Message
func (*PlanFilterOptions) Reset ¶ added in v1.0.15
func (x *PlanFilterOptions) Reset()
func (*PlanFilterOptions) String ¶ added in v1.0.15
func (x *PlanFilterOptions) String() string
type PlanPreview ¶ added in v1.0.39
type PlanPreview struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name" query:"name"` CatId string `protobuf:"bytes,3,opt,name=catId,proto3" json:"catId" form:"catId" query:"catId"` DonateNum int64 `protobuf:"varint,4,opt,name=donateNum,proto3" json:"donateNum" form:"donateNum" query:"donateNum"` DonateTime int64 `protobuf:"varint,5,opt,name=donateTime,proto3" json:"donateTime" form:"donateTime" query:"donateTime"` CoverUrl string `protobuf:"bytes,6,opt,name=coverUrl,proto3" json:"coverUrl" form:"coverUrl" query:"coverUrl"` // contains filtered or unexported fields }
func (*PlanPreview) Descriptor
deprecated
added in
v1.0.39
func (*PlanPreview) Descriptor() ([]byte, []int)
Deprecated: Use PlanPreview.ProtoReflect.Descriptor instead.
func (*PlanPreview) GetCatId ¶ added in v1.0.39
func (x *PlanPreview) GetCatId() string
func (*PlanPreview) GetCoverUrl ¶ added in v1.0.47
func (x *PlanPreview) GetCoverUrl() string
func (*PlanPreview) GetDonateNum ¶ added in v1.0.39
func (x *PlanPreview) GetDonateNum() int64
func (*PlanPreview) GetDonateTime ¶ added in v1.0.39
func (x *PlanPreview) GetDonateTime() int64
func (*PlanPreview) GetId ¶ added in v1.0.39
func (x *PlanPreview) GetId() string
func (*PlanPreview) GetName ¶ added in v1.0.39
func (x *PlanPreview) GetName() string
func (*PlanPreview) ProtoMessage ¶ added in v1.0.39
func (*PlanPreview) ProtoMessage()
func (*PlanPreview) ProtoReflect ¶ added in v1.0.39
func (x *PlanPreview) ProtoReflect() protoreflect.Message
func (*PlanPreview) Reset ¶ added in v1.0.39
func (x *PlanPreview) Reset()
func (*PlanPreview) String ¶ added in v1.0.39
func (x *PlanPreview) String() string
type PlanState ¶ added in v1.0.35
type PlanState int32
func (PlanState) Descriptor ¶ added in v1.0.35
func (PlanState) Descriptor() protoreflect.EnumDescriptor
func (PlanState) EnumDescriptor
deprecated
added in
v1.0.35
func (PlanState) Number ¶ added in v1.0.35
func (x PlanState) Number() protoreflect.EnumNumber
func (PlanState) Type ¶ added in v1.0.35
func (PlanState) Type() protoreflect.EnumType
type PlanType ¶ added in v1.0.15
type PlanType int32
func (PlanType) Descriptor ¶ added in v1.0.15
func (PlanType) Descriptor() protoreflect.EnumDescriptor
func (PlanType) EnumDescriptor
deprecated
added in
v1.0.15
func (PlanType) Number ¶ added in v1.0.15
func (x PlanType) Number() protoreflect.EnumNumber
func (PlanType) Type ¶ added in v1.0.15
func (PlanType) Type() protoreflect.EnumType
type Post ¶
type Post struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` CreateAt int64 `protobuf:"varint,2,opt,name=createAt,proto3" json:"createAt" form:"createAt" query:"createAt"` UpdateAt int64 `protobuf:"varint,3,opt,name=updateAt,proto3" json:"updateAt" form:"updateAt" query:"updateAt"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title" form:"title" query:"title"` Text string `protobuf:"bytes,6,opt,name=text,proto3" json:"text" form:"text" query:"text"` CoverUrl string `protobuf:"bytes,7,opt,name=coverUrl,proto3" json:"coverUrl" form:"coverUrl" query:"coverUrl"` Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags" form:"tags" query:"tags"` UserId string `protobuf:"bytes,9,opt,name=userId,proto3" json:"userId" form:"userId" query:"userId"` IsOfficial bool `protobuf:"varint,10,opt,name=isOfficial,proto3" json:"isOfficial" form:"isOfficial" query:"isOfficial"` // contains filtered or unexported fields }
func (*Post) Descriptor
deprecated
func (*Post) GetCoverUrl ¶
func (*Post) GetCreateAt ¶
func (*Post) GetIsOfficial ¶
func (*Post) GetUpdateAt ¶
func (*Post) ProtoMessage ¶
func (*Post) ProtoMessage()
func (*Post) ProtoReflect ¶
func (x *Post) ProtoReflect() protoreflect.Message
type PostFilterOptions ¶
type PostFilterOptions struct { OnlyOfficial *bool `protobuf:"varint,1,opt,name=onlyOfficial,proto3,oneof" json:"onlyOfficial" form:"onlyOfficial" query:"onlyOfficial"` OnlyUserId *string `protobuf:"bytes,2,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId" form:"onlyUserId" query:"onlyUserId"` // contains filtered or unexported fields }
func (*PostFilterOptions) Descriptor
deprecated
func (*PostFilterOptions) Descriptor() ([]byte, []int)
Deprecated: Use PostFilterOptions.ProtoReflect.Descriptor instead.
func (*PostFilterOptions) GetOnlyOfficial ¶
func (x *PostFilterOptions) GetOnlyOfficial() bool
func (*PostFilterOptions) GetOnlyUserId ¶
func (x *PostFilterOptions) GetOnlyUserId() string
func (*PostFilterOptions) ProtoMessage ¶
func (*PostFilterOptions) ProtoMessage()
func (*PostFilterOptions) ProtoReflect ¶
func (x *PostFilterOptions) ProtoReflect() protoreflect.Message
func (*PostFilterOptions) Reset ¶
func (x *PostFilterOptions) Reset()
func (*PostFilterOptions) String ¶
func (x *PostFilterOptions) String() string
type SearchField ¶
type SearchField struct { Text *string `protobuf:"bytes,1,opt,name=text,proto3,oneof" json:"text" form:"text" query:"text"` Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title" form:"title" query:"title"` Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag" form:"tag" query:"tag"` // 仅限Post // contains filtered or unexported fields }
func (*SearchField) Descriptor
deprecated
func (*SearchField) Descriptor() ([]byte, []int)
Deprecated: Use SearchField.ProtoReflect.Descriptor instead.
func (*SearchField) GetTag ¶
func (x *SearchField) GetTag() string
func (*SearchField) GetText ¶
func (x *SearchField) GetText() string
func (*SearchField) GetTitle ¶
func (x *SearchField) GetTitle() string
func (*SearchField) ProtoMessage ¶
func (*SearchField) ProtoMessage()
func (*SearchField) ProtoReflect ¶
func (x *SearchField) ProtoReflect() protoreflect.Message
func (*SearchField) Reset ¶
func (x *SearchField) Reset()
func (*SearchField) String ¶
func (x *SearchField) String() string
type SearchOptions ¶
type SearchOptions struct { // Types that are assignable to Type: // // *SearchOptions_AllFieldsKey // *SearchOptions_MultiFieldsKey Type isSearchOptions_Type `protobuf_oneof:"Type"` // contains filtered or unexported fields }
func (*SearchOptions) Descriptor
deprecated
func (*SearchOptions) Descriptor() ([]byte, []int)
Deprecated: Use SearchOptions.ProtoReflect.Descriptor instead.
func (*SearchOptions) GetAllFieldsKey ¶
func (x *SearchOptions) GetAllFieldsKey() string
func (*SearchOptions) GetMultiFieldsKey ¶
func (x *SearchOptions) GetMultiFieldsKey() *SearchField
func (*SearchOptions) GetType ¶
func (m *SearchOptions) GetType() isSearchOptions_Type
func (*SearchOptions) ProtoMessage ¶
func (*SearchOptions) ProtoMessage()
func (*SearchOptions) ProtoReflect ¶
func (x *SearchOptions) ProtoReflect() protoreflect.Message
func (*SearchOptions) Reset ¶
func (x *SearchOptions) Reset()
func (*SearchOptions) String ¶
func (x *SearchOptions) String() string
type SearchOptions_AllFieldsKey ¶
type SearchOptions_AllFieldsKey struct {
AllFieldsKey string `protobuf:"bytes,1,opt,name=allFieldsKey,proto3,oneof"`
}
type SearchOptions_MultiFieldsKey ¶
type SearchOptions_MultiFieldsKey struct {
MultiFieldsKey *SearchField `protobuf:"bytes,2,opt,name=multiFieldsKey,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.