Documentation ¶
Index ¶
- Variables
- type Assignment
- func (*Assignment) Descriptor() ([]byte, []int)deprecated
- func (x *Assignment) GetAvailableAt() int32
- func (x *Assignment) GetBurnedAt() int32
- func (x *Assignment) GetId() int64
- func (x *Assignment) GetIsKanaOnlyVocab() bool
- func (x *Assignment) GetLevel() int32
- func (x *Assignment) GetPassedAt() int32
- func (x *Assignment) GetSrsStageNumber() int32
- func (x *Assignment) GetStartedAt() int32
- func (x *Assignment) GetSubjectId() int64
- func (x *Assignment) GetSubjectType() Subject_Type
- func (*Assignment) ProtoMessage()
- func (x *Assignment) ProtoReflect() protoreflect.Message
- func (x *Assignment) Reset()
- func (x *Assignment) String() string
- type DataFileHeader
- func (*DataFileHeader) Descriptor() ([]byte, []int)deprecated
- func (x *DataFileHeader) GetDeletedSubjectIds() []int32
- func (x *DataFileHeader) GetLevelBySubject() []int32
- func (x *DataFileHeader) GetSubjectByteOffset() []uint32
- func (x *DataFileHeader) GetSubjectsByLevel() []*SubjectsByLevel
- func (*DataFileHeader) ProtoMessage()
- func (x *DataFileHeader) ProtoReflect() protoreflect.Message
- func (x *DataFileHeader) Reset()
- func (x *DataFileHeader) String() string
- type DeprecatedMnemonicFile
- func (*DeprecatedMnemonicFile) Descriptor() ([]byte, []int)deprecated
- func (x *DeprecatedMnemonicFile) GetSubjects() []*DeprecatedMnemonicFile_Subject
- func (*DeprecatedMnemonicFile) ProtoMessage()
- func (x *DeprecatedMnemonicFile) ProtoReflect() protoreflect.Message
- func (x *DeprecatedMnemonicFile) Reset()
- func (x *DeprecatedMnemonicFile) String() string
- type DeprecatedMnemonicFile_Subject
- func (*DeprecatedMnemonicFile_Subject) Descriptor() ([]byte, []int)deprecated
- func (x *DeprecatedMnemonicFile_Subject) GetFormattedDeprecatedMnemonic() []*FormattedText
- func (x *DeprecatedMnemonicFile_Subject) GetId() int32
- func (*DeprecatedMnemonicFile_Subject) ProtoMessage()
- func (x *DeprecatedMnemonicFile_Subject) ProtoReflect() protoreflect.Message
- func (x *DeprecatedMnemonicFile_Subject) Reset()
- func (x *DeprecatedMnemonicFile_Subject) String() string
- type FormattedText
- func (*FormattedText) Descriptor() ([]byte, []int)deprecated
- func (x *FormattedText) GetFormat() []FormattedText_Format
- func (x *FormattedText) GetLinkUrl() string
- func (x *FormattedText) GetText() string
- func (*FormattedText) ProtoMessage()
- func (x *FormattedText) ProtoReflect() protoreflect.Message
- func (x *FormattedText) Reset()
- func (x *FormattedText) String() string
- type FormattedText_Format
- func (FormattedText_Format) Descriptor() protoreflect.EnumDescriptor
- func (x FormattedText_Format) Enum() *FormattedText_Format
- func (FormattedText_Format) EnumDescriptor() ([]byte, []int)deprecated
- func (x FormattedText_Format) Number() protoreflect.EnumNumber
- func (x FormattedText_Format) String() string
- func (FormattedText_Format) Type() protoreflect.EnumType
- type Kanji
- func (*Kanji) Descriptor() ([]byte, []int)deprecated
- func (x *Kanji) GetMeaningHint() string
- func (x *Kanji) GetMeaningMnemonic() string
- func (x *Kanji) GetReadingHint() string
- func (x *Kanji) GetReadingMnemonic() string
- func (x *Kanji) GetVisuallySimilarKanji() string
- func (*Kanji) ProtoMessage()
- func (x *Kanji) ProtoReflect() protoreflect.Message
- func (x *Kanji) Reset()
- func (x *Kanji) String() string
- type Level
- func (*Level) Descriptor() ([]byte, []int)deprecated
- func (x *Level) GetAbandonedAt() int32
- func (x *Level) GetCompletedAt() int32
- func (x *Level) GetCreatedAt() int32
- func (x *Level) GetId() int64
- func (x *Level) GetLevel() int32
- func (x *Level) GetPassedAt() int32
- func (x *Level) GetStartedAt() int32
- func (x *Level) GetUnlockedAt() int32
- func (*Level) ProtoMessage()
- func (x *Level) ProtoReflect() protoreflect.Message
- func (x *Level) Reset()
- func (x *Level) String() string
- type Meaning
- type Meaning_Type
- func (Meaning_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Meaning_Type) Enum() *Meaning_Type
- func (Meaning_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Meaning_Type) Number() protoreflect.EnumNumber
- func (x Meaning_Type) String() string
- func (Meaning_Type) Type() protoreflect.EnumType
- type Progress
- func (*Progress) Descriptor() ([]byte, []int)deprecated
- func (x *Progress) GetAssignment() *Assignment
- func (x *Progress) GetCreatedAt() int32
- func (x *Progress) GetIsLesson() bool
- func (x *Progress) GetMeaningWrong() bool
- func (x *Progress) GetMeaningWrongCount() int32
- func (x *Progress) GetReadingWrong() bool
- func (x *Progress) GetReadingWrongCount() int32
- func (*Progress) ProtoMessage()
- func (x *Progress) ProtoReflect() protoreflect.Message
- func (x *Progress) Reset()
- func (x *Progress) String() string
- type Radical
- func (*Radical) Descriptor() ([]byte, []int)deprecated
- func (x *Radical) GetCharacterImage() string
- func (x *Radical) GetDeprecatedMnemonic() string
- func (x *Radical) GetHasCharacterImageFile() bool
- func (x *Radical) GetMnemonic() string
- func (*Radical) ProtoMessage()
- func (x *Radical) ProtoReflect() protoreflect.Message
- func (x *Radical) Reset()
- func (x *Radical) String() string
- type Reading
- func (*Reading) Descriptor() ([]byte, []int)deprecated
- func (x *Reading) GetIsPrimary() bool
- func (x *Reading) GetReading() string
- func (x *Reading) GetType() Reading_Type
- func (*Reading) ProtoMessage()
- func (x *Reading) ProtoReflect() protoreflect.Message
- func (x *Reading) Reset()
- func (x *Reading) String() string
- type Reading_Type
- func (Reading_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Reading_Type) Enum() *Reading_Type
- func (Reading_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Reading_Type) Number() protoreflect.EnumNumber
- func (x Reading_Type) String() string
- func (Reading_Type) Type() protoreflect.EnumType
- type StudyMaterials
- func (*StudyMaterials) Descriptor() ([]byte, []int)deprecated
- func (x *StudyMaterials) GetId() int64
- func (x *StudyMaterials) GetMeaningNote() string
- func (x *StudyMaterials) GetMeaningSynonyms() []string
- func (x *StudyMaterials) GetReadingNote() string
- func (x *StudyMaterials) GetSubjectId() int64
- func (*StudyMaterials) ProtoMessage()
- func (x *StudyMaterials) ProtoReflect() protoreflect.Message
- func (x *StudyMaterials) Reset()
- func (x *StudyMaterials) String() string
- type Subject
- func (*Subject) Descriptor() ([]byte, []int)deprecated
- func (x *Subject) GetAmalgamationSubjectIds() []int64
- func (x *Subject) GetComponentSubjectIds() []int64
- func (x *Subject) GetDocumentUrl() string
- func (x *Subject) GetId() int64
- func (x *Subject) GetJapanese() string
- func (x *Subject) GetKanji() *Kanji
- func (x *Subject) GetLevel() int32
- func (x *Subject) GetMeanings() []*Meaning
- func (x *Subject) GetRadical() *Radical
- func (x *Subject) GetReadings() []*Reading
- func (x *Subject) GetSlug() string
- func (x *Subject) GetVocabulary() *Vocabulary
- func (*Subject) ProtoMessage()
- func (x *Subject) ProtoReflect() protoreflect.Message
- func (x *Subject) Reset()
- func (x *Subject) String() string
- type Subject_Type
- func (Subject_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Subject_Type) Enum() *Subject_Type
- func (Subject_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Subject_Type) Number() protoreflect.EnumNumber
- func (x Subject_Type) String() string
- func (Subject_Type) Type() protoreflect.EnumType
- type SubjectsByLevel
- func (*SubjectsByLevel) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectsByLevel) GetKanji() []int64
- func (x *SubjectsByLevel) GetRadicals() []int64
- func (x *SubjectsByLevel) GetVocabulary() []int64
- func (*SubjectsByLevel) ProtoMessage()
- func (x *SubjectsByLevel) ProtoReflect() protoreflect.Message
- func (x *SubjectsByLevel) Reset()
- func (x *SubjectsByLevel) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetLevel() int32
- func (x *User) GetMaxLevelGrantedBySubscription() int32
- func (x *User) GetProfileUrl() string
- func (x *User) GetStartedAt() int32
- func (x *User) GetSubscribed() bool
- func (x *User) GetSubscriptionEndsAt() int32
- func (x *User) GetUsername() string
- func (x *User) GetVacationStartedAt() int32
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type Vocabulary
- func (*Vocabulary) Descriptor() ([]byte, []int)deprecated
- func (x *Vocabulary) GetAudio() []*Vocabulary_PronunciationAudio
- func (x *Vocabulary) GetMeaningExplanation() string
- func (x *Vocabulary) GetPartsOfSpeech() []Vocabulary_PartOfSpeech
- func (x *Vocabulary) GetReadingExplanation() string
- func (x *Vocabulary) GetSentences() []*Vocabulary_Sentence
- func (*Vocabulary) ProtoMessage()
- func (x *Vocabulary) ProtoReflect() protoreflect.Message
- func (x *Vocabulary) Reset()
- func (x *Vocabulary) String() string
- type Vocabulary_PartOfSpeech
- func (Vocabulary_PartOfSpeech) Descriptor() protoreflect.EnumDescriptor
- func (x Vocabulary_PartOfSpeech) Enum() *Vocabulary_PartOfSpeech
- func (Vocabulary_PartOfSpeech) EnumDescriptor() ([]byte, []int)deprecated
- func (x Vocabulary_PartOfSpeech) Number() protoreflect.EnumNumber
- func (x Vocabulary_PartOfSpeech) String() string
- func (Vocabulary_PartOfSpeech) Type() protoreflect.EnumType
- type Vocabulary_PronunciationAudio
- func (*Vocabulary_PronunciationAudio) Descriptor() ([]byte, []int)deprecated
- func (x *Vocabulary_PronunciationAudio) GetUrl() string
- func (x *Vocabulary_PronunciationAudio) GetVoiceActorId() int64
- func (*Vocabulary_PronunciationAudio) ProtoMessage()
- func (x *Vocabulary_PronunciationAudio) ProtoReflect() protoreflect.Message
- func (x *Vocabulary_PronunciationAudio) Reset()
- func (x *Vocabulary_PronunciationAudio) String() string
- type Vocabulary_Sentence
- func (*Vocabulary_Sentence) Descriptor() ([]byte, []int)deprecated
- func (x *Vocabulary_Sentence) GetEnglish() string
- func (x *Vocabulary_Sentence) GetJapanese() string
- func (*Vocabulary_Sentence) ProtoMessage()
- func (x *Vocabulary_Sentence) ProtoReflect() protoreflect.Message
- func (x *Vocabulary_Sentence) Reset()
- func (x *Vocabulary_Sentence) String() string
- type VoiceActor
- func (*VoiceActor) Descriptor() ([]byte, []int)deprecated
- func (x *VoiceActor) GetDescription() string
- func (x *VoiceActor) GetGender() VoiceActor_Gender
- func (x *VoiceActor) GetId() int64
- func (x *VoiceActor) GetName() string
- func (*VoiceActor) ProtoMessage()
- func (x *VoiceActor) ProtoReflect() protoreflect.Message
- func (x *VoiceActor) Reset()
- func (x *VoiceActor) String() string
- type VoiceActor_Gender
- func (VoiceActor_Gender) Descriptor() protoreflect.EnumDescriptor
- func (x VoiceActor_Gender) Enum() *VoiceActor_Gender
- func (VoiceActor_Gender) EnumDescriptor() ([]byte, []int)deprecated
- func (x VoiceActor_Gender) Number() protoreflect.EnumNumber
- func (x VoiceActor_Gender) String() string
- func (VoiceActor_Gender) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Meaning_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "PRIMARY", 2: "SECONDARY", 3: "AUXILIARY_WHITELIST", 4: "BLACKLIST", } Meaning_Type_value = map[string]int32{ "UNKNOWN": 0, "PRIMARY": 1, "SECONDARY": 2, "AUXILIARY_WHITELIST": 3, "BLACKLIST": 4, } )
Enum value maps for Meaning_Type.
var ( Reading_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "ONYOMI", 2: "KUNYOMI", 3: "NANORI", } Reading_Type_value = map[string]int32{ "UNKNOWN": 0, "ONYOMI": 1, "KUNYOMI": 2, "NANORI": 3, } )
Enum value maps for Reading_Type.
var ( Vocabulary_PartOfSpeech_name = map[int32]string{ 0: "UNKNOWN", 1: "NOUN", 2: "NUMERAL", 3: "INTRANSITIVE_VERB", 4: "ICHIDAN_VERB", 5: "TRANSITIVE_VERB", 6: "NO_ADJECTIVE", 7: "GODAN_VERB", 8: "NA_ADJECTIVE", 9: "I_ADJECTIVE", 10: "SUFFIX", 11: "ADVERB", 12: "SURU_VERB", 13: "PREFIX", 14: "PROPER_NOUN", 15: "EXPRESSION", 16: "ADJECTIVE", 17: "INTERJECTION", 18: "COUNTER", 19: "PRONOUN", 20: "CONJUNCTION", } Vocabulary_PartOfSpeech_value = map[string]int32{ "UNKNOWN": 0, "NOUN": 1, "NUMERAL": 2, "INTRANSITIVE_VERB": 3, "ICHIDAN_VERB": 4, "TRANSITIVE_VERB": 5, "NO_ADJECTIVE": 6, "GODAN_VERB": 7, "NA_ADJECTIVE": 8, "I_ADJECTIVE": 9, "SUFFIX": 10, "ADVERB": 11, "SURU_VERB": 12, "PREFIX": 13, "PROPER_NOUN": 14, "EXPRESSION": 15, "ADJECTIVE": 16, "INTERJECTION": 17, "COUNTER": 18, "PRONOUN": 19, "CONJUNCTION": 20, } )
Enum value maps for Vocabulary_PartOfSpeech.
var ( Subject_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "RADICAL", 2: "KANJI", 3: "VOCABULARY", } Subject_Type_value = map[string]int32{ "UNKNOWN": 0, "RADICAL": 1, "KANJI": 2, "VOCABULARY": 3, } )
Enum value maps for Subject_Type.
var ( FormattedText_Format_name = map[int32]string{ 0: "UNKNOWN", 1: "RADICAL", 2: "KANJI", 3: "JAPANESE", 4: "READING", 5: "VOCABULARY", 6: "ITALIC", 7: "BOLD", 8: "LINK", 9: "APPRENTICE", 10: "GURU", 11: "MASTER", 12: "ENLIGHTENED", } FormattedText_Format_value = map[string]int32{ "UNKNOWN": 0, "RADICAL": 1, "KANJI": 2, "JAPANESE": 3, "READING": 4, "VOCABULARY": 5, "ITALIC": 6, "BOLD": 7, "LINK": 8, "APPRENTICE": 9, "GURU": 10, "MASTER": 11, "ENLIGHTENED": 12, } )
Enum value maps for FormattedText_Format.
var ( VoiceActor_Gender_name = map[int32]string{ 0: "UNKNOWN", 1: "MALE", 2: "FEMALE", } VoiceActor_Gender_value = map[string]int32{ "UNKNOWN": 0, "MALE": 1, "FEMALE": 2, } )
Enum value maps for VoiceActor_Gender.
var File_wanikani_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
type Assignment struct { Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Level *int32 `protobuf:"varint,2,opt,name=level,proto3,oneof" json:"level,omitempty"` SubjectId *int64 `protobuf:"varint,3,opt,name=subject_id,json=subjectId,proto3,oneof" json:"subject_id,omitempty"` SubjectType *Subject_Type `protobuf:"varint,4,opt,name=subject_type,json=subjectType,proto3,enum=proto.Subject_Type,oneof" json:"subject_type,omitempty"` AvailableAt *int32 `protobuf:"varint,5,opt,name=available_at,json=availableAt,proto3,oneof" json:"available_at,omitempty"` StartedAt *int32 `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"` SrsStageNumber *int32 `protobuf:"varint,7,opt,name=srs_stage_number,json=srsStageNumber,proto3,oneof" json:"srs_stage_number,omitempty"` PassedAt *int32 `protobuf:"varint,8,opt,name=passed_at,json=passedAt,proto3,oneof" json:"passed_at,omitempty"` BurnedAt *int32 `protobuf:"varint,9,opt,name=burned_at,json=burnedAt,proto3,oneof" json:"burned_at,omitempty"` // Kana-only vocab shares the VOCABULARY subject_type, but we still want to be // able to filter them out if the user wants to. IsKanaOnlyVocab *bool `protobuf:"varint,10,opt,name=is_kana_only_vocab,json=isKanaOnlyVocab,proto3,oneof" json:"is_kana_only_vocab,omitempty"` // contains filtered or unexported fields }
func (*Assignment) Descriptor
deprecated
func (*Assignment) Descriptor() ([]byte, []int)
Deprecated: Use Assignment.ProtoReflect.Descriptor instead.
func (*Assignment) GetAvailableAt ¶
func (x *Assignment) GetAvailableAt() int32
func (*Assignment) GetBurnedAt ¶
func (x *Assignment) GetBurnedAt() int32
func (*Assignment) GetId ¶
func (x *Assignment) GetId() int64
func (*Assignment) GetIsKanaOnlyVocab ¶
func (x *Assignment) GetIsKanaOnlyVocab() bool
func (*Assignment) GetLevel ¶
func (x *Assignment) GetLevel() int32
func (*Assignment) GetPassedAt ¶
func (x *Assignment) GetPassedAt() int32
func (*Assignment) GetSrsStageNumber ¶
func (x *Assignment) GetSrsStageNumber() int32
func (*Assignment) GetStartedAt ¶
func (x *Assignment) GetStartedAt() int32
func (*Assignment) GetSubjectId ¶
func (x *Assignment) GetSubjectId() int64
func (*Assignment) GetSubjectType ¶
func (x *Assignment) GetSubjectType() Subject_Type
func (*Assignment) ProtoMessage ¶
func (*Assignment) ProtoMessage()
func (*Assignment) ProtoReflect ¶
func (x *Assignment) ProtoReflect() protoreflect.Message
func (*Assignment) Reset ¶
func (x *Assignment) Reset()
func (*Assignment) String ¶
func (x *Assignment) String() string
type DataFileHeader ¶
type DataFileHeader struct { SubjectsByLevel []*SubjectsByLevel `protobuf:"bytes,1,rep,name=subjects_by_level,json=subjectsByLevel,proto3" json:"subjects_by_level,omitempty"` // The level of each subject. LevelBySubject []int32 `protobuf:"varint,4,rep,packed,name=level_by_subject,json=levelBySubject,proto3" json:"level_by_subject,omitempty"` // Subject IDs that no longer have any data. The client should ignore any // assignments with these subjects. DeletedSubjectIds []int32 `protobuf:"varint,3,rep,packed,name=deleted_subject_ids,json=deletedSubjectIds,proto3" json:"deleted_subject_ids,omitempty"` // Offset of each encoded Subject message, starting from the end of this // header in the file. SubjectByteOffset []uint32 `protobuf:"varint,2,rep,packed,name=subject_byte_offset,json=subjectByteOffset,proto3" json:"subject_byte_offset,omitempty"` // contains filtered or unexported fields }
func (*DataFileHeader) Descriptor
deprecated
func (*DataFileHeader) Descriptor() ([]byte, []int)
Deprecated: Use DataFileHeader.ProtoReflect.Descriptor instead.
func (*DataFileHeader) GetDeletedSubjectIds ¶
func (x *DataFileHeader) GetDeletedSubjectIds() []int32
func (*DataFileHeader) GetLevelBySubject ¶
func (x *DataFileHeader) GetLevelBySubject() []int32
func (*DataFileHeader) GetSubjectByteOffset ¶
func (x *DataFileHeader) GetSubjectByteOffset() []uint32
func (*DataFileHeader) GetSubjectsByLevel ¶
func (x *DataFileHeader) GetSubjectsByLevel() []*SubjectsByLevel
func (*DataFileHeader) ProtoMessage ¶
func (*DataFileHeader) ProtoMessage()
func (*DataFileHeader) ProtoReflect ¶
func (x *DataFileHeader) ProtoReflect() protoreflect.Message
func (*DataFileHeader) Reset ¶
func (x *DataFileHeader) Reset()
func (*DataFileHeader) String ¶
func (x *DataFileHeader) String() string
type DeprecatedMnemonicFile ¶
type DeprecatedMnemonicFile struct { Subjects []*DeprecatedMnemonicFile_Subject `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"` // contains filtered or unexported fields }
func (*DeprecatedMnemonicFile) Descriptor
deprecated
func (*DeprecatedMnemonicFile) Descriptor() ([]byte, []int)
Deprecated: Use DeprecatedMnemonicFile.ProtoReflect.Descriptor instead.
func (*DeprecatedMnemonicFile) GetSubjects ¶
func (x *DeprecatedMnemonicFile) GetSubjects() []*DeprecatedMnemonicFile_Subject
func (*DeprecatedMnemonicFile) ProtoMessage ¶
func (*DeprecatedMnemonicFile) ProtoMessage()
func (*DeprecatedMnemonicFile) ProtoReflect ¶
func (x *DeprecatedMnemonicFile) ProtoReflect() protoreflect.Message
func (*DeprecatedMnemonicFile) Reset ¶
func (x *DeprecatedMnemonicFile) Reset()
func (*DeprecatedMnemonicFile) String ¶
func (x *DeprecatedMnemonicFile) String() string
type DeprecatedMnemonicFile_Subject ¶
type DeprecatedMnemonicFile_Subject struct { Id *int32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` FormattedDeprecatedMnemonic []*FormattedText `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeprecatedMnemonicFile_Subject) Descriptor
deprecated
func (*DeprecatedMnemonicFile_Subject) Descriptor() ([]byte, []int)
Deprecated: Use DeprecatedMnemonicFile_Subject.ProtoReflect.Descriptor instead.
func (*DeprecatedMnemonicFile_Subject) GetFormattedDeprecatedMnemonic ¶
func (x *DeprecatedMnemonicFile_Subject) GetFormattedDeprecatedMnemonic() []*FormattedText
func (*DeprecatedMnemonicFile_Subject) GetId ¶
func (x *DeprecatedMnemonicFile_Subject) GetId() int32
func (*DeprecatedMnemonicFile_Subject) ProtoMessage ¶
func (*DeprecatedMnemonicFile_Subject) ProtoMessage()
func (*DeprecatedMnemonicFile_Subject) ProtoReflect ¶
func (x *DeprecatedMnemonicFile_Subject) ProtoReflect() protoreflect.Message
func (*DeprecatedMnemonicFile_Subject) Reset ¶
func (x *DeprecatedMnemonicFile_Subject) Reset()
func (*DeprecatedMnemonicFile_Subject) String ¶
func (x *DeprecatedMnemonicFile_Subject) String() string
type FormattedText ¶
type FormattedText struct { Format []FormattedText_Format `protobuf:"varint,1,rep,packed,name=format,proto3,enum=proto.FormattedText_Format" json:"format,omitempty"` Text *string `protobuf:"bytes,2,opt,name=text,proto3,oneof" json:"text,omitempty"` LinkUrl *string `protobuf:"bytes,3,opt,name=link_url,json=linkUrl,proto3,oneof" json:"link_url,omitempty"` // contains filtered or unexported fields }
func (*FormattedText) Descriptor
deprecated
func (*FormattedText) Descriptor() ([]byte, []int)
Deprecated: Use FormattedText.ProtoReflect.Descriptor instead.
func (*FormattedText) GetFormat ¶
func (x *FormattedText) GetFormat() []FormattedText_Format
func (*FormattedText) GetLinkUrl ¶
func (x *FormattedText) GetLinkUrl() string
func (*FormattedText) GetText ¶
func (x *FormattedText) GetText() string
func (*FormattedText) ProtoMessage ¶
func (*FormattedText) ProtoMessage()
func (*FormattedText) ProtoReflect ¶
func (x *FormattedText) ProtoReflect() protoreflect.Message
func (*FormattedText) Reset ¶
func (x *FormattedText) Reset()
func (*FormattedText) String ¶
func (x *FormattedText) String() string
type FormattedText_Format ¶
type FormattedText_Format int32
const ( FormattedText_UNKNOWN FormattedText_Format = 0 FormattedText_RADICAL FormattedText_Format = 1 FormattedText_KANJI FormattedText_Format = 2 FormattedText_JAPANESE FormattedText_Format = 3 FormattedText_READING FormattedText_Format = 4 FormattedText_VOCABULARY FormattedText_Format = 5 FormattedText_ITALIC FormattedText_Format = 6 FormattedText_BOLD FormattedText_Format = 7 FormattedText_LINK FormattedText_Format = 8 // Used internally by Tsurukame. FormattedText_APPRENTICE FormattedText_Format = 9 FormattedText_GURU FormattedText_Format = 10 FormattedText_MASTER FormattedText_Format = 11 FormattedText_ENLIGHTENED FormattedText_Format = 12 )
func (FormattedText_Format) Descriptor ¶
func (FormattedText_Format) Descriptor() protoreflect.EnumDescriptor
func (FormattedText_Format) Enum ¶
func (x FormattedText_Format) Enum() *FormattedText_Format
func (FormattedText_Format) EnumDescriptor
deprecated
func (FormattedText_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use FormattedText_Format.Descriptor instead.
func (FormattedText_Format) Number ¶
func (x FormattedText_Format) Number() protoreflect.EnumNumber
func (FormattedText_Format) String ¶
func (x FormattedText_Format) String() string
func (FormattedText_Format) Type ¶
func (FormattedText_Format) Type() protoreflect.EnumType
type Kanji ¶
type Kanji struct { MeaningMnemonic *string `protobuf:"bytes,1,opt,name=meaning_mnemonic,json=meaningMnemonic,proto3,oneof" json:"meaning_mnemonic,omitempty"` MeaningHint *string `protobuf:"bytes,2,opt,name=meaning_hint,json=meaningHint,proto3,oneof" json:"meaning_hint,omitempty"` ReadingMnemonic *string `protobuf:"bytes,3,opt,name=reading_mnemonic,json=readingMnemonic,proto3,oneof" json:"reading_mnemonic,omitempty"` ReadingHint *string `protobuf:"bytes,4,opt,name=reading_hint,json=readingHint,proto3,oneof" json:"reading_hint,omitempty"` VisuallySimilarKanji *string `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Kanji) Descriptor
deprecated
func (*Kanji) GetMeaningHint ¶
func (*Kanji) GetMeaningMnemonic ¶
func (*Kanji) GetReadingHint ¶
func (*Kanji) GetReadingMnemonic ¶
func (*Kanji) GetVisuallySimilarKanji ¶
func (*Kanji) ProtoMessage ¶
func (*Kanji) ProtoMessage()
func (*Kanji) ProtoReflect ¶
func (x *Kanji) ProtoReflect() protoreflect.Message
type Level ¶
type Level struct { Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Level *int32 `protobuf:"varint,2,opt,name=level,proto3,oneof" json:"level,omitempty"` AbandonedAt *int32 `protobuf:"varint,3,opt,name=abandoned_at,json=abandonedAt,proto3,oneof" json:"abandoned_at,omitempty"` CompletedAt *int32 `protobuf:"varint,4,opt,name=completed_at,json=completedAt,proto3,oneof" json:"completed_at,omitempty"` CreatedAt *int32 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` PassedAt *int32 `protobuf:"varint,6,opt,name=passed_at,json=passedAt,proto3,oneof" json:"passed_at,omitempty"` StartedAt *int32 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"` UnlockedAt *int32 `protobuf:"varint,8,opt,name=unlocked_at,json=unlockedAt,proto3,oneof" json:"unlocked_at,omitempty"` // contains filtered or unexported fields }
func (*Level) Descriptor
deprecated
func (*Level) GetAbandonedAt ¶
func (*Level) GetCompletedAt ¶
func (*Level) GetCreatedAt ¶
func (*Level) GetPassedAt ¶
func (*Level) GetStartedAt ¶
func (*Level) GetUnlockedAt ¶
func (*Level) ProtoMessage ¶
func (*Level) ProtoMessage()
func (*Level) ProtoReflect ¶
func (x *Level) ProtoReflect() protoreflect.Message
type Meaning ¶
type Meaning struct { Meaning *string `protobuf:"bytes,1,opt,name=meaning,proto3,oneof" json:"meaning,omitempty"` Type *Meaning_Type `protobuf:"varint,3,opt,name=type,proto3,enum=proto.Meaning_Type,oneof" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Meaning) Descriptor
deprecated
func (*Meaning) GetMeaning ¶
func (*Meaning) GetType ¶
func (x *Meaning) GetType() Meaning_Type
func (*Meaning) ProtoMessage ¶
func (*Meaning) ProtoMessage()
func (*Meaning) ProtoReflect ¶
func (x *Meaning) ProtoReflect() protoreflect.Message
type Meaning_Type ¶
type Meaning_Type int32
const ( Meaning_UNKNOWN Meaning_Type = 0 Meaning_PRIMARY Meaning_Type = 1 Meaning_SECONDARY Meaning_Type = 2 // Old meaning for a radical that was changed. Meaning_AUXILIARY_WHITELIST Meaning_Type = 3 // Similar (within edit distance) to an accepted reading but incorrect. Meaning_BLACKLIST Meaning_Type = 4 )
func (Meaning_Type) Descriptor ¶
func (Meaning_Type) Descriptor() protoreflect.EnumDescriptor
func (Meaning_Type) Enum ¶
func (x Meaning_Type) Enum() *Meaning_Type
func (Meaning_Type) EnumDescriptor
deprecated
func (Meaning_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Meaning_Type.Descriptor instead.
func (Meaning_Type) Number ¶
func (x Meaning_Type) Number() protoreflect.EnumNumber
func (Meaning_Type) String ¶
func (x Meaning_Type) String() string
func (Meaning_Type) Type ¶
func (Meaning_Type) Type() protoreflect.EnumType
type Progress ¶
type Progress struct { MeaningWrong *bool `protobuf:"varint,3,opt,name=meaning_wrong,json=meaningWrong,proto3,oneof" json:"meaning_wrong,omitempty"` ReadingWrong *bool `protobuf:"varint,4,opt,name=reading_wrong,json=readingWrong,proto3,oneof" json:"reading_wrong,omitempty"` IsLesson *bool `protobuf:"varint,5,opt,name=is_lesson,json=isLesson,proto3,oneof" json:"is_lesson,omitempty"` Assignment *Assignment `protobuf:"bytes,6,opt,name=assignment,proto3,oneof" json:"assignment,omitempty"` CreatedAt *int32 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` MeaningWrongCount *int32 `protobuf:"varint,8,opt,name=meaning_wrong_count,json=meaningWrongCount,proto3,oneof" json:"meaning_wrong_count,omitempty"` ReadingWrongCount *int32 `protobuf:"varint,9,opt,name=reading_wrong_count,json=readingWrongCount,proto3,oneof" json:"reading_wrong_count,omitempty"` // contains filtered or unexported fields }
func (*Progress) Descriptor
deprecated
func (*Progress) GetAssignment ¶
func (x *Progress) GetAssignment() *Assignment
func (*Progress) GetCreatedAt ¶
func (*Progress) GetIsLesson ¶
func (*Progress) GetMeaningWrong ¶
func (*Progress) GetMeaningWrongCount ¶
func (*Progress) GetReadingWrong ¶
func (*Progress) GetReadingWrongCount ¶
func (*Progress) ProtoMessage ¶
func (*Progress) ProtoMessage()
func (*Progress) ProtoReflect ¶
func (x *Progress) ProtoReflect() protoreflect.Message
type Radical ¶
type Radical struct { CharacterImage *string `protobuf:"bytes,1,opt,name=character_image,json=characterImage,proto3,oneof" json:"character_image,omitempty"` // Not present in final data. Mnemonic *string `protobuf:"bytes,2,opt,name=mnemonic,proto3,oneof" json:"mnemonic,omitempty"` DeprecatedMnemonic *string `protobuf:"bytes,5,opt,name=deprecated_mnemonic,json=deprecatedMnemonic,proto3,oneof" json:"deprecated_mnemonic,omitempty"` HasCharacterImageFile *bool `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Radical) Descriptor
deprecated
func (*Radical) GetCharacterImage ¶
func (*Radical) GetDeprecatedMnemonic ¶
func (*Radical) GetHasCharacterImageFile ¶
func (*Radical) GetMnemonic ¶
func (*Radical) ProtoMessage ¶
func (*Radical) ProtoMessage()
func (*Radical) ProtoReflect ¶
func (x *Radical) ProtoReflect() protoreflect.Message
type Reading ¶
type Reading struct { Reading *string `protobuf:"bytes,1,opt,name=reading,proto3,oneof" json:"reading,omitempty"` // Non-primary readings are not accepted for Kanji. // TODO: use the accepted_answer field instead. IsPrimary *bool `protobuf:"varint,2,opt,name=is_primary,json=isPrimary,proto3,oneof" json:"is_primary,omitempty"` Type *Reading_Type `protobuf:"varint,3,opt,name=type,proto3,enum=proto.Reading_Type,oneof" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Reading) Descriptor
deprecated
func (*Reading) GetIsPrimary ¶
func (*Reading) GetReading ¶
func (*Reading) GetType ¶
func (x *Reading) GetType() Reading_Type
func (*Reading) ProtoMessage ¶
func (*Reading) ProtoMessage()
func (*Reading) ProtoReflect ¶
func (x *Reading) ProtoReflect() protoreflect.Message
type Reading_Type ¶
type Reading_Type int32
Type is only set for Kanji readings - not for Vocabulary.
const ( Reading_UNKNOWN Reading_Type = 0 Reading_ONYOMI Reading_Type = 1 Reading_KUNYOMI Reading_Type = 2 Reading_NANORI Reading_Type = 3 )
func (Reading_Type) Descriptor ¶
func (Reading_Type) Descriptor() protoreflect.EnumDescriptor
func (Reading_Type) Enum ¶
func (x Reading_Type) Enum() *Reading_Type
func (Reading_Type) EnumDescriptor
deprecated
func (Reading_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Reading_Type.Descriptor instead.
func (Reading_Type) Number ¶
func (x Reading_Type) Number() protoreflect.EnumNumber
func (Reading_Type) String ¶
func (x Reading_Type) String() string
func (Reading_Type) Type ¶
func (Reading_Type) Type() protoreflect.EnumType
type StudyMaterials ¶
type StudyMaterials struct { Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` SubjectId *int64 `protobuf:"varint,2,opt,name=subject_id,json=subjectId,proto3,oneof" json:"subject_id,omitempty"` MeaningNote *string `protobuf:"bytes,3,opt,name=meaning_note,json=meaningNote,proto3,oneof" json:"meaning_note,omitempty"` ReadingNote *string `protobuf:"bytes,4,opt,name=reading_note,json=readingNote,proto3,oneof" json:"reading_note,omitempty"` MeaningSynonyms []string `protobuf:"bytes,5,rep,name=meaning_synonyms,json=meaningSynonyms,proto3" json:"meaning_synonyms,omitempty"` // contains filtered or unexported fields }
func (*StudyMaterials) Descriptor
deprecated
func (*StudyMaterials) Descriptor() ([]byte, []int)
Deprecated: Use StudyMaterials.ProtoReflect.Descriptor instead.
func (*StudyMaterials) GetId ¶
func (x *StudyMaterials) GetId() int64
func (*StudyMaterials) GetMeaningNote ¶
func (x *StudyMaterials) GetMeaningNote() string
func (*StudyMaterials) GetMeaningSynonyms ¶
func (x *StudyMaterials) GetMeaningSynonyms() []string
func (*StudyMaterials) GetReadingNote ¶
func (x *StudyMaterials) GetReadingNote() string
func (*StudyMaterials) GetSubjectId ¶
func (x *StudyMaterials) GetSubjectId() int64
func (*StudyMaterials) ProtoMessage ¶
func (*StudyMaterials) ProtoMessage()
func (*StudyMaterials) ProtoReflect ¶
func (x *StudyMaterials) ProtoReflect() protoreflect.Message
func (*StudyMaterials) Reset ¶
func (x *StudyMaterials) Reset()
func (*StudyMaterials) String ¶
func (x *StudyMaterials) String() string
type Subject ¶
type Subject struct { Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Level *int32 `protobuf:"varint,2,opt,name=level,proto3,oneof" json:"level,omitempty"` Slug *string `protobuf:"bytes,3,opt,name=slug,proto3,oneof" json:"slug,omitempty"` DocumentUrl *string `protobuf:"bytes,4,opt,name=document_url,json=documentUrl,proto3,oneof" json:"document_url,omitempty"` Japanese *string `protobuf:"bytes,5,opt,name=japanese,proto3,oneof" json:"japanese,omitempty"` Readings []*Reading `protobuf:"bytes,6,rep,name=readings,proto3" json:"readings,omitempty"` // Does not apply to radicals or kana vocabulary. Meanings []*Meaning `protobuf:"bytes,7,rep,name=meanings,proto3" json:"meanings,omitempty"` ComponentSubjectIds []int64 `` // Does not apply to radicals. /* 128-byte string literal not displayed */ AmalgamationSubjectIds []int64 `` // Does not apply to vocabulary or kana vocabulary. /* 138-byte string literal not displayed */ Radical *Radical `protobuf:"bytes,9,opt,name=radical,proto3,oneof" json:"radical,omitempty"` Kanji *Kanji `protobuf:"bytes,10,opt,name=kanji,proto3,oneof" json:"kanji,omitempty"` Vocabulary *Vocabulary `protobuf:"bytes,11,opt,name=vocabulary,proto3,oneof" json:"vocabulary,omitempty"` // contains filtered or unexported fields }
func (*Subject) Descriptor
deprecated
func (*Subject) GetAmalgamationSubjectIds ¶
func (*Subject) GetComponentSubjectIds ¶
func (*Subject) GetDocumentUrl ¶
func (*Subject) GetJapanese ¶
func (*Subject) GetMeanings ¶
func (*Subject) GetRadical ¶
func (*Subject) GetReadings ¶
func (*Subject) GetVocabulary ¶
func (x *Subject) GetVocabulary() *Vocabulary
func (*Subject) ProtoMessage ¶
func (*Subject) ProtoMessage()
func (*Subject) ProtoReflect ¶
func (x *Subject) ProtoReflect() protoreflect.Message
type Subject_Type ¶
type Subject_Type int32
const ( Subject_UNKNOWN Subject_Type = 0 Subject_RADICAL Subject_Type = 1 Subject_KANJI Subject_Type = 2 Subject_VOCABULARY Subject_Type = 3 )
func (Subject_Type) Descriptor ¶
func (Subject_Type) Descriptor() protoreflect.EnumDescriptor
func (Subject_Type) Enum ¶
func (x Subject_Type) Enum() *Subject_Type
func (Subject_Type) EnumDescriptor
deprecated
func (Subject_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Subject_Type.Descriptor instead.
func (Subject_Type) Number ¶
func (x Subject_Type) Number() protoreflect.EnumNumber
func (Subject_Type) String ¶
func (x Subject_Type) String() string
func (Subject_Type) Type ¶
func (Subject_Type) Type() protoreflect.EnumType
type SubjectsByLevel ¶
type SubjectsByLevel struct { Radicals []int64 `protobuf:"varint,1,rep,packed,name=radicals,proto3" json:"radicals,omitempty"` Kanji []int64 `protobuf:"varint,2,rep,packed,name=kanji,proto3" json:"kanji,omitempty"` Vocabulary []int64 `protobuf:"varint,3,rep,packed,name=vocabulary,proto3" json:"vocabulary,omitempty"` // contains filtered or unexported fields }
func (*SubjectsByLevel) Descriptor
deprecated
func (*SubjectsByLevel) Descriptor() ([]byte, []int)
Deprecated: Use SubjectsByLevel.ProtoReflect.Descriptor instead.
func (*SubjectsByLevel) GetKanji ¶
func (x *SubjectsByLevel) GetKanji() []int64
func (*SubjectsByLevel) GetRadicals ¶
func (x *SubjectsByLevel) GetRadicals() []int64
func (*SubjectsByLevel) GetVocabulary ¶
func (x *SubjectsByLevel) GetVocabulary() []int64
func (*SubjectsByLevel) ProtoMessage ¶
func (*SubjectsByLevel) ProtoMessage()
func (*SubjectsByLevel) ProtoReflect ¶
func (x *SubjectsByLevel) ProtoReflect() protoreflect.Message
func (*SubjectsByLevel) Reset ¶
func (x *SubjectsByLevel) Reset()
func (*SubjectsByLevel) String ¶
func (x *SubjectsByLevel) String() string
type User ¶
type User struct { Username *string `protobuf:"bytes,1,opt,name=username,proto3,oneof" json:"username,omitempty"` Level *int32 `protobuf:"varint,2,opt,name=level,proto3,oneof" json:"level,omitempty"` MaxLevelGrantedBySubscription *int32 `` /* 161-byte string literal not displayed */ ProfileUrl *string `protobuf:"bytes,4,opt,name=profile_url,json=profileUrl,proto3,oneof" json:"profile_url,omitempty"` StartedAt *int32 `protobuf:"varint,5,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"` Subscribed *bool `protobuf:"varint,6,opt,name=subscribed,proto3,oneof" json:"subscribed,omitempty"` SubscriptionEndsAt *int32 `protobuf:"varint,7,opt,name=subscription_ends_at,json=subscriptionEndsAt,proto3,oneof" json:"subscription_ends_at,omitempty"` VacationStartedAt *int32 `protobuf:"varint,8,opt,name=vacation_started_at,json=vacationStartedAt,proto3,oneof" json:"vacation_started_at,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetMaxLevelGrantedBySubscription ¶
func (*User) GetProfileUrl ¶
func (*User) GetStartedAt ¶
func (*User) GetSubscribed ¶
func (*User) GetSubscriptionEndsAt ¶
func (*User) GetUsername ¶
func (*User) GetVacationStartedAt ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type Vocabulary ¶
type Vocabulary struct { MeaningExplanation *string `protobuf:"bytes,1,opt,name=meaning_explanation,json=meaningExplanation,proto3,oneof" json:"meaning_explanation,omitempty"` ReadingExplanation *string `protobuf:"bytes,2,opt,name=reading_explanation,json=readingExplanation,proto3,oneof" json:"reading_explanation,omitempty"` Sentences []*Vocabulary_Sentence `protobuf:"bytes,3,rep,name=sentences,proto3" json:"sentences,omitempty"` PartsOfSpeech []Vocabulary_PartOfSpeech `` /* 145-byte string literal not displayed */ Audio []*Vocabulary_PronunciationAudio `protobuf:"bytes,8,rep,name=audio,proto3" json:"audio,omitempty"` // contains filtered or unexported fields }
func (*Vocabulary) Descriptor
deprecated
func (*Vocabulary) Descriptor() ([]byte, []int)
Deprecated: Use Vocabulary.ProtoReflect.Descriptor instead.
func (*Vocabulary) GetAudio ¶
func (x *Vocabulary) GetAudio() []*Vocabulary_PronunciationAudio
func (*Vocabulary) GetMeaningExplanation ¶
func (x *Vocabulary) GetMeaningExplanation() string
func (*Vocabulary) GetPartsOfSpeech ¶
func (x *Vocabulary) GetPartsOfSpeech() []Vocabulary_PartOfSpeech
func (*Vocabulary) GetReadingExplanation ¶
func (x *Vocabulary) GetReadingExplanation() string
func (*Vocabulary) GetSentences ¶
func (x *Vocabulary) GetSentences() []*Vocabulary_Sentence
func (*Vocabulary) ProtoMessage ¶
func (*Vocabulary) ProtoMessage()
func (*Vocabulary) ProtoReflect ¶
func (x *Vocabulary) ProtoReflect() protoreflect.Message
func (*Vocabulary) Reset ¶
func (x *Vocabulary) Reset()
func (*Vocabulary) String ¶
func (x *Vocabulary) String() string
type Vocabulary_PartOfSpeech ¶
type Vocabulary_PartOfSpeech int32
const ( Vocabulary_UNKNOWN Vocabulary_PartOfSpeech = 0 Vocabulary_NOUN Vocabulary_PartOfSpeech = 1 Vocabulary_NUMERAL Vocabulary_PartOfSpeech = 2 Vocabulary_INTRANSITIVE_VERB Vocabulary_PartOfSpeech = 3 Vocabulary_ICHIDAN_VERB Vocabulary_PartOfSpeech = 4 Vocabulary_TRANSITIVE_VERB Vocabulary_PartOfSpeech = 5 Vocabulary_NO_ADJECTIVE Vocabulary_PartOfSpeech = 6 Vocabulary_GODAN_VERB Vocabulary_PartOfSpeech = 7 Vocabulary_NA_ADJECTIVE Vocabulary_PartOfSpeech = 8 Vocabulary_I_ADJECTIVE Vocabulary_PartOfSpeech = 9 Vocabulary_SUFFIX Vocabulary_PartOfSpeech = 10 Vocabulary_ADVERB Vocabulary_PartOfSpeech = 11 Vocabulary_SURU_VERB Vocabulary_PartOfSpeech = 12 Vocabulary_PREFIX Vocabulary_PartOfSpeech = 13 Vocabulary_PROPER_NOUN Vocabulary_PartOfSpeech = 14 Vocabulary_EXPRESSION Vocabulary_PartOfSpeech = 15 Vocabulary_ADJECTIVE Vocabulary_PartOfSpeech = 16 Vocabulary_INTERJECTION Vocabulary_PartOfSpeech = 17 Vocabulary_COUNTER Vocabulary_PartOfSpeech = 18 Vocabulary_PRONOUN Vocabulary_PartOfSpeech = 19 Vocabulary_CONJUNCTION Vocabulary_PartOfSpeech = 20 )
func (Vocabulary_PartOfSpeech) Descriptor ¶
func (Vocabulary_PartOfSpeech) Descriptor() protoreflect.EnumDescriptor
func (Vocabulary_PartOfSpeech) Enum ¶
func (x Vocabulary_PartOfSpeech) Enum() *Vocabulary_PartOfSpeech
func (Vocabulary_PartOfSpeech) EnumDescriptor
deprecated
func (Vocabulary_PartOfSpeech) EnumDescriptor() ([]byte, []int)
Deprecated: Use Vocabulary_PartOfSpeech.Descriptor instead.
func (Vocabulary_PartOfSpeech) Number ¶
func (x Vocabulary_PartOfSpeech) Number() protoreflect.EnumNumber
func (Vocabulary_PartOfSpeech) String ¶
func (x Vocabulary_PartOfSpeech) String() string
func (Vocabulary_PartOfSpeech) Type ¶
func (Vocabulary_PartOfSpeech) Type() protoreflect.EnumType
type Vocabulary_PronunciationAudio ¶
type Vocabulary_PronunciationAudio struct { Url *string `protobuf:"bytes,1,opt,name=url,proto3,oneof" json:"url,omitempty"` VoiceActorId *int64 `protobuf:"varint,2,opt,name=voice_actor_id,json=voiceActorId,proto3,oneof" json:"voice_actor_id,omitempty"` // contains filtered or unexported fields }
func (*Vocabulary_PronunciationAudio) Descriptor
deprecated
func (*Vocabulary_PronunciationAudio) Descriptor() ([]byte, []int)
Deprecated: Use Vocabulary_PronunciationAudio.ProtoReflect.Descriptor instead.
func (*Vocabulary_PronunciationAudio) GetUrl ¶
func (x *Vocabulary_PronunciationAudio) GetUrl() string
func (*Vocabulary_PronunciationAudio) GetVoiceActorId ¶
func (x *Vocabulary_PronunciationAudio) GetVoiceActorId() int64
func (*Vocabulary_PronunciationAudio) ProtoMessage ¶
func (*Vocabulary_PronunciationAudio) ProtoMessage()
func (*Vocabulary_PronunciationAudio) ProtoReflect ¶
func (x *Vocabulary_PronunciationAudio) ProtoReflect() protoreflect.Message
func (*Vocabulary_PronunciationAudio) Reset ¶
func (x *Vocabulary_PronunciationAudio) Reset()
func (*Vocabulary_PronunciationAudio) String ¶
func (x *Vocabulary_PronunciationAudio) String() string
type Vocabulary_Sentence ¶
type Vocabulary_Sentence struct { Japanese *string `protobuf:"bytes,1,opt,name=japanese,proto3,oneof" json:"japanese,omitempty"` English *string `protobuf:"bytes,2,opt,name=english,proto3,oneof" json:"english,omitempty"` // contains filtered or unexported fields }
func (*Vocabulary_Sentence) Descriptor
deprecated
func (*Vocabulary_Sentence) Descriptor() ([]byte, []int)
Deprecated: Use Vocabulary_Sentence.ProtoReflect.Descriptor instead.
func (*Vocabulary_Sentence) GetEnglish ¶
func (x *Vocabulary_Sentence) GetEnglish() string
func (*Vocabulary_Sentence) GetJapanese ¶
func (x *Vocabulary_Sentence) GetJapanese() string
func (*Vocabulary_Sentence) ProtoMessage ¶
func (*Vocabulary_Sentence) ProtoMessage()
func (*Vocabulary_Sentence) ProtoReflect ¶
func (x *Vocabulary_Sentence) ProtoReflect() protoreflect.Message
func (*Vocabulary_Sentence) Reset ¶
func (x *Vocabulary_Sentence) Reset()
func (*Vocabulary_Sentence) String ¶
func (x *Vocabulary_Sentence) String() string
type VoiceActor ¶
type VoiceActor struct { Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Gender *VoiceActor_Gender `protobuf:"varint,2,opt,name=gender,proto3,enum=proto.VoiceActor_Gender,oneof" json:"gender,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*VoiceActor) Descriptor
deprecated
func (*VoiceActor) Descriptor() ([]byte, []int)
Deprecated: Use VoiceActor.ProtoReflect.Descriptor instead.
func (*VoiceActor) GetDescription ¶
func (x *VoiceActor) GetDescription() string
func (*VoiceActor) GetGender ¶
func (x *VoiceActor) GetGender() VoiceActor_Gender
func (*VoiceActor) GetId ¶
func (x *VoiceActor) GetId() int64
func (*VoiceActor) GetName ¶
func (x *VoiceActor) GetName() string
func (*VoiceActor) ProtoMessage ¶
func (*VoiceActor) ProtoMessage()
func (*VoiceActor) ProtoReflect ¶
func (x *VoiceActor) ProtoReflect() protoreflect.Message
func (*VoiceActor) Reset ¶
func (x *VoiceActor) Reset()
func (*VoiceActor) String ¶
func (x *VoiceActor) String() string
type VoiceActor_Gender ¶
type VoiceActor_Gender int32
const ( VoiceActor_UNKNOWN VoiceActor_Gender = 0 VoiceActor_MALE VoiceActor_Gender = 1 VoiceActor_FEMALE VoiceActor_Gender = 2 )
func (VoiceActor_Gender) Descriptor ¶
func (VoiceActor_Gender) Descriptor() protoreflect.EnumDescriptor
func (VoiceActor_Gender) Enum ¶
func (x VoiceActor_Gender) Enum() *VoiceActor_Gender
func (VoiceActor_Gender) EnumDescriptor
deprecated
func (VoiceActor_Gender) EnumDescriptor() ([]byte, []int)
Deprecated: Use VoiceActor_Gender.Descriptor instead.
func (VoiceActor_Gender) Number ¶
func (x VoiceActor_Gender) Number() protoreflect.EnumNumber
func (VoiceActor_Gender) String ¶
func (x VoiceActor_Gender) String() string
func (VoiceActor_Gender) Type ¶
func (VoiceActor_Gender) Type() protoreflect.EnumType