Documentation
¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAvatarUrl() string
- func (x *Account) GetId() *InternalID
- func (x *Account) GetName() string
- func (x *Account) GetPlatform() AccountPlatform
- 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 AccountID
- func (*AccountID) Descriptor() ([]byte, []int)deprecated
- func (x *AccountID) GetPlatform() AccountPlatform
- func (x *AccountID) GetPlatformAccountId() string
- func (*AccountID) ProtoMessage()
- func (x *AccountID) ProtoReflect() protoreflect.Message
- func (x *AccountID) Reset()
- func (x *AccountID) String() string
- type AccountPlatform
- func (AccountPlatform) Descriptor() protoreflect.EnumDescriptor
- func (x AccountPlatform) Enum() *AccountPlatform
- func (AccountPlatform) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountPlatform) Number() protoreflect.EnumNumber
- func (x AccountPlatform) String() string
- func (AccountPlatform) Type() protoreflect.EnumType
- type App
- func (*App) Descriptor() ([]byte, []int)deprecated
- func (x *App) GetDetails() *AppDetails
- func (x *App) GetId() *InternalID
- func (x *App) GetImageUrl() string
- func (x *App) GetName() string
- func (x *App) GetShortDescription() string
- func (x *App) GetSource() AppSource
- func (x *App) GetSourceAppId() string
- func (x *App) GetSourceUrl() string
- func (x *App) GetType() AppType
- func (*App) ProtoMessage()
- func (x *App) ProtoReflect() protoreflect.Message
- func (x *App) Reset()
- func (x *App) String() string
- type AppDetails
- func (*AppDetails) Descriptor() ([]byte, []int)deprecated
- func (x *AppDetails) GetDescription() string
- func (x *AppDetails) GetDeveloper() string
- func (x *AppDetails) GetPublisher() string
- func (x *AppDetails) GetReleaseDate() string
- func (x *AppDetails) GetVersion() string
- func (*AppDetails) ProtoMessage()
- func (x *AppDetails) ProtoReflect() protoreflect.Message
- func (x *AppDetails) Reset()
- func (x *AppDetails) String() string
- type AppID
- type AppPackage
- func (*AppPackage) Descriptor() ([]byte, []int)deprecated
- func (x *AppPackage) GetBinary() *AppPackageBinary
- func (x *AppPackage) GetDescription() string
- func (x *AppPackage) GetId() *InternalID
- func (x *AppPackage) GetName() string
- func (x *AppPackage) GetPublic() bool
- func (x *AppPackage) GetSource() AppPackageSource
- func (x *AppPackage) GetSourceId() *InternalID
- func (x *AppPackage) GetSourcePackageId() string
- func (*AppPackage) ProtoMessage()
- func (x *AppPackage) ProtoReflect() protoreflect.Message
- func (x *AppPackage) Reset()
- func (x *AppPackage) String() string
- type AppPackageBinary
- func (*AppPackageBinary) Descriptor() ([]byte, []int)deprecated
- func (x *AppPackageBinary) GetName() string
- func (x *AppPackageBinary) GetPublicUrl() string
- func (x *AppPackageBinary) GetSizeByte() int64
- func (*AppPackageBinary) ProtoMessage()
- func (x *AppPackageBinary) ProtoReflect() protoreflect.Message
- func (x *AppPackageBinary) Reset()
- func (x *AppPackageBinary) String() string
- type AppPackageSource
- func (AppPackageSource) Descriptor() protoreflect.EnumDescriptor
- func (x AppPackageSource) Enum() *AppPackageSource
- func (AppPackageSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppPackageSource) Number() protoreflect.EnumNumber
- func (x AppPackageSource) String() string
- func (AppPackageSource) Type() protoreflect.EnumType
- type AppSource
- type AppType
- 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) 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() int32
- func (x *PagingRequest) GetPageSize() int32
- func (*PagingRequest) ProtoMessage()
- func (x *PagingRequest) ProtoReflect() protoreflect.Message
- func (x *PagingRequest) Reset()
- func (x *PagingRequest) String() string
- type PagingResponse
- 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
Constants ¶
This section is empty.
Variables ¶
var ( AccountPlatform_name = map[int32]string{ 0: "ACCOUNT_PLATFORM_UNSPECIFIED", 1: "ACCOUNT_PLATFORM_STEAM", } AccountPlatform_value = map[string]int32{ "ACCOUNT_PLATFORM_UNSPECIFIED": 0, "ACCOUNT_PLATFORM_STEAM": 1, } )
Enum value maps for AccountPlatform.
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 ( AppSource_name = map[int32]string{ 0: "APP_SOURCE_UNSPECIFIED", 1: "APP_SOURCE_INTERNAL", 2: "APP_SOURCE_STEAM", } AppSource_value = map[string]int32{ "APP_SOURCE_UNSPECIFIED": 0, "APP_SOURCE_INTERNAL": 1, "APP_SOURCE_STEAM": 2, } )
Enum value maps for AppSource.
var ( AppPackageSource_name = map[int32]string{ 0: "APP_PACKAGE_SOURCE_UNSPECIFIED", 1: "APP_PACKAGE_SOURCE_MANUAL", 2: "APP_PACKAGE_SOURCE_SENTINEL", } AppPackageSource_value = map[string]int32{ "APP_PACKAGE_SOURCE_UNSPECIFIED": 0, "APP_PACKAGE_SOURCE_MANUAL": 1, "APP_PACKAGE_SOURCE_SENTINEL": 2, } )
Enum value maps for AppPackageSource.
var File_librarian_v1_common_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"` Platform AccountPlatform `protobuf:"varint,2,opt,name=platform,proto3,enum=librarian.v1.AccountPlatform" 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"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetAvatarUrl ¶
func (*Account) GetId ¶
func (x *Account) GetId() *InternalID
func (*Account) GetPlatform ¶
func (x *Account) GetPlatform() AccountPlatform
func (*Account) GetPlatformAccountId ¶
func (*Account) GetProfileUrl ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountID ¶
type AccountID struct { Platform AccountPlatform `protobuf:"varint,1,opt,name=platform,proto3,enum=librarian.v1.AccountPlatform" 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 (x *AccountID) GetPlatform() AccountPlatform
func (*AccountID) GetPlatformAccountId ¶
func (*AccountID) ProtoMessage ¶
func (*AccountID) ProtoMessage()
func (*AccountID) ProtoReflect ¶
func (x *AccountID) ProtoReflect() protoreflect.Message
type AccountPlatform ¶
type AccountPlatform int32
const ( AccountPlatform_ACCOUNT_PLATFORM_UNSPECIFIED AccountPlatform = 0 AccountPlatform_ACCOUNT_PLATFORM_STEAM AccountPlatform = 1 )
func (AccountPlatform) Descriptor ¶
func (AccountPlatform) Descriptor() protoreflect.EnumDescriptor
func (AccountPlatform) Enum ¶
func (x AccountPlatform) Enum() *AccountPlatform
func (AccountPlatform) EnumDescriptor
deprecated
func (AccountPlatform) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountPlatform.Descriptor instead.
func (AccountPlatform) Number ¶
func (x AccountPlatform) Number() protoreflect.EnumNumber
func (AccountPlatform) String ¶
func (x AccountPlatform) String() string
func (AccountPlatform) Type ¶
func (AccountPlatform) Type() protoreflect.EnumType
type App ¶
type App struct { Id *InternalID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Source AppSource `protobuf:"varint,2,opt,name=source,proto3,enum=librarian.v1.AppSource" json:"source,omitempty"` SourceAppId string `protobuf:"bytes,3,opt,name=source_app_id,json=sourceAppId,proto3" json:"source_app_id,omitempty"` SourceUrl *string `protobuf:"bytes,4,opt,name=source_url,json=sourceUrl,proto3,oneof" json:"source_url,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Type AppType `protobuf:"varint,7,opt,name=type,proto3,enum=librarian.v1.AppType" json:"type,omitempty"` ShortDescription string `protobuf:"bytes,8,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` ImageUrl string `protobuf:"bytes,9,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` Details *AppDetails `protobuf:"bytes,10,opt,name=details,proto3,oneof" json:"details,omitempty"` // contains filtered or unexported fields }
func (*App) Descriptor
deprecated
func (*App) GetDetails ¶
func (x *App) GetDetails() *AppDetails
func (*App) GetId ¶
func (x *App) GetId() *InternalID
func (*App) GetImageUrl ¶
func (*App) GetShortDescription ¶
func (*App) GetSourceAppId ¶
func (*App) GetSourceUrl ¶
func (*App) ProtoMessage ¶
func (*App) ProtoMessage()
func (*App) ProtoReflect ¶
func (x *App) ProtoReflect() protoreflect.Message
type AppDetails ¶
type AppDetails 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"` // contains filtered or unexported fields }
func (*AppDetails) Descriptor
deprecated
func (*AppDetails) Descriptor() ([]byte, []int)
Deprecated: Use AppDetails.ProtoReflect.Descriptor instead.
func (*AppDetails) GetDescription ¶
func (x *AppDetails) GetDescription() string
func (*AppDetails) GetDeveloper ¶
func (x *AppDetails) GetDeveloper() string
func (*AppDetails) GetPublisher ¶
func (x *AppDetails) GetPublisher() string
func (*AppDetails) GetReleaseDate ¶
func (x *AppDetails) GetReleaseDate() string
func (*AppDetails) GetVersion ¶
func (x *AppDetails) GetVersion() string
func (*AppDetails) ProtoMessage ¶
func (*AppDetails) ProtoMessage()
func (*AppDetails) ProtoReflect ¶
func (x *AppDetails) ProtoReflect() protoreflect.Message
func (*AppDetails) Reset ¶
func (x *AppDetails) Reset()
func (*AppDetails) String ¶
func (x *AppDetails) String() string
type AppID ¶
type AppID struct { Source AppSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.v1.AppSource" json:"source,omitempty"` SourceAppId string `protobuf:"bytes,2,opt,name=source_app_id,json=sourceAppId,proto3" json:"source_app_id,omitempty"` // contains filtered or unexported fields }
func (*AppID) Descriptor
deprecated
func (*AppID) GetSourceAppId ¶
func (*AppID) ProtoMessage ¶
func (*AppID) ProtoMessage()
func (*AppID) ProtoReflect ¶
func (x *AppID) ProtoReflect() protoreflect.Message
type AppPackage ¶
type AppPackage struct { Id *InternalID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Source AppPackageSource `protobuf:"varint,2,opt,name=source,proto3,enum=librarian.v1.AppPackageSource" json:"source,omitempty"` SourceId *InternalID `protobuf:"bytes,3,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` SourcePackageId string `protobuf:"bytes,4,opt,name=source_package_id,json=sourcePackageId,proto3" json:"source_package_id,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Binary *AppPackageBinary `protobuf:"bytes,7,opt,name=binary,proto3" json:"binary,omitempty"` // false by default Public bool `protobuf:"varint,8,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*AppPackage) Descriptor
deprecated
func (*AppPackage) Descriptor() ([]byte, []int)
Deprecated: Use AppPackage.ProtoReflect.Descriptor instead.
func (*AppPackage) GetBinary ¶
func (x *AppPackage) GetBinary() *AppPackageBinary
func (*AppPackage) GetDescription ¶
func (x *AppPackage) GetDescription() string
func (*AppPackage) GetId ¶
func (x *AppPackage) GetId() *InternalID
func (*AppPackage) GetName ¶ added in v0.2.2
func (x *AppPackage) GetName() string
func (*AppPackage) GetPublic ¶ added in v0.2.11
func (x *AppPackage) GetPublic() bool
func (*AppPackage) GetSource ¶
func (x *AppPackage) GetSource() AppPackageSource
func (*AppPackage) GetSourceId ¶
func (x *AppPackage) GetSourceId() *InternalID
func (*AppPackage) GetSourcePackageId ¶
func (x *AppPackage) GetSourcePackageId() string
func (*AppPackage) ProtoMessage ¶
func (*AppPackage) ProtoMessage()
func (*AppPackage) ProtoReflect ¶
func (x *AppPackage) ProtoReflect() protoreflect.Message
func (*AppPackage) Reset ¶
func (x *AppPackage) Reset()
func (*AppPackage) String ¶
func (x *AppPackage) String() string
type AppPackageBinary ¶
type AppPackageBinary struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SizeByte int64 `protobuf:"varint,2,opt,name=size_byte,json=sizeByte,proto3" json:"size_byte,omitempty"` PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"` // contains filtered or unexported fields }
func (*AppPackageBinary) Descriptor
deprecated
func (*AppPackageBinary) Descriptor() ([]byte, []int)
Deprecated: Use AppPackageBinary.ProtoReflect.Descriptor instead.
func (*AppPackageBinary) GetName ¶
func (x *AppPackageBinary) GetName() string
func (*AppPackageBinary) GetPublicUrl ¶
func (x *AppPackageBinary) GetPublicUrl() string
func (*AppPackageBinary) GetSizeByte ¶ added in v0.2.11
func (x *AppPackageBinary) GetSizeByte() int64
func (*AppPackageBinary) ProtoMessage ¶
func (*AppPackageBinary) ProtoMessage()
func (*AppPackageBinary) ProtoReflect ¶
func (x *AppPackageBinary) ProtoReflect() protoreflect.Message
func (*AppPackageBinary) Reset ¶
func (x *AppPackageBinary) Reset()
func (*AppPackageBinary) String ¶
func (x *AppPackageBinary) String() string
type AppPackageSource ¶
type AppPackageSource int32
const ( AppPackageSource_APP_PACKAGE_SOURCE_UNSPECIFIED AppPackageSource = 0 AppPackageSource_APP_PACKAGE_SOURCE_MANUAL AppPackageSource = 1 AppPackageSource_APP_PACKAGE_SOURCE_SENTINEL AppPackageSource = 2 )
func (AppPackageSource) Descriptor ¶
func (AppPackageSource) Descriptor() protoreflect.EnumDescriptor
func (AppPackageSource) Enum ¶
func (x AppPackageSource) Enum() *AppPackageSource
func (AppPackageSource) EnumDescriptor
deprecated
func (AppPackageSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppPackageSource.Descriptor instead.
func (AppPackageSource) Number ¶
func (x AppPackageSource) Number() protoreflect.EnumNumber
func (AppPackageSource) String ¶
func (x AppPackageSource) String() string
func (AppPackageSource) Type ¶
func (AppPackageSource) Type() protoreflect.EnumType
type AppSource ¶
type AppSource int32
func (AppSource) Descriptor ¶
func (AppSource) Descriptor() protoreflect.EnumDescriptor
func (AppSource) EnumDescriptor
deprecated
func (AppSource) Number ¶
func (x AppSource) Number() protoreflect.EnumNumber
func (AppSource) Type ¶
func (AppSource) Type() protoreflect.EnumType
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 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"` // 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) 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 int32 `protobuf:"varint,1,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"` PageSize int32 `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() int32
func (*PagingRequest) GetPageSize ¶
func (x *PagingRequest) GetPageSize() int32
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 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