v1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2025 License: MIT Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	// optional string to_string = 1000;
	E_ToString = &file_librarian_v1_wellknown_proto_extTypes[0]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var File_librarian_v1_common_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Feed.ProtoReflect.Descriptor instead.

func (*Feed) GetAuthors added in v0.2.4

func (x *Feed) GetAuthors() []*FeedPerson

func (*Feed) GetDescription

func (x *Feed) GetDescription() string

func (*Feed) GetId added in v0.2.5

func (x *Feed) GetId() *InternalID

func (*Feed) GetImage added in v0.2.4

func (x *Feed) GetImage() *FeedImage

func (*Feed) GetItems added in v0.2.4

func (x *Feed) GetItems() []*FeedItem

func (*Feed) GetLanguage

func (x *Feed) GetLanguage() string
func (x *Feed) GetLink() string

func (*Feed) GetTitle

func (x *Feed) GetTitle() string

func (*Feed) ProtoMessage

func (*Feed) ProtoMessage()

func (*Feed) ProtoReflect

func (x *Feed) ProtoReflect() protoreflect.Message

func (*Feed) Reset

func (x *Feed) Reset()

func (*Feed) String

func (x *Feed) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FeedImage.ProtoReflect.Descriptor instead.

func (*FeedImage) GetTitle added in v0.2.4

func (x *FeedImage) GetTitle() string

func (*FeedImage) GetUrl added in v0.2.4

func (x *FeedImage) GetUrl() string

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

func (*FeedImage) Reset added in v0.2.4

func (x *FeedImage) Reset()

func (*FeedImage) String added in v0.2.4

func (x *FeedImage) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FeedItem.ProtoReflect.Descriptor instead.

func (*FeedItem) GetAuthors added in v0.2.4

func (x *FeedItem) GetAuthors() []*FeedPerson

func (*FeedItem) GetContent

func (x *FeedItem) GetContent() string

func (*FeedItem) GetDescription

func (x *FeedItem) GetDescription() string

func (*FeedItem) GetEnclosures added in v0.2.7

func (x *FeedItem) GetEnclosures() []*FeedEnclosure

func (*FeedItem) GetGuid

func (x *FeedItem) GetGuid() string

func (*FeedItem) GetId added in v0.2.5

func (x *FeedItem) GetId() *InternalID

func (*FeedItem) GetImage added in v0.2.4

func (x *FeedItem) GetImage() *FeedImage
func (x *FeedItem) GetLink() string

func (*FeedItem) GetPublishPlatform added in v0.2.9

func (x *FeedItem) GetPublishPlatform() string

func (*FeedItem) GetPublished added in v0.2.4

func (x *FeedItem) GetPublished() string

func (*FeedItem) GetPublishedParsed added in v0.2.4

func (x *FeedItem) GetPublishedParsed() *timestamppb.Timestamp

func (*FeedItem) GetReadCount added in v0.2.46

func (x *FeedItem) GetReadCount() int64

func (*FeedItem) GetTitle

func (x *FeedItem) GetTitle() string

func (*FeedItem) GetUpdated added in v0.2.4

func (x *FeedItem) GetUpdated() string

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

func (*FeedItem) Reset

func (x *FeedItem) Reset()

func (*FeedItem) String

func (x *FeedItem) String() string

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
const (
	FileType_FILE_TYPE_UNSPECIFIED  FileType = 0
	FileType_FILE_TYPE_GEBURA_SAVE  FileType = 1
	FileType_FILE_TYPE_CHESED_IMAGE FileType = 2
)

func (FileType) Descriptor added in v0.5.0

func (FileType) Descriptor() protoreflect.EnumDescriptor

func (FileType) Enum added in v0.5.0

func (x FileType) Enum() *FileType

func (FileType) EnumDescriptor deprecated added in v0.5.0

func (FileType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FileType.Descriptor instead.

func (FileType) Number added in v0.5.0

func (x FileType) Number() protoreflect.EnumNumber

func (FileType) String added in v0.5.0

func (x FileType) String() string

func (FileType) Type added in v0.5.0

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) Descriptor() ([]byte, []int)

Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.

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

func (*TimeRange) Reset added in v0.2.12

func (x *TimeRange) Reset()

func (*TimeRange) String added in v0.2.12

func (x *TimeRange) String() string

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) Enum added in v0.3.0

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 (WellKnownAccountPlatform) String added in v0.3.0

func (x WellKnownAccountPlatform) String() string

func (WellKnownAccountPlatform) Type added in v0.3.0

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) Enum added in v0.4.1

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 (WellKnownAppInfoSource) String added in v0.4.1

func (x WellKnownAppInfoSource) String() string

func (WellKnownAppInfoSource) Type added in v0.4.1

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) Enum added in v0.4.13

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 (WellKnownFeedItemAction) String added in v0.4.13

func (x WellKnownFeedItemAction) String() string

func (WellKnownFeedItemAction) Type added in v0.4.13

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) Enum added in v0.3.0

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 (WellKnownFeedSource) String added in v0.3.0

func (x WellKnownFeedSource) String() string

func (WellKnownFeedSource) Type added in v0.3.0

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) Enum added in v0.3.0

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 (WellKnownNotifyDestination) String added in v0.3.0

func (WellKnownNotifyDestination) Type added in v0.3.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL