backup

package
v0.0.0-...-47e11bc Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tachiyomi_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Backup

type Backup struct {

	// @ProtoNumber(1) val backupManga: List<BackupManga>
	Mangas []*Manga `protobuf:"bytes,1,rep,name=mangas" json:"mangas,omitempty"`
	// @ProtoNumber(2) var backupCategories: List<BackupCategory> =
	Categories []*Category `protobuf:"bytes,2,rep,name=categories" json:"categories,omitempty"`
	// @ProtoNumber(101) var backupSources: List<BackupSource> =
	Sources []*Source `protobuf:"bytes,101,rep,name=sources" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

func LoadBackup

func LoadBackup(filename string) (*Backup, error)

func LoadFromDirectory

func LoadFromDirectory(dirname string) (*Backup, error)

func (*Backup) Descriptor deprecated

func (*Backup) Descriptor() ([]byte, []int)

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetCategories

func (x *Backup) GetCategories() []*Category

func (*Backup) GetMangas

func (x *Backup) GetMangas() []*Manga

func (*Backup) GetSources

func (x *Backup) GetSources() []*Source

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

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

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) String

func (x *Backup) String() string

type Category

type Category struct {

	// @ProtoNumber(1) var name: String
	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	// @ProtoNumber(2) var order: Int =
	Order *int32 `protobuf:"varint,2,opt,name=order" json:"order,omitempty"`
	// @ProtoNumber(100) var flags: Int =
	Flags *int32 `protobuf:"varint,100,opt,name=flags" json:"flags,omitempty"`
	// contains filtered or unexported fields
}

func (*Category) Descriptor deprecated

func (*Category) Descriptor() ([]byte, []int)

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetFlags

func (x *Category) GetFlags() int32

func (*Category) GetName

func (x *Category) GetName() string

func (*Category) GetOrder

func (x *Category) GetOrder() int32

func (*Category) ProtoMessage

func (*Category) ProtoMessage()

func (*Category) ProtoReflect

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

func (*Category) Reset

func (x *Category) Reset()

func (*Category) String

func (x *Category) String() string

type Chapter

type Chapter struct {

	// @ProtoNumber(1) var url: String
	Url *string `protobuf:"bytes,1,req,name=url" json:"url,omitempty"`
	// @ProtoNumber(2) var name: String
	Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
	// @ProtoNumber(3) var scanlator: String?
	Scanlator *string `protobuf:"bytes,3,opt,name=scanlator" json:"scanlator,omitempty"`
	// @ProtoNumber(4) var read: Boolean =
	Read *bool `protobuf:"varint,4,opt,name=read" json:"read,omitempty"`
	// @ProtoNumber(5) var bookmark: Boolean =
	Bookmark *bool `protobuf:"varint,5,opt,name=bookmark" json:"bookmark,omitempty"`
	// @ProtoNumber(6) var lastPageRead: Int =
	LastPageRead *int32 `protobuf:"varint,6,opt,name=lastPageRead" json:"lastPageRead,omitempty"`
	// @ProtoNumber(7) var dateFetch: Long =
	DateFetch *int64 `protobuf:"varint,7,opt,name=dateFetch" json:"dateFetch,omitempty"`
	// @ProtoNumber(8) var dateUpload: Long =
	DateUpload *int64 `protobuf:"varint,8,opt,name=dateUpload" json:"dateUpload,omitempty"`
	// @ProtoNumber(9) var chapterNumber: Float =
	ChapterNumber *float32 `protobuf:"fixed32,9,opt,name=chapterNumber" json:"chapterNumber,omitempty"`
	// @ProtoNumber(10) var sourceOrder: Int =
	SourceOrder *int32 `protobuf:"varint,10,opt,name=sourceOrder" json:"sourceOrder,omitempty"`
	// contains filtered or unexported fields
}

func (*Chapter) Descriptor deprecated

func (*Chapter) Descriptor() ([]byte, []int)

Deprecated: Use Chapter.ProtoReflect.Descriptor instead.

func (*Chapter) GetBookmark

func (x *Chapter) GetBookmark() bool

func (*Chapter) GetChapterNumber

func (x *Chapter) GetChapterNumber() float32

func (*Chapter) GetDateFetch

func (x *Chapter) GetDateFetch() int64

func (*Chapter) GetDateUpload

func (x *Chapter) GetDateUpload() int64

func (*Chapter) GetLastPageRead

func (x *Chapter) GetLastPageRead() int32

func (*Chapter) GetName

func (x *Chapter) GetName() string

func (*Chapter) GetRead

func (x *Chapter) GetRead() bool

func (*Chapter) GetScanlator

func (x *Chapter) GetScanlator() string

func (*Chapter) GetSourceOrder

func (x *Chapter) GetSourceOrder() int32

func (*Chapter) GetUrl

func (x *Chapter) GetUrl() string

func (*Chapter) ProtoMessage

func (*Chapter) ProtoMessage()

func (*Chapter) ProtoReflect

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

func (*Chapter) Reset

func (x *Chapter) Reset()

func (*Chapter) String

func (x *Chapter) String() string

type History

type History struct {

	// @ProtoNumber(1) var url: String
	Url *string `protobuf:"bytes,1,req,name=url" json:"url,omitempty"`
	// @ProtoNumber(2) var lastRead: Long
	LastRead *int64 `protobuf:"varint,2,req,name=lastRead" json:"lastRead,omitempty"`
	// contains filtered or unexported fields
}

func (*History) Descriptor deprecated

func (*History) Descriptor() ([]byte, []int)

Deprecated: Use History.ProtoReflect.Descriptor instead.

func (*History) GetLastRead

func (x *History) GetLastRead() int64

func (*History) GetUrl

func (x *History) GetUrl() string

func (*History) ProtoMessage

func (*History) ProtoMessage()

func (*History) ProtoReflect

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

func (*History) Reset

func (x *History) Reset()

func (*History) String

func (x *History) String() string

type Manga

type Manga struct {

	// @ProtoNumber(1) var source: Long
	Source *int64 `protobuf:"varint,1,req,name=source" json:"source,omitempty"`
	// @ProtoNumber(2) var url: String
	Url *string `protobuf:"bytes,2,req,name=url" json:"url,omitempty"`
	// @ProtoNumber(3) var title: String =
	Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	// @ProtoNumber(4) var artist: String?
	Artist *string `protobuf:"bytes,4,opt,name=artist" json:"artist,omitempty"`
	// @ProtoNumber(5) var author: String?
	Author *string `protobuf:"bytes,5,opt,name=author" json:"author,omitempty"`
	// @ProtoNumber(6) var description: String?
	Description *string `protobuf:"bytes,6,opt,name=description" json:"description,omitempty"`
	// @ProtoNumber(7) var genre: List<String> =
	Genre []string `protobuf:"bytes,7,rep,name=genre" json:"genre,omitempty"`
	// @ProtoNumber(8) var status: Int =
	Status *int32 `protobuf:"varint,8,opt,name=status" json:"status,omitempty"`
	// @ProtoNumber(9) var thumbnailUrl: String?
	ThumbnailUrl *string `protobuf:"bytes,9,opt,name=thumbnailUrl" json:"thumbnailUrl,omitempty"`
	// @ProtoNumber(13) var dateAdded: Long =
	DateAdded *int64 `protobuf:"varint,13,opt,name=dateAdded" json:"dateAdded,omitempty"`
	// @ProtoNumber(14) var viewer: Int =
	Viewer *int32 `protobuf:"varint,14,opt,name=viewer" json:"viewer,omitempty"`
	// @ProtoNumber(16) var chapters: List<BackupChapter> =
	Chapters []*Chapter `protobuf:"bytes,16,rep,name=chapters" json:"chapters,omitempty"`
	// @ProtoNumber(17) var categories: List<Int> =
	Categories []int32 `protobuf:"varint,17,rep,name=categories" json:"categories,omitempty"`
	// @ProtoNumber(18) var tracking: List<BackupTracking> =
	Tracking []*Tracking `protobuf:"bytes,18,rep,name=tracking" json:"tracking,omitempty"`
	// @ProtoNumber(100) var favorite: Boolean =
	Favorite *bool `protobuf:"varint,100,opt,name=favorite" json:"favorite,omitempty"`
	// @ProtoNumber(101) var chapterFlags: Int =
	ChapterFlags *int32 `protobuf:"varint,101,opt,name=chapterFlags" json:"chapterFlags,omitempty"`
	// @ProtoNumber(103) var viewer_flags: Int?
	ViewerFlags *int32 `protobuf:"varint,103,opt,name=viewer_flags,json=viewerFlags" json:"viewer_flags,omitempty"`
	// @ProtoNumber(104) var history: List<BackupHistory> =
	History []*History `protobuf:"bytes,104,rep,name=history" json:"history,omitempty"`
	// contains filtered or unexported fields
}

func (*Manga) Descriptor deprecated

func (*Manga) Descriptor() ([]byte, []int)

Deprecated: Use Manga.ProtoReflect.Descriptor instead.

func (*Manga) GetArtist

func (x *Manga) GetArtist() string

func (*Manga) GetAuthor

func (x *Manga) GetAuthor() string

func (*Manga) GetCategories

func (x *Manga) GetCategories() []int32

func (*Manga) GetChapterFlags

func (x *Manga) GetChapterFlags() int32

func (*Manga) GetChapters

func (x *Manga) GetChapters() []*Chapter

func (*Manga) GetDateAdded

func (x *Manga) GetDateAdded() int64

func (*Manga) GetDescription

func (x *Manga) GetDescription() string

func (*Manga) GetFavorite

func (x *Manga) GetFavorite() bool

func (*Manga) GetGenre

func (x *Manga) GetGenre() []string

func (*Manga) GetHistory

func (x *Manga) GetHistory() []*History

func (*Manga) GetSource

func (x *Manga) GetSource() int64

func (*Manga) GetStatus

func (x *Manga) GetStatus() int32

func (*Manga) GetThumbnailUrl

func (x *Manga) GetThumbnailUrl() string

func (*Manga) GetTitle

func (x *Manga) GetTitle() string

func (*Manga) GetTracking

func (x *Manga) GetTracking() []*Tracking

func (*Manga) GetUrl

func (x *Manga) GetUrl() string

func (*Manga) GetViewer

func (x *Manga) GetViewer() int32

func (*Manga) GetViewerFlags

func (x *Manga) GetViewerFlags() int32

func (*Manga) ProtoMessage

func (*Manga) ProtoMessage()

func (*Manga) ProtoReflect

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

func (*Manga) Reset

func (x *Manga) Reset()

func (*Manga) String

func (x *Manga) String() string

type Source

type Source struct {

	// @ProtoNumber(1) var name: String =
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// @ProtoNumber(2) var sourceId: Long
	SourceId *int64 `protobuf:"varint,2,req,name=sourceId" json:"sourceId,omitempty"`
	// contains filtered or unexported fields
}

func (*Source) Descriptor deprecated

func (*Source) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetName

func (x *Source) GetName() string

func (*Source) GetSourceId

func (x *Source) GetSourceId() int64

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type Tracking

type Tracking struct {

	// @ProtoNumber(1) var syncId: Int
	SyncId *int32 `protobuf:"varint,1,req,name=syncId" json:"syncId,omitempty"`
	// @ProtoNumber(2) var libraryId: Long
	LibraryId *int64 `protobuf:"varint,2,req,name=libraryId" json:"libraryId,omitempty"`
	// @ProtoNumber(3) var mediaId: Int =
	MediaId *int32 `protobuf:"varint,3,opt,name=mediaId" json:"mediaId,omitempty"`
	// @ProtoNumber(4) var trackingUrl: String =
	TrackingUrl *string `protobuf:"bytes,4,opt,name=trackingUrl" json:"trackingUrl,omitempty"`
	// @ProtoNumber(5) var title: String =
	Title *string `protobuf:"bytes,5,opt,name=title" json:"title,omitempty"`
	// @ProtoNumber(6) var lastChapterRead: Float =
	LastChapterRead *float32 `protobuf:"fixed32,6,opt,name=lastChapterRead" json:"lastChapterRead,omitempty"`
	// @ProtoNumber(7) var totalChapters: Int =
	TotalChapters *int32 `protobuf:"varint,7,opt,name=totalChapters" json:"totalChapters,omitempty"`
	// @ProtoNumber(8) var score: Float =
	Score *float32 `protobuf:"fixed32,8,opt,name=score" json:"score,omitempty"`
	// @ProtoNumber(9) var status: Int =
	Status *int32 `protobuf:"varint,9,opt,name=status" json:"status,omitempty"`
	// @ProtoNumber(10) var startedReadingDate: Long =
	StartedReadingDate *int64 `protobuf:"varint,10,opt,name=startedReadingDate" json:"startedReadingDate,omitempty"`
	// @ProtoNumber(11) var finishedReadingDate: Long =
	FinishedReadingDate *int64 `protobuf:"varint,11,opt,name=finishedReadingDate" json:"finishedReadingDate,omitempty"`
	// contains filtered or unexported fields
}

func (*Tracking) Descriptor deprecated

func (*Tracking) Descriptor() ([]byte, []int)

Deprecated: Use Tracking.ProtoReflect.Descriptor instead.

func (*Tracking) GetFinishedReadingDate

func (x *Tracking) GetFinishedReadingDate() int64

func (*Tracking) GetLastChapterRead

func (x *Tracking) GetLastChapterRead() float32

func (*Tracking) GetLibraryId

func (x *Tracking) GetLibraryId() int64

func (*Tracking) GetMediaId

func (x *Tracking) GetMediaId() int32

func (*Tracking) GetScore

func (x *Tracking) GetScore() float32

func (*Tracking) GetStartedReadingDate

func (x *Tracking) GetStartedReadingDate() int64

func (*Tracking) GetStatus

func (x *Tracking) GetStatus() int32

func (*Tracking) GetSyncId

func (x *Tracking) GetSyncId() int32

func (*Tracking) GetTitle

func (x *Tracking) GetTitle() string

func (*Tracking) GetTotalChapters

func (x *Tracking) GetTotalChapters() int32

func (*Tracking) GetTrackingUrl

func (x *Tracking) GetTrackingUrl() string

func (*Tracking) ProtoMessage

func (*Tracking) ProtoMessage()

func (*Tracking) ProtoReflect

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

func (*Tracking) Reset

func (x *Tracking) Reset()

func (*Tracking) String

func (x *Tracking) String() string

Jump to

Keyboard shortcuts

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