srv_dba

package module
v0.0.0-...-8519efd Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package srv_dba is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_kioku_srv_dba_v1_srv_dba_helpers_proto protoreflect.FileDescriptor
View Source
var File_kioku_srv_dba_v1_srv_dba_kanji_progress_proto protoreflect.FileDescriptor
View Source
var File_kioku_srv_dba_v1_srv_dba_kanji_proto protoreflect.FileDescriptor
View Source
var File_kioku_srv_dba_v1_srv_dba_proto protoreflect.FileDescriptor
View Source
var File_kioku_srv_dba_v1_srv_dba_word_progress_proto protoreflect.FileDescriptor
View Source
var File_kioku_srv_dba_v1_srv_dba_word_proto protoreflect.FileDescriptor
View Source
var SrvDbaService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kioku.server.srv_dba.v1.SrvDbaService",
	HandlerType: (*SrvDbaServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetKanjiByIdV1",
			Handler:    _SrvDbaService_GetKanjiByIdV1_Handler,
		},
		{
			MethodName: "ListKanjiByLevelV1",
			Handler:    _SrvDbaService_ListKanjiByLevelV1_Handler,
		},
		{
			MethodName: "ListKanjiByIdsV1",
			Handler:    _SrvDbaService_ListKanjiByIdsV1_Handler,
		},
		{
			MethodName: "GetWordByIdV1",
			Handler:    _SrvDbaService_GetWordByIdV1_Handler,
		},
		{
			MethodName: "ListWordsByLevelV1",
			Handler:    _SrvDbaService_ListWordsByLevelV1_Handler,
		},
		{
			MethodName: "ListWordsByKanjiV1",
			Handler:    _SrvDbaService_ListWordsByKanjiV1_Handler,
		},
		{
			MethodName: "ListWordsByIdsV1",
			Handler:    _SrvDbaService_ListWordsByIdsV1_Handler,
		},
		{
			MethodName: "ListWordsByKanjiAndLevelV1",
			Handler:    _SrvDbaService_ListWordsByKanjiAndLevelV1_Handler,
		},
		{
			MethodName: "GetKanjiProgressByIdV1",
			Handler:    _SrvDbaService_GetKanjiProgressByIdV1_Handler,
		},
		{
			MethodName: "ListKanjiProgressByTimeV1",
			Handler:    _SrvDbaService_ListKanjiProgressByTimeV1_Handler,
		},
		{
			MethodName: "ListKanjiProgressByIdsV1",
			Handler:    _SrvDbaService_ListKanjiProgressByIdsV1_Handler,
		},
		{
			MethodName: "ListKanjiProgressBySrsLevelV1",
			Handler:    _SrvDbaService_ListKanjiProgressBySrsLevelV1_Handler,
		},
		{
			MethodName: "AddKanjiProgressV1",
			Handler:    _SrvDbaService_AddKanjiProgressV1_Handler,
		},
		{
			MethodName: "UpdateKanjiProgressV1",
			Handler:    _SrvDbaService_UpdateKanjiProgressV1_Handler,
		},
		{
			MethodName: "GetWordProgressByIdV1",
			Handler:    _SrvDbaService_GetWordProgressByIdV1_Handler,
		},
		{
			MethodName: "ListWordProgressByTimeV1",
			Handler:    _SrvDbaService_ListWordProgressByTimeV1_Handler,
		},
		{
			MethodName: "ListWordProgressByIdsV1",
			Handler:    _SrvDbaService_ListWordProgressByIdsV1_Handler,
		},
		{
			MethodName: "ListWordProgressBySrsLevelV1",
			Handler:    _SrvDbaService_ListWordProgressBySrsLevelV1_Handler,
		},
		{
			MethodName: "AddWordProgressV1",
			Handler:    _SrvDbaService_AddWordProgressV1_Handler,
		},
		{
			MethodName: "UpdateWordProgressV1",
			Handler:    _SrvDbaService_UpdateWordProgressV1_Handler,
		},
		{
			MethodName: "GetCounterV1",
			Handler:    _SrvDbaService_GetCounterV1_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kioku/srv-dba/v1/srv-dba.proto",
}

SrvDbaService_ServiceDesc is the grpc.ServiceDesc for SrvDbaService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSrvDbaServiceHandler

func RegisterSrvDbaServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSrvDbaServiceHandler registers the http handlers for service SrvDbaService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSrvDbaServiceHandlerClient

func RegisterSrvDbaServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SrvDbaServiceClient) error

RegisterSrvDbaServiceHandlerClient registers the http handlers for service SrvDbaService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SrvDbaServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SrvDbaServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SrvDbaServiceClient" to call the correct interceptors.

func RegisterSrvDbaServiceHandlerFromEndpoint

func RegisterSrvDbaServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSrvDbaServiceHandlerFromEndpoint is same as RegisterSrvDbaServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSrvDbaServiceHandlerServer

func RegisterSrvDbaServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SrvDbaServiceServer) error

RegisterSrvDbaServiceHandlerServer registers the http handlers for service SrvDbaService to "mux". UnaryRPC :call SrvDbaServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSrvDbaServiceHandlerFromEndpoint instead.

func RegisterSrvDbaServiceServer

func RegisterSrvDbaServiceServer(s grpc.ServiceRegistrar, srv SrvDbaServiceServer)

Types

type AddKanjiProgressV1Request

type AddKanjiProgressV1Request struct {
	UserId  uint64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	KanjiId []uint64 `protobuf:"varint,2,rep,packed,name=kanji_id,json=kanjiId,proto3" json:"kanji_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddKanjiProgressV1Request) Descriptor deprecated

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

Deprecated: Use AddKanjiProgressV1Request.ProtoReflect.Descriptor instead.

func (*AddKanjiProgressV1Request) GetKanjiId

func (x *AddKanjiProgressV1Request) GetKanjiId() []uint64

func (*AddKanjiProgressV1Request) GetUserId

func (x *AddKanjiProgressV1Request) GetUserId() uint64

func (*AddKanjiProgressV1Request) ProtoMessage

func (*AddKanjiProgressV1Request) ProtoMessage()

func (*AddKanjiProgressV1Request) ProtoReflect

func (*AddKanjiProgressV1Request) Reset

func (x *AddKanjiProgressV1Request) Reset()

func (*AddKanjiProgressV1Request) String

func (x *AddKanjiProgressV1Request) String() string

func (*AddKanjiProgressV1Request) Validate

func (m *AddKanjiProgressV1Request) Validate() error

Validate checks the field values on AddKanjiProgressV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddKanjiProgressV1Request) ValidateAll

func (m *AddKanjiProgressV1Request) ValidateAll() error

ValidateAll checks the field values on AddKanjiProgressV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddKanjiProgressV1RequestMultiError, or nil if none found.

type AddKanjiProgressV1RequestMultiError

type AddKanjiProgressV1RequestMultiError []error

AddKanjiProgressV1RequestMultiError is an error wrapping multiple validation errors returned by AddKanjiProgressV1Request.ValidateAll() if the designated constraints aren't met.

func (AddKanjiProgressV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AddKanjiProgressV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddKanjiProgressV1RequestValidationError

type AddKanjiProgressV1RequestValidationError struct {
	// contains filtered or unexported fields
}

AddKanjiProgressV1RequestValidationError is the validation error returned by AddKanjiProgressV1Request.Validate if the designated constraints aren't met.

func (AddKanjiProgressV1RequestValidationError) Cause

Cause function returns cause value.

func (AddKanjiProgressV1RequestValidationError) Error

Error satisfies the builtin error interface

func (AddKanjiProgressV1RequestValidationError) ErrorName

ErrorName returns error name.

func (AddKanjiProgressV1RequestValidationError) Field

Field function returns field value.

func (AddKanjiProgressV1RequestValidationError) Key

Key function returns key value.

func (AddKanjiProgressV1RequestValidationError) Reason

Reason function returns reason value.

type AddWordProgressV1Request

type AddWordProgressV1Request struct {
	UserId uint64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	WordId []uint64 `protobuf:"varint,2,rep,packed,name=word_id,json=wordId,proto3" json:"word_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddWordProgressV1Request) Descriptor deprecated

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

Deprecated: Use AddWordProgressV1Request.ProtoReflect.Descriptor instead.

func (*AddWordProgressV1Request) GetUserId

func (x *AddWordProgressV1Request) GetUserId() uint64

func (*AddWordProgressV1Request) GetWordId

func (x *AddWordProgressV1Request) GetWordId() []uint64

func (*AddWordProgressV1Request) ProtoMessage

func (*AddWordProgressV1Request) ProtoMessage()

func (*AddWordProgressV1Request) ProtoReflect

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

func (*AddWordProgressV1Request) Reset

func (x *AddWordProgressV1Request) Reset()

func (*AddWordProgressV1Request) String

func (x *AddWordProgressV1Request) String() string

func (*AddWordProgressV1Request) Validate

func (m *AddWordProgressV1Request) Validate() error

Validate checks the field values on AddWordProgressV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddWordProgressV1Request) ValidateAll

func (m *AddWordProgressV1Request) ValidateAll() error

ValidateAll checks the field values on AddWordProgressV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddWordProgressV1RequestMultiError, or nil if none found.

type AddWordProgressV1RequestMultiError

type AddWordProgressV1RequestMultiError []error

AddWordProgressV1RequestMultiError is an error wrapping multiple validation errors returned by AddWordProgressV1Request.ValidateAll() if the designated constraints aren't met.

func (AddWordProgressV1RequestMultiError) AllErrors

func (m AddWordProgressV1RequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddWordProgressV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddWordProgressV1RequestValidationError

type AddWordProgressV1RequestValidationError struct {
	// contains filtered or unexported fields
}

AddWordProgressV1RequestValidationError is the validation error returned by AddWordProgressV1Request.Validate if the designated constraints aren't met.

func (AddWordProgressV1RequestValidationError) Cause

Cause function returns cause value.

func (AddWordProgressV1RequestValidationError) Error

Error satisfies the builtin error interface

func (AddWordProgressV1RequestValidationError) ErrorName

ErrorName returns error name.

func (AddWordProgressV1RequestValidationError) Field

Field function returns field value.

func (AddWordProgressV1RequestValidationError) Key

Key function returns key value.

func (AddWordProgressV1RequestValidationError) Reason

Reason function returns reason value.

type Counter

type Counter struct {
	KanjiCount     uint64 `protobuf:"varint,1,opt,name=kanji_count,json=kanjiCount,proto3" json:"kanji_count,omitempty"`
	UserKanjiCount uint64 `protobuf:"varint,2,opt,name=user_kanji_count,json=userKanjiCount,proto3" json:"user_kanji_count,omitempty"`
	WordsCount     uint64 `protobuf:"varint,3,opt,name=words_count,json=wordsCount,proto3" json:"words_count,omitempty"`
	UserWordsCount uint64 `protobuf:"varint,4,opt,name=user_words_count,json=userWordsCount,proto3" json:"user_words_count,omitempty"`
	// contains filtered or unexported fields
}

func (*Counter) Descriptor deprecated

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

Deprecated: Use Counter.ProtoReflect.Descriptor instead.

func (*Counter) GetKanjiCount

func (x *Counter) GetKanjiCount() uint64

func (*Counter) GetUserKanjiCount

func (x *Counter) GetUserKanjiCount() uint64

func (*Counter) GetUserWordsCount

func (x *Counter) GetUserWordsCount() uint64

func (*Counter) GetWordsCount

func (x *Counter) GetWordsCount() uint64

func (*Counter) ProtoMessage

func (*Counter) ProtoMessage()

func (*Counter) ProtoReflect

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

func (*Counter) Reset

func (x *Counter) Reset()

func (*Counter) String

func (x *Counter) String() string

func (*Counter) Validate

func (m *Counter) Validate() error

Validate checks the field values on Counter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Counter) ValidateAll

func (m *Counter) ValidateAll() error

ValidateAll checks the field values on Counter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CounterMultiError, or nil if none found.

type CounterMultiError

type CounterMultiError []error

CounterMultiError is an error wrapping multiple validation errors returned by Counter.ValidateAll() if the designated constraints aren't met.

func (CounterMultiError) AllErrors

func (m CounterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CounterMultiError) Error

func (m CounterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CounterValidationError

type CounterValidationError struct {
	// contains filtered or unexported fields
}

CounterValidationError is the validation error returned by Counter.Validate if the designated constraints aren't met.

func (CounterValidationError) Cause

func (e CounterValidationError) Cause() error

Cause function returns cause value.

func (CounterValidationError) Error

func (e CounterValidationError) Error() string

Error satisfies the builtin error interface

func (CounterValidationError) ErrorName

func (e CounterValidationError) ErrorName() string

ErrorName returns error name.

func (CounterValidationError) Field

func (e CounterValidationError) Field() string

Field function returns field value.

func (CounterValidationError) Key

func (e CounterValidationError) Key() bool

Key function returns key value.

func (CounterValidationError) Reason

func (e CounterValidationError) Reason() string

Reason function returns reason value.

type DefaultKanjiProgressV1Response

type DefaultKanjiProgressV1Response struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultKanjiProgressV1Response) Descriptor deprecated

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

Deprecated: Use DefaultKanjiProgressV1Response.ProtoReflect.Descriptor instead.

func (*DefaultKanjiProgressV1Response) GetSuccess

func (x *DefaultKanjiProgressV1Response) GetSuccess() bool

func (*DefaultKanjiProgressV1Response) ProtoMessage

func (*DefaultKanjiProgressV1Response) ProtoMessage()

func (*DefaultKanjiProgressV1Response) ProtoReflect

func (*DefaultKanjiProgressV1Response) Reset

func (x *DefaultKanjiProgressV1Response) Reset()

func (*DefaultKanjiProgressV1Response) String

func (*DefaultKanjiProgressV1Response) Validate

func (m *DefaultKanjiProgressV1Response) Validate() error

Validate checks the field values on DefaultKanjiProgressV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DefaultKanjiProgressV1Response) ValidateAll

func (m *DefaultKanjiProgressV1Response) ValidateAll() error

ValidateAll checks the field values on DefaultKanjiProgressV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DefaultKanjiProgressV1ResponseMultiError, or nil if none found.

type DefaultKanjiProgressV1ResponseMultiError

type DefaultKanjiProgressV1ResponseMultiError []error

DefaultKanjiProgressV1ResponseMultiError is an error wrapping multiple validation errors returned by DefaultKanjiProgressV1Response.ValidateAll() if the designated constraints aren't met.

func (DefaultKanjiProgressV1ResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DefaultKanjiProgressV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DefaultKanjiProgressV1ResponseValidationError

type DefaultKanjiProgressV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

DefaultKanjiProgressV1ResponseValidationError is the validation error returned by DefaultKanjiProgressV1Response.Validate if the designated constraints aren't met.

func (DefaultKanjiProgressV1ResponseValidationError) Cause

Cause function returns cause value.

func (DefaultKanjiProgressV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (DefaultKanjiProgressV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (DefaultKanjiProgressV1ResponseValidationError) Field

Field function returns field value.

func (DefaultKanjiProgressV1ResponseValidationError) Key

Key function returns key value.

func (DefaultKanjiProgressV1ResponseValidationError) Reason

Reason function returns reason value.

type DefaultWordProgressV1Response

type DefaultWordProgressV1Response struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultWordProgressV1Response) Descriptor deprecated

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

Deprecated: Use DefaultWordProgressV1Response.ProtoReflect.Descriptor instead.

func (*DefaultWordProgressV1Response) GetSuccess

func (x *DefaultWordProgressV1Response) GetSuccess() bool

func (*DefaultWordProgressV1Response) ProtoMessage

func (*DefaultWordProgressV1Response) ProtoMessage()

func (*DefaultWordProgressV1Response) ProtoReflect

func (*DefaultWordProgressV1Response) Reset

func (x *DefaultWordProgressV1Response) Reset()

func (*DefaultWordProgressV1Response) String

func (*DefaultWordProgressV1Response) Validate

func (m *DefaultWordProgressV1Response) Validate() error

Validate checks the field values on DefaultWordProgressV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DefaultWordProgressV1Response) ValidateAll

func (m *DefaultWordProgressV1Response) ValidateAll() error

ValidateAll checks the field values on DefaultWordProgressV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DefaultWordProgressV1ResponseMultiError, or nil if none found.

type DefaultWordProgressV1ResponseMultiError

type DefaultWordProgressV1ResponseMultiError []error

DefaultWordProgressV1ResponseMultiError is an error wrapping multiple validation errors returned by DefaultWordProgressV1Response.ValidateAll() if the designated constraints aren't met.

func (DefaultWordProgressV1ResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DefaultWordProgressV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DefaultWordProgressV1ResponseValidationError

type DefaultWordProgressV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

DefaultWordProgressV1ResponseValidationError is the validation error returned by DefaultWordProgressV1Response.Validate if the designated constraints aren't met.

func (DefaultWordProgressV1ResponseValidationError) Cause

Cause function returns cause value.

func (DefaultWordProgressV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (DefaultWordProgressV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (DefaultWordProgressV1ResponseValidationError) Field

Field function returns field value.

func (DefaultWordProgressV1ResponseValidationError) Key

Key function returns key value.

func (DefaultWordProgressV1ResponseValidationError) Reason

Reason function returns reason value.

type GetCounterV1Request

type GetCounterV1Request struct {
	UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Level  uint32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCounterV1Request) Descriptor deprecated

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

Deprecated: Use GetCounterV1Request.ProtoReflect.Descriptor instead.

func (*GetCounterV1Request) GetLevel

func (x *GetCounterV1Request) GetLevel() uint32

func (*GetCounterV1Request) GetUserId

func (x *GetCounterV1Request) GetUserId() uint64

func (*GetCounterV1Request) ProtoMessage

func (*GetCounterV1Request) ProtoMessage()

func (*GetCounterV1Request) ProtoReflect

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

func (*GetCounterV1Request) Reset

func (x *GetCounterV1Request) Reset()

func (*GetCounterV1Request) String

func (x *GetCounterV1Request) String() string

func (*GetCounterV1Request) Validate

func (m *GetCounterV1Request) Validate() error

Validate checks the field values on GetCounterV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCounterV1Request) ValidateAll

func (m *GetCounterV1Request) ValidateAll() error

ValidateAll checks the field values on GetCounterV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCounterV1RequestMultiError, or nil if none found.

type GetCounterV1RequestMultiError

type GetCounterV1RequestMultiError []error

GetCounterV1RequestMultiError is an error wrapping multiple validation errors returned by GetCounterV1Request.ValidateAll() if the designated constraints aren't met.

func (GetCounterV1RequestMultiError) AllErrors

func (m GetCounterV1RequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCounterV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCounterV1RequestValidationError

type GetCounterV1RequestValidationError struct {
	// contains filtered or unexported fields
}

GetCounterV1RequestValidationError is the validation error returned by GetCounterV1Request.Validate if the designated constraints aren't met.

func (GetCounterV1RequestValidationError) Cause

Cause function returns cause value.

func (GetCounterV1RequestValidationError) Error

Error satisfies the builtin error interface

func (GetCounterV1RequestValidationError) ErrorName

ErrorName returns error name.

func (GetCounterV1RequestValidationError) Field

Field function returns field value.

func (GetCounterV1RequestValidationError) Key

Key function returns key value.

func (GetCounterV1RequestValidationError) Reason

Reason function returns reason value.

type GetCounterV1Response

type GetCounterV1Response struct {
	Counter *Counter `protobuf:"bytes,1,opt,name=counter,proto3" json:"counter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCounterV1Response) Descriptor deprecated

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

Deprecated: Use GetCounterV1Response.ProtoReflect.Descriptor instead.

func (*GetCounterV1Response) GetCounter

func (x *GetCounterV1Response) GetCounter() *Counter

func (*GetCounterV1Response) ProtoMessage

func (*GetCounterV1Response) ProtoMessage()

func (*GetCounterV1Response) ProtoReflect

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

func (*GetCounterV1Response) Reset

func (x *GetCounterV1Response) Reset()

func (*GetCounterV1Response) String

func (x *GetCounterV1Response) String() string

func (*GetCounterV1Response) Validate

func (m *GetCounterV1Response) Validate() error

Validate checks the field values on GetCounterV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCounterV1Response) ValidateAll

func (m *GetCounterV1Response) ValidateAll() error

ValidateAll checks the field values on GetCounterV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCounterV1ResponseMultiError, or nil if none found.

type GetCounterV1ResponseMultiError

type GetCounterV1ResponseMultiError []error

GetCounterV1ResponseMultiError is an error wrapping multiple validation errors returned by GetCounterV1Response.ValidateAll() if the designated constraints aren't met.

func (GetCounterV1ResponseMultiError) AllErrors

func (m GetCounterV1ResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCounterV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCounterV1ResponseValidationError

type GetCounterV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

GetCounterV1ResponseValidationError is the validation error returned by GetCounterV1Response.Validate if the designated constraints aren't met.

func (GetCounterV1ResponseValidationError) Cause

Cause function returns cause value.

func (GetCounterV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (GetCounterV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (GetCounterV1ResponseValidationError) Field

Field function returns field value.

func (GetCounterV1ResponseValidationError) Key

Key function returns key value.

func (GetCounterV1ResponseValidationError) Reason

Reason function returns reason value.

type GetKanjiByIdV1Request

type GetKanjiByIdV1Request struct {
	KanjiId uint64 `protobuf:"varint,1,opt,name=kanji_id,json=kanjiId,proto3" json:"kanji_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKanjiByIdV1Request) Descriptor deprecated

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

Deprecated: Use GetKanjiByIdV1Request.ProtoReflect.Descriptor instead.

func (*GetKanjiByIdV1Request) GetKanjiId

func (x *GetKanjiByIdV1Request) GetKanjiId() uint64

func (*GetKanjiByIdV1Request) ProtoMessage

func (*GetKanjiByIdV1Request) ProtoMessage()

func (*GetKanjiByIdV1Request) ProtoReflect

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

func (*GetKanjiByIdV1Request) Reset

func (x *GetKanjiByIdV1Request) Reset()

func (*GetKanjiByIdV1Request) String

func (x *GetKanjiByIdV1Request) String() string

func (*GetKanjiByIdV1Request) Validate

func (m *GetKanjiByIdV1Request) Validate() error

Validate checks the field values on GetKanjiByIdV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetKanjiByIdV1Request) ValidateAll

func (m *GetKanjiByIdV1Request) ValidateAll() error

ValidateAll checks the field values on GetKanjiByIdV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetKanjiByIdV1RequestMultiError, or nil if none found.

type GetKanjiByIdV1RequestMultiError

type GetKanjiByIdV1RequestMultiError []error

GetKanjiByIdV1RequestMultiError is an error wrapping multiple validation errors returned by GetKanjiByIdV1Request.ValidateAll() if the designated constraints aren't met.

func (GetKanjiByIdV1RequestMultiError) AllErrors

func (m GetKanjiByIdV1RequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetKanjiByIdV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetKanjiByIdV1RequestValidationError

type GetKanjiByIdV1RequestValidationError struct {
	// contains filtered or unexported fields
}

GetKanjiByIdV1RequestValidationError is the validation error returned by GetKanjiByIdV1Request.Validate if the designated constraints aren't met.

func (GetKanjiByIdV1RequestValidationError) Cause

Cause function returns cause value.

func (GetKanjiByIdV1RequestValidationError) Error

Error satisfies the builtin error interface

func (GetKanjiByIdV1RequestValidationError) ErrorName

ErrorName returns error name.

func (GetKanjiByIdV1RequestValidationError) Field

Field function returns field value.

func (GetKanjiByIdV1RequestValidationError) Key

Key function returns key value.

func (GetKanjiByIdV1RequestValidationError) Reason

Reason function returns reason value.

type GetKanjiByIdV1Response

type GetKanjiByIdV1Response struct {
	Kanji *Kanji `protobuf:"bytes,1,opt,name=kanji,proto3" json:"kanji,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKanjiByIdV1Response) Descriptor deprecated

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

Deprecated: Use GetKanjiByIdV1Response.ProtoReflect.Descriptor instead.

func (*GetKanjiByIdV1Response) GetKanji

func (x *GetKanjiByIdV1Response) GetKanji() *Kanji

func (*GetKanjiByIdV1Response) ProtoMessage

func (*GetKanjiByIdV1Response) ProtoMessage()

func (*GetKanjiByIdV1Response) ProtoReflect

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

func (*GetKanjiByIdV1Response) Reset

func (x *GetKanjiByIdV1Response) Reset()

func (*GetKanjiByIdV1Response) String

func (x *GetKanjiByIdV1Response) String() string

func (*GetKanjiByIdV1Response) Validate

func (m *GetKanjiByIdV1Response) Validate() error

Validate checks the field values on GetKanjiByIdV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetKanjiByIdV1Response) ValidateAll

func (m *GetKanjiByIdV1Response) ValidateAll() error

ValidateAll checks the field values on GetKanjiByIdV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetKanjiByIdV1ResponseMultiError, or nil if none found.

type GetKanjiByIdV1ResponseMultiError

type GetKanjiByIdV1ResponseMultiError []error

GetKanjiByIdV1ResponseMultiError is an error wrapping multiple validation errors returned by GetKanjiByIdV1Response.ValidateAll() if the designated constraints aren't met.

func (GetKanjiByIdV1ResponseMultiError) AllErrors

func (m GetKanjiByIdV1ResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetKanjiByIdV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetKanjiByIdV1ResponseValidationError

type GetKanjiByIdV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

GetKanjiByIdV1ResponseValidationError is the validation error returned by GetKanjiByIdV1Response.Validate if the designated constraints aren't met.

func (GetKanjiByIdV1ResponseValidationError) Cause

Cause function returns cause value.

func (GetKanjiByIdV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (GetKanjiByIdV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (GetKanjiByIdV1ResponseValidationError) Field

Field function returns field value.

func (GetKanjiByIdV1ResponseValidationError) Key

Key function returns key value.

func (GetKanjiByIdV1ResponseValidationError) Reason

Reason function returns reason value.

type GetKanjiProgressByIdV1Request

type GetKanjiProgressByIdV1Request struct {
	UserId  uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	KanjiId uint64 `protobuf:"varint,2,opt,name=kanji_id,json=kanjiId,proto3" json:"kanji_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKanjiProgressByIdV1Request) Descriptor deprecated

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

Deprecated: Use GetKanjiProgressByIdV1Request.ProtoReflect.Descriptor instead.

func (*GetKanjiProgressByIdV1Request) GetKanjiId

func (x *GetKanjiProgressByIdV1Request) GetKanjiId() uint64

func (*GetKanjiProgressByIdV1Request) GetUserId

func (x *GetKanjiProgressByIdV1Request) GetUserId() uint64

func (*GetKanjiProgressByIdV1Request) ProtoMessage

func (*GetKanjiProgressByIdV1Request) ProtoMessage()

func (*GetKanjiProgressByIdV1Request) ProtoReflect

func (*GetKanjiProgressByIdV1Request) Reset

func (x *GetKanjiProgressByIdV1Request) Reset()

func (*GetKanjiProgressByIdV1Request) String

func (*GetKanjiProgressByIdV1Request) Validate

func (m *GetKanjiProgressByIdV1Request) Validate() error

Validate checks the field values on GetKanjiProgressByIdV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetKanjiProgressByIdV1Request) ValidateAll

func (m *GetKanjiProgressByIdV1Request) ValidateAll() error

ValidateAll checks the field values on GetKanjiProgressByIdV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetKanjiProgressByIdV1RequestMultiError, or nil if none found.

type GetKanjiProgressByIdV1RequestMultiError

type GetKanjiProgressByIdV1RequestMultiError []error

GetKanjiProgressByIdV1RequestMultiError is an error wrapping multiple validation errors returned by GetKanjiProgressByIdV1Request.ValidateAll() if the designated constraints aren't met.

func (GetKanjiProgressByIdV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetKanjiProgressByIdV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetKanjiProgressByIdV1RequestValidationError

type GetKanjiProgressByIdV1RequestValidationError struct {
	// contains filtered or unexported fields
}

GetKanjiProgressByIdV1RequestValidationError is the validation error returned by GetKanjiProgressByIdV1Request.Validate if the designated constraints aren't met.

func (GetKanjiProgressByIdV1RequestValidationError) Cause

Cause function returns cause value.

func (GetKanjiProgressByIdV1RequestValidationError) Error

Error satisfies the builtin error interface

func (GetKanjiProgressByIdV1RequestValidationError) ErrorName

ErrorName returns error name.

func (GetKanjiProgressByIdV1RequestValidationError) Field

Field function returns field value.

func (GetKanjiProgressByIdV1RequestValidationError) Key

Key function returns key value.

func (GetKanjiProgressByIdV1RequestValidationError) Reason

Reason function returns reason value.

type GetKanjiProgressByIdV1Response

type GetKanjiProgressByIdV1Response struct {
	KanjiProgress *KanjiProgress `protobuf:"bytes,1,opt,name=kanji_progress,json=kanjiProgress,proto3" json:"kanji_progress,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKanjiProgressByIdV1Response) Descriptor deprecated

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

Deprecated: Use GetKanjiProgressByIdV1Response.ProtoReflect.Descriptor instead.

func (*GetKanjiProgressByIdV1Response) GetKanjiProgress

func (x *GetKanjiProgressByIdV1Response) GetKanjiProgress() *KanjiProgress

func (*GetKanjiProgressByIdV1Response) ProtoMessage

func (*GetKanjiProgressByIdV1Response) ProtoMessage()

func (*GetKanjiProgressByIdV1Response) ProtoReflect

func (*GetKanjiProgressByIdV1Response) Reset

func (x *GetKanjiProgressByIdV1Response) Reset()

func (*GetKanjiProgressByIdV1Response) String

func (*GetKanjiProgressByIdV1Response) Validate

func (m *GetKanjiProgressByIdV1Response) Validate() error

Validate checks the field values on GetKanjiProgressByIdV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetKanjiProgressByIdV1Response) ValidateAll

func (m *GetKanjiProgressByIdV1Response) ValidateAll() error

ValidateAll checks the field values on GetKanjiProgressByIdV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetKanjiProgressByIdV1ResponseMultiError, or nil if none found.

type GetKanjiProgressByIdV1ResponseMultiError

type GetKanjiProgressByIdV1ResponseMultiError []error

GetKanjiProgressByIdV1ResponseMultiError is an error wrapping multiple validation errors returned by GetKanjiProgressByIdV1Response.ValidateAll() if the designated constraints aren't met.

func (GetKanjiProgressByIdV1ResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetKanjiProgressByIdV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetKanjiProgressByIdV1ResponseValidationError

type GetKanjiProgressByIdV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

GetKanjiProgressByIdV1ResponseValidationError is the validation error returned by GetKanjiProgressByIdV1Response.Validate if the designated constraints aren't met.

func (GetKanjiProgressByIdV1ResponseValidationError) Cause

Cause function returns cause value.

func (GetKanjiProgressByIdV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (GetKanjiProgressByIdV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (GetKanjiProgressByIdV1ResponseValidationError) Field

Field function returns field value.

func (GetKanjiProgressByIdV1ResponseValidationError) Key

Key function returns key value.

func (GetKanjiProgressByIdV1ResponseValidationError) Reason

Reason function returns reason value.

type GetWordByIdV1Request

type GetWordByIdV1Request struct {
	WordId uint64 `protobuf:"varint,1,opt,name=word_id,json=wordId,proto3" json:"word_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWordByIdV1Request) Descriptor deprecated

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

Deprecated: Use GetWordByIdV1Request.ProtoReflect.Descriptor instead.

func (*GetWordByIdV1Request) GetWordId

func (x *GetWordByIdV1Request) GetWordId() uint64

func (*GetWordByIdV1Request) ProtoMessage

func (*GetWordByIdV1Request) ProtoMessage()

func (*GetWordByIdV1Request) ProtoReflect

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

func (*GetWordByIdV1Request) Reset

func (x *GetWordByIdV1Request) Reset()

func (*GetWordByIdV1Request) String

func (x *GetWordByIdV1Request) String() string

func (*GetWordByIdV1Request) Validate

func (m *GetWordByIdV1Request) Validate() error

Validate checks the field values on GetWordByIdV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetWordByIdV1Request) ValidateAll

func (m *GetWordByIdV1Request) ValidateAll() error

ValidateAll checks the field values on GetWordByIdV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetWordByIdV1RequestMultiError, or nil if none found.

type GetWordByIdV1RequestMultiError

type GetWordByIdV1RequestMultiError []error

GetWordByIdV1RequestMultiError is an error wrapping multiple validation errors returned by GetWordByIdV1Request.ValidateAll() if the designated constraints aren't met.

func (GetWordByIdV1RequestMultiError) AllErrors

func (m GetWordByIdV1RequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetWordByIdV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetWordByIdV1RequestValidationError

type GetWordByIdV1RequestValidationError struct {
	// contains filtered or unexported fields
}

GetWordByIdV1RequestValidationError is the validation error returned by GetWordByIdV1Request.Validate if the designated constraints aren't met.

func (GetWordByIdV1RequestValidationError) Cause

Cause function returns cause value.

func (GetWordByIdV1RequestValidationError) Error

Error satisfies the builtin error interface

func (GetWordByIdV1RequestValidationError) ErrorName

ErrorName returns error name.

func (GetWordByIdV1RequestValidationError) Field

Field function returns field value.

func (GetWordByIdV1RequestValidationError) Key

Key function returns key value.

func (GetWordByIdV1RequestValidationError) Reason

Reason function returns reason value.

type GetWordByIdV1Response

type GetWordByIdV1Response struct {
	Word *Word `protobuf:"bytes,1,opt,name=word,proto3" json:"word,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWordByIdV1Response) Descriptor deprecated

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

Deprecated: Use GetWordByIdV1Response.ProtoReflect.Descriptor instead.

func (*GetWordByIdV1Response) GetWord

func (x *GetWordByIdV1Response) GetWord() *Word

func (*GetWordByIdV1Response) ProtoMessage

func (*GetWordByIdV1Response) ProtoMessage()

func (*GetWordByIdV1Response) ProtoReflect

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

func (*GetWordByIdV1Response) Reset

func (x *GetWordByIdV1Response) Reset()

func (*GetWordByIdV1Response) String

func (x *GetWordByIdV1Response) String() string

func (*GetWordByIdV1Response) Validate

func (m *GetWordByIdV1Response) Validate() error

Validate checks the field values on GetWordByIdV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetWordByIdV1Response) ValidateAll

func (m *GetWordByIdV1Response) ValidateAll() error

ValidateAll checks the field values on GetWordByIdV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetWordByIdV1ResponseMultiError, or nil if none found.

type GetWordByIdV1ResponseMultiError

type GetWordByIdV1ResponseMultiError []error

GetWordByIdV1ResponseMultiError is an error wrapping multiple validation errors returned by GetWordByIdV1Response.ValidateAll() if the designated constraints aren't met.

func (GetWordByIdV1ResponseMultiError) AllErrors

func (m GetWordByIdV1ResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetWordByIdV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetWordByIdV1ResponseValidationError

type GetWordByIdV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

GetWordByIdV1ResponseValidationError is the validation error returned by GetWordByIdV1Response.Validate if the designated constraints aren't met.

func (GetWordByIdV1ResponseValidationError) Cause

Cause function returns cause value.

func (GetWordByIdV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (GetWordByIdV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (GetWordByIdV1ResponseValidationError) Field

Field function returns field value.

func (GetWordByIdV1ResponseValidationError) Key

Key function returns key value.

func (GetWordByIdV1ResponseValidationError) Reason

Reason function returns reason value.

type GetWordProgressByIdV1Request

type GetWordProgressByIdV1Request struct {
	UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	WordId uint64 `protobuf:"varint,2,opt,name=word_id,json=wordId,proto3" json:"word_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWordProgressByIdV1Request) Descriptor deprecated

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

Deprecated: Use GetWordProgressByIdV1Request.ProtoReflect.Descriptor instead.

func (*GetWordProgressByIdV1Request) GetUserId

func (x *GetWordProgressByIdV1Request) GetUserId() uint64

func (*GetWordProgressByIdV1Request) GetWordId

func (x *GetWordProgressByIdV1Request) GetWordId() uint64

func (*GetWordProgressByIdV1Request) ProtoMessage

func (*GetWordProgressByIdV1Request) ProtoMessage()

func (*GetWordProgressByIdV1Request) ProtoReflect

func (*GetWordProgressByIdV1Request) Reset

func (x *GetWordProgressByIdV1Request) Reset()

func (*GetWordProgressByIdV1Request) String

func (*GetWordProgressByIdV1Request) Validate

func (m *GetWordProgressByIdV1Request) Validate() error

Validate checks the field values on GetWordProgressByIdV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetWordProgressByIdV1Request) ValidateAll

func (m *GetWordProgressByIdV1Request) ValidateAll() error

ValidateAll checks the field values on GetWordProgressByIdV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetWordProgressByIdV1RequestMultiError, or nil if none found.

type GetWordProgressByIdV1RequestMultiError

type GetWordProgressByIdV1RequestMultiError []error

GetWordProgressByIdV1RequestMultiError is an error wrapping multiple validation errors returned by GetWordProgressByIdV1Request.ValidateAll() if the designated constraints aren't met.

func (GetWordProgressByIdV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetWordProgressByIdV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetWordProgressByIdV1RequestValidationError

type GetWordProgressByIdV1RequestValidationError struct {
	// contains filtered or unexported fields
}

GetWordProgressByIdV1RequestValidationError is the validation error returned by GetWordProgressByIdV1Request.Validate if the designated constraints aren't met.

func (GetWordProgressByIdV1RequestValidationError) Cause

Cause function returns cause value.

func (GetWordProgressByIdV1RequestValidationError) Error

Error satisfies the builtin error interface

func (GetWordProgressByIdV1RequestValidationError) ErrorName

ErrorName returns error name.

func (GetWordProgressByIdV1RequestValidationError) Field

Field function returns field value.

func (GetWordProgressByIdV1RequestValidationError) Key

Key function returns key value.

func (GetWordProgressByIdV1RequestValidationError) Reason

Reason function returns reason value.

type GetWordProgressByIdV1Response

type GetWordProgressByIdV1Response struct {
	WordProgress *WordProgress `protobuf:"bytes,1,opt,name=word_progress,json=wordProgress,proto3" json:"word_progress,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWordProgressByIdV1Response) Descriptor deprecated

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

Deprecated: Use GetWordProgressByIdV1Response.ProtoReflect.Descriptor instead.

func (*GetWordProgressByIdV1Response) GetWordProgress

func (x *GetWordProgressByIdV1Response) GetWordProgress() *WordProgress

func (*GetWordProgressByIdV1Response) ProtoMessage

func (*GetWordProgressByIdV1Response) ProtoMessage()

func (*GetWordProgressByIdV1Response) ProtoReflect

func (*GetWordProgressByIdV1Response) Reset

func (x *GetWordProgressByIdV1Response) Reset()

func (*GetWordProgressByIdV1Response) String

func (*GetWordProgressByIdV1Response) Validate

func (m *GetWordProgressByIdV1Response) Validate() error

Validate checks the field values on GetWordProgressByIdV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetWordProgressByIdV1Response) ValidateAll

func (m *GetWordProgressByIdV1Response) ValidateAll() error

ValidateAll checks the field values on GetWordProgressByIdV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetWordProgressByIdV1ResponseMultiError, or nil if none found.

type GetWordProgressByIdV1ResponseMultiError

type GetWordProgressByIdV1ResponseMultiError []error

GetWordProgressByIdV1ResponseMultiError is an error wrapping multiple validation errors returned by GetWordProgressByIdV1Response.ValidateAll() if the designated constraints aren't met.

func (GetWordProgressByIdV1ResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetWordProgressByIdV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetWordProgressByIdV1ResponseValidationError

type GetWordProgressByIdV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

GetWordProgressByIdV1ResponseValidationError is the validation error returned by GetWordProgressByIdV1Response.Validate if the designated constraints aren't met.

func (GetWordProgressByIdV1ResponseValidationError) Cause

Cause function returns cause value.

func (GetWordProgressByIdV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (GetWordProgressByIdV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (GetWordProgressByIdV1ResponseValidationError) Field

Field function returns field value.

func (GetWordProgressByIdV1ResponseValidationError) Key

Key function returns key value.

func (GetWordProgressByIdV1ResponseValidationError) Reason

Reason function returns reason value.

type Kanji

type Kanji struct {
	Id           uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Kanji        string   `protobuf:"bytes,2,opt,name=kanji,proto3" json:"kanji,omitempty"`
	Primary      string   `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"`
	Level        uint32   `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
	Alternatives []string `protobuf:"bytes,5,rep,name=alternatives,proto3" json:"alternatives,omitempty"`
	Onyomi       []string `protobuf:"bytes,6,rep,name=onyomi,proto3" json:"onyomi,omitempty"`
	Kunyomi      []string `protobuf:"bytes,7,rep,name=kunyomi,proto3" json:"kunyomi,omitempty"`
	// contains filtered or unexported fields
}

func (*Kanji) Descriptor deprecated

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

Deprecated: Use Kanji.ProtoReflect.Descriptor instead.

func (*Kanji) GetAlternatives

func (x *Kanji) GetAlternatives() []string

func (*Kanji) GetId

func (x *Kanji) GetId() uint64

func (*Kanji) GetKanji

func (x *Kanji) GetKanji() string

func (*Kanji) GetKunyomi

func (x *Kanji) GetKunyomi() []string

func (*Kanji) GetLevel

func (x *Kanji) GetLevel() uint32

func (*Kanji) GetOnyomi

func (x *Kanji) GetOnyomi() []string

func (*Kanji) GetPrimary

func (x *Kanji) GetPrimary() 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

func (*Kanji) Validate

func (m *Kanji) Validate() error

Validate checks the field values on Kanji with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Kanji) ValidateAll

func (m *Kanji) ValidateAll() error

ValidateAll checks the field values on Kanji with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KanjiMultiError, or nil if none found.

type KanjiMultiError

type KanjiMultiError []error

KanjiMultiError is an error wrapping multiple validation errors returned by Kanji.ValidateAll() if the designated constraints aren't met.

func (KanjiMultiError) AllErrors

func (m KanjiMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KanjiMultiError) Error

func (m KanjiMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type KanjiProgress

type KanjiProgress struct {
	Id         uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Kanji      *Kanji                 `protobuf:"bytes,2,opt,name=kanji,proto3" json:"kanji,omitempty"`
	SrsLevel   uint32                 `protobuf:"varint,3,opt,name=srs_level,json=srsLevel,proto3" json:"srs_level,omitempty"`
	UnlockDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=unlock_date,json=unlockDate,proto3" json:"unlock_date,omitempty"`
	NextDate   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=next_date,json=nextDate,proto3" json:"next_date,omitempty"`
	BurnDate   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=burn_date,json=burnDate,proto3" json:"burn_date,omitempty"`
	// contains filtered or unexported fields
}

func (*KanjiProgress) Descriptor deprecated

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

Deprecated: Use KanjiProgress.ProtoReflect.Descriptor instead.

func (*KanjiProgress) GetBurnDate

func (x *KanjiProgress) GetBurnDate() *timestamppb.Timestamp

func (*KanjiProgress) GetId

func (x *KanjiProgress) GetId() uint64

func (*KanjiProgress) GetKanji

func (x *KanjiProgress) GetKanji() *Kanji

func (*KanjiProgress) GetNextDate

func (x *KanjiProgress) GetNextDate() *timestamppb.Timestamp

func (*KanjiProgress) GetSrsLevel

func (x *KanjiProgress) GetSrsLevel() uint32

func (*KanjiProgress) GetUnlockDate

func (x *KanjiProgress) GetUnlockDate() *timestamppb.Timestamp

func (*KanjiProgress) ProtoMessage

func (*KanjiProgress) ProtoMessage()

func (*KanjiProgress) ProtoReflect

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

func (*KanjiProgress) Reset

func (x *KanjiProgress) Reset()

func (*KanjiProgress) String

func (x *KanjiProgress) String() string

func (*KanjiProgress) Validate

func (m *KanjiProgress) Validate() error

Validate checks the field values on KanjiProgress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*KanjiProgress) ValidateAll

func (m *KanjiProgress) ValidateAll() error

ValidateAll checks the field values on KanjiProgress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KanjiProgressMultiError, or nil if none found.

type KanjiProgressMultiError

type KanjiProgressMultiError []error

KanjiProgressMultiError is an error wrapping multiple validation errors returned by KanjiProgress.ValidateAll() if the designated constraints aren't met.

func (KanjiProgressMultiError) AllErrors

func (m KanjiProgressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KanjiProgressMultiError) Error

func (m KanjiProgressMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type KanjiProgressValidationError

type KanjiProgressValidationError struct {
	// contains filtered or unexported fields
}

KanjiProgressValidationError is the validation error returned by KanjiProgress.Validate if the designated constraints aren't met.

func (KanjiProgressValidationError) Cause

Cause function returns cause value.

func (KanjiProgressValidationError) Error

Error satisfies the builtin error interface

func (KanjiProgressValidationError) ErrorName

func (e KanjiProgressValidationError) ErrorName() string

ErrorName returns error name.

func (KanjiProgressValidationError) Field

Field function returns field value.

func (KanjiProgressValidationError) Key

Key function returns key value.

func (KanjiProgressValidationError) Reason

Reason function returns reason value.

type KanjiValidationError

type KanjiValidationError struct {
	// contains filtered or unexported fields
}

KanjiValidationError is the validation error returned by Kanji.Validate if the designated constraints aren't met.

func (KanjiValidationError) Cause

func (e KanjiValidationError) Cause() error

Cause function returns cause value.

func (KanjiValidationError) Error

func (e KanjiValidationError) Error() string

Error satisfies the builtin error interface

func (KanjiValidationError) ErrorName

func (e KanjiValidationError) ErrorName() string

ErrorName returns error name.

func (KanjiValidationError) Field

func (e KanjiValidationError) Field() string

Field function returns field value.

func (KanjiValidationError) Key

func (e KanjiValidationError) Key() bool

Key function returns key value.

func (KanjiValidationError) Reason

func (e KanjiValidationError) Reason() string

Reason function returns reason value.

type ListKanjiByIdsV1Request

type ListKanjiByIdsV1Request struct {
	KanjiId []uint64 `protobuf:"varint,1,rep,packed,name=kanji_id,json=kanjiId,proto3" json:"kanji_id,omitempty"`
	Min     bool     `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKanjiByIdsV1Request) Descriptor deprecated

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

Deprecated: Use ListKanjiByIdsV1Request.ProtoReflect.Descriptor instead.

func (*ListKanjiByIdsV1Request) GetKanjiId

func (x *ListKanjiByIdsV1Request) GetKanjiId() []uint64

func (*ListKanjiByIdsV1Request) GetMin

func (x *ListKanjiByIdsV1Request) GetMin() bool

func (*ListKanjiByIdsV1Request) ProtoMessage

func (*ListKanjiByIdsV1Request) ProtoMessage()

func (*ListKanjiByIdsV1Request) ProtoReflect

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

func (*ListKanjiByIdsV1Request) Reset

func (x *ListKanjiByIdsV1Request) Reset()

func (*ListKanjiByIdsV1Request) String

func (x *ListKanjiByIdsV1Request) String() string

func (*ListKanjiByIdsV1Request) Validate

func (m *ListKanjiByIdsV1Request) Validate() error

Validate checks the field values on ListKanjiByIdsV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKanjiByIdsV1Request) ValidateAll

func (m *ListKanjiByIdsV1Request) ValidateAll() error

ValidateAll checks the field values on ListKanjiByIdsV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKanjiByIdsV1RequestMultiError, or nil if none found.

type ListKanjiByIdsV1RequestMultiError

type ListKanjiByIdsV1RequestMultiError []error

ListKanjiByIdsV1RequestMultiError is an error wrapping multiple validation errors returned by ListKanjiByIdsV1Request.ValidateAll() if the designated constraints aren't met.

func (ListKanjiByIdsV1RequestMultiError) AllErrors

func (m ListKanjiByIdsV1RequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListKanjiByIdsV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListKanjiByIdsV1RequestValidationError

type ListKanjiByIdsV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListKanjiByIdsV1RequestValidationError is the validation error returned by ListKanjiByIdsV1Request.Validate if the designated constraints aren't met.

func (ListKanjiByIdsV1RequestValidationError) Cause

Cause function returns cause value.

func (ListKanjiByIdsV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListKanjiByIdsV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListKanjiByIdsV1RequestValidationError) Field

Field function returns field value.

func (ListKanjiByIdsV1RequestValidationError) Key

Key function returns key value.

func (ListKanjiByIdsV1RequestValidationError) Reason

Reason function returns reason value.

type ListKanjiByLevelV1Request

type ListKanjiByLevelV1Request struct {
	Level  uint32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	Limit  uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	Min    bool   `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKanjiByLevelV1Request) Descriptor deprecated

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

Deprecated: Use ListKanjiByLevelV1Request.ProtoReflect.Descriptor instead.

func (*ListKanjiByLevelV1Request) GetLevel

func (x *ListKanjiByLevelV1Request) GetLevel() uint32

func (*ListKanjiByLevelV1Request) GetLimit

func (x *ListKanjiByLevelV1Request) GetLimit() uint64

func (*ListKanjiByLevelV1Request) GetMin

func (x *ListKanjiByLevelV1Request) GetMin() bool

func (*ListKanjiByLevelV1Request) GetOffset

func (x *ListKanjiByLevelV1Request) GetOffset() uint64

func (*ListKanjiByLevelV1Request) ProtoMessage

func (*ListKanjiByLevelV1Request) ProtoMessage()

func (*ListKanjiByLevelV1Request) ProtoReflect

func (*ListKanjiByLevelV1Request) Reset

func (x *ListKanjiByLevelV1Request) Reset()

func (*ListKanjiByLevelV1Request) String

func (x *ListKanjiByLevelV1Request) String() string

func (*ListKanjiByLevelV1Request) Validate

func (m *ListKanjiByLevelV1Request) Validate() error

Validate checks the field values on ListKanjiByLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKanjiByLevelV1Request) ValidateAll

func (m *ListKanjiByLevelV1Request) ValidateAll() error

ValidateAll checks the field values on ListKanjiByLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKanjiByLevelV1RequestMultiError, or nil if none found.

type ListKanjiByLevelV1RequestMultiError

type ListKanjiByLevelV1RequestMultiError []error

ListKanjiByLevelV1RequestMultiError is an error wrapping multiple validation errors returned by ListKanjiByLevelV1Request.ValidateAll() if the designated constraints aren't met.

func (ListKanjiByLevelV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListKanjiByLevelV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListKanjiByLevelV1RequestValidationError

type ListKanjiByLevelV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListKanjiByLevelV1RequestValidationError is the validation error returned by ListKanjiByLevelV1Request.Validate if the designated constraints aren't met.

func (ListKanjiByLevelV1RequestValidationError) Cause

Cause function returns cause value.

func (ListKanjiByLevelV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListKanjiByLevelV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListKanjiByLevelV1RequestValidationError) Field

Field function returns field value.

func (ListKanjiByLevelV1RequestValidationError) Key

Key function returns key value.

func (ListKanjiByLevelV1RequestValidationError) Reason

Reason function returns reason value.

type ListKanjiProgressByIdsV1Request

type ListKanjiProgressByIdsV1Request struct {
	UserId  uint64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	KanjiId []uint64 `protobuf:"varint,2,rep,packed,name=kanji_id,json=kanjiId,proto3" json:"kanji_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKanjiProgressByIdsV1Request) Descriptor deprecated

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

Deprecated: Use ListKanjiProgressByIdsV1Request.ProtoReflect.Descriptor instead.

func (*ListKanjiProgressByIdsV1Request) GetKanjiId

func (x *ListKanjiProgressByIdsV1Request) GetKanjiId() []uint64

func (*ListKanjiProgressByIdsV1Request) GetUserId

func (x *ListKanjiProgressByIdsV1Request) GetUserId() uint64

func (*ListKanjiProgressByIdsV1Request) ProtoMessage

func (*ListKanjiProgressByIdsV1Request) ProtoMessage()

func (*ListKanjiProgressByIdsV1Request) ProtoReflect

func (*ListKanjiProgressByIdsV1Request) Reset

func (*ListKanjiProgressByIdsV1Request) String

func (*ListKanjiProgressByIdsV1Request) Validate

func (m *ListKanjiProgressByIdsV1Request) Validate() error

Validate checks the field values on ListKanjiProgressByIdsV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKanjiProgressByIdsV1Request) ValidateAll

func (m *ListKanjiProgressByIdsV1Request) ValidateAll() error

ValidateAll checks the field values on ListKanjiProgressByIdsV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKanjiProgressByIdsV1RequestMultiError, or nil if none found.

type ListKanjiProgressByIdsV1RequestMultiError

type ListKanjiProgressByIdsV1RequestMultiError []error

ListKanjiProgressByIdsV1RequestMultiError is an error wrapping multiple validation errors returned by ListKanjiProgressByIdsV1Request.ValidateAll() if the designated constraints aren't met.

func (ListKanjiProgressByIdsV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListKanjiProgressByIdsV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListKanjiProgressByIdsV1RequestValidationError

type ListKanjiProgressByIdsV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListKanjiProgressByIdsV1RequestValidationError is the validation error returned by ListKanjiProgressByIdsV1Request.Validate if the designated constraints aren't met.

func (ListKanjiProgressByIdsV1RequestValidationError) Cause

Cause function returns cause value.

func (ListKanjiProgressByIdsV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListKanjiProgressByIdsV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListKanjiProgressByIdsV1RequestValidationError) Field

Field function returns field value.

func (ListKanjiProgressByIdsV1RequestValidationError) Key

Key function returns key value.

func (ListKanjiProgressByIdsV1RequestValidationError) Reason

Reason function returns reason value.

type ListKanjiProgressBySrsLevelV1Request

type ListKanjiProgressBySrsLevelV1Request struct {
	UserId   uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	SrsLevel uint32 `protobuf:"varint,2,opt,name=srs_level,json=srsLevel,proto3" json:"srs_level,omitempty"`
	Limit    uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset   uint64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKanjiProgressBySrsLevelV1Request) Descriptor deprecated

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

Deprecated: Use ListKanjiProgressBySrsLevelV1Request.ProtoReflect.Descriptor instead.

func (*ListKanjiProgressBySrsLevelV1Request) GetLimit

func (*ListKanjiProgressBySrsLevelV1Request) GetOffset

func (*ListKanjiProgressBySrsLevelV1Request) GetSrsLevel

func (*ListKanjiProgressBySrsLevelV1Request) GetUserId

func (*ListKanjiProgressBySrsLevelV1Request) ProtoMessage

func (*ListKanjiProgressBySrsLevelV1Request) ProtoMessage()

func (*ListKanjiProgressBySrsLevelV1Request) ProtoReflect

func (*ListKanjiProgressBySrsLevelV1Request) Reset

func (*ListKanjiProgressBySrsLevelV1Request) String

func (*ListKanjiProgressBySrsLevelV1Request) Validate

Validate checks the field values on ListKanjiProgressBySrsLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKanjiProgressBySrsLevelV1Request) ValidateAll

ValidateAll checks the field values on ListKanjiProgressBySrsLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKanjiProgressBySrsLevelV1RequestMultiError, or nil if none found.

type ListKanjiProgressBySrsLevelV1RequestMultiError

type ListKanjiProgressBySrsLevelV1RequestMultiError []error

ListKanjiProgressBySrsLevelV1RequestMultiError is an error wrapping multiple validation errors returned by ListKanjiProgressBySrsLevelV1Request.ValidateAll() if the designated constraints aren't met.

func (ListKanjiProgressBySrsLevelV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListKanjiProgressBySrsLevelV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListKanjiProgressBySrsLevelV1RequestValidationError

type ListKanjiProgressBySrsLevelV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListKanjiProgressBySrsLevelV1RequestValidationError is the validation error returned by ListKanjiProgressBySrsLevelV1Request.Validate if the designated constraints aren't met.

func (ListKanjiProgressBySrsLevelV1RequestValidationError) Cause

Cause function returns cause value.

func (ListKanjiProgressBySrsLevelV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListKanjiProgressBySrsLevelV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListKanjiProgressBySrsLevelV1RequestValidationError) Field

Field function returns field value.

func (ListKanjiProgressBySrsLevelV1RequestValidationError) Key

Key function returns key value.

func (ListKanjiProgressBySrsLevelV1RequestValidationError) Reason

Reason function returns reason value.

type ListKanjiProgressByTimeV1Request

type ListKanjiProgressByTimeV1Request struct {
	UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Limit  uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKanjiProgressByTimeV1Request) Descriptor deprecated

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

Deprecated: Use ListKanjiProgressByTimeV1Request.ProtoReflect.Descriptor instead.

func (*ListKanjiProgressByTimeV1Request) GetLimit

func (*ListKanjiProgressByTimeV1Request) GetOffset

func (*ListKanjiProgressByTimeV1Request) GetUserId

func (*ListKanjiProgressByTimeV1Request) ProtoMessage

func (*ListKanjiProgressByTimeV1Request) ProtoMessage()

func (*ListKanjiProgressByTimeV1Request) ProtoReflect

func (*ListKanjiProgressByTimeV1Request) Reset

func (*ListKanjiProgressByTimeV1Request) String

func (*ListKanjiProgressByTimeV1Request) Validate

Validate checks the field values on ListKanjiProgressByTimeV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKanjiProgressByTimeV1Request) ValidateAll

func (m *ListKanjiProgressByTimeV1Request) ValidateAll() error

ValidateAll checks the field values on ListKanjiProgressByTimeV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKanjiProgressByTimeV1RequestMultiError, or nil if none found.

type ListKanjiProgressByTimeV1RequestMultiError

type ListKanjiProgressByTimeV1RequestMultiError []error

ListKanjiProgressByTimeV1RequestMultiError is an error wrapping multiple validation errors returned by ListKanjiProgressByTimeV1Request.ValidateAll() if the designated constraints aren't met.

func (ListKanjiProgressByTimeV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListKanjiProgressByTimeV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListKanjiProgressByTimeV1RequestValidationError

type ListKanjiProgressByTimeV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListKanjiProgressByTimeV1RequestValidationError is the validation error returned by ListKanjiProgressByTimeV1Request.Validate if the designated constraints aren't met.

func (ListKanjiProgressByTimeV1RequestValidationError) Cause

Cause function returns cause value.

func (ListKanjiProgressByTimeV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListKanjiProgressByTimeV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListKanjiProgressByTimeV1RequestValidationError) Field

Field function returns field value.

func (ListKanjiProgressByTimeV1RequestValidationError) Key

Key function returns key value.

func (ListKanjiProgressByTimeV1RequestValidationError) Reason

Reason function returns reason value.

type ListKanjiProgressV1Response

type ListKanjiProgressV1Response struct {
	KanjiProgress []*KanjiProgress `protobuf:"bytes,1,rep,name=kanji_progress,json=kanjiProgress,proto3" json:"kanji_progress,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKanjiProgressV1Response) Descriptor deprecated

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

Deprecated: Use ListKanjiProgressV1Response.ProtoReflect.Descriptor instead.

func (*ListKanjiProgressV1Response) GetKanjiProgress

func (x *ListKanjiProgressV1Response) GetKanjiProgress() []*KanjiProgress

func (*ListKanjiProgressV1Response) ProtoMessage

func (*ListKanjiProgressV1Response) ProtoMessage()

func (*ListKanjiProgressV1Response) ProtoReflect

func (*ListKanjiProgressV1Response) Reset

func (x *ListKanjiProgressV1Response) Reset()

func (*ListKanjiProgressV1Response) String

func (x *ListKanjiProgressV1Response) String() string

func (*ListKanjiProgressV1Response) Validate

func (m *ListKanjiProgressV1Response) Validate() error

Validate checks the field values on ListKanjiProgressV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKanjiProgressV1Response) ValidateAll

func (m *ListKanjiProgressV1Response) ValidateAll() error

ValidateAll checks the field values on ListKanjiProgressV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKanjiProgressV1ResponseMultiError, or nil if none found.

type ListKanjiProgressV1ResponseMultiError

type ListKanjiProgressV1ResponseMultiError []error

ListKanjiProgressV1ResponseMultiError is an error wrapping multiple validation errors returned by ListKanjiProgressV1Response.ValidateAll() if the designated constraints aren't met.

func (ListKanjiProgressV1ResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListKanjiProgressV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListKanjiProgressV1ResponseValidationError

type ListKanjiProgressV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

ListKanjiProgressV1ResponseValidationError is the validation error returned by ListKanjiProgressV1Response.Validate if the designated constraints aren't met.

func (ListKanjiProgressV1ResponseValidationError) Cause

Cause function returns cause value.

func (ListKanjiProgressV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (ListKanjiProgressV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (ListKanjiProgressV1ResponseValidationError) Field

Field function returns field value.

func (ListKanjiProgressV1ResponseValidationError) Key

Key function returns key value.

func (ListKanjiProgressV1ResponseValidationError) Reason

Reason function returns reason value.

type ListKanjiV1Response

type ListKanjiV1Response struct {
	Kanji []*Kanji `protobuf:"bytes,1,rep,name=kanji,proto3" json:"kanji,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKanjiV1Response) Descriptor deprecated

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

Deprecated: Use ListKanjiV1Response.ProtoReflect.Descriptor instead.

func (*ListKanjiV1Response) GetKanji

func (x *ListKanjiV1Response) GetKanji() []*Kanji

func (*ListKanjiV1Response) ProtoMessage

func (*ListKanjiV1Response) ProtoMessage()

func (*ListKanjiV1Response) ProtoReflect

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

func (*ListKanjiV1Response) Reset

func (x *ListKanjiV1Response) Reset()

func (*ListKanjiV1Response) String

func (x *ListKanjiV1Response) String() string

func (*ListKanjiV1Response) Validate

func (m *ListKanjiV1Response) Validate() error

Validate checks the field values on ListKanjiV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKanjiV1Response) ValidateAll

func (m *ListKanjiV1Response) ValidateAll() error

ValidateAll checks the field values on ListKanjiV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKanjiV1ResponseMultiError, or nil if none found.

type ListKanjiV1ResponseMultiError

type ListKanjiV1ResponseMultiError []error

ListKanjiV1ResponseMultiError is an error wrapping multiple validation errors returned by ListKanjiV1Response.ValidateAll() if the designated constraints aren't met.

func (ListKanjiV1ResponseMultiError) AllErrors

func (m ListKanjiV1ResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListKanjiV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListKanjiV1ResponseValidationError

type ListKanjiV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

ListKanjiV1ResponseValidationError is the validation error returned by ListKanjiV1Response.Validate if the designated constraints aren't met.

func (ListKanjiV1ResponseValidationError) Cause

Cause function returns cause value.

func (ListKanjiV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (ListKanjiV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (ListKanjiV1ResponseValidationError) Field

Field function returns field value.

func (ListKanjiV1ResponseValidationError) Key

Key function returns key value.

func (ListKanjiV1ResponseValidationError) Reason

Reason function returns reason value.

type ListWordProgressByIdsV1Request

type ListWordProgressByIdsV1Request struct {
	UserId uint64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	WordId []uint64 `protobuf:"varint,2,rep,packed,name=word_id,json=wordId,proto3" json:"word_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWordProgressByIdsV1Request) Descriptor deprecated

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

Deprecated: Use ListWordProgressByIdsV1Request.ProtoReflect.Descriptor instead.

func (*ListWordProgressByIdsV1Request) GetUserId

func (x *ListWordProgressByIdsV1Request) GetUserId() uint64

func (*ListWordProgressByIdsV1Request) GetWordId

func (x *ListWordProgressByIdsV1Request) GetWordId() []uint64

func (*ListWordProgressByIdsV1Request) ProtoMessage

func (*ListWordProgressByIdsV1Request) ProtoMessage()

func (*ListWordProgressByIdsV1Request) ProtoReflect

func (*ListWordProgressByIdsV1Request) Reset

func (x *ListWordProgressByIdsV1Request) Reset()

func (*ListWordProgressByIdsV1Request) String

func (*ListWordProgressByIdsV1Request) Validate

func (m *ListWordProgressByIdsV1Request) Validate() error

Validate checks the field values on ListWordProgressByIdsV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWordProgressByIdsV1Request) ValidateAll

func (m *ListWordProgressByIdsV1Request) ValidateAll() error

ValidateAll checks the field values on ListWordProgressByIdsV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWordProgressByIdsV1RequestMultiError, or nil if none found.

type ListWordProgressByIdsV1RequestMultiError

type ListWordProgressByIdsV1RequestMultiError []error

ListWordProgressByIdsV1RequestMultiError is an error wrapping multiple validation errors returned by ListWordProgressByIdsV1Request.ValidateAll() if the designated constraints aren't met.

func (ListWordProgressByIdsV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListWordProgressByIdsV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWordProgressByIdsV1RequestValidationError

type ListWordProgressByIdsV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListWordProgressByIdsV1RequestValidationError is the validation error returned by ListWordProgressByIdsV1Request.Validate if the designated constraints aren't met.

func (ListWordProgressByIdsV1RequestValidationError) Cause

Cause function returns cause value.

func (ListWordProgressByIdsV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListWordProgressByIdsV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListWordProgressByIdsV1RequestValidationError) Field

Field function returns field value.

func (ListWordProgressByIdsV1RequestValidationError) Key

Key function returns key value.

func (ListWordProgressByIdsV1RequestValidationError) Reason

Reason function returns reason value.

type ListWordProgressBySrsLevelV1Request

type ListWordProgressBySrsLevelV1Request struct {
	UserId   uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	SrsLevel uint32 `protobuf:"varint,2,opt,name=srs_level,json=srsLevel,proto3" json:"srs_level,omitempty"`
	Limit    uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset   uint64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWordProgressBySrsLevelV1Request) Descriptor deprecated

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

Deprecated: Use ListWordProgressBySrsLevelV1Request.ProtoReflect.Descriptor instead.

func (*ListWordProgressBySrsLevelV1Request) GetLimit

func (*ListWordProgressBySrsLevelV1Request) GetOffset

func (*ListWordProgressBySrsLevelV1Request) GetSrsLevel

func (*ListWordProgressBySrsLevelV1Request) GetUserId

func (*ListWordProgressBySrsLevelV1Request) ProtoMessage

func (*ListWordProgressBySrsLevelV1Request) ProtoMessage()

func (*ListWordProgressBySrsLevelV1Request) ProtoReflect

func (*ListWordProgressBySrsLevelV1Request) Reset

func (*ListWordProgressBySrsLevelV1Request) String

func (*ListWordProgressBySrsLevelV1Request) Validate

Validate checks the field values on ListWordProgressBySrsLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWordProgressBySrsLevelV1Request) ValidateAll

func (m *ListWordProgressBySrsLevelV1Request) ValidateAll() error

ValidateAll checks the field values on ListWordProgressBySrsLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWordProgressBySrsLevelV1RequestMultiError, or nil if none found.

type ListWordProgressBySrsLevelV1RequestMultiError

type ListWordProgressBySrsLevelV1RequestMultiError []error

ListWordProgressBySrsLevelV1RequestMultiError is an error wrapping multiple validation errors returned by ListWordProgressBySrsLevelV1Request.ValidateAll() if the designated constraints aren't met.

func (ListWordProgressBySrsLevelV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListWordProgressBySrsLevelV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWordProgressBySrsLevelV1RequestValidationError

type ListWordProgressBySrsLevelV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListWordProgressBySrsLevelV1RequestValidationError is the validation error returned by ListWordProgressBySrsLevelV1Request.Validate if the designated constraints aren't met.

func (ListWordProgressBySrsLevelV1RequestValidationError) Cause

Cause function returns cause value.

func (ListWordProgressBySrsLevelV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListWordProgressBySrsLevelV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListWordProgressBySrsLevelV1RequestValidationError) Field

Field function returns field value.

func (ListWordProgressBySrsLevelV1RequestValidationError) Key

Key function returns key value.

func (ListWordProgressBySrsLevelV1RequestValidationError) Reason

Reason function returns reason value.

type ListWordProgressByTimeV1Request

type ListWordProgressByTimeV1Request struct {
	UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Limit  uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWordProgressByTimeV1Request) Descriptor deprecated

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

Deprecated: Use ListWordProgressByTimeV1Request.ProtoReflect.Descriptor instead.

func (*ListWordProgressByTimeV1Request) GetLimit

func (*ListWordProgressByTimeV1Request) GetOffset

func (x *ListWordProgressByTimeV1Request) GetOffset() uint64

func (*ListWordProgressByTimeV1Request) GetUserId

func (x *ListWordProgressByTimeV1Request) GetUserId() uint64

func (*ListWordProgressByTimeV1Request) ProtoMessage

func (*ListWordProgressByTimeV1Request) ProtoMessage()

func (*ListWordProgressByTimeV1Request) ProtoReflect

func (*ListWordProgressByTimeV1Request) Reset

func (*ListWordProgressByTimeV1Request) String

func (*ListWordProgressByTimeV1Request) Validate

func (m *ListWordProgressByTimeV1Request) Validate() error

Validate checks the field values on ListWordProgressByTimeV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWordProgressByTimeV1Request) ValidateAll

func (m *ListWordProgressByTimeV1Request) ValidateAll() error

ValidateAll checks the field values on ListWordProgressByTimeV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWordProgressByTimeV1RequestMultiError, or nil if none found.

type ListWordProgressByTimeV1RequestMultiError

type ListWordProgressByTimeV1RequestMultiError []error

ListWordProgressByTimeV1RequestMultiError is an error wrapping multiple validation errors returned by ListWordProgressByTimeV1Request.ValidateAll() if the designated constraints aren't met.

func (ListWordProgressByTimeV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListWordProgressByTimeV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWordProgressByTimeV1RequestValidationError

type ListWordProgressByTimeV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListWordProgressByTimeV1RequestValidationError is the validation error returned by ListWordProgressByTimeV1Request.Validate if the designated constraints aren't met.

func (ListWordProgressByTimeV1RequestValidationError) Cause

Cause function returns cause value.

func (ListWordProgressByTimeV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListWordProgressByTimeV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListWordProgressByTimeV1RequestValidationError) Field

Field function returns field value.

func (ListWordProgressByTimeV1RequestValidationError) Key

Key function returns key value.

func (ListWordProgressByTimeV1RequestValidationError) Reason

Reason function returns reason value.

type ListWordProgressV1Response

type ListWordProgressV1Response struct {
	WordProgress []*WordProgress `protobuf:"bytes,1,rep,name=word_progress,json=wordProgress,proto3" json:"word_progress,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWordProgressV1Response) Descriptor deprecated

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

Deprecated: Use ListWordProgressV1Response.ProtoReflect.Descriptor instead.

func (*ListWordProgressV1Response) GetWordProgress

func (x *ListWordProgressV1Response) GetWordProgress() []*WordProgress

func (*ListWordProgressV1Response) ProtoMessage

func (*ListWordProgressV1Response) ProtoMessage()

func (*ListWordProgressV1Response) ProtoReflect

func (*ListWordProgressV1Response) Reset

func (x *ListWordProgressV1Response) Reset()

func (*ListWordProgressV1Response) String

func (x *ListWordProgressV1Response) String() string

func (*ListWordProgressV1Response) Validate

func (m *ListWordProgressV1Response) Validate() error

Validate checks the field values on ListWordProgressV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWordProgressV1Response) ValidateAll

func (m *ListWordProgressV1Response) ValidateAll() error

ValidateAll checks the field values on ListWordProgressV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWordProgressV1ResponseMultiError, or nil if none found.

type ListWordProgressV1ResponseMultiError

type ListWordProgressV1ResponseMultiError []error

ListWordProgressV1ResponseMultiError is an error wrapping multiple validation errors returned by ListWordProgressV1Response.ValidateAll() if the designated constraints aren't met.

func (ListWordProgressV1ResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListWordProgressV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWordProgressV1ResponseValidationError

type ListWordProgressV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

ListWordProgressV1ResponseValidationError is the validation error returned by ListWordProgressV1Response.Validate if the designated constraints aren't met.

func (ListWordProgressV1ResponseValidationError) Cause

Cause function returns cause value.

func (ListWordProgressV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (ListWordProgressV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (ListWordProgressV1ResponseValidationError) Field

Field function returns field value.

func (ListWordProgressV1ResponseValidationError) Key

Key function returns key value.

func (ListWordProgressV1ResponseValidationError) Reason

Reason function returns reason value.

type ListWordsByIdsV1Request

type ListWordsByIdsV1Request struct {
	WordId []uint64 `protobuf:"varint,1,rep,packed,name=word_id,json=wordId,proto3" json:"word_id,omitempty"`
	Min    bool     `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWordsByIdsV1Request) Descriptor deprecated

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

Deprecated: Use ListWordsByIdsV1Request.ProtoReflect.Descriptor instead.

func (*ListWordsByIdsV1Request) GetMin

func (x *ListWordsByIdsV1Request) GetMin() bool

func (*ListWordsByIdsV1Request) GetWordId

func (x *ListWordsByIdsV1Request) GetWordId() []uint64

func (*ListWordsByIdsV1Request) ProtoMessage

func (*ListWordsByIdsV1Request) ProtoMessage()

func (*ListWordsByIdsV1Request) ProtoReflect

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

func (*ListWordsByIdsV1Request) Reset

func (x *ListWordsByIdsV1Request) Reset()

func (*ListWordsByIdsV1Request) String

func (x *ListWordsByIdsV1Request) String() string

func (*ListWordsByIdsV1Request) Validate

func (m *ListWordsByIdsV1Request) Validate() error

Validate checks the field values on ListWordsByIdsV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWordsByIdsV1Request) ValidateAll

func (m *ListWordsByIdsV1Request) ValidateAll() error

ValidateAll checks the field values on ListWordsByIdsV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWordsByIdsV1RequestMultiError, or nil if none found.

type ListWordsByIdsV1RequestMultiError

type ListWordsByIdsV1RequestMultiError []error

ListWordsByIdsV1RequestMultiError is an error wrapping multiple validation errors returned by ListWordsByIdsV1Request.ValidateAll() if the designated constraints aren't met.

func (ListWordsByIdsV1RequestMultiError) AllErrors

func (m ListWordsByIdsV1RequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListWordsByIdsV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWordsByIdsV1RequestValidationError

type ListWordsByIdsV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListWordsByIdsV1RequestValidationError is the validation error returned by ListWordsByIdsV1Request.Validate if the designated constraints aren't met.

func (ListWordsByIdsV1RequestValidationError) Cause

Cause function returns cause value.

func (ListWordsByIdsV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListWordsByIdsV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListWordsByIdsV1RequestValidationError) Field

Field function returns field value.

func (ListWordsByIdsV1RequestValidationError) Key

Key function returns key value.

func (ListWordsByIdsV1RequestValidationError) Reason

Reason function returns reason value.

type ListWordsByKanjiAndLevelV1Request

type ListWordsByKanjiAndLevelV1Request struct {
	Level   uint32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	KanjiId uint64 `protobuf:"varint,2,opt,name=kanji_id,json=kanjiId,proto3" json:"kanji_id,omitempty"`
	Limit   uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  uint64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	Min     bool   `protobuf:"varint,5,opt,name=min,proto3" json:"min,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWordsByKanjiAndLevelV1Request) Descriptor deprecated

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

Deprecated: Use ListWordsByKanjiAndLevelV1Request.ProtoReflect.Descriptor instead.

func (*ListWordsByKanjiAndLevelV1Request) GetKanjiId

func (x *ListWordsByKanjiAndLevelV1Request) GetKanjiId() uint64

func (*ListWordsByKanjiAndLevelV1Request) GetLevel

func (*ListWordsByKanjiAndLevelV1Request) GetLimit

func (*ListWordsByKanjiAndLevelV1Request) GetMin

func (*ListWordsByKanjiAndLevelV1Request) GetOffset

func (*ListWordsByKanjiAndLevelV1Request) ProtoMessage

func (*ListWordsByKanjiAndLevelV1Request) ProtoMessage()

func (*ListWordsByKanjiAndLevelV1Request) ProtoReflect

func (*ListWordsByKanjiAndLevelV1Request) Reset

func (*ListWordsByKanjiAndLevelV1Request) String

func (*ListWordsByKanjiAndLevelV1Request) Validate

Validate checks the field values on ListWordsByKanjiAndLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWordsByKanjiAndLevelV1Request) ValidateAll

func (m *ListWordsByKanjiAndLevelV1Request) ValidateAll() error

ValidateAll checks the field values on ListWordsByKanjiAndLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWordsByKanjiAndLevelV1RequestMultiError, or nil if none found.

type ListWordsByKanjiAndLevelV1RequestMultiError

type ListWordsByKanjiAndLevelV1RequestMultiError []error

ListWordsByKanjiAndLevelV1RequestMultiError is an error wrapping multiple validation errors returned by ListWordsByKanjiAndLevelV1Request.ValidateAll() if the designated constraints aren't met.

func (ListWordsByKanjiAndLevelV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListWordsByKanjiAndLevelV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWordsByKanjiAndLevelV1RequestValidationError

type ListWordsByKanjiAndLevelV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListWordsByKanjiAndLevelV1RequestValidationError is the validation error returned by ListWordsByKanjiAndLevelV1Request.Validate if the designated constraints aren't met.

func (ListWordsByKanjiAndLevelV1RequestValidationError) Cause

Cause function returns cause value.

func (ListWordsByKanjiAndLevelV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListWordsByKanjiAndLevelV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListWordsByKanjiAndLevelV1RequestValidationError) Field

Field function returns field value.

func (ListWordsByKanjiAndLevelV1RequestValidationError) Key

Key function returns key value.

func (ListWordsByKanjiAndLevelV1RequestValidationError) Reason

Reason function returns reason value.

type ListWordsByKanjiV1Request

type ListWordsByKanjiV1Request struct {
	KanjiId uint64 `protobuf:"varint,1,opt,name=kanji_id,json=kanjiId,proto3" json:"kanji_id,omitempty"`
	Limit   uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	Min     bool   `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWordsByKanjiV1Request) Descriptor deprecated

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

Deprecated: Use ListWordsByKanjiV1Request.ProtoReflect.Descriptor instead.

func (*ListWordsByKanjiV1Request) GetKanjiId

func (x *ListWordsByKanjiV1Request) GetKanjiId() uint64

func (*ListWordsByKanjiV1Request) GetLimit

func (x *ListWordsByKanjiV1Request) GetLimit() uint64

func (*ListWordsByKanjiV1Request) GetMin

func (x *ListWordsByKanjiV1Request) GetMin() bool

func (*ListWordsByKanjiV1Request) GetOffset

func (x *ListWordsByKanjiV1Request) GetOffset() uint64

func (*ListWordsByKanjiV1Request) ProtoMessage

func (*ListWordsByKanjiV1Request) ProtoMessage()

func (*ListWordsByKanjiV1Request) ProtoReflect

func (*ListWordsByKanjiV1Request) Reset

func (x *ListWordsByKanjiV1Request) Reset()

func (*ListWordsByKanjiV1Request) String

func (x *ListWordsByKanjiV1Request) String() string

func (*ListWordsByKanjiV1Request) Validate

func (m *ListWordsByKanjiV1Request) Validate() error

Validate checks the field values on ListWordsByKanjiV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWordsByKanjiV1Request) ValidateAll

func (m *ListWordsByKanjiV1Request) ValidateAll() error

ValidateAll checks the field values on ListWordsByKanjiV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWordsByKanjiV1RequestMultiError, or nil if none found.

type ListWordsByKanjiV1RequestMultiError

type ListWordsByKanjiV1RequestMultiError []error

ListWordsByKanjiV1RequestMultiError is an error wrapping multiple validation errors returned by ListWordsByKanjiV1Request.ValidateAll() if the designated constraints aren't met.

func (ListWordsByKanjiV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListWordsByKanjiV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWordsByKanjiV1RequestValidationError

type ListWordsByKanjiV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListWordsByKanjiV1RequestValidationError is the validation error returned by ListWordsByKanjiV1Request.Validate if the designated constraints aren't met.

func (ListWordsByKanjiV1RequestValidationError) Cause

Cause function returns cause value.

func (ListWordsByKanjiV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListWordsByKanjiV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListWordsByKanjiV1RequestValidationError) Field

Field function returns field value.

func (ListWordsByKanjiV1RequestValidationError) Key

Key function returns key value.

func (ListWordsByKanjiV1RequestValidationError) Reason

Reason function returns reason value.

type ListWordsByLevelV1Request

type ListWordsByLevelV1Request struct {
	Level  uint32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	Limit  uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	Min    bool   `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWordsByLevelV1Request) Descriptor deprecated

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

Deprecated: Use ListWordsByLevelV1Request.ProtoReflect.Descriptor instead.

func (*ListWordsByLevelV1Request) GetLevel

func (x *ListWordsByLevelV1Request) GetLevel() uint32

func (*ListWordsByLevelV1Request) GetLimit

func (x *ListWordsByLevelV1Request) GetLimit() uint64

func (*ListWordsByLevelV1Request) GetMin

func (x *ListWordsByLevelV1Request) GetMin() bool

func (*ListWordsByLevelV1Request) GetOffset

func (x *ListWordsByLevelV1Request) GetOffset() uint64

func (*ListWordsByLevelV1Request) ProtoMessage

func (*ListWordsByLevelV1Request) ProtoMessage()

func (*ListWordsByLevelV1Request) ProtoReflect

func (*ListWordsByLevelV1Request) Reset

func (x *ListWordsByLevelV1Request) Reset()

func (*ListWordsByLevelV1Request) String

func (x *ListWordsByLevelV1Request) String() string

func (*ListWordsByLevelV1Request) Validate

func (m *ListWordsByLevelV1Request) Validate() error

Validate checks the field values on ListWordsByLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWordsByLevelV1Request) ValidateAll

func (m *ListWordsByLevelV1Request) ValidateAll() error

ValidateAll checks the field values on ListWordsByLevelV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWordsByLevelV1RequestMultiError, or nil if none found.

type ListWordsByLevelV1RequestMultiError

type ListWordsByLevelV1RequestMultiError []error

ListWordsByLevelV1RequestMultiError is an error wrapping multiple validation errors returned by ListWordsByLevelV1Request.ValidateAll() if the designated constraints aren't met.

func (ListWordsByLevelV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListWordsByLevelV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWordsByLevelV1RequestValidationError

type ListWordsByLevelV1RequestValidationError struct {
	// contains filtered or unexported fields
}

ListWordsByLevelV1RequestValidationError is the validation error returned by ListWordsByLevelV1Request.Validate if the designated constraints aren't met.

func (ListWordsByLevelV1RequestValidationError) Cause

Cause function returns cause value.

func (ListWordsByLevelV1RequestValidationError) Error

Error satisfies the builtin error interface

func (ListWordsByLevelV1RequestValidationError) ErrorName

ErrorName returns error name.

func (ListWordsByLevelV1RequestValidationError) Field

Field function returns field value.

func (ListWordsByLevelV1RequestValidationError) Key

Key function returns key value.

func (ListWordsByLevelV1RequestValidationError) Reason

Reason function returns reason value.

type ListWordsV1Response

type ListWordsV1Response struct {
	Words []*Word `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWordsV1Response) Descriptor deprecated

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

Deprecated: Use ListWordsV1Response.ProtoReflect.Descriptor instead.

func (*ListWordsV1Response) GetWords

func (x *ListWordsV1Response) GetWords() []*Word

func (*ListWordsV1Response) ProtoMessage

func (*ListWordsV1Response) ProtoMessage()

func (*ListWordsV1Response) ProtoReflect

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

func (*ListWordsV1Response) Reset

func (x *ListWordsV1Response) Reset()

func (*ListWordsV1Response) String

func (x *ListWordsV1Response) String() string

func (*ListWordsV1Response) Validate

func (m *ListWordsV1Response) Validate() error

Validate checks the field values on ListWordsV1Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWordsV1Response) ValidateAll

func (m *ListWordsV1Response) ValidateAll() error

ValidateAll checks the field values on ListWordsV1Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWordsV1ResponseMultiError, or nil if none found.

type ListWordsV1ResponseMultiError

type ListWordsV1ResponseMultiError []error

ListWordsV1ResponseMultiError is an error wrapping multiple validation errors returned by ListWordsV1Response.ValidateAll() if the designated constraints aren't met.

func (ListWordsV1ResponseMultiError) AllErrors

func (m ListWordsV1ResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListWordsV1ResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWordsV1ResponseValidationError

type ListWordsV1ResponseValidationError struct {
	// contains filtered or unexported fields
}

ListWordsV1ResponseValidationError is the validation error returned by ListWordsV1Response.Validate if the designated constraints aren't met.

func (ListWordsV1ResponseValidationError) Cause

Cause function returns cause value.

func (ListWordsV1ResponseValidationError) Error

Error satisfies the builtin error interface

func (ListWordsV1ResponseValidationError) ErrorName

ErrorName returns error name.

func (ListWordsV1ResponseValidationError) Field

Field function returns field value.

func (ListWordsV1ResponseValidationError) Key

Key function returns key value.

func (ListWordsV1ResponseValidationError) Reason

Reason function returns reason value.

type Sentence

type Sentence struct {
	Origin       string                 `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
	Translations []*SentenceTranslation `protobuf:"bytes,2,rep,name=translations,proto3" json:"translations,omitempty"`
	// contains filtered or unexported fields
}

func (*Sentence) Descriptor deprecated

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

Deprecated: Use Sentence.ProtoReflect.Descriptor instead.

func (*Sentence) GetOrigin

func (x *Sentence) GetOrigin() string

func (*Sentence) GetTranslations

func (x *Sentence) GetTranslations() []*SentenceTranslation

func (*Sentence) ProtoMessage

func (*Sentence) ProtoMessage()

func (*Sentence) ProtoReflect

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

func (*Sentence) Reset

func (x *Sentence) Reset()

func (*Sentence) String

func (x *Sentence) String() string

func (*Sentence) Validate

func (m *Sentence) Validate() error

Validate checks the field values on Sentence with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Sentence) ValidateAll

func (m *Sentence) ValidateAll() error

ValidateAll checks the field values on Sentence with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SentenceMultiError, or nil if none found.

type SentenceMultiError

type SentenceMultiError []error

SentenceMultiError is an error wrapping multiple validation errors returned by Sentence.ValidateAll() if the designated constraints aren't met.

func (SentenceMultiError) AllErrors

func (m SentenceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SentenceMultiError) Error

func (m SentenceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SentenceTranslation

type SentenceTranslation struct {
	Language    uint32 `protobuf:"varint,1,opt,name=language,proto3" json:"language,omitempty"`
	Translation string `protobuf:"bytes,2,opt,name=translation,proto3" json:"translation,omitempty"`
	// contains filtered or unexported fields
}

func (*SentenceTranslation) Descriptor deprecated

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

Deprecated: Use SentenceTranslation.ProtoReflect.Descriptor instead.

func (*SentenceTranslation) GetLanguage

func (x *SentenceTranslation) GetLanguage() uint32

func (*SentenceTranslation) GetTranslation

func (x *SentenceTranslation) GetTranslation() string

func (*SentenceTranslation) ProtoMessage

func (*SentenceTranslation) ProtoMessage()

func (*SentenceTranslation) ProtoReflect

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

func (*SentenceTranslation) Reset

func (x *SentenceTranslation) Reset()

func (*SentenceTranslation) String

func (x *SentenceTranslation) String() string

func (*SentenceTranslation) Validate

func (m *SentenceTranslation) Validate() error

Validate checks the field values on SentenceTranslation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SentenceTranslation) ValidateAll

func (m *SentenceTranslation) ValidateAll() error

ValidateAll checks the field values on SentenceTranslation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SentenceTranslationMultiError, or nil if none found.

type SentenceTranslationMultiError

type SentenceTranslationMultiError []error

SentenceTranslationMultiError is an error wrapping multiple validation errors returned by SentenceTranslation.ValidateAll() if the designated constraints aren't met.

func (SentenceTranslationMultiError) AllErrors

func (m SentenceTranslationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SentenceTranslationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SentenceTranslationValidationError

type SentenceTranslationValidationError struct {
	// contains filtered or unexported fields
}

SentenceTranslationValidationError is the validation error returned by SentenceTranslation.Validate if the designated constraints aren't met.

func (SentenceTranslationValidationError) Cause

Cause function returns cause value.

func (SentenceTranslationValidationError) Error

Error satisfies the builtin error interface

func (SentenceTranslationValidationError) ErrorName

ErrorName returns error name.

func (SentenceTranslationValidationError) Field

Field function returns field value.

func (SentenceTranslationValidationError) Key

Key function returns key value.

func (SentenceTranslationValidationError) Reason

Reason function returns reason value.

type SentenceValidationError

type SentenceValidationError struct {
	// contains filtered or unexported fields
}

SentenceValidationError is the validation error returned by Sentence.Validate if the designated constraints aren't met.

func (SentenceValidationError) Cause

func (e SentenceValidationError) Cause() error

Cause function returns cause value.

func (SentenceValidationError) Error

func (e SentenceValidationError) Error() string

Error satisfies the builtin error interface

func (SentenceValidationError) ErrorName

func (e SentenceValidationError) ErrorName() string

ErrorName returns error name.

func (SentenceValidationError) Field

func (e SentenceValidationError) Field() string

Field function returns field value.

func (SentenceValidationError) Key

func (e SentenceValidationError) Key() bool

Key function returns key value.

func (SentenceValidationError) Reason

func (e SentenceValidationError) Reason() string

Reason function returns reason value.

type SrvDbaServiceClient

type SrvDbaServiceClient interface {
	//Kanji part
	GetKanjiByIdV1(ctx context.Context, in *GetKanjiByIdV1Request, opts ...grpc.CallOption) (*GetKanjiByIdV1Response, error)
	ListKanjiByLevelV1(ctx context.Context, in *ListKanjiByLevelV1Request, opts ...grpc.CallOption) (*ListKanjiV1Response, error)
	ListKanjiByIdsV1(ctx context.Context, in *ListKanjiByIdsV1Request, opts ...grpc.CallOption) (*ListKanjiV1Response, error)
	//Words part
	GetWordByIdV1(ctx context.Context, in *GetWordByIdV1Request, opts ...grpc.CallOption) (*GetWordByIdV1Response, error)
	ListWordsByLevelV1(ctx context.Context, in *ListWordsByLevelV1Request, opts ...grpc.CallOption) (*ListWordsV1Response, error)
	ListWordsByKanjiV1(ctx context.Context, in *ListWordsByKanjiV1Request, opts ...grpc.CallOption) (*ListWordsV1Response, error)
	ListWordsByIdsV1(ctx context.Context, in *ListWordsByIdsV1Request, opts ...grpc.CallOption) (*ListWordsV1Response, error)
	ListWordsByKanjiAndLevelV1(ctx context.Context, in *ListWordsByKanjiAndLevelV1Request, opts ...grpc.CallOption) (*ListWordsV1Response, error)
	//KanjiProgress part
	GetKanjiProgressByIdV1(ctx context.Context, in *GetKanjiProgressByIdV1Request, opts ...grpc.CallOption) (*GetKanjiProgressByIdV1Response, error)
	ListKanjiProgressByTimeV1(ctx context.Context, in *ListKanjiProgressByTimeV1Request, opts ...grpc.CallOption) (*ListKanjiProgressV1Response, error)
	ListKanjiProgressByIdsV1(ctx context.Context, in *ListKanjiProgressByIdsV1Request, opts ...grpc.CallOption) (*ListKanjiProgressV1Response, error)
	ListKanjiProgressBySrsLevelV1(ctx context.Context, in *ListKanjiProgressBySrsLevelV1Request, opts ...grpc.CallOption) (*ListKanjiProgressV1Response, error)
	AddKanjiProgressV1(ctx context.Context, in *AddKanjiProgressV1Request, opts ...grpc.CallOption) (*DefaultKanjiProgressV1Response, error)
	UpdateKanjiProgressV1(ctx context.Context, in *UpdateKanjiProgressV1Request, opts ...grpc.CallOption) (*DefaultKanjiProgressV1Response, error)
	//WordProgress part
	GetWordProgressByIdV1(ctx context.Context, in *GetWordProgressByIdV1Request, opts ...grpc.CallOption) (*GetWordProgressByIdV1Response, error)
	ListWordProgressByTimeV1(ctx context.Context, in *ListWordProgressByTimeV1Request, opts ...grpc.CallOption) (*ListWordProgressV1Response, error)
	ListWordProgressByIdsV1(ctx context.Context, in *ListWordProgressByIdsV1Request, opts ...grpc.CallOption) (*ListWordProgressV1Response, error)
	ListWordProgressBySrsLevelV1(ctx context.Context, in *ListWordProgressBySrsLevelV1Request, opts ...grpc.CallOption) (*ListWordProgressV1Response, error)
	AddWordProgressV1(ctx context.Context, in *AddWordProgressV1Request, opts ...grpc.CallOption) (*DefaultWordProgressV1Response, error)
	UpdateWordProgressV1(ctx context.Context, in *UpdateWordProgressV1Request, opts ...grpc.CallOption) (*DefaultWordProgressV1Response, error)
	GetCounterV1(ctx context.Context, in *GetCounterV1Request, opts ...grpc.CallOption) (*GetCounterV1Response, error)
}

SrvDbaServiceClient is the client API for SrvDbaService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SrvDbaServiceServer

type SrvDbaServiceServer interface {
	//Kanji part
	GetKanjiByIdV1(context.Context, *GetKanjiByIdV1Request) (*GetKanjiByIdV1Response, error)
	ListKanjiByLevelV1(context.Context, *ListKanjiByLevelV1Request) (*ListKanjiV1Response, error)
	ListKanjiByIdsV1(context.Context, *ListKanjiByIdsV1Request) (*ListKanjiV1Response, error)
	//Words part
	GetWordByIdV1(context.Context, *GetWordByIdV1Request) (*GetWordByIdV1Response, error)
	ListWordsByLevelV1(context.Context, *ListWordsByLevelV1Request) (*ListWordsV1Response, error)
	ListWordsByKanjiV1(context.Context, *ListWordsByKanjiV1Request) (*ListWordsV1Response, error)
	ListWordsByIdsV1(context.Context, *ListWordsByIdsV1Request) (*ListWordsV1Response, error)
	ListWordsByKanjiAndLevelV1(context.Context, *ListWordsByKanjiAndLevelV1Request) (*ListWordsV1Response, error)
	//KanjiProgress part
	GetKanjiProgressByIdV1(context.Context, *GetKanjiProgressByIdV1Request) (*GetKanjiProgressByIdV1Response, error)
	ListKanjiProgressByTimeV1(context.Context, *ListKanjiProgressByTimeV1Request) (*ListKanjiProgressV1Response, error)
	ListKanjiProgressByIdsV1(context.Context, *ListKanjiProgressByIdsV1Request) (*ListKanjiProgressV1Response, error)
	ListKanjiProgressBySrsLevelV1(context.Context, *ListKanjiProgressBySrsLevelV1Request) (*ListKanjiProgressV1Response, error)
	AddKanjiProgressV1(context.Context, *AddKanjiProgressV1Request) (*DefaultKanjiProgressV1Response, error)
	UpdateKanjiProgressV1(context.Context, *UpdateKanjiProgressV1Request) (*DefaultKanjiProgressV1Response, error)
	//WordProgress part
	GetWordProgressByIdV1(context.Context, *GetWordProgressByIdV1Request) (*GetWordProgressByIdV1Response, error)
	ListWordProgressByTimeV1(context.Context, *ListWordProgressByTimeV1Request) (*ListWordProgressV1Response, error)
	ListWordProgressByIdsV1(context.Context, *ListWordProgressByIdsV1Request) (*ListWordProgressV1Response, error)
	ListWordProgressBySrsLevelV1(context.Context, *ListWordProgressBySrsLevelV1Request) (*ListWordProgressV1Response, error)
	AddWordProgressV1(context.Context, *AddWordProgressV1Request) (*DefaultWordProgressV1Response, error)
	UpdateWordProgressV1(context.Context, *UpdateWordProgressV1Request) (*DefaultWordProgressV1Response, error)
	GetCounterV1(context.Context, *GetCounterV1Request) (*GetCounterV1Response, error)
	// contains filtered or unexported methods
}

SrvDbaServiceServer is the server API for SrvDbaService service. All implementations must embed UnimplementedSrvDbaServiceServer for forward compatibility

type UnimplementedSrvDbaServiceServer

type UnimplementedSrvDbaServiceServer struct {
}

UnimplementedSrvDbaServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSrvDbaServiceServer) GetCounterV1

func (UnimplementedSrvDbaServiceServer) GetKanjiByIdV1

func (UnimplementedSrvDbaServiceServer) GetWordByIdV1

func (UnimplementedSrvDbaServiceServer) ListKanjiByIdsV1

func (UnimplementedSrvDbaServiceServer) ListKanjiByLevelV1

func (UnimplementedSrvDbaServiceServer) ListWordsByIdsV1

func (UnimplementedSrvDbaServiceServer) ListWordsByKanjiAndLevelV1

func (UnimplementedSrvDbaServiceServer) ListWordsByKanjiV1

func (UnimplementedSrvDbaServiceServer) ListWordsByLevelV1

type UnsafeSrvDbaServiceServer

type UnsafeSrvDbaServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSrvDbaServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SrvDbaServiceServer will result in compilation errors.

type UpdateKanjiProgressV1Request

type UpdateKanjiProgressV1Request struct {
	ProgressId uint64                 `protobuf:"varint,1,opt,name=progress_id,json=progressId,proto3" json:"progress_id,omitempty"`
	SrsLevel   uint32                 `protobuf:"varint,2,opt,name=srs_level,json=srsLevel,proto3" json:"srs_level,omitempty"`
	NextDate   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=next_date,json=nextDate,proto3" json:"next_date,omitempty"`
	BurnDate   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=burn_date,json=burnDate,proto3" json:"burn_date,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateKanjiProgressV1Request) Descriptor deprecated

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

Deprecated: Use UpdateKanjiProgressV1Request.ProtoReflect.Descriptor instead.

func (*UpdateKanjiProgressV1Request) GetBurnDate

func (*UpdateKanjiProgressV1Request) GetNextDate

func (*UpdateKanjiProgressV1Request) GetProgressId

func (x *UpdateKanjiProgressV1Request) GetProgressId() uint64

func (*UpdateKanjiProgressV1Request) GetSrsLevel

func (x *UpdateKanjiProgressV1Request) GetSrsLevel() uint32

func (*UpdateKanjiProgressV1Request) ProtoMessage

func (*UpdateKanjiProgressV1Request) ProtoMessage()

func (*UpdateKanjiProgressV1Request) ProtoReflect

func (*UpdateKanjiProgressV1Request) Reset

func (x *UpdateKanjiProgressV1Request) Reset()

func (*UpdateKanjiProgressV1Request) String

func (*UpdateKanjiProgressV1Request) Validate

func (m *UpdateKanjiProgressV1Request) Validate() error

Validate checks the field values on UpdateKanjiProgressV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateKanjiProgressV1Request) ValidateAll

func (m *UpdateKanjiProgressV1Request) ValidateAll() error

ValidateAll checks the field values on UpdateKanjiProgressV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateKanjiProgressV1RequestMultiError, or nil if none found.

type UpdateKanjiProgressV1RequestMultiError

type UpdateKanjiProgressV1RequestMultiError []error

UpdateKanjiProgressV1RequestMultiError is an error wrapping multiple validation errors returned by UpdateKanjiProgressV1Request.ValidateAll() if the designated constraints aren't met.

func (UpdateKanjiProgressV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateKanjiProgressV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateKanjiProgressV1RequestValidationError

type UpdateKanjiProgressV1RequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateKanjiProgressV1RequestValidationError is the validation error returned by UpdateKanjiProgressV1Request.Validate if the designated constraints aren't met.

func (UpdateKanjiProgressV1RequestValidationError) Cause

Cause function returns cause value.

func (UpdateKanjiProgressV1RequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateKanjiProgressV1RequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateKanjiProgressV1RequestValidationError) Field

Field function returns field value.

func (UpdateKanjiProgressV1RequestValidationError) Key

Key function returns key value.

func (UpdateKanjiProgressV1RequestValidationError) Reason

Reason function returns reason value.

type UpdateWordProgressV1Request

type UpdateWordProgressV1Request struct {
	ProgressId uint64                 `protobuf:"varint,1,opt,name=progress_id,json=progressId,proto3" json:"progress_id,omitempty"`
	SrsLevel   uint32                 `protobuf:"varint,2,opt,name=srs_level,json=srsLevel,proto3" json:"srs_level,omitempty"`
	NextDate   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=next_date,json=nextDate,proto3" json:"next_date,omitempty"`
	BurnDate   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=burn_date,json=burnDate,proto3" json:"burn_date,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWordProgressV1Request) Descriptor deprecated

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

Deprecated: Use UpdateWordProgressV1Request.ProtoReflect.Descriptor instead.

func (*UpdateWordProgressV1Request) GetBurnDate

func (*UpdateWordProgressV1Request) GetNextDate

func (*UpdateWordProgressV1Request) GetProgressId

func (x *UpdateWordProgressV1Request) GetProgressId() uint64

func (*UpdateWordProgressV1Request) GetSrsLevel

func (x *UpdateWordProgressV1Request) GetSrsLevel() uint32

func (*UpdateWordProgressV1Request) ProtoMessage

func (*UpdateWordProgressV1Request) ProtoMessage()

func (*UpdateWordProgressV1Request) ProtoReflect

func (*UpdateWordProgressV1Request) Reset

func (x *UpdateWordProgressV1Request) Reset()

func (*UpdateWordProgressV1Request) String

func (x *UpdateWordProgressV1Request) String() string

func (*UpdateWordProgressV1Request) Validate

func (m *UpdateWordProgressV1Request) Validate() error

Validate checks the field values on UpdateWordProgressV1Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateWordProgressV1Request) ValidateAll

func (m *UpdateWordProgressV1Request) ValidateAll() error

ValidateAll checks the field values on UpdateWordProgressV1Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateWordProgressV1RequestMultiError, or nil if none found.

type UpdateWordProgressV1RequestMultiError

type UpdateWordProgressV1RequestMultiError []error

UpdateWordProgressV1RequestMultiError is an error wrapping multiple validation errors returned by UpdateWordProgressV1Request.ValidateAll() if the designated constraints aren't met.

func (UpdateWordProgressV1RequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateWordProgressV1RequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateWordProgressV1RequestValidationError

type UpdateWordProgressV1RequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateWordProgressV1RequestValidationError is the validation error returned by UpdateWordProgressV1Request.Validate if the designated constraints aren't met.

func (UpdateWordProgressV1RequestValidationError) Cause

Cause function returns cause value.

func (UpdateWordProgressV1RequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateWordProgressV1RequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateWordProgressV1RequestValidationError) Field

Field function returns field value.

func (UpdateWordProgressV1RequestValidationError) Key

Key function returns key value.

func (UpdateWordProgressV1RequestValidationError) Reason

Reason function returns reason value.

type Word

type Word struct {
	Id           uint64      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Word         string      `protobuf:"bytes,2,opt,name=word,proto3" json:"word,omitempty"`
	Primary      string      `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"`
	Level        uint32      `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
	Composition  []*Kanji    `protobuf:"bytes,5,rep,name=composition,proto3" json:"composition,omitempty"`
	Alternatives []string    `protobuf:"bytes,6,rep,name=alternatives,proto3" json:"alternatives,omitempty"`
	Readings     []string    `protobuf:"bytes,7,rep,name=readings,proto3" json:"readings,omitempty"`
	Types        []string    `protobuf:"bytes,8,rep,name=types,proto3" json:"types,omitempty"`
	Sentences    []*Sentence `protobuf:"bytes,9,rep,name=sentences,proto3" json:"sentences,omitempty"`
	// contains filtered or unexported fields
}

func (*Word) Descriptor deprecated

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

Deprecated: Use Word.ProtoReflect.Descriptor instead.

func (*Word) GetAlternatives

func (x *Word) GetAlternatives() []string

func (*Word) GetComposition

func (x *Word) GetComposition() []*Kanji

func (*Word) GetId

func (x *Word) GetId() uint64

func (*Word) GetLevel

func (x *Word) GetLevel() uint32

func (*Word) GetPrimary

func (x *Word) GetPrimary() string

func (*Word) GetReadings

func (x *Word) GetReadings() []string

func (*Word) GetSentences

func (x *Word) GetSentences() []*Sentence

func (*Word) GetTypes

func (x *Word) GetTypes() []string

func (*Word) GetWord

func (x *Word) GetWord() string

func (*Word) ProtoMessage

func (*Word) ProtoMessage()

func (*Word) ProtoReflect

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

func (*Word) Reset

func (x *Word) Reset()

func (*Word) String

func (x *Word) String() string

func (*Word) Validate

func (m *Word) Validate() error

Validate checks the field values on Word with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Word) ValidateAll

func (m *Word) ValidateAll() error

ValidateAll checks the field values on Word with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WordMultiError, or nil if none found.

type WordMultiError

type WordMultiError []error

WordMultiError is an error wrapping multiple validation errors returned by Word.ValidateAll() if the designated constraints aren't met.

func (WordMultiError) AllErrors

func (m WordMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WordMultiError) Error

func (m WordMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WordProgress

type WordProgress struct {
	Id         uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Word       *Word                  `protobuf:"bytes,2,opt,name=word,proto3" json:"word,omitempty"`
	SrsLevel   uint32                 `protobuf:"varint,3,opt,name=srs_level,json=srsLevel,proto3" json:"srs_level,omitempty"`
	UnlockDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=unlock_date,json=unlockDate,proto3" json:"unlock_date,omitempty"`
	NextDate   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=next_date,json=nextDate,proto3" json:"next_date,omitempty"`
	BurnDate   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=burn_date,json=burnDate,proto3" json:"burn_date,omitempty"`
	// contains filtered or unexported fields
}

func (*WordProgress) Descriptor deprecated

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

Deprecated: Use WordProgress.ProtoReflect.Descriptor instead.

func (*WordProgress) GetBurnDate

func (x *WordProgress) GetBurnDate() *timestamppb.Timestamp

func (*WordProgress) GetId

func (x *WordProgress) GetId() uint64

func (*WordProgress) GetNextDate

func (x *WordProgress) GetNextDate() *timestamppb.Timestamp

func (*WordProgress) GetSrsLevel

func (x *WordProgress) GetSrsLevel() uint32

func (*WordProgress) GetUnlockDate

func (x *WordProgress) GetUnlockDate() *timestamppb.Timestamp

func (*WordProgress) GetWord

func (x *WordProgress) GetWord() *Word

func (*WordProgress) ProtoMessage

func (*WordProgress) ProtoMessage()

func (*WordProgress) ProtoReflect

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

func (*WordProgress) Reset

func (x *WordProgress) Reset()

func (*WordProgress) String

func (x *WordProgress) String() string

func (*WordProgress) Validate

func (m *WordProgress) Validate() error

Validate checks the field values on WordProgress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WordProgress) ValidateAll

func (m *WordProgress) ValidateAll() error

ValidateAll checks the field values on WordProgress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WordProgressMultiError, or nil if none found.

type WordProgressMultiError

type WordProgressMultiError []error

WordProgressMultiError is an error wrapping multiple validation errors returned by WordProgress.ValidateAll() if the designated constraints aren't met.

func (WordProgressMultiError) AllErrors

func (m WordProgressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WordProgressMultiError) Error

func (m WordProgressMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WordProgressValidationError

type WordProgressValidationError struct {
	// contains filtered or unexported fields
}

WordProgressValidationError is the validation error returned by WordProgress.Validate if the designated constraints aren't met.

func (WordProgressValidationError) Cause

Cause function returns cause value.

func (WordProgressValidationError) Error

Error satisfies the builtin error interface

func (WordProgressValidationError) ErrorName

func (e WordProgressValidationError) ErrorName() string

ErrorName returns error name.

func (WordProgressValidationError) Field

Field function returns field value.

func (WordProgressValidationError) Key

Key function returns key value.

func (WordProgressValidationError) Reason

Reason function returns reason value.

type WordValidationError

type WordValidationError struct {
	// contains filtered or unexported fields
}

WordValidationError is the validation error returned by Word.Validate if the designated constraints aren't met.

func (WordValidationError) Cause

func (e WordValidationError) Cause() error

Cause function returns cause value.

func (WordValidationError) Error

func (e WordValidationError) Error() string

Error satisfies the builtin error interface

func (WordValidationError) ErrorName

func (e WordValidationError) ErrorName() string

ErrorName returns error name.

func (WordValidationError) Field

func (e WordValidationError) Field() string

Field function returns field value.

func (WordValidationError) Key

func (e WordValidationError) Key() bool

Key function returns key value.

func (WordValidationError) Reason

func (e WordValidationError) Reason() string

Reason function returns reason value.

Directories

Path Synopsis
google.golang.org
protobuf/types/known/timestamppb
Package timestamppb contains generated types for google/protobuf/timestamp.proto.
Package timestamppb contains generated types for google/protobuf/timestamp.proto.

Jump to

Keyboard shortcuts

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