Documentation
¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAvatarUrl() string
- func (x *Account) GetId() *InternalID
- func (x *Account) GetLatestUpdateTime() *timestamppb.Timestamp
- func (x *Account) GetName() string
- func (x *Account) GetPlatform() string
- func (x *Account) GetPlatformAccountId() string
- func (x *Account) GetProfileUrl() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountAppRelationType
- func (AccountAppRelationType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountAppRelationType) Enum() *AccountAppRelationType
- func (AccountAppRelationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountAppRelationType) Number() protoreflect.EnumNumber
- func (x AccountAppRelationType) String() string
- func (AccountAppRelationType) Type() protoreflect.EnumType
- type AccountID
- func (*AccountID) Descriptor() ([]byte, []int)deprecated
- func (x *AccountID) GetPlatform() string
- func (x *AccountID) GetPlatformAccountId() string
- func (*AccountID) ProtoMessage()
- func (x *AccountID) ProtoReflect() protoreflect.Message
- func (x *AccountID) Reset()
- func (x *AccountID) String() string
- type AppInfo
- func (*AppInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AppInfo) GetAltNames() []string
- func (x *AppInfo) GetBackgroundImageUrl() string
- func (x *AppInfo) GetCoverImageUrl() string
- func (x *AppInfo) GetDetails() *AppInfoDetails
- func (x *AppInfo) GetIconImageUrl() string
- func (x *AppInfo) GetId() *InternalID
- func (x *AppInfo) GetInternal() bool
- func (x *AppInfo) GetName() string
- func (x *AppInfo) GetShortDescription() string
- func (x *AppInfo) GetSource() string
- func (x *AppInfo) GetSourceAppId() string
- func (x *AppInfo) GetSourceUrl() string
- func (x *AppInfo) GetTags() []string
- func (x *AppInfo) GetType() AppType
- func (*AppInfo) ProtoMessage()
- func (x *AppInfo) ProtoReflect() protoreflect.Message
- func (x *AppInfo) Reset()
- func (x *AppInfo) String() string
- type AppInfoDetails
- func (*AppInfoDetails) Descriptor() ([]byte, []int)deprecated
- func (x *AppInfoDetails) GetDescription() string
- func (x *AppInfoDetails) GetDeveloper() string
- func (x *AppInfoDetails) GetImageUrls() []string
- func (x *AppInfoDetails) GetPublisher() string
- func (x *AppInfoDetails) GetReleaseDate() string
- func (x *AppInfoDetails) GetVersion() string
- func (*AppInfoDetails) ProtoMessage()
- func (x *AppInfoDetails) ProtoReflect() protoreflect.Message
- func (x *AppInfoDetails) Reset()
- func (x *AppInfoDetails) String() string
- type AppInfoID
- func (*AppInfoID) Descriptor() ([]byte, []int)deprecated
- func (x *AppInfoID) GetInternal() bool
- func (x *AppInfoID) GetSource() string
- func (x *AppInfoID) GetSourceAppId() string
- func (*AppInfoID) ProtoMessage()
- func (x *AppInfoID) ProtoReflect() protoreflect.Message
- func (x *AppInfoID) Reset()
- func (x *AppInfoID) String() string
- type AppInfoMixed
- func (*AppInfoMixed) Descriptor() ([]byte, []int)deprecated
- func (x *AppInfoMixed) GetAltNames() []string
- func (x *AppInfoMixed) GetBackgroundImageUrl() string
- func (x *AppInfoMixed) GetCoverImageUrl() string
- func (x *AppInfoMixed) GetDetails() *AppInfoDetails
- func (x *AppInfoMixed) GetIconImageUrl() string
- func (x *AppInfoMixed) GetId() *InternalID
- func (x *AppInfoMixed) GetName() string
- func (x *AppInfoMixed) GetShortDescription() string
- func (x *AppInfoMixed) GetTags() []string
- func (x *AppInfoMixed) GetType() AppType
- func (*AppInfoMixed) ProtoMessage()
- func (x *AppInfoMixed) ProtoReflect() protoreflect.Message
- func (x *AppInfoMixed) Reset()
- func (x *AppInfoMixed) String() string
- type AppType
- type FeatureFlag
- func (*FeatureFlag) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureFlag) GetConfigJsonSchema() string
- func (x *FeatureFlag) GetDescription() string
- func (x *FeatureFlag) GetId() string
- func (x *FeatureFlag) GetName() string
- func (x *FeatureFlag) GetRegion() string
- func (*FeatureFlag) ProtoMessage()
- func (x *FeatureFlag) ProtoReflect() protoreflect.Message
- func (x *FeatureFlag) Reset()
- func (x *FeatureFlag) String() string
- type FeatureRequest
- func (*FeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureRequest) GetConfigJson() string
- func (x *FeatureRequest) GetId() string
- func (x *FeatureRequest) GetRegion() string
- func (*FeatureRequest) ProtoMessage()
- func (x *FeatureRequest) ProtoReflect() protoreflect.Message
- func (x *FeatureRequest) Reset()
- func (x *FeatureRequest) String() string
- type Feed
- func (*Feed) Descriptor() ([]byte, []int)deprecated
- func (x *Feed) GetAuthors() []*FeedPerson
- func (x *Feed) GetDescription() string
- func (x *Feed) GetId() *InternalID
- func (x *Feed) GetImage() *FeedImage
- func (x *Feed) GetItems() []*FeedItem
- func (x *Feed) GetLanguage() string
- func (x *Feed) GetLink() string
- func (x *Feed) GetTitle() string
- func (*Feed) ProtoMessage()
- func (x *Feed) ProtoReflect() protoreflect.Message
- func (x *Feed) Reset()
- func (x *Feed) String() string
- type FeedEnclosure
- func (*FeedEnclosure) Descriptor() ([]byte, []int)deprecated
- func (x *FeedEnclosure) GetLength() string
- func (x *FeedEnclosure) GetType() string
- func (x *FeedEnclosure) GetUrl() string
- func (*FeedEnclosure) ProtoMessage()
- func (x *FeedEnclosure) ProtoReflect() protoreflect.Message
- func (x *FeedEnclosure) Reset()
- func (x *FeedEnclosure) String() string
- type FeedImage
- type FeedItem
- func (*FeedItem) Descriptor() ([]byte, []int)deprecated
- func (x *FeedItem) GetAuthors() []*FeedPerson
- func (x *FeedItem) GetContent() string
- func (x *FeedItem) GetDescription() string
- func (x *FeedItem) GetEnclosures() []*FeedEnclosure
- func (x *FeedItem) GetGuid() string
- func (x *FeedItem) GetId() *InternalID
- func (x *FeedItem) GetImage() *FeedImage
- func (x *FeedItem) GetLink() string
- func (x *FeedItem) GetPublishPlatform() string
- func (x *FeedItem) GetPublished() string
- func (x *FeedItem) GetPublishedParsed() *timestamppb.Timestamp
- func (x *FeedItem) GetReadCount() int64
- func (x *FeedItem) GetTitle() string
- func (x *FeedItem) GetUpdated() string
- func (x *FeedItem) GetUpdatedParsed() *timestamppb.Timestamp
- func (*FeedItem) ProtoMessage()
- func (x *FeedItem) ProtoReflect() protoreflect.Message
- func (x *FeedItem) Reset()
- func (x *FeedItem) String() string
- type FeedPerson
- type InternalID
- type PagingRequest
- func (*PagingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PagingRequest) GetPageNum() int64
- func (x *PagingRequest) GetPageSize() int64
- func (*PagingRequest) ProtoMessage()
- func (x *PagingRequest) ProtoReflect() protoreflect.Message
- func (x *PagingRequest) Reset()
- func (x *PagingRequest) String() string
- type PagingResponse
- type TimeAggregation
- func (*TimeAggregation) Descriptor() ([]byte, []int)deprecated
- func (x *TimeAggregation) GetAggregationType() TimeAggregation_AggregationType
- func (x *TimeAggregation) GetTimeRange() *TimeRange
- func (*TimeAggregation) ProtoMessage()
- func (x *TimeAggregation) ProtoReflect() protoreflect.Message
- func (x *TimeAggregation) Reset()
- func (x *TimeAggregation) String() string
- type TimeAggregation_AggregationType
- func (TimeAggregation_AggregationType) Descriptor() protoreflect.EnumDescriptor
- func (x TimeAggregation_AggregationType) Enum() *TimeAggregation_AggregationType
- func (TimeAggregation_AggregationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimeAggregation_AggregationType) Number() protoreflect.EnumNumber
- func (x TimeAggregation_AggregationType) String() string
- func (TimeAggregation_AggregationType) Type() protoreflect.EnumType
- type TimeRange
- func (*TimeRange) Descriptor() ([]byte, []int)deprecated
- func (x *TimeRange) GetDuration() *durationpb.Duration
- func (x *TimeRange) GetStartTime() *timestamppb.Timestamp
- func (*TimeRange) ProtoMessage()
- func (x *TimeRange) ProtoReflect() protoreflect.Message
- func (x *TimeRange) Reset()
- func (x *TimeRange) String() string
- type WellKnownAccountPlatform
- func (WellKnownAccountPlatform) Descriptor() protoreflect.EnumDescriptor
- func (x WellKnownAccountPlatform) Enum() *WellKnownAccountPlatform
- func (WellKnownAccountPlatform) EnumDescriptor() ([]byte, []int)deprecated
- func (x WellKnownAccountPlatform) Number() protoreflect.EnumNumber
- func (x WellKnownAccountPlatform) String() string
- func (WellKnownAccountPlatform) Type() protoreflect.EnumType
- type WellKnownAppInfoSource
- func (WellKnownAppInfoSource) Descriptor() protoreflect.EnumDescriptor
- func (x WellKnownAppInfoSource) Enum() *WellKnownAppInfoSource
- func (WellKnownAppInfoSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x WellKnownAppInfoSource) Number() protoreflect.EnumNumber
- func (x WellKnownAppInfoSource) String() string
- func (WellKnownAppInfoSource) Type() protoreflect.EnumType
- type WellKnownFeedItemAction
- func (WellKnownFeedItemAction) Descriptor() protoreflect.EnumDescriptor
- func (x WellKnownFeedItemAction) Enum() *WellKnownFeedItemAction
- func (WellKnownFeedItemAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x WellKnownFeedItemAction) Number() protoreflect.EnumNumber
- func (x WellKnownFeedItemAction) String() string
- func (WellKnownFeedItemAction) Type() protoreflect.EnumType
- type WellKnownFeedSource
- func (WellKnownFeedSource) Descriptor() protoreflect.EnumDescriptor
- func (x WellKnownFeedSource) Enum() *WellKnownFeedSource
- func (WellKnownFeedSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x WellKnownFeedSource) Number() protoreflect.EnumNumber
- func (x WellKnownFeedSource) String() string
- func (WellKnownFeedSource) Type() protoreflect.EnumType
- type WellKnownNotifyDestination
- func (WellKnownNotifyDestination) Descriptor() protoreflect.EnumDescriptor
- func (x WellKnownNotifyDestination) Enum() *WellKnownNotifyDestination
- func (WellKnownNotifyDestination) EnumDescriptor() ([]byte, []int)deprecated
- func (x WellKnownNotifyDestination) Number() protoreflect.EnumNumber
- func (x WellKnownNotifyDestination) String() string
- func (WellKnownNotifyDestination) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( AccountAppRelationType_name = map[int32]string{ 0: "ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED", 1: "ACCOUNT_APP_RELATION_TYPE_OWN", } AccountAppRelationType_value = map[string]int32{ "ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED": 0, "ACCOUNT_APP_RELATION_TYPE_OWN": 1, } )
Enum value maps for AccountAppRelationType.
var ( AppType_name = map[int32]string{ 0: "APP_TYPE_UNSPECIFIED", 1: "APP_TYPE_GAME", } AppType_value = map[string]int32{ "APP_TYPE_UNSPECIFIED": 0, "APP_TYPE_GAME": 1, } )
Enum value maps for AppType.
var ( TimeAggregation_AggregationType_name = map[int32]string{ 0: "AGGREGATION_TYPE_UNSPECIFIED", 1: "AGGREGATION_TYPE_OVERALL", 2: "AGGREGATION_TYPE_YEAR", 3: "AGGREGATION_TYPE_MONTH", 4: "AGGREGATION_TYPE_DAY", } TimeAggregation_AggregationType_value = map[string]int32{ "AGGREGATION_TYPE_UNSPECIFIED": 0, "AGGREGATION_TYPE_OVERALL": 1, "AGGREGATION_TYPE_YEAR": 2, "AGGREGATION_TYPE_MONTH": 3, "AGGREGATION_TYPE_DAY": 4, } )
Enum value maps for TimeAggregation_AggregationType.
var ( WellKnownAccountPlatform_name = map[int32]string{ 0: "WELL_KNOWN_ACCOUNT_PLATFORM_UNSPECIFIED", 1: "WELL_KNOWN_ACCOUNT_PLATFORM_STEAM", } WellKnownAccountPlatform_value = map[string]int32{ "WELL_KNOWN_ACCOUNT_PLATFORM_UNSPECIFIED": 0, "WELL_KNOWN_ACCOUNT_PLATFORM_STEAM": 1, } )
Enum value maps for WellKnownAccountPlatform.
var ( WellKnownAppInfoSource_name = map[int32]string{ 0: "WELL_KNOWN_APP_INFO_SOURCE_UNSPECIFIED", 2: "WELL_KNOWN_APP_INFO_SOURCE_STEAM", 3: "WELL_KNOWN_APP_INFO_SOURCE_VNDB", 4: "WELL_KNOWN_APP_INFO_SOURCE_BANGUMI", } WellKnownAppInfoSource_value = map[string]int32{ "WELL_KNOWN_APP_INFO_SOURCE_UNSPECIFIED": 0, "WELL_KNOWN_APP_INFO_SOURCE_STEAM": 2, "WELL_KNOWN_APP_INFO_SOURCE_VNDB": 3, "WELL_KNOWN_APP_INFO_SOURCE_BANGUMI": 4, } )
Enum value maps for WellKnownAppInfoSource.
var ( WellKnownFeedSource_name = map[int32]string{ 0: "WELL_KNOWN_FEED_SOURCE_UNSPECIFIED", 1: "WELL_KNOWN_FEED_SOURCE_RSS", } WellKnownFeedSource_value = map[string]int32{ "WELL_KNOWN_FEED_SOURCE_UNSPECIFIED": 0, "WELL_KNOWN_FEED_SOURCE_RSS": 1, } )
Enum value maps for WellKnownFeedSource.
var ( WellKnownNotifyDestination_name = map[int32]string{ 0: "WELL_KNOWN_NOTIFY_DESTINATION_UNSPECIFIED", 1: "WELL_KNOWN_NOTIFY_DESTINATION_TELEGRAM", } WellKnownNotifyDestination_value = map[string]int32{ "WELL_KNOWN_NOTIFY_DESTINATION_UNSPECIFIED": 0, "WELL_KNOWN_NOTIFY_DESTINATION_TELEGRAM": 1, } )
Enum value maps for WellKnownNotifyDestination.
var ( WellKnownFeedItemAction_name = map[int32]string{ 0: "WELL_KNOWN_FEED_ITEM_ACTION_UNSPECIFIED", 1: "WELL_KNOWN_FEED_ITEM_ACTION_BUILTIN_FILTER", 2: "WELL_KNOWN_FEED_ITEM_ACTION_BUILTIN_DESCRIPTION_SHORTER", } WellKnownFeedItemAction_value = map[string]int32{ "WELL_KNOWN_FEED_ITEM_ACTION_UNSPECIFIED": 0, "WELL_KNOWN_FEED_ITEM_ACTION_BUILTIN_FILTER": 1, "WELL_KNOWN_FEED_ITEM_ACTION_BUILTIN_DESCRIPTION_SHORTER": 2, } )
Enum value maps for WellKnownFeedItemAction.
var (
// optional string to_string = 1000;
E_ToString = &file_librarian_v1_wellknown_proto_extTypes[0]
)
Extension fields to descriptorpb.EnumValueOptions.
var File_librarian_v1_common_proto protoreflect.FileDescriptor
var File_librarian_v1_wellknown_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Id *InternalID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // WellKnownPlatform Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` PlatformAccountId string `protobuf:"bytes,3,opt,name=platform_account_id,json=platformAccountId,proto3" json:"platform_account_id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` ProfileUrl string `protobuf:"bytes,5,opt,name=profile_url,json=profileUrl,proto3" json:"profile_url,omitempty"` AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` LatestUpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=latest_update_time,json=latestUpdateTime,proto3" json:"latest_update_time,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetAvatarUrl ¶
func (*Account) GetId ¶
func (x *Account) GetId() *InternalID
func (*Account) GetLatestUpdateTime ¶ added in v0.2.32
func (x *Account) GetLatestUpdateTime() *timestamppb.Timestamp
func (*Account) GetPlatform ¶
func (*Account) GetPlatformAccountId ¶
func (*Account) GetProfileUrl ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountAppRelationType ¶ added in v0.3.0
type AccountAppRelationType int32
const ( AccountAppRelationType_ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED AccountAppRelationType = 0 AccountAppRelationType_ACCOUNT_APP_RELATION_TYPE_OWN AccountAppRelationType = 1 )
func (AccountAppRelationType) Descriptor ¶ added in v0.3.0
func (AccountAppRelationType) Descriptor() protoreflect.EnumDescriptor
func (AccountAppRelationType) Enum ¶ added in v0.3.0
func (x AccountAppRelationType) Enum() *AccountAppRelationType
func (AccountAppRelationType) EnumDescriptor
deprecated
added in
v0.3.0
func (AccountAppRelationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountAppRelationType.Descriptor instead.
func (AccountAppRelationType) Number ¶ added in v0.3.0
func (x AccountAppRelationType) Number() protoreflect.EnumNumber
func (AccountAppRelationType) String ¶ added in v0.3.0
func (x AccountAppRelationType) String() string
func (AccountAppRelationType) Type ¶ added in v0.3.0
func (AccountAppRelationType) Type() protoreflect.EnumType
type AccountID ¶
type AccountID struct { // WellKnownAccountPlatform Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` PlatformAccountId string `protobuf:"bytes,2,opt,name=platform_account_id,json=platformAccountId,proto3" json:"platform_account_id,omitempty"` // contains filtered or unexported fields }
func (*AccountID) Descriptor
deprecated
func (*AccountID) GetPlatform ¶
func (*AccountID) GetPlatformAccountId ¶
func (*AccountID) ProtoMessage ¶
func (*AccountID) ProtoMessage()
func (*AccountID) ProtoReflect ¶
func (x *AccountID) ProtoReflect() protoreflect.Message
type AppInfo ¶ added in v0.4.0
type AppInfo struct { Id *InternalID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ignore `source` and `source_app_id` when `internal` is true Internal bool `protobuf:"varint,2,opt,name=internal,proto3" json:"internal,omitempty"` // WellKnownAppInfoSource Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` SourceAppId string `protobuf:"bytes,4,opt,name=source_app_id,json=sourceAppId,proto3" json:"source_app_id,omitempty"` SourceUrl *string `protobuf:"bytes,5,opt,name=source_url,json=sourceUrl,proto3,oneof" json:"source_url,omitempty"` Details *AppInfoDetails `protobuf:"bytes,6,opt,name=details,proto3,oneof" json:"details,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` Type AppType `protobuf:"varint,8,opt,name=type,proto3,enum=librarian.v1.AppType" json:"type,omitempty"` ShortDescription string `protobuf:"bytes,9,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` IconImageUrl string `protobuf:"bytes,10,opt,name=icon_image_url,json=iconImageUrl,proto3" json:"icon_image_url,omitempty"` // must be horizontal, usually 16:9 BackgroundImageUrl string `protobuf:"bytes,11,opt,name=background_image_url,json=backgroundImageUrl,proto3" json:"background_image_url,omitempty"` // must be vertical, usually 3:4 CoverImageUrl string `protobuf:"bytes,12,opt,name=cover_image_url,json=coverImageUrl,proto3" json:"cover_image_url,omitempty"` Tags []string `protobuf:"bytes,13,rep,name=tags,proto3" json:"tags,omitempty"` AltNames []string `protobuf:"bytes,14,rep,name=alt_names,json=altNames,proto3" json:"alt_names,omitempty"` // contains filtered or unexported fields }
func (*AppInfo) Descriptor
deprecated
added in
v0.4.0
func (*AppInfo) GetAltNames ¶ added in v0.4.0
func (*AppInfo) GetBackgroundImageUrl ¶ added in v0.4.0
func (*AppInfo) GetCoverImageUrl ¶ added in v0.4.0
func (*AppInfo) GetDetails ¶ added in v0.4.0
func (x *AppInfo) GetDetails() *AppInfoDetails
func (*AppInfo) GetIconImageUrl ¶ added in v0.4.0
func (*AppInfo) GetId ¶ added in v0.4.0
func (x *AppInfo) GetId() *InternalID
func (*AppInfo) GetInternal ¶ added in v0.4.0
func (*AppInfo) GetShortDescription ¶ added in v0.4.0
func (*AppInfo) GetSourceAppId ¶ added in v0.4.0
func (*AppInfo) GetSourceUrl ¶ added in v0.4.0
func (*AppInfo) ProtoMessage ¶ added in v0.4.0
func (*AppInfo) ProtoMessage()
func (*AppInfo) ProtoReflect ¶ added in v0.4.0
func (x *AppInfo) ProtoReflect() protoreflect.Message
type AppInfoDetails ¶ added in v0.4.0
type AppInfoDetails struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` ReleaseDate string `protobuf:"bytes,2,opt,name=release_date,json=releaseDate,proto3" json:"release_date,omitempty"` Developer string `protobuf:"bytes,3,opt,name=developer,proto3" json:"developer,omitempty"` Publisher string `protobuf:"bytes,4,opt,name=publisher,proto3" json:"publisher,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` ImageUrls []string `protobuf:"bytes,6,rep,name=image_urls,json=imageUrls,proto3" json:"image_urls,omitempty"` // contains filtered or unexported fields }
func (*AppInfoDetails) Descriptor
deprecated
added in
v0.4.0
func (*AppInfoDetails) Descriptor() ([]byte, []int)
Deprecated: Use AppInfoDetails.ProtoReflect.Descriptor instead.
func (*AppInfoDetails) GetDescription ¶ added in v0.4.0
func (x *AppInfoDetails) GetDescription() string
func (*AppInfoDetails) GetDeveloper ¶ added in v0.4.0
func (x *AppInfoDetails) GetDeveloper() string
func (*AppInfoDetails) GetImageUrls ¶ added in v0.4.0
func (x *AppInfoDetails) GetImageUrls() []string
func (*AppInfoDetails) GetPublisher ¶ added in v0.4.0
func (x *AppInfoDetails) GetPublisher() string
func (*AppInfoDetails) GetReleaseDate ¶ added in v0.4.0
func (x *AppInfoDetails) GetReleaseDate() string
func (*AppInfoDetails) GetVersion ¶ added in v0.4.0
func (x *AppInfoDetails) GetVersion() string
func (*AppInfoDetails) ProtoMessage ¶ added in v0.4.0
func (*AppInfoDetails) ProtoMessage()
func (*AppInfoDetails) ProtoReflect ¶ added in v0.4.0
func (x *AppInfoDetails) ProtoReflect() protoreflect.Message
func (*AppInfoDetails) Reset ¶ added in v0.4.0
func (x *AppInfoDetails) Reset()
func (*AppInfoDetails) String ¶ added in v0.4.0
func (x *AppInfoDetails) String() string
type AppInfoID ¶ added in v0.4.0
type AppInfoID struct { Internal bool `protobuf:"varint,1,opt,name=internal,proto3" json:"internal,omitempty"` // WellKnownAppInfoSource Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` SourceAppId string `protobuf:"bytes,3,opt,name=source_app_id,json=sourceAppId,proto3" json:"source_app_id,omitempty"` // contains filtered or unexported fields }
func (*AppInfoID) Descriptor
deprecated
added in
v0.4.0
func (*AppInfoID) GetInternal ¶ added in v0.4.0
func (*AppInfoID) GetSourceAppId ¶ added in v0.4.0
func (*AppInfoID) ProtoMessage ¶ added in v0.4.0
func (*AppInfoID) ProtoMessage()
func (*AppInfoID) ProtoReflect ¶ added in v0.4.0
func (x *AppInfoID) ProtoReflect() protoreflect.Message
type AppInfoMixed ¶ added in v0.4.0
type AppInfoMixed struct { // internal app id Id *InternalID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Details *AppInfoDetails `protobuf:"bytes,6,opt,name=details,proto3,oneof" json:"details,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` Type AppType `protobuf:"varint,8,opt,name=type,proto3,enum=librarian.v1.AppType" json:"type,omitempty"` ShortDescription string `protobuf:"bytes,9,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` IconImageUrl string `protobuf:"bytes,10,opt,name=icon_image_url,json=iconImageUrl,proto3" json:"icon_image_url,omitempty"` // must be horizontal, usually 16:9 BackgroundImageUrl string `protobuf:"bytes,11,opt,name=background_image_url,json=backgroundImageUrl,proto3" json:"background_image_url,omitempty"` // must be vertical, usually 3:4 CoverImageUrl string `protobuf:"bytes,12,opt,name=cover_image_url,json=coverImageUrl,proto3" json:"cover_image_url,omitempty"` Tags []string `protobuf:"bytes,13,rep,name=tags,proto3" json:"tags,omitempty"` AltNames []string `protobuf:"bytes,14,rep,name=alt_names,json=altNames,proto3" json:"alt_names,omitempty"` // contains filtered or unexported fields }
Mixed info of bound apps
func (*AppInfoMixed) Descriptor
deprecated
added in
v0.4.0
func (*AppInfoMixed) Descriptor() ([]byte, []int)
Deprecated: Use AppInfoMixed.ProtoReflect.Descriptor instead.
func (*AppInfoMixed) GetAltNames ¶ added in v0.4.0
func (x *AppInfoMixed) GetAltNames() []string
func (*AppInfoMixed) GetBackgroundImageUrl ¶ added in v0.4.0
func (x *AppInfoMixed) GetBackgroundImageUrl() string
func (*AppInfoMixed) GetCoverImageUrl ¶ added in v0.4.0
func (x *AppInfoMixed) GetCoverImageUrl() string
func (*AppInfoMixed) GetDetails ¶ added in v0.4.0
func (x *AppInfoMixed) GetDetails() *AppInfoDetails
func (*AppInfoMixed) GetIconImageUrl ¶ added in v0.4.0
func (x *AppInfoMixed) GetIconImageUrl() string
func (*AppInfoMixed) GetId ¶ added in v0.4.0
func (x *AppInfoMixed) GetId() *InternalID
func (*AppInfoMixed) GetName ¶ added in v0.4.0
func (x *AppInfoMixed) GetName() string
func (*AppInfoMixed) GetShortDescription ¶ added in v0.4.0
func (x *AppInfoMixed) GetShortDescription() string
func (*AppInfoMixed) GetTags ¶ added in v0.4.0
func (x *AppInfoMixed) GetTags() []string
func (*AppInfoMixed) GetType ¶ added in v0.4.0
func (x *AppInfoMixed) GetType() AppType
func (*AppInfoMixed) ProtoMessage ¶ added in v0.4.0
func (*AppInfoMixed) ProtoMessage()
func (*AppInfoMixed) ProtoReflect ¶ added in v0.4.0
func (x *AppInfoMixed) ProtoReflect() protoreflect.Message
func (*AppInfoMixed) Reset ¶ added in v0.4.0
func (x *AppInfoMixed) Reset()
func (*AppInfoMixed) String ¶ added in v0.4.0
func (x *AppInfoMixed) String() string
type AppType ¶
type AppType int32
func (AppType) Descriptor ¶
func (AppType) Descriptor() protoreflect.EnumDescriptor
func (AppType) EnumDescriptor
deprecated
func (AppType) Number ¶
func (x AppType) Number() protoreflect.EnumNumber
func (AppType) Type ¶
func (AppType) Type() protoreflect.EnumType
type FeatureFlag ¶ added in v0.4.13
type FeatureFlag struct { // Global identifier to each feature. // It is recommended to use ASCII characters only. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Region is used to group feature providers, // same feature provider in same region can be randomly called. // Leave empty to use default region. Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // Human-readable name Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Human-readable description Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Customized JSON schema for feature ConfigJsonSchema string `protobuf:"bytes,5,opt,name=config_json_schema,json=configJsonSchema,proto3" json:"config_json_schema,omitempty"` // contains filtered or unexported fields }
FeatureFlag is used to identify features. It will also be sent to clients for UI display.
func (*FeatureFlag) Descriptor
deprecated
added in
v0.4.13
func (*FeatureFlag) Descriptor() ([]byte, []int)
Deprecated: Use FeatureFlag.ProtoReflect.Descriptor instead.
func (*FeatureFlag) GetConfigJsonSchema ¶ added in v0.4.13
func (x *FeatureFlag) GetConfigJsonSchema() string
func (*FeatureFlag) GetDescription ¶ added in v0.4.13
func (x *FeatureFlag) GetDescription() string
func (*FeatureFlag) GetId ¶ added in v0.4.13
func (x *FeatureFlag) GetId() string
func (*FeatureFlag) GetName ¶ added in v0.4.13
func (x *FeatureFlag) GetName() string
func (*FeatureFlag) GetRegion ¶ added in v0.4.13
func (x *FeatureFlag) GetRegion() string
func (*FeatureFlag) ProtoMessage ¶ added in v0.4.13
func (*FeatureFlag) ProtoMessage()
func (*FeatureFlag) ProtoReflect ¶ added in v0.4.13
func (x *FeatureFlag) ProtoReflect() protoreflect.Message
func (*FeatureFlag) Reset ¶ added in v0.4.13
func (x *FeatureFlag) Reset()
func (*FeatureFlag) String ¶ added in v0.4.13
func (x *FeatureFlag) String() string
type FeatureRequest ¶ added in v0.4.13
type FeatureRequest struct { // See `FeatureFlag.id` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // See `FeatureFlag.region` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // Configuration JSON, must be validated by schema ConfigJson string `protobuf:"bytes,3,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"` // contains filtered or unexported fields }
FeatureRequest is used to deliver feature-related request parameters.
func (*FeatureRequest) Descriptor
deprecated
added in
v0.4.13
func (*FeatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeatureRequest.ProtoReflect.Descriptor instead.
func (*FeatureRequest) GetConfigJson ¶ added in v0.4.13
func (x *FeatureRequest) GetConfigJson() string
func (*FeatureRequest) GetId ¶ added in v0.4.13
func (x *FeatureRequest) GetId() string
func (*FeatureRequest) GetRegion ¶ added in v0.4.13
func (x *FeatureRequest) GetRegion() string
func (*FeatureRequest) ProtoMessage ¶ added in v0.4.13
func (*FeatureRequest) ProtoMessage()
func (*FeatureRequest) ProtoReflect ¶ added in v0.4.13
func (x *FeatureRequest) ProtoReflect() protoreflect.Message
func (*FeatureRequest) Reset ¶ added in v0.4.13
func (x *FeatureRequest) Reset()
func (*FeatureRequest) String ¶ added in v0.4.13
func (x *FeatureRequest) String() string
type Feed ¶
type Feed struct { Id *InternalID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // `standard field` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // `standard field` Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` // `standard field` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // `standard field` Items []*FeedItem `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"` // `standard field` Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` // `standard field` Image *FeedImage `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"` // `standard field` Authors []*FeedPerson `protobuf:"bytes,8,rep,name=authors,proto3" json:"authors,omitempty"` // contains filtered or unexported fields }
func (*Feed) Descriptor
deprecated
func (*Feed) GetAuthors ¶ added in v0.2.4
func (x *Feed) GetAuthors() []*FeedPerson
func (*Feed) GetDescription ¶
func (*Feed) GetId ¶ added in v0.2.5
func (x *Feed) GetId() *InternalID
func (*Feed) GetLanguage ¶
func (*Feed) ProtoMessage ¶
func (*Feed) ProtoMessage()
func (*Feed) ProtoReflect ¶
func (x *Feed) ProtoReflect() protoreflect.Message
type FeedEnclosure ¶
type FeedEnclosure struct { // `standard field` Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // `standard field` Length string `protobuf:"bytes,2,opt,name=length,proto3" json:"length,omitempty"` // `standard field` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
Enclosure is a file associated with a given Item.
func (*FeedEnclosure) Descriptor
deprecated
func (*FeedEnclosure) Descriptor() ([]byte, []int)
Deprecated: Use FeedEnclosure.ProtoReflect.Descriptor instead.
func (*FeedEnclosure) GetLength ¶
func (x *FeedEnclosure) GetLength() string
func (*FeedEnclosure) GetType ¶
func (x *FeedEnclosure) GetType() string
func (*FeedEnclosure) GetUrl ¶
func (x *FeedEnclosure) GetUrl() string
func (*FeedEnclosure) ProtoMessage ¶
func (*FeedEnclosure) ProtoMessage()
func (*FeedEnclosure) ProtoReflect ¶
func (x *FeedEnclosure) ProtoReflect() protoreflect.Message
func (*FeedEnclosure) Reset ¶
func (x *FeedEnclosure) Reset()
func (*FeedEnclosure) String ¶
func (x *FeedEnclosure) String() string
type FeedImage ¶ added in v0.2.4
type FeedImage struct { // `standard field` Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // `standard field` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
Image is an image that is the artwork for a given feed or item.
func (*FeedImage) Descriptor
deprecated
added in
v0.2.4
func (*FeedImage) ProtoMessage ¶ added in v0.2.4
func (*FeedImage) ProtoMessage()
func (*FeedImage) ProtoReflect ¶ added in v0.2.4
func (x *FeedImage) ProtoReflect() protoreflect.Message
type FeedItem ¶
type FeedItem struct { Id *InternalID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // `standard field` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // `standard field` Authors []*FeedPerson `protobuf:"bytes,3,rep,name=authors,proto3" json:"authors,omitempty"` // `standard field` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // `standard field` Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` // `standard field` Guid string `protobuf:"bytes,6,opt,name=guid,proto3" json:"guid,omitempty"` // `standard field`. e.g. https://github.com/TuiHub/Librarian/releases.atom Link string `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"` // `standard field` Image *FeedImage `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"` // `standard field` Published string `protobuf:"bytes,9,opt,name=published,proto3" json:"published,omitempty"` // must valid when send to client. // if server failed to generate, fallback to server time. PublishedParsed *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=published_parsed,json=publishedParsed,proto3,oneof" json:"published_parsed,omitempty"` // `standard field` Updated string `protobuf:"bytes,11,opt,name=updated,proto3" json:"updated,omitempty"` UpdatedParsed *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_parsed,json=updatedParsed,proto3,oneof" json:"updated_parsed,omitempty"` // `standard field` Enclosures []*FeedEnclosure `protobuf:"bytes,13,rep,name=enclosures,proto3" json:"enclosures,omitempty"` // hostname of `link`. e.g. github.com PublishPlatform string `protobuf:"bytes,14,opt,name=publish_platform,json=publishPlatform,proto3" json:"publish_platform,omitempty"` // recorded read times ReadCount int64 `protobuf:"varint,15,opt,name=read_count,json=readCount,proto3" json:"read_count,omitempty"` // contains filtered or unexported fields }
func (*FeedItem) Descriptor
deprecated
func (*FeedItem) GetAuthors ¶ added in v0.2.4
func (x *FeedItem) GetAuthors() []*FeedPerson
func (*FeedItem) GetContent ¶
func (*FeedItem) GetDescription ¶
func (*FeedItem) GetEnclosures ¶ added in v0.2.7
func (x *FeedItem) GetEnclosures() []*FeedEnclosure
func (*FeedItem) GetId ¶ added in v0.2.5
func (x *FeedItem) GetId() *InternalID
func (*FeedItem) GetPublishPlatform ¶ added in v0.2.9
func (*FeedItem) GetPublished ¶ added in v0.2.4
func (*FeedItem) GetPublishedParsed ¶ added in v0.2.4
func (x *FeedItem) GetPublishedParsed() *timestamppb.Timestamp
func (*FeedItem) GetReadCount ¶ added in v0.2.46
func (*FeedItem) GetUpdated ¶ added in v0.2.4
func (*FeedItem) GetUpdatedParsed ¶ added in v0.2.4
func (x *FeedItem) GetUpdatedParsed() *timestamppb.Timestamp
func (*FeedItem) ProtoMessage ¶
func (*FeedItem) ProtoMessage()
func (*FeedItem) ProtoReflect ¶
func (x *FeedItem) ProtoReflect() protoreflect.Message
type FeedPerson ¶ added in v0.2.4
type FeedPerson struct { // `standard field` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // `standard field` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
Person is an individual specified in a feed (e.g. an author)
func (*FeedPerson) Descriptor
deprecated
added in
v0.2.4
func (*FeedPerson) Descriptor() ([]byte, []int)
Deprecated: Use FeedPerson.ProtoReflect.Descriptor instead.
func (*FeedPerson) GetEmail ¶ added in v0.2.4
func (x *FeedPerson) GetEmail() string
func (*FeedPerson) GetName ¶ added in v0.2.4
func (x *FeedPerson) GetName() string
func (*FeedPerson) ProtoMessage ¶ added in v0.2.4
func (*FeedPerson) ProtoMessage()
func (*FeedPerson) ProtoReflect ¶ added in v0.2.4
func (x *FeedPerson) ProtoReflect() protoreflect.Message
func (*FeedPerson) Reset ¶ added in v0.2.4
func (x *FeedPerson) Reset()
func (*FeedPerson) String ¶ added in v0.2.4
func (x *FeedPerson) String() string
type InternalID ¶
type InternalID struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
A globally unique identifier generated by `Searcher`
func (*InternalID) Descriptor
deprecated
func (*InternalID) Descriptor() ([]byte, []int)
Deprecated: Use InternalID.ProtoReflect.Descriptor instead.
func (*InternalID) GetId ¶
func (x *InternalID) GetId() int64
func (*InternalID) ProtoMessage ¶
func (*InternalID) ProtoMessage()
func (*InternalID) ProtoReflect ¶
func (x *InternalID) ProtoReflect() protoreflect.Message
func (*InternalID) Reset ¶
func (x *InternalID) Reset()
func (*InternalID) String ¶
func (x *InternalID) String() string
type PagingRequest ¶
type PagingRequest struct { // start from 1, not 0 PageNum int64 `protobuf:"varint,1,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*PagingRequest) Descriptor
deprecated
func (*PagingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PagingRequest.ProtoReflect.Descriptor instead.
func (*PagingRequest) GetPageNum ¶
func (x *PagingRequest) GetPageNum() int64
func (*PagingRequest) GetPageSize ¶
func (x *PagingRequest) GetPageSize() int64
func (*PagingRequest) ProtoMessage ¶
func (*PagingRequest) ProtoMessage()
func (*PagingRequest) ProtoReflect ¶
func (x *PagingRequest) ProtoReflect() protoreflect.Message
func (*PagingRequest) Reset ¶
func (x *PagingRequest) Reset()
func (*PagingRequest) String ¶
func (x *PagingRequest) String() string
type PagingResponse ¶
type PagingResponse struct { TotalSize int64 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
func (*PagingResponse) Descriptor
deprecated
func (*PagingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PagingResponse.ProtoReflect.Descriptor instead.
func (*PagingResponse) GetTotalSize ¶ added in v0.2.9
func (x *PagingResponse) GetTotalSize() int64
func (*PagingResponse) ProtoMessage ¶
func (*PagingResponse) ProtoMessage()
func (*PagingResponse) ProtoReflect ¶
func (x *PagingResponse) ProtoReflect() protoreflect.Message
func (*PagingResponse) Reset ¶
func (x *PagingResponse) Reset()
func (*PagingResponse) String ¶
func (x *PagingResponse) String() string
type TimeAggregation ¶ added in v0.2.43
type TimeAggregation struct { AggregationType TimeAggregation_AggregationType `` /* 157-byte string literal not displayed */ // The `TimeRange` should be adjusted on the server side to align with the nearest boundary when aggregating. // e.g. the request TimeRange is 2023.2.13 9:26 ~ 2023.3.14 17:21. // For aggregating by year, rounded to 2023.1.1 00:00 ~ 2024.1.1 00:00. // For aggregating by month, rounded to 2023.2.1 00:00 ~ 2023.4.1 00:00. // For aggregating by day, rounded to 2023.2.13 00:00 ~ 2023.3.15 00:00. TimeRange *TimeRange `protobuf:"bytes,2,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` // contains filtered or unexported fields }
Should be used in request messages
func (*TimeAggregation) Descriptor
deprecated
added in
v0.2.43
func (*TimeAggregation) Descriptor() ([]byte, []int)
Deprecated: Use TimeAggregation.ProtoReflect.Descriptor instead.
func (*TimeAggregation) GetAggregationType ¶ added in v0.2.43
func (x *TimeAggregation) GetAggregationType() TimeAggregation_AggregationType
func (*TimeAggregation) GetTimeRange ¶ added in v0.2.43
func (x *TimeAggregation) GetTimeRange() *TimeRange
func (*TimeAggregation) ProtoMessage ¶ added in v0.2.43
func (*TimeAggregation) ProtoMessage()
func (*TimeAggregation) ProtoReflect ¶ added in v0.2.43
func (x *TimeAggregation) ProtoReflect() protoreflect.Message
func (*TimeAggregation) Reset ¶ added in v0.2.43
func (x *TimeAggregation) Reset()
func (*TimeAggregation) String ¶ added in v0.2.43
func (x *TimeAggregation) String() string
type TimeAggregation_AggregationType ¶ added in v0.2.43
type TimeAggregation_AggregationType int32
const ( TimeAggregation_AGGREGATION_TYPE_UNSPECIFIED TimeAggregation_AggregationType = 0 TimeAggregation_AGGREGATION_TYPE_OVERALL TimeAggregation_AggregationType = 1 TimeAggregation_AGGREGATION_TYPE_YEAR TimeAggregation_AggregationType = 2 TimeAggregation_AGGREGATION_TYPE_MONTH TimeAggregation_AggregationType = 3 TimeAggregation_AGGREGATION_TYPE_DAY TimeAggregation_AggregationType = 4 )
func (TimeAggregation_AggregationType) Descriptor ¶ added in v0.2.43
func (TimeAggregation_AggregationType) Descriptor() protoreflect.EnumDescriptor
func (TimeAggregation_AggregationType) Enum ¶ added in v0.2.43
func (x TimeAggregation_AggregationType) Enum() *TimeAggregation_AggregationType
func (TimeAggregation_AggregationType) EnumDescriptor
deprecated
added in
v0.2.43
func (TimeAggregation_AggregationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeAggregation_AggregationType.Descriptor instead.
func (TimeAggregation_AggregationType) Number ¶ added in v0.2.43
func (x TimeAggregation_AggregationType) Number() protoreflect.EnumNumber
func (TimeAggregation_AggregationType) String ¶ added in v0.2.43
func (x TimeAggregation_AggregationType) String() string
func (TimeAggregation_AggregationType) Type ¶ added in v0.2.43
func (TimeAggregation_AggregationType) Type() protoreflect.EnumType
type TimeRange ¶ added in v0.2.12
type TimeRange struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
half-open e.g.
{ start_time: "2023.01.01 00:00", duration: "1d" }
means the whole day of 2023.1.1; or [2023.01.01 00:00 , 2023.01.02 00:00)
func (*TimeRange) Descriptor
deprecated
added in
v0.2.12
func (*TimeRange) GetDuration ¶ added in v0.2.12
func (x *TimeRange) GetDuration() *durationpb.Duration
func (*TimeRange) GetStartTime ¶ added in v0.2.12
func (x *TimeRange) GetStartTime() *timestamppb.Timestamp
func (*TimeRange) ProtoMessage ¶ added in v0.2.12
func (*TimeRange) ProtoMessage()
func (*TimeRange) ProtoReflect ¶ added in v0.2.12
func (x *TimeRange) ProtoReflect() protoreflect.Message
type WellKnownAccountPlatform ¶ added in v0.3.0
type WellKnownAccountPlatform int32
const ( WellKnownAccountPlatform_WELL_KNOWN_ACCOUNT_PLATFORM_UNSPECIFIED WellKnownAccountPlatform = 0 WellKnownAccountPlatform_WELL_KNOWN_ACCOUNT_PLATFORM_STEAM WellKnownAccountPlatform = 1 )
func (WellKnownAccountPlatform) Descriptor ¶ added in v0.3.0
func (WellKnownAccountPlatform) Descriptor() protoreflect.EnumDescriptor
func (WellKnownAccountPlatform) Enum ¶ added in v0.3.0
func (x WellKnownAccountPlatform) Enum() *WellKnownAccountPlatform
func (WellKnownAccountPlatform) EnumDescriptor
deprecated
added in
v0.3.0
func (WellKnownAccountPlatform) EnumDescriptor() ([]byte, []int)
Deprecated: Use WellKnownAccountPlatform.Descriptor instead.
func (WellKnownAccountPlatform) Number ¶ added in v0.3.0
func (x WellKnownAccountPlatform) Number() protoreflect.EnumNumber
func (WellKnownAccountPlatform) String ¶ added in v0.3.0
func (x WellKnownAccountPlatform) String() string
func (WellKnownAccountPlatform) Type ¶ added in v0.3.0
func (WellKnownAccountPlatform) Type() protoreflect.EnumType
type WellKnownAppInfoSource ¶ added in v0.4.1
type WellKnownAppInfoSource int32
const ( WellKnownAppInfoSource_WELL_KNOWN_APP_INFO_SOURCE_UNSPECIFIED WellKnownAppInfoSource = 0 WellKnownAppInfoSource_WELL_KNOWN_APP_INFO_SOURCE_STEAM WellKnownAppInfoSource = 2 WellKnownAppInfoSource_WELL_KNOWN_APP_INFO_SOURCE_VNDB WellKnownAppInfoSource = 3 WellKnownAppInfoSource_WELL_KNOWN_APP_INFO_SOURCE_BANGUMI WellKnownAppInfoSource = 4 )
func (WellKnownAppInfoSource) Descriptor ¶ added in v0.4.1
func (WellKnownAppInfoSource) Descriptor() protoreflect.EnumDescriptor
func (WellKnownAppInfoSource) Enum ¶ added in v0.4.1
func (x WellKnownAppInfoSource) Enum() *WellKnownAppInfoSource
func (WellKnownAppInfoSource) EnumDescriptor
deprecated
added in
v0.4.1
func (WellKnownAppInfoSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use WellKnownAppInfoSource.Descriptor instead.
func (WellKnownAppInfoSource) Number ¶ added in v0.4.1
func (x WellKnownAppInfoSource) Number() protoreflect.EnumNumber
func (WellKnownAppInfoSource) String ¶ added in v0.4.1
func (x WellKnownAppInfoSource) String() string
func (WellKnownAppInfoSource) Type ¶ added in v0.4.1
func (WellKnownAppInfoSource) Type() protoreflect.EnumType
type WellKnownFeedItemAction ¶ added in v0.4.13
type WellKnownFeedItemAction int32
const ( WellKnownFeedItemAction_WELL_KNOWN_FEED_ITEM_ACTION_UNSPECIFIED WellKnownFeedItemAction = 0 WellKnownFeedItemAction_WELL_KNOWN_FEED_ITEM_ACTION_BUILTIN_FILTER WellKnownFeedItemAction = 1 WellKnownFeedItemAction_WELL_KNOWN_FEED_ITEM_ACTION_BUILTIN_DESCRIPTION_SHORTER WellKnownFeedItemAction = 2 )
func (WellKnownFeedItemAction) Descriptor ¶ added in v0.4.13
func (WellKnownFeedItemAction) Descriptor() protoreflect.EnumDescriptor
func (WellKnownFeedItemAction) Enum ¶ added in v0.4.13
func (x WellKnownFeedItemAction) Enum() *WellKnownFeedItemAction
func (WellKnownFeedItemAction) EnumDescriptor
deprecated
added in
v0.4.13
func (WellKnownFeedItemAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use WellKnownFeedItemAction.Descriptor instead.
func (WellKnownFeedItemAction) Number ¶ added in v0.4.13
func (x WellKnownFeedItemAction) Number() protoreflect.EnumNumber
func (WellKnownFeedItemAction) String ¶ added in v0.4.13
func (x WellKnownFeedItemAction) String() string
func (WellKnownFeedItemAction) Type ¶ added in v0.4.13
func (WellKnownFeedItemAction) Type() protoreflect.EnumType
type WellKnownFeedSource ¶ added in v0.3.0
type WellKnownFeedSource int32
const ( WellKnownFeedSource_WELL_KNOWN_FEED_SOURCE_UNSPECIFIED WellKnownFeedSource = 0 WellKnownFeedSource_WELL_KNOWN_FEED_SOURCE_RSS WellKnownFeedSource = 1 )
func (WellKnownFeedSource) Descriptor ¶ added in v0.3.0
func (WellKnownFeedSource) Descriptor() protoreflect.EnumDescriptor
func (WellKnownFeedSource) Enum ¶ added in v0.3.0
func (x WellKnownFeedSource) Enum() *WellKnownFeedSource
func (WellKnownFeedSource) EnumDescriptor
deprecated
added in
v0.3.0
func (WellKnownFeedSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use WellKnownFeedSource.Descriptor instead.
func (WellKnownFeedSource) Number ¶ added in v0.3.0
func (x WellKnownFeedSource) Number() protoreflect.EnumNumber
func (WellKnownFeedSource) String ¶ added in v0.3.0
func (x WellKnownFeedSource) String() string
func (WellKnownFeedSource) Type ¶ added in v0.3.0
func (WellKnownFeedSource) Type() protoreflect.EnumType
type WellKnownNotifyDestination ¶ added in v0.3.0
type WellKnownNotifyDestination int32
const ( WellKnownNotifyDestination_WELL_KNOWN_NOTIFY_DESTINATION_UNSPECIFIED WellKnownNotifyDestination = 0 WellKnownNotifyDestination_WELL_KNOWN_NOTIFY_DESTINATION_TELEGRAM WellKnownNotifyDestination = 1 )
func (WellKnownNotifyDestination) Descriptor ¶ added in v0.3.0
func (WellKnownNotifyDestination) Descriptor() protoreflect.EnumDescriptor
func (WellKnownNotifyDestination) Enum ¶ added in v0.3.0
func (x WellKnownNotifyDestination) Enum() *WellKnownNotifyDestination
func (WellKnownNotifyDestination) EnumDescriptor
deprecated
added in
v0.3.0
func (WellKnownNotifyDestination) EnumDescriptor() ([]byte, []int)
Deprecated: Use WellKnownNotifyDestination.Descriptor instead.
func (WellKnownNotifyDestination) Number ¶ added in v0.3.0
func (x WellKnownNotifyDestination) Number() protoreflect.EnumNumber
func (WellKnownNotifyDestination) String ¶ added in v0.3.0
func (x WellKnownNotifyDestination) String() string
func (WellKnownNotifyDestination) Type ¶ added in v0.3.0
func (WellKnownNotifyDestination) Type() protoreflect.EnumType