proto

package
v0.0.0-...-2c1f043 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

View Source
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 (*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 (*DeprecatedMnemonicFile_Subject) ProtoMessage

func (*DeprecatedMnemonicFile_Subject) ProtoMessage()

func (*DeprecatedMnemonicFile_Subject) ProtoReflect

func (*DeprecatedMnemonicFile_Subject) Reset

func (x *DeprecatedMnemonicFile_Subject) Reset()

func (*DeprecatedMnemonicFile_Subject) 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) Enum

func (FormattedText_Format) EnumDescriptor deprecated

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

Deprecated: Use FormattedText_Format.Descriptor instead.

func (FormattedText_Format) Number

func (FormattedText_Format) String

func (x FormattedText_Format) String() string

func (FormattedText_Format) Type

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

Deprecated: Use Kanji.ProtoReflect.Descriptor instead.

func (*Kanji) GetMeaningHint

func (x *Kanji) GetMeaningHint() string

func (*Kanji) GetMeaningMnemonic

func (x *Kanji) GetMeaningMnemonic() string

func (*Kanji) GetReadingHint

func (x *Kanji) GetReadingHint() string

func (*Kanji) GetReadingMnemonic

func (x *Kanji) GetReadingMnemonic() string

func (*Kanji) GetVisuallySimilarKanji

func (x *Kanji) GetVisuallySimilarKanji() string

func (*Kanji) ProtoMessage

func (*Kanji) ProtoMessage()

func (*Kanji) ProtoReflect

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

func (*Kanji) Reset

func (x *Kanji) Reset()

func (*Kanji) String

func (x *Kanji) String() string

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

Deprecated: Use Level.ProtoReflect.Descriptor instead.

func (*Level) GetAbandonedAt

func (x *Level) GetAbandonedAt() int32

func (*Level) GetCompletedAt

func (x *Level) GetCompletedAt() int32

func (*Level) GetCreatedAt

func (x *Level) GetCreatedAt() int32

func (*Level) GetId

func (x *Level) GetId() int64

func (*Level) GetLevel

func (x *Level) GetLevel() int32

func (*Level) GetPassedAt

func (x *Level) GetPassedAt() int32

func (*Level) GetStartedAt

func (x *Level) GetStartedAt() int32

func (*Level) GetUnlockedAt

func (x *Level) GetUnlockedAt() int32

func (*Level) ProtoMessage

func (*Level) ProtoMessage()

func (*Level) ProtoReflect

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

func (*Level) Reset

func (x *Level) Reset()

func (*Level) String

func (x *Level) String() string

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

Deprecated: Use Meaning.ProtoReflect.Descriptor instead.

func (*Meaning) GetMeaning

func (x *Meaning) GetMeaning() string

func (*Meaning) GetType

func (x *Meaning) GetType() Meaning_Type

func (*Meaning) ProtoMessage

func (*Meaning) ProtoMessage()

func (*Meaning) ProtoReflect

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

func (*Meaning) Reset

func (x *Meaning) Reset()

func (*Meaning) String

func (x *Meaning) String() string

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) 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 (Meaning_Type) String

func (x Meaning_Type) String() string

func (Meaning_Type) Type

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

Deprecated: Use Progress.ProtoReflect.Descriptor instead.

func (*Progress) GetAssignment

func (x *Progress) GetAssignment() *Assignment

func (*Progress) GetCreatedAt

func (x *Progress) GetCreatedAt() int32

func (*Progress) GetIsLesson

func (x *Progress) GetIsLesson() bool

func (*Progress) GetMeaningWrong

func (x *Progress) GetMeaningWrong() bool

func (*Progress) GetMeaningWrongCount

func (x *Progress) GetMeaningWrongCount() int32

func (*Progress) GetReadingWrong

func (x *Progress) GetReadingWrong() bool

func (*Progress) GetReadingWrongCount

func (x *Progress) GetReadingWrongCount() int32

func (*Progress) ProtoMessage

func (*Progress) ProtoMessage()

func (*Progress) ProtoReflect

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

func (*Progress) Reset

func (x *Progress) Reset()

func (*Progress) String

func (x *Progress) String() string

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

Deprecated: Use Radical.ProtoReflect.Descriptor instead.

func (*Radical) GetCharacterImage

func (x *Radical) GetCharacterImage() string

func (*Radical) GetDeprecatedMnemonic

func (x *Radical) GetDeprecatedMnemonic() string

func (*Radical) GetHasCharacterImageFile

func (x *Radical) GetHasCharacterImageFile() bool

func (*Radical) GetMnemonic

func (x *Radical) GetMnemonic() string

func (*Radical) ProtoMessage

func (*Radical) ProtoMessage()

func (*Radical) ProtoReflect

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

func (*Radical) Reset

func (x *Radical) Reset()

func (*Radical) String

func (x *Radical) String() string

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

Deprecated: Use Reading.ProtoReflect.Descriptor instead.

func (*Reading) GetIsPrimary

func (x *Reading) GetIsPrimary() bool

func (*Reading) GetReading

func (x *Reading) GetReading() string

func (*Reading) GetType

func (x *Reading) GetType() Reading_Type

func (*Reading) ProtoMessage

func (*Reading) ProtoMessage()

func (*Reading) ProtoReflect

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

func (*Reading) Reset

func (x *Reading) Reset()

func (*Reading) String

func (x *Reading) String() string

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) 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 (Reading_Type) String

func (x Reading_Type) String() string

func (Reading_Type) Type

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

Deprecated: Use Subject.ProtoReflect.Descriptor instead.

func (*Subject) GetAmalgamationSubjectIds

func (x *Subject) GetAmalgamationSubjectIds() []int64

func (*Subject) GetComponentSubjectIds

func (x *Subject) GetComponentSubjectIds() []int64

func (*Subject) GetDocumentUrl

func (x *Subject) GetDocumentUrl() string

func (*Subject) GetId

func (x *Subject) GetId() int64

func (*Subject) GetJapanese

func (x *Subject) GetJapanese() string

func (*Subject) GetKanji

func (x *Subject) GetKanji() *Kanji

func (*Subject) GetLevel

func (x *Subject) GetLevel() int32

func (*Subject) GetMeanings

func (x *Subject) GetMeanings() []*Meaning

func (*Subject) GetRadical

func (x *Subject) GetRadical() *Radical

func (*Subject) GetReadings

func (x *Subject) GetReadings() []*Reading

func (*Subject) GetSlug

func (x *Subject) GetSlug() string

func (*Subject) GetVocabulary

func (x *Subject) GetVocabulary() *Vocabulary

func (*Subject) ProtoMessage

func (*Subject) ProtoMessage()

func (*Subject) ProtoReflect

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

func (*Subject) Reset

func (x *Subject) Reset()

func (*Subject) String

func (x *Subject) String() string

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) 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 (Subject_Type) String

func (x Subject_Type) String() string

func (Subject_Type) Type

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetLevel

func (x *User) GetLevel() int32

func (*User) GetMaxLevelGrantedBySubscription

func (x *User) GetMaxLevelGrantedBySubscription() int32

func (*User) GetProfileUrl

func (x *User) GetProfileUrl() string

func (*User) GetStartedAt

func (x *User) GetStartedAt() int32

func (*User) GetSubscribed

func (x *User) GetSubscribed() bool

func (*User) GetSubscriptionEndsAt

func (x *User) GetSubscriptionEndsAt() int32

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) GetVacationStartedAt

func (x *User) GetVacationStartedAt() int32

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

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) Enum

func (Vocabulary_PartOfSpeech) EnumDescriptor deprecated

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

Deprecated: Use Vocabulary_PartOfSpeech.Descriptor instead.

func (Vocabulary_PartOfSpeech) Number

func (Vocabulary_PartOfSpeech) String

func (x Vocabulary_PartOfSpeech) String() string

func (Vocabulary_PartOfSpeech) Type

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 (*Vocabulary_PronunciationAudio) GetVoiceActorId

func (x *Vocabulary_PronunciationAudio) GetVoiceActorId() int64

func (*Vocabulary_PronunciationAudio) ProtoMessage

func (*Vocabulary_PronunciationAudio) ProtoMessage()

func (*Vocabulary_PronunciationAudio) ProtoReflect

func (*Vocabulary_PronunciationAudio) Reset

func (x *Vocabulary_PronunciationAudio) Reset()

func (*Vocabulary_PronunciationAudio) 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) Enum

func (VoiceActor_Gender) EnumDescriptor deprecated

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

Deprecated: Use VoiceActor_Gender.Descriptor instead.

func (VoiceActor_Gender) Number

func (VoiceActor_Gender) String

func (x VoiceActor_Gender) String() string

func (VoiceActor_Gender) Type

Jump to

Keyboard shortcuts

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