Documentation
¶
Index ¶
- Variables
- type FeatureFlag
- func (*FeatureFlag) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureFlag) GetConfigJsonSchema() string
- func (x *FeatureFlag) GetDescription() string
- func (x *FeatureFlag) GetExtra() map[string]string
- func (x *FeatureFlag) GetId() string
- func (x *FeatureFlag) GetName() string
- func (x *FeatureFlag) GetRequireContext() bool
- 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) GetContextId() *InternalID
- 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 FeatureSummary
- func (*FeatureSummary) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureSummary) GetAccountPlatforms() []*FeatureFlag
- func (x *FeatureSummary) GetAppInfoSources() []*FeatureFlag
- func (x *FeatureSummary) GetFeedGetters() []*FeatureFlag
- func (x *FeatureSummary) GetFeedItemActions() []*FeatureFlag
- func (x *FeatureSummary) GetFeedSetters() []*FeatureFlag
- func (x *FeatureSummary) GetFeedSources() []*FeatureFlag
- func (x *FeatureSummary) GetNotifyDestinations() []*FeatureFlag
- func (*FeatureSummary) ProtoMessage()
- func (x *FeatureSummary) ProtoReflect() protoreflect.Message
- func (x *FeatureSummary) Reset()
- func (x *FeatureSummary) 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 FileMetadata
- func (*FileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *FileMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *FileMetadata) GetId() *InternalID
- func (x *FileMetadata) GetName() string
- func (x *FileMetadata) GetSha256() []byte
- func (x *FileMetadata) GetSizeBytes() int64
- func (x *FileMetadata) GetType() FileType
- func (*FileMetadata) ProtoMessage()
- func (x *FileMetadata) ProtoReflect() protoreflect.Message
- func (x *FileMetadata) Reset()
- func (x *FileMetadata) String() string
- type FileType
- type I18NString
- 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 PorterBinarySummary
- func (*PorterBinarySummary) Descriptor() ([]byte, []int)deprecated
- func (x *PorterBinarySummary) GetBuildDate() string
- func (x *PorterBinarySummary) GetBuildVersion() string
- func (x *PorterBinarySummary) GetDescription() string
- func (x *PorterBinarySummary) GetName() string
- func (x *PorterBinarySummary) GetSourceCodeAddress() string
- func (x *PorterBinarySummary) GetVersion() string
- func (*PorterBinarySummary) ProtoMessage()
- func (x *PorterBinarySummary) ProtoReflect() protoreflect.Message
- func (x *PorterBinarySummary) Reset()
- func (x *PorterBinarySummary) String() string
- 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 ( FileType_name = map[int32]string{ 0: "FILE_TYPE_UNSPECIFIED", 1: "FILE_TYPE_GEBURA_SAVE", 2: "FILE_TYPE_CHESED_IMAGE", } FileType_value = map[string]int32{ "FILE_TYPE_UNSPECIFIED": 0, "FILE_TYPE_GEBURA_SAVE": 1, "FILE_TYPE_CHESED_IMAGE": 2, } )
Enum value maps for FileType.
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_KEYWORD_FILTER", 2: "WELL_KNOWN_FEED_ITEM_ACTION_DESCRIPTION_GENERATOR", } WellKnownFeedItemAction_value = map[string]int32{ "WELL_KNOWN_FEED_ITEM_ACTION_UNSPECIFIED": 0, "WELL_KNOWN_FEED_ITEM_ACTION_KEYWORD_FILTER": 1, "WELL_KNOWN_FEED_ITEM_ACTION_DESCRIPTION_GENERATOR": 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 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"` // Human-readable name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Human-readable description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Customized JSON schema for feature ConfigJsonSchema string `protobuf:"bytes,4,opt,name=config_json_schema,json=configJsonSchema,proto3" json:"config_json_schema,omitempty"` // Require context to use this feature RequireContext bool `protobuf:"varint,5,opt,name=require_context,json=requireContext,proto3" json:"require_context,omitempty"` // Extra information Extra map[string]string `` /* 137-byte string literal not displayed */ // 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) GetExtra ¶ added in v0.4.23
func (x *FeatureFlag) GetExtra() map[string]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) GetRequireContext ¶ added in v0.4.15
func (x *FeatureFlag) GetRequireContext() bool
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"` // Require if feature needs context ContextId *InternalID `protobuf:"bytes,4,opt,name=context_id,json=contextId,proto3,oneof" json:"context_id,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) GetContextId ¶ added in v0.4.15
func (x *FeatureRequest) GetContextId() *InternalID
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 FeatureSummary ¶ added in v0.4.22
type FeatureSummary struct { // WellKnownAccountPlatform AccountPlatforms []*FeatureFlag `protobuf:"bytes,1,rep,name=account_platforms,json=accountPlatforms,proto3" json:"account_platforms,omitempty"` // WellKnownAppInfoSource AppInfoSources []*FeatureFlag `protobuf:"bytes,2,rep,name=app_info_sources,json=appInfoSources,proto3" json:"app_info_sources,omitempty"` // WellKnownFeedSource FeedSources []*FeatureFlag `protobuf:"bytes,3,rep,name=feed_sources,json=feedSources,proto3" json:"feed_sources,omitempty"` // WellKnownNotifyDestination NotifyDestinations []*FeatureFlag `protobuf:"bytes,4,rep,name=notify_destinations,json=notifyDestinations,proto3" json:"notify_destinations,omitempty"` // WellKnownFeedItemAction FeedItemActions []*FeatureFlag `protobuf:"bytes,5,rep,name=feed_item_actions,json=feedItemActions,proto3" json:"feed_item_actions,omitempty"` FeedSetters []*FeatureFlag `protobuf:"bytes,6,rep,name=feed_setters,json=feedSetters,proto3" json:"feed_setters,omitempty"` FeedGetters []*FeatureFlag `protobuf:"bytes,7,rep,name=feed_getters,json=feedGetters,proto3" json:"feed_getters,omitempty"` // contains filtered or unexported fields }
func (*FeatureSummary) Descriptor
deprecated
added in
v0.4.22
func (*FeatureSummary) Descriptor() ([]byte, []int)
Deprecated: Use FeatureSummary.ProtoReflect.Descriptor instead.
func (*FeatureSummary) GetAccountPlatforms ¶ added in v0.4.22
func (x *FeatureSummary) GetAccountPlatforms() []*FeatureFlag
func (*FeatureSummary) GetAppInfoSources ¶ added in v0.4.22
func (x *FeatureSummary) GetAppInfoSources() []*FeatureFlag
func (*FeatureSummary) GetFeedGetters ¶ added in v0.4.22
func (x *FeatureSummary) GetFeedGetters() []*FeatureFlag
func (*FeatureSummary) GetFeedItemActions ¶ added in v0.4.22
func (x *FeatureSummary) GetFeedItemActions() []*FeatureFlag
func (*FeatureSummary) GetFeedSetters ¶ added in v0.4.22
func (x *FeatureSummary) GetFeedSetters() []*FeatureFlag
func (*FeatureSummary) GetFeedSources ¶ added in v0.4.22
func (x *FeatureSummary) GetFeedSources() []*FeatureFlag
func (*FeatureSummary) GetNotifyDestinations ¶ added in v0.4.22
func (x *FeatureSummary) GetNotifyDestinations() []*FeatureFlag
func (*FeatureSummary) ProtoMessage ¶ added in v0.4.22
func (*FeatureSummary) ProtoMessage()
func (*FeatureSummary) ProtoReflect ¶ added in v0.4.22
func (x *FeatureSummary) ProtoReflect() protoreflect.Message
func (*FeatureSummary) Reset ¶ added in v0.4.22
func (x *FeatureSummary) Reset()
func (*FeatureSummary) String ¶ added in v0.4.22
func (x *FeatureSummary) 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 FileMetadata ¶ added in v0.5.0
type FileMetadata struct { Id *InternalID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` Type FileType `protobuf:"varint,4,opt,name=type,proto3,enum=librarian.v1.FileType" json:"type,omitempty"` Sha256 []byte `protobuf:"bytes,5,opt,name=sha256,proto3" json:"sha256,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
func (*FileMetadata) Descriptor
deprecated
added in
v0.5.0
func (*FileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use FileMetadata.ProtoReflect.Descriptor instead.
func (*FileMetadata) GetCreateTime ¶ added in v0.5.0
func (x *FileMetadata) GetCreateTime() *timestamppb.Timestamp
func (*FileMetadata) GetId ¶ added in v0.5.0
func (x *FileMetadata) GetId() *InternalID
func (*FileMetadata) GetName ¶ added in v0.5.0
func (x *FileMetadata) GetName() string
func (*FileMetadata) GetSha256 ¶ added in v0.5.0
func (x *FileMetadata) GetSha256() []byte
func (*FileMetadata) GetSizeBytes ¶ added in v0.5.0
func (x *FileMetadata) GetSizeBytes() int64
func (*FileMetadata) GetType ¶ added in v0.5.0
func (x *FileMetadata) GetType() FileType
func (*FileMetadata) ProtoMessage ¶ added in v0.5.0
func (*FileMetadata) ProtoMessage()
func (*FileMetadata) ProtoReflect ¶ added in v0.5.0
func (x *FileMetadata) ProtoReflect() protoreflect.Message
func (*FileMetadata) Reset ¶ added in v0.5.0
func (x *FileMetadata) Reset()
func (*FileMetadata) String ¶ added in v0.5.0
func (x *FileMetadata) String() string
type FileType ¶ added in v0.5.0
type FileType int32
func (FileType) Descriptor ¶ added in v0.5.0
func (FileType) Descriptor() protoreflect.EnumDescriptor
func (FileType) EnumDescriptor
deprecated
added in
v0.5.0
func (FileType) Number ¶ added in v0.5.0
func (x FileType) Number() protoreflect.EnumNumber
func (FileType) Type ¶ added in v0.5.0
func (FileType) Type() protoreflect.EnumType
type I18NString ¶ added in v0.5.0
type I18NString struct { // The key of the string. MUST only contain a-zA-Z0-9_.- Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The default value of the string. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*I18NString) Descriptor
deprecated
added in
v0.5.0
func (*I18NString) Descriptor() ([]byte, []int)
Deprecated: Use I18NString.ProtoReflect.Descriptor instead.
func (*I18NString) GetKey ¶ added in v0.5.0
func (x *I18NString) GetKey() string
func (*I18NString) GetValue ¶ added in v0.5.0
func (x *I18NString) GetValue() string
func (*I18NString) ProtoMessage ¶ added in v0.5.0
func (*I18NString) ProtoMessage()
func (*I18NString) ProtoReflect ¶ added in v0.5.0
func (x *I18NString) ProtoReflect() protoreflect.Message
func (*I18NString) Reset ¶ added in v0.5.0
func (x *I18NString) Reset()
func (*I18NString) String ¶ added in v0.5.0
func (x *I18NString) 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
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 PorterBinarySummary ¶ added in v0.4.20
type PorterBinarySummary struct { // Server source code address. // *Should* be a valid http address. SourceCodeAddress string `protobuf:"bytes,1,opt,name=source_code_address,json=sourceCodeAddress,proto3" json:"source_code_address,omitempty"` // Binary build version. // The content *should* be a semantic version string similar to the one generated by `git describe`, // but rely on the actual implementation. BuildVersion string `protobuf:"bytes,2,opt,name=build_version,json=buildVersion,proto3" json:"build_version,omitempty"` // Binary build date. // The content *should* be a date format that is human-readable. BuildDate string `protobuf:"bytes,3,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"` // Human-readable name. plain text. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Human-readable version. plain text. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // Human-readable description. plain text or markdown. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*PorterBinarySummary) Descriptor
deprecated
added in
v0.4.20
func (*PorterBinarySummary) Descriptor() ([]byte, []int)
Deprecated: Use PorterBinarySummary.ProtoReflect.Descriptor instead.
func (*PorterBinarySummary) GetBuildDate ¶ added in v0.4.20
func (x *PorterBinarySummary) GetBuildDate() string
func (*PorterBinarySummary) GetBuildVersion ¶ added in v0.4.20
func (x *PorterBinarySummary) GetBuildVersion() string
func (*PorterBinarySummary) GetDescription ¶ added in v0.4.20
func (x *PorterBinarySummary) GetDescription() string
func (*PorterBinarySummary) GetName ¶ added in v0.4.20
func (x *PorterBinarySummary) GetName() string
func (*PorterBinarySummary) GetSourceCodeAddress ¶ added in v0.4.20
func (x *PorterBinarySummary) GetSourceCodeAddress() string
func (*PorterBinarySummary) GetVersion ¶ added in v0.4.20
func (x *PorterBinarySummary) GetVersion() string
func (*PorterBinarySummary) ProtoMessage ¶ added in v0.4.20
func (*PorterBinarySummary) ProtoMessage()
func (*PorterBinarySummary) ProtoReflect ¶ added in v0.4.20
func (x *PorterBinarySummary) ProtoReflect() protoreflect.Message
func (*PorterBinarySummary) Reset ¶ added in v0.4.20
func (x *PorterBinarySummary) Reset()
func (*PorterBinarySummary) String ¶ added in v0.4.20
func (x *PorterBinarySummary) String() string
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 // filter item by keywords WellKnownFeedItemAction_WELL_KNOWN_FEED_ITEM_ACTION_KEYWORD_FILTER WellKnownFeedItemAction = 1 // generate description form content WellKnownFeedItemAction_WELL_KNOWN_FEED_ITEM_ACTION_DESCRIPTION_GENERATOR 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