Documentation ¶
Overview ¶
Package fb2 is a generated protocol buffer package.
It is generated from these files:
fb2.prototype
It has these top-level messages:
PFB2 Description TitleInfo Coverpage Image AuthorType
Index ¶
- type AuthorType
- func (*AuthorType) Descriptor() ([]byte, []int)
- func (m *AuthorType) GetEmail() string
- func (m *AuthorType) GetFirstName() string
- func (m *AuthorType) GetHomePage() string
- func (m *AuthorType) GetLastName() string
- func (m *AuthorType) GetMiddleName() string
- func (m *AuthorType) GetNickname() string
- func (*AuthorType) ProtoMessage()
- func (m *AuthorType) Reset()
- func (m *AuthorType) String() string
- type Coverpage
- type Description
- type Image
- type PFB2
- type TitleInfo
- func (*TitleInfo) Descriptor() ([]byte, []int)
- func (m *TitleInfo) GetAnnotation() string
- func (m *TitleInfo) GetAuthor() []*AuthorType
- func (m *TitleInfo) GetBookTitle() string
- func (m *TitleInfo) GetCoverpage() *Coverpage
- func (m *TitleInfo) GetDate() string
- func (m *TitleInfo) GetGenre() []string
- func (m *TitleInfo) GetGenreType() []string
- func (m *TitleInfo) GetKeywords() string
- func (m *TitleInfo) GetLang() string
- func (m *TitleInfo) GetSequence() string
- func (m *TitleInfo) GetSrcLang() string
- func (m *TitleInfo) GetTranslator() *AuthorType
- func (*TitleInfo) ProtoMessage()
- func (m *TitleInfo) Reset()
- func (m *TitleInfo) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorType ¶
type AuthorType struct { FirstName string `protobuf:"bytes,1,opt,name=FirstName" json:"FirstName,omitempty"` MiddleName string `protobuf:"bytes,2,opt,name=MiddleName" json:"MiddleName,omitempty"` LastName string `protobuf:"bytes,3,opt,name=LastName" json:"LastName,omitempty"` Nickname string `protobuf:"bytes,4,opt,name=Nickname" json:"Nickname,omitempty"` HomePage string `protobuf:"bytes,5,opt,name=HomePage" json:"HomePage,omitempty"` Email string `protobuf:"bytes,6,opt,name=Email" json:"Email,omitempty"` }
func (*AuthorType) Descriptor ¶
func (*AuthorType) Descriptor() ([]byte, []int)
func (*AuthorType) GetEmail ¶
func (m *AuthorType) GetEmail() string
func (*AuthorType) GetFirstName ¶
func (m *AuthorType) GetFirstName() string
func (*AuthorType) GetHomePage ¶
func (m *AuthorType) GetHomePage() string
func (*AuthorType) GetLastName ¶
func (m *AuthorType) GetLastName() string
func (*AuthorType) GetMiddleName ¶
func (m *AuthorType) GetMiddleName() string
func (*AuthorType) GetNickname ¶
func (m *AuthorType) GetNickname() string
func (*AuthorType) ProtoMessage ¶
func (*AuthorType) ProtoMessage()
func (*AuthorType) Reset ¶
func (m *AuthorType) Reset()
func (*AuthorType) String ¶
func (m *AuthorType) String() string
type Coverpage ¶
type Coverpage struct {
Image *Image `protobuf:"bytes,1,opt,name=Image" json:"Image,omitempty"`
}
func (*Coverpage) Descriptor ¶
func (*Coverpage) ProtoMessage ¶
func (*Coverpage) ProtoMessage()
type Description ¶
type Description struct {
TitleInfo *TitleInfo `protobuf:"bytes,1,opt,name=TitleInfo" json:"TitleInfo,omitempty"`
}
func (*Description) Descriptor ¶
func (*Description) Descriptor() ([]byte, []int)
func (*Description) GetTitleInfo ¶
func (m *Description) GetTitleInfo() *TitleInfo
func (*Description) ProtoMessage ¶
func (*Description) ProtoMessage()
func (*Description) Reset ¶
func (m *Description) Reset()
func (*Description) String ¶
func (m *Description) String() string
type Image ¶
type Image struct {
Href string `protobuf:"bytes,1,opt,name=Href" json:"Href,omitempty"`
}
func (*Image) Descriptor ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
type PFB2 ¶
type PFB2 struct { ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` Description *Description `protobuf:"bytes,2,opt,name=Description" json:"Description,omitempty"` }
func (*PFB2) Descriptor ¶
func (*PFB2) GetDescription ¶
func (m *PFB2) GetDescription() *Description
func (*PFB2) ProtoMessage ¶
func (*PFB2) ProtoMessage()
type TitleInfo ¶
type TitleInfo struct { Genre []string `protobuf:"bytes,1,rep,name=Genre" json:"Genre,omitempty"` GenreType []string `protobuf:"bytes,2,rep,name=GenreType" json:"GenreType,omitempty"` Author []*AuthorType `protobuf:"bytes,3,rep,name=Author" json:"Author,omitempty"` BookTitle string `protobuf:"bytes,4,opt,name=BookTitle" json:"BookTitle,omitempty"` Annotation string `protobuf:"bytes,5,opt,name=Annotation" json:"Annotation,omitempty"` Keywords string `protobuf:"bytes,6,opt,name=Keywords" json:"Keywords,omitempty"` Date string `protobuf:"bytes,7,opt,name=Date" json:"Date,omitempty"` Coverpage *Coverpage `protobuf:"bytes,8,opt,name=Coverpage" json:"Coverpage,omitempty"` Lang string `protobuf:"bytes,9,opt,name=Lang" json:"Lang,omitempty"` SrcLang string `protobuf:"bytes,10,opt,name=SrcLang" json:"SrcLang,omitempty"` Translator *AuthorType `protobuf:"bytes,11,opt,name=Translator" json:"Translator,omitempty"` Sequence string `protobuf:"bytes,12,opt,name=Sequence" json:"Sequence,omitempty"` }
func (*TitleInfo) Descriptor ¶
func (*TitleInfo) GetAnnotation ¶
func (*TitleInfo) GetAuthor ¶
func (m *TitleInfo) GetAuthor() []*AuthorType
func (*TitleInfo) GetBookTitle ¶
func (*TitleInfo) GetCoverpage ¶
func (*TitleInfo) GetGenreType ¶
func (*TitleInfo) GetKeywords ¶
func (*TitleInfo) GetSequence ¶
func (*TitleInfo) GetSrcLang ¶
func (*TitleInfo) GetTranslator ¶
func (m *TitleInfo) GetTranslator() *AuthorType
func (*TitleInfo) ProtoMessage ¶
func (*TitleInfo) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.