Documentation ¶
Index ¶
- Variables
- type Episode
- func (*Episode) Descriptor() ([]byte, []int)deprecated
- func (x *Episode) GetContentType() enum.ContentType
- func (x *Episode) GetCount() int32
- func (x *Episode) GetCreatedAt() *timestamppb.Timestamp
- func (x *Episode) GetFilterType() enum.FilterType
- func (x *Episode) GetId() string
- func (x *Episode) GetIsOnline() bool
- func (x *Episode) GetKeywords() []string
- func (x *Episode) GetName() string
- func (x *Episode) GetOutlines() map[string]string
- func (x *Episode) GetQas() []*QuestionAnswer
- func (x *Episode) GetUpdatedAt() *timestamppb.Timestamp
- func (*Episode) ProtoMessage()
- func (x *Episode) ProtoReflect() protoreflect.Message
- func (x *Episode) Reset()
- func (m *Episode) SetContentType(v *enum.ContentType)
- func (m *Episode) SetCount(v *int32)
- func (m *Episode) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Episode) SetFilterType(v *enum.FilterType)
- func (m *Episode) SetId(v string)
- func (m *Episode) SetIsOnline(v *bool)
- func (m *Episode) SetKeywords(v []string)
- func (m *Episode) SetName(v *string)
- func (m *Episode) SetOutlines(v map[string]string)
- func (m *Episode) SetQas(v []*QuestionAnswer)
- func (m *Episode) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *Episode) String() string
- func (m *Episode) UnmarshalBSON(bytes []byte) (err error)
- type EpisodeBson
- type EpisodeCountReq
- func (*EpisodeCountReq) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeCountReq) GetContentType() *anypb.Any
- func (x *EpisodeCountReq) GetCount() *anypb.Any
- func (x *EpisodeCountReq) GetCreatedAt() *anypb.Any
- func (x *EpisodeCountReq) GetExtraFilters() []*orm.PropertyFilter
- func (x *EpisodeCountReq) GetFilterType() *anypb.Any
- func (x *EpisodeCountReq) GetId() *anypb.Any
- func (x *EpisodeCountReq) GetIsOnline() *anypb.Any
- func (x *EpisodeCountReq) GetKeywords() *anypb.Any
- func (x *EpisodeCountReq) GetName() *anypb.Any
- func (x *EpisodeCountReq) GetOutlines() *anypb.Any
- func (x *EpisodeCountReq) GetQas() *anypb.Any
- func (x *EpisodeCountReq) GetUpdatedAt() *anypb.Any
- func (*EpisodeCountReq) ProtoMessage()
- func (x *EpisodeCountReq) ProtoReflect() protoreflect.Message
- func (x *EpisodeCountReq) Reset()
- func (m *EpisodeCountReq) SetContentType(v *anypb.Any)
- func (m *EpisodeCountReq) SetCount(v *anypb.Any)
- func (m *EpisodeCountReq) SetCreatedAt(v *anypb.Any)
- func (m *EpisodeCountReq) SetExtraFilters(v []*orm.PropertyFilter)
- func (m *EpisodeCountReq) SetFilterType(v *anypb.Any)
- func (m *EpisodeCountReq) SetId(v *anypb.Any)
- func (m *EpisodeCountReq) SetIsOnline(v *anypb.Any)
- func (m *EpisodeCountReq) SetKeywords(v *anypb.Any)
- func (m *EpisodeCountReq) SetName(v *anypb.Any)
- func (m *EpisodeCountReq) SetOutlines(v *anypb.Any)
- func (m *EpisodeCountReq) SetQas(v *anypb.Any)
- func (m *EpisodeCountReq) SetUpdatedAt(v *anypb.Any)
- func (x *EpisodeCountReq) String() string
- type EpisodeCountRes
- func (*EpisodeCountRes) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeCountRes) GetTotalElements() int64
- func (*EpisodeCountRes) ProtoMessage()
- func (x *EpisodeCountRes) ProtoReflect() protoreflect.Message
- func (x *EpisodeCountRes) Reset()
- func (m *EpisodeCountRes) SetTotalElements(v int64)
- func (x *EpisodeCountRes) String() string
- type EpisodeCreateReq
- func (*EpisodeCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeCreateReq) GetContentType() enum.ContentType
- func (x *EpisodeCreateReq) GetCount() int32
- func (x *EpisodeCreateReq) GetCreatedAt() *timestamppb.Timestamp
- func (x *EpisodeCreateReq) GetFilterType() enum.FilterType
- func (x *EpisodeCreateReq) GetIsOnline() bool
- func (x *EpisodeCreateReq) GetKeywords() []string
- func (x *EpisodeCreateReq) GetName() string
- func (x *EpisodeCreateReq) GetOutlines() map[string]string
- func (x *EpisodeCreateReq) GetQas() []*QuestionAnswer
- func (x *EpisodeCreateReq) GetUpdatedAt() *timestamppb.Timestamp
- func (m *EpisodeCreateReq) MarshalBSON() (_ []byte, err error)
- func (*EpisodeCreateReq) ProtoMessage()
- func (x *EpisodeCreateReq) ProtoReflect() protoreflect.Message
- func (x *EpisodeCreateReq) Reset()
- func (m *EpisodeCreateReq) SetContentType(v *enum.ContentType)
- func (m *EpisodeCreateReq) SetCount(v *int32)
- func (m *EpisodeCreateReq) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *EpisodeCreateReq) SetFilterType(v *enum.FilterType)
- func (m *EpisodeCreateReq) SetIsOnline(v *bool)
- func (m *EpisodeCreateReq) SetKeywords(v []string)
- func (m *EpisodeCreateReq) SetName(v *string)
- func (m *EpisodeCreateReq) SetOutlines(v map[string]string)
- func (m *EpisodeCreateReq) SetQas(v []*QuestionAnswer)
- func (m *EpisodeCreateReq) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *EpisodeCreateReq) String() string
- type EpisodeCreateRes
- func (*EpisodeCreateRes) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeCreateRes) GetInsertedCount() int64
- func (x *EpisodeCreateRes) GetInsertedId() string
- func (x *EpisodeCreateRes) GetMessage() string
- func (*EpisodeCreateRes) ProtoMessage()
- func (x *EpisodeCreateRes) ProtoReflect() protoreflect.Message
- func (x *EpisodeCreateRes) Reset()
- func (m *EpisodeCreateRes) SetInsertedCount(v int64)
- func (m *EpisodeCreateRes) SetInsertedId(v *string)
- func (m *EpisodeCreateRes) SetMessage(v string)
- func (x *EpisodeCreateRes) String() string
- type EpisodeDeleteMultiReq
- func (*EpisodeDeleteMultiReq) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeDeleteMultiReq) GetContentType() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetCount() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetCreatedAt() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetExtraFilters() []*orm.PropertyFilter
- func (x *EpisodeDeleteMultiReq) GetFilterType() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetId() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetIsOnline() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetKeywords() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetName() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetOutlines() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetQas() *anypb.Any
- func (x *EpisodeDeleteMultiReq) GetUpdatedAt() *anypb.Any
- func (*EpisodeDeleteMultiReq) ProtoMessage()
- func (x *EpisodeDeleteMultiReq) ProtoReflect() protoreflect.Message
- func (x *EpisodeDeleteMultiReq) Reset()
- func (m *EpisodeDeleteMultiReq) SetContentType(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetCount(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetCreatedAt(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetExtraFilters(v []*orm.PropertyFilter)
- func (m *EpisodeDeleteMultiReq) SetFilterType(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetId(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetIsOnline(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetKeywords(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetName(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetOutlines(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetQas(v *anypb.Any)
- func (m *EpisodeDeleteMultiReq) SetUpdatedAt(v *anypb.Any)
- func (x *EpisodeDeleteMultiReq) String() string
- type EpisodeDeleteMultiRes
- func (*EpisodeDeleteMultiRes) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeDeleteMultiRes) GetDeletedCount() int64
- func (x *EpisodeDeleteMultiRes) GetMessage() string
- func (*EpisodeDeleteMultiRes) ProtoMessage()
- func (x *EpisodeDeleteMultiRes) ProtoReflect() protoreflect.Message
- func (x *EpisodeDeleteMultiRes) Reset()
- func (m *EpisodeDeleteMultiRes) SetDeletedCount(v int64)
- func (m *EpisodeDeleteMultiRes) SetMessage(v string)
- func (x *EpisodeDeleteMultiRes) String() string
- type EpisodeDeleteReq
- func (*EpisodeDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeDeleteReq) GetId() string
- func (*EpisodeDeleteReq) ProtoMessage()
- func (x *EpisodeDeleteReq) ProtoReflect() protoreflect.Message
- func (x *EpisodeDeleteReq) Reset()
- func (m *EpisodeDeleteReq) SetId(v string)
- func (x *EpisodeDeleteReq) String() string
- type EpisodeDeleteRes
- func (*EpisodeDeleteRes) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeDeleteRes) GetDeletedCount() int64
- func (x *EpisodeDeleteRes) GetMessage() string
- func (*EpisodeDeleteRes) ProtoMessage()
- func (x *EpisodeDeleteRes) ProtoReflect() protoreflect.Message
- func (x *EpisodeDeleteRes) Reset()
- func (m *EpisodeDeleteRes) SetDeletedCount(v int64)
- func (m *EpisodeDeleteRes) SetMessage(v string)
- func (x *EpisodeDeleteRes) String() string
- type EpisodeGetReq
- func (*EpisodeGetReq) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeGetReq) GetFieldsIncluded() []string
- func (x *EpisodeGetReq) GetId() string
- func (*EpisodeGetReq) ProtoMessage()
- func (x *EpisodeGetReq) ProtoReflect() protoreflect.Message
- func (x *EpisodeGetReq) Reset()
- func (m *EpisodeGetReq) SetFieldsIncluded(v []string)
- func (m *EpisodeGetReq) SetId(v string)
- func (x *EpisodeGetReq) String() string
- type EpisodeGetRes
- func (*EpisodeGetRes) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeGetRes) GetContentType() enum.ContentType
- func (x *EpisodeGetRes) GetCount() int32
- func (x *EpisodeGetRes) GetCreatedAt() *timestamppb.Timestamp
- func (x *EpisodeGetRes) GetFilterType() enum.FilterType
- func (x *EpisodeGetRes) GetId() string
- func (x *EpisodeGetRes) GetIsOnline() bool
- func (x *EpisodeGetRes) GetKeywords() []string
- func (x *EpisodeGetRes) GetName() string
- func (x *EpisodeGetRes) GetOutlines() map[string]string
- func (x *EpisodeGetRes) GetQas() []*QuestionAnswer
- func (x *EpisodeGetRes) GetUpdatedAt() *timestamppb.Timestamp
- func (*EpisodeGetRes) ProtoMessage()
- func (x *EpisodeGetRes) ProtoReflect() protoreflect.Message
- func (x *EpisodeGetRes) Reset()
- func (m *EpisodeGetRes) SetContentType(v *enum.ContentType)
- func (m *EpisodeGetRes) SetCount(v *int32)
- func (m *EpisodeGetRes) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *EpisodeGetRes) SetFilterType(v *enum.FilterType)
- func (m *EpisodeGetRes) SetId(v string)
- func (m *EpisodeGetRes) SetIsOnline(v *bool)
- func (m *EpisodeGetRes) SetKeywords(v []string)
- func (m *EpisodeGetRes) SetName(v *string)
- func (m *EpisodeGetRes) SetOutlines(v map[string]string)
- func (m *EpisodeGetRes) SetQas(v []*QuestionAnswer)
- func (m *EpisodeGetRes) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *EpisodeGetRes) String() string
- func (m *EpisodeGetRes) UnmarshalBSON(bytes []byte) (err error)
- type EpisodeListReq
- func (*EpisodeListReq) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeListReq) GetContentType() *anypb.Any
- func (x *EpisodeListReq) GetCount() *anypb.Any
- func (x *EpisodeListReq) GetCreatedAt() *anypb.Any
- func (x *EpisodeListReq) GetExtraFilters() []*orm.PropertyFilter
- func (x *EpisodeListReq) GetFieldsIncluded() []string
- func (x *EpisodeListReq) GetFilterType() *anypb.Any
- func (x *EpisodeListReq) GetId() *anypb.Any
- func (x *EpisodeListReq) GetIsOnline() *anypb.Any
- func (x *EpisodeListReq) GetKeywords() *anypb.Any
- func (x *EpisodeListReq) GetName() *anypb.Any
- func (x *EpisodeListReq) GetOutlines() *anypb.Any
- func (x *EpisodeListReq) GetPageRequest() *orm.PageRequest
- func (x *EpisodeListReq) GetQas() *anypb.Any
- func (x *EpisodeListReq) GetUpdatedAt() *anypb.Any
- func (*EpisodeListReq) ProtoMessage()
- func (x *EpisodeListReq) ProtoReflect() protoreflect.Message
- func (x *EpisodeListReq) Reset()
- func (m *EpisodeListReq) SetContentType(v *anypb.Any)
- func (m *EpisodeListReq) SetCount(v *anypb.Any)
- func (m *EpisodeListReq) SetCreatedAt(v *anypb.Any)
- func (m *EpisodeListReq) SetExtraFilters(v []*orm.PropertyFilter)
- func (m *EpisodeListReq) SetFieldsIncluded(v []string)
- func (m *EpisodeListReq) SetFilterType(v *anypb.Any)
- func (m *EpisodeListReq) SetId(v *anypb.Any)
- func (m *EpisodeListReq) SetIsOnline(v *anypb.Any)
- func (m *EpisodeListReq) SetKeywords(v *anypb.Any)
- func (m *EpisodeListReq) SetName(v *anypb.Any)
- func (m *EpisodeListReq) SetOutlines(v *anypb.Any)
- func (m *EpisodeListReq) SetPageRequest(v *orm.PageRequest)
- func (m *EpisodeListReq) SetQas(v *anypb.Any)
- func (m *EpisodeListReq) SetUpdatedAt(v *anypb.Any)
- func (x *EpisodeListReq) String() string
- type EpisodeListRes
- func (*EpisodeListRes) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeListRes) GetItems() []*Episode
- func (x *EpisodeListRes) GetPageInfo() *orm.PageInfo
- func (*EpisodeListRes) ProtoMessage()
- func (x *EpisodeListRes) ProtoReflect() protoreflect.Message
- func (x *EpisodeListRes) Reset()
- func (m *EpisodeListRes) SetItems(v []*Episode)
- func (m *EpisodeListRes) SetPageInfo(v *orm.PageInfo)
- func (x *EpisodeListRes) String() string
- type EpisodeMeta
- type EpisodeOneReq
- func (*EpisodeOneReq) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeOneReq) GetContentType() *anypb.Any
- func (x *EpisodeOneReq) GetCount() *anypb.Any
- func (x *EpisodeOneReq) GetCreatedAt() *anypb.Any
- func (x *EpisodeOneReq) GetExtraFilters() []*orm.PropertyFilter
- func (x *EpisodeOneReq) GetFieldsIncluded() []string
- func (x *EpisodeOneReq) GetFilterType() *anypb.Any
- func (x *EpisodeOneReq) GetId() *anypb.Any
- func (x *EpisodeOneReq) GetIsOnline() *anypb.Any
- func (x *EpisodeOneReq) GetKeywords() *anypb.Any
- func (x *EpisodeOneReq) GetName() *anypb.Any
- func (x *EpisodeOneReq) GetOutlines() *anypb.Any
- func (x *EpisodeOneReq) GetPageRequest() *orm.PageRequest
- func (x *EpisodeOneReq) GetQas() *anypb.Any
- func (x *EpisodeOneReq) GetUpdatedAt() *anypb.Any
- func (*EpisodeOneReq) ProtoMessage()
- func (x *EpisodeOneReq) ProtoReflect() protoreflect.Message
- func (x *EpisodeOneReq) Reset()
- func (m *EpisodeOneReq) SetContentType(v *anypb.Any)
- func (m *EpisodeOneReq) SetCount(v *anypb.Any)
- func (m *EpisodeOneReq) SetCreatedAt(v *anypb.Any)
- func (m *EpisodeOneReq) SetExtraFilters(v []*orm.PropertyFilter)
- func (m *EpisodeOneReq) SetFieldsIncluded(v []string)
- func (m *EpisodeOneReq) SetFilterType(v *anypb.Any)
- func (m *EpisodeOneReq) SetId(v *anypb.Any)
- func (m *EpisodeOneReq) SetIsOnline(v *anypb.Any)
- func (m *EpisodeOneReq) SetKeywords(v *anypb.Any)
- func (m *EpisodeOneReq) SetName(v *anypb.Any)
- func (m *EpisodeOneReq) SetOutlines(v *anypb.Any)
- func (m *EpisodeOneReq) SetPageRequest(v *orm.PageRequest)
- func (m *EpisodeOneReq) SetQas(v *anypb.Any)
- func (m *EpisodeOneReq) SetUpdatedAt(v *anypb.Any)
- func (x *EpisodeOneReq) String() string
- type EpisodeOneRes
- func (*EpisodeOneRes) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeOneRes) GetFound() bool
- func (x *EpisodeOneRes) GetItem() *Episode
- func (*EpisodeOneRes) ProtoMessage()
- func (x *EpisodeOneRes) ProtoReflect() protoreflect.Message
- func (x *EpisodeOneRes) Reset()
- func (m *EpisodeOneRes) SetFound(v bool)
- func (m *EpisodeOneRes) SetItem(v *Episode)
- func (x *EpisodeOneRes) String() string
- type EpisodeRepo
- func (r *EpisodeRepo) Count(ctx context.Context, req *EpisodeCountReq) (*EpisodeCountRes, error)
- func (r *EpisodeRepo) Create(ctx context.Context, req *EpisodeCreateReq) (*EpisodeCreateRes, error)
- func (r *EpisodeRepo) Delete(ctx context.Context, req *EpisodeDeleteReq) (*EpisodeDeleteRes, error)
- func (r *EpisodeRepo) DeleteMulti(ctx context.Context, req *EpisodeDeleteMultiReq) (*EpisodeDeleteMultiRes, error)
- func (r *EpisodeRepo) Get(ctx context.Context, req *EpisodeGetReq) (*EpisodeGetRes, error)
- func (r *EpisodeRepo) List(ctx context.Context, req *EpisodeListReq) (*EpisodeListRes, error)
- func (r *EpisodeRepo) One(ctx context.Context, req *EpisodeOneReq) (*EpisodeOneRes, error)
- func (r *EpisodeRepo) Update(ctx context.Context, req *EpisodeUpdateReq) (*EpisodeUpdateRes, error)
- func (r *EpisodeRepo) Upsert(ctx context.Context, req *EpisodeUpsertReq) (*EpisodeUpsertRes, error)
- type EpisodeUpdateReq
- func (*EpisodeUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeUpdateReq) GetContentType() enum.ContentType
- func (x *EpisodeUpdateReq) GetCount() int32
- func (x *EpisodeUpdateReq) GetCreatedAt() *timestamppb.Timestamp
- func (x *EpisodeUpdateReq) GetFilterType() enum.FilterType
- func (x *EpisodeUpdateReq) GetId() string
- func (x *EpisodeUpdateReq) GetIsOnline() bool
- func (x *EpisodeUpdateReq) GetKeywords() []string
- func (x *EpisodeUpdateReq) GetName() string
- func (x *EpisodeUpdateReq) GetOutlines() map[string]string
- func (x *EpisodeUpdateReq) GetQas() []*QuestionAnswer
- func (x *EpisodeUpdateReq) GetUpdatedAt() *timestamppb.Timestamp
- func (m *EpisodeUpdateReq) MarshalBSON() (_ []byte, err error)
- func (*EpisodeUpdateReq) ProtoMessage()
- func (x *EpisodeUpdateReq) ProtoReflect() protoreflect.Message
- func (x *EpisodeUpdateReq) Reset()
- func (m *EpisodeUpdateReq) SetContentType(v *enum.ContentType)
- func (m *EpisodeUpdateReq) SetCount(v *int32)
- func (m *EpisodeUpdateReq) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *EpisodeUpdateReq) SetFilterType(v *enum.FilterType)
- func (m *EpisodeUpdateReq) SetId(v string)
- func (m *EpisodeUpdateReq) SetIsOnline(v *bool)
- func (m *EpisodeUpdateReq) SetKeywords(v []string)
- func (m *EpisodeUpdateReq) SetName(v *string)
- func (m *EpisodeUpdateReq) SetOutlines(v map[string]string)
- func (m *EpisodeUpdateReq) SetQas(v []*QuestionAnswer)
- func (m *EpisodeUpdateReq) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *EpisodeUpdateReq) String() string
- type EpisodeUpdateRes
- func (*EpisodeUpdateRes) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeUpdateRes) GetMatchedCount() int64
- func (x *EpisodeUpdateRes) GetMessage() string
- func (x *EpisodeUpdateRes) GetModifiedCount() int64
- func (*EpisodeUpdateRes) ProtoMessage()
- func (x *EpisodeUpdateRes) ProtoReflect() protoreflect.Message
- func (x *EpisodeUpdateRes) Reset()
- func (m *EpisodeUpdateRes) SetMatchedCount(v int64)
- func (m *EpisodeUpdateRes) SetMessage(v string)
- func (m *EpisodeUpdateRes) SetModifiedCount(v int64)
- func (x *EpisodeUpdateRes) String() string
- type EpisodeUpsertReq
- func (*EpisodeUpsertReq) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeUpsertReq) GetContentType() enum.ContentType
- func (x *EpisodeUpsertReq) GetCount() int32
- func (x *EpisodeUpsertReq) GetCreatedAt() *timestamppb.Timestamp
- func (x *EpisodeUpsertReq) GetFilterType() enum.FilterType
- func (x *EpisodeUpsertReq) GetId() string
- func (x *EpisodeUpsertReq) GetIsOnline() bool
- func (x *EpisodeUpsertReq) GetKeywords() []string
- func (x *EpisodeUpsertReq) GetName() string
- func (x *EpisodeUpsertReq) GetOutlines() map[string]string
- func (x *EpisodeUpsertReq) GetQas() []*QuestionAnswer
- func (x *EpisodeUpsertReq) GetUpdatedAt() *timestamppb.Timestamp
- func (m *EpisodeUpsertReq) MarshalBSON() (_ []byte, err error)
- func (*EpisodeUpsertReq) ProtoMessage()
- func (x *EpisodeUpsertReq) ProtoReflect() protoreflect.Message
- func (x *EpisodeUpsertReq) Reset()
- func (m *EpisodeUpsertReq) SetContentType(v *enum.ContentType)
- func (m *EpisodeUpsertReq) SetCount(v *int32)
- func (m *EpisodeUpsertReq) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *EpisodeUpsertReq) SetFilterType(v *enum.FilterType)
- func (m *EpisodeUpsertReq) SetId(v string)
- func (m *EpisodeUpsertReq) SetIsOnline(v *bool)
- func (m *EpisodeUpsertReq) SetKeywords(v []string)
- func (m *EpisodeUpsertReq) SetName(v *string)
- func (m *EpisodeUpsertReq) SetOutlines(v map[string]string)
- func (m *EpisodeUpsertReq) SetQas(v []*QuestionAnswer)
- func (m *EpisodeUpsertReq) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *EpisodeUpsertReq) String() string
- type EpisodeUpsertRes
- func (*EpisodeUpsertRes) Descriptor() ([]byte, []int)deprecated
- func (x *EpisodeUpsertRes) GetMatchedCount() int64
- func (x *EpisodeUpsertRes) GetMessage() string
- func (x *EpisodeUpsertRes) GetModifiedCount() int64
- func (x *EpisodeUpsertRes) GetUpsertedCount() int64
- func (x *EpisodeUpsertRes) GetUpsertedId() string
- func (*EpisodeUpsertRes) ProtoMessage()
- func (x *EpisodeUpsertRes) ProtoReflect() protoreflect.Message
- func (x *EpisodeUpsertRes) Reset()
- func (m *EpisodeUpsertRes) SetMatchedCount(v int64)
- func (m *EpisodeUpsertRes) SetMessage(v string)
- func (m *EpisodeUpsertRes) SetModifiedCount(v int64)
- func (m *EpisodeUpsertRes) SetUpsertedCount(v int64)
- func (m *EpisodeUpsertRes) SetUpsertedId(v *string)
- func (x *EpisodeUpsertRes) String() string
- type QuestionAnswer
- func (*QuestionAnswer) Descriptor() ([]byte, []int)deprecated
- func (x *QuestionAnswer) GetAnswer() string
- func (x *QuestionAnswer) GetEndTime() *durationpb.Duration
- func (x *QuestionAnswer) GetQuestion() string
- func (x *QuestionAnswer) GetStartTime() *durationpb.Duration
- func (*QuestionAnswer) ProtoMessage()
- func (x *QuestionAnswer) ProtoReflect() protoreflect.Message
- func (x *QuestionAnswer) Reset()
- func (m *QuestionAnswer) SetAnswer(v *string)
- func (m *QuestionAnswer) SetEndTime(v *durationpb.Duration)
- func (m *QuestionAnswer) SetQuestion(v *string)
- func (m *QuestionAnswer) SetStartTime(v *durationpb.Duration)
- func (x *QuestionAnswer) String() string
Constants ¶
This section is empty.
Variables ¶
var File_app_episode_service_proto_episode_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Episode ¶
type Episode struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` ContentType *enum.ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=proto.ContentType,oneof" json:"contentType,omitempty"` FilterType *enum.FilterType `protobuf:"varint,4,opt,name=filter_type,json=filterType,proto3,enum=proto.FilterType,oneof" json:"filterType,omitempty"` Count *int32 `protobuf:"varint,5,opt,name=count,proto3,oneof" json:"count,omitempty"` IsOnline *bool `protobuf:"varint,6,opt,name=is_online,json=isOnline,proto3,oneof" json:"isOnline,omitempty"` Keywords []string `protobuf:"bytes,7,rep,name=keywords,proto3" json:"keywords,omitempty"` Outlines map[string]string `` /* 157-byte string literal not displayed */ Qas []*QuestionAnswer `protobuf:"bytes,9,rep,name=qas,proto3" json:"qas,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3,oneof" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*Episode) Descriptor
deprecated
func (*Episode) GetContentType ¶
func (x *Episode) GetContentType() enum.ContentType
func (*Episode) GetCreatedAt ¶
func (x *Episode) GetCreatedAt() *timestamppb.Timestamp
func (*Episode) GetFilterType ¶
func (x *Episode) GetFilterType() enum.FilterType
func (*Episode) GetIsOnline ¶
func (*Episode) GetKeywords ¶
func (*Episode) GetOutlines ¶
func (*Episode) GetQas ¶
func (x *Episode) GetQas() []*QuestionAnswer
func (*Episode) GetUpdatedAt ¶
func (x *Episode) GetUpdatedAt() *timestamppb.Timestamp
func (*Episode) ProtoMessage ¶
func (*Episode) ProtoMessage()
func (*Episode) ProtoReflect ¶
func (x *Episode) ProtoReflect() protoreflect.Message
func (*Episode) SetContentType ¶
func (m *Episode) SetContentType(v *enum.ContentType)
func (*Episode) SetCreatedAt ¶
func (m *Episode) SetCreatedAt(v *timestamppb.Timestamp)
func (*Episode) SetFilterType ¶
func (m *Episode) SetFilterType(v *enum.FilterType)
func (*Episode) SetIsOnline ¶
func (*Episode) SetKeywords ¶
func (*Episode) SetOutlines ¶
func (*Episode) SetQas ¶
func (m *Episode) SetQas(v []*QuestionAnswer)
func (*Episode) SetUpdatedAt ¶
func (m *Episode) SetUpdatedAt(v *timestamppb.Timestamp)
func (*Episode) UnmarshalBSON ¶
type EpisodeBson ¶
type EpisodeBson struct { Id *primitive.ObjectID `bson:"_id,omitempty"` Name *string `bson:"name,omitempty"` ContentType *enum.ContentType `bson:"content_type,omitempty"` FilterType *enum.FilterType `bson:"filter_type,omitempty"` Count *int32 `bson:"count,omitempty"` IsOnline *bool `bson:"is_online,omitempty"` Keywords []string `bson:"keywords,omitempty"` Outlines map[string]string `bson:"outlines,omitempty"` Qas []*QuestionAnswer `bson:"qas,omitempty"` CreatedAt *primitive.Timestamp `bson:"created_at,omitempty"` UpdatedAt *primitive.Timestamp `bson:"updated_at,omitempty"` }
type EpisodeCountReq ¶
type EpisodeCountReq struct { Id *anypb.Any `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *anypb.Any `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ContentType *anypb.Any `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"contentType,omitempty"` FilterType *anypb.Any `protobuf:"bytes,4,opt,name=filter_type,json=filterType,proto3" json:"filterType,omitempty"` Count *anypb.Any `protobuf:"bytes,5,opt,name=count,proto3" json:"count,omitempty"` IsOnline *anypb.Any `protobuf:"bytes,6,opt,name=is_online,json=isOnline,proto3" json:"isOnline,omitempty"` Keywords *anypb.Any `protobuf:"bytes,7,opt,name=keywords,proto3" json:"keywords,omitempty"` Outlines *anypb.Any `protobuf:"bytes,8,opt,name=outlines,proto3" json:"outlines,omitempty"` Qas *anypb.Any `protobuf:"bytes,9,opt,name=qas,proto3" json:"qas,omitempty"` CreatedAt *anypb.Any `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *anypb.Any `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3" json:"updatedAt,omitempty"` ExtraFilters []*orm.PropertyFilter `protobuf:"bytes,1001,rep,name=extra_filters,json=extraFilters,proto3" json:"extraFilters,omitempty"` // contains filtered or unexported fields }
func (*EpisodeCountReq) Descriptor
deprecated
func (*EpisodeCountReq) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeCountReq.ProtoReflect.Descriptor instead.
func (*EpisodeCountReq) GetContentType ¶
func (x *EpisodeCountReq) GetContentType() *anypb.Any
func (*EpisodeCountReq) GetCount ¶
func (x *EpisodeCountReq) GetCount() *anypb.Any
func (*EpisodeCountReq) GetCreatedAt ¶
func (x *EpisodeCountReq) GetCreatedAt() *anypb.Any
func (*EpisodeCountReq) GetExtraFilters ¶
func (x *EpisodeCountReq) GetExtraFilters() []*orm.PropertyFilter
func (*EpisodeCountReq) GetFilterType ¶
func (x *EpisodeCountReq) GetFilterType() *anypb.Any
func (*EpisodeCountReq) GetId ¶
func (x *EpisodeCountReq) GetId() *anypb.Any
func (*EpisodeCountReq) GetIsOnline ¶
func (x *EpisodeCountReq) GetIsOnline() *anypb.Any
func (*EpisodeCountReq) GetKeywords ¶
func (x *EpisodeCountReq) GetKeywords() *anypb.Any
func (*EpisodeCountReq) GetName ¶
func (x *EpisodeCountReq) GetName() *anypb.Any
func (*EpisodeCountReq) GetOutlines ¶
func (x *EpisodeCountReq) GetOutlines() *anypb.Any
func (*EpisodeCountReq) GetQas ¶
func (x *EpisodeCountReq) GetQas() *anypb.Any
func (*EpisodeCountReq) GetUpdatedAt ¶
func (x *EpisodeCountReq) GetUpdatedAt() *anypb.Any
func (*EpisodeCountReq) ProtoMessage ¶
func (*EpisodeCountReq) ProtoMessage()
func (*EpisodeCountReq) ProtoReflect ¶
func (x *EpisodeCountReq) ProtoReflect() protoreflect.Message
func (*EpisodeCountReq) Reset ¶
func (x *EpisodeCountReq) Reset()
func (*EpisodeCountReq) SetContentType ¶
func (m *EpisodeCountReq) SetContentType(v *anypb.Any)
func (*EpisodeCountReq) SetCount ¶
func (m *EpisodeCountReq) SetCount(v *anypb.Any)
func (*EpisodeCountReq) SetCreatedAt ¶
func (m *EpisodeCountReq) SetCreatedAt(v *anypb.Any)
func (*EpisodeCountReq) SetExtraFilters ¶
func (m *EpisodeCountReq) SetExtraFilters(v []*orm.PropertyFilter)
func (*EpisodeCountReq) SetFilterType ¶
func (m *EpisodeCountReq) SetFilterType(v *anypb.Any)
func (*EpisodeCountReq) SetId ¶
func (m *EpisodeCountReq) SetId(v *anypb.Any)
func (*EpisodeCountReq) SetIsOnline ¶
func (m *EpisodeCountReq) SetIsOnline(v *anypb.Any)
func (*EpisodeCountReq) SetKeywords ¶
func (m *EpisodeCountReq) SetKeywords(v *anypb.Any)
func (*EpisodeCountReq) SetName ¶
func (m *EpisodeCountReq) SetName(v *anypb.Any)
func (*EpisodeCountReq) SetOutlines ¶
func (m *EpisodeCountReq) SetOutlines(v *anypb.Any)
func (*EpisodeCountReq) SetQas ¶
func (m *EpisodeCountReq) SetQas(v *anypb.Any)
func (*EpisodeCountReq) SetUpdatedAt ¶
func (m *EpisodeCountReq) SetUpdatedAt(v *anypb.Any)
func (*EpisodeCountReq) String ¶
func (x *EpisodeCountReq) String() string
type EpisodeCountRes ¶
type EpisodeCountRes struct { TotalElements int64 `protobuf:"varint,1,opt,name=totalElements,proto3" json:"total"` // contains filtered or unexported fields }
func (*EpisodeCountRes) Descriptor
deprecated
func (*EpisodeCountRes) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeCountRes.ProtoReflect.Descriptor instead.
func (*EpisodeCountRes) GetTotalElements ¶
func (x *EpisodeCountRes) GetTotalElements() int64
func (*EpisodeCountRes) ProtoMessage ¶
func (*EpisodeCountRes) ProtoMessage()
func (*EpisodeCountRes) ProtoReflect ¶
func (x *EpisodeCountRes) ProtoReflect() protoreflect.Message
func (*EpisodeCountRes) Reset ¶
func (x *EpisodeCountRes) Reset()
func (*EpisodeCountRes) SetTotalElements ¶
func (m *EpisodeCountRes) SetTotalElements(v int64)
func (*EpisodeCountRes) String ¶
func (x *EpisodeCountRes) String() string
type EpisodeCreateReq ¶
type EpisodeCreateReq struct { Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` ContentType *enum.ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=proto.ContentType,oneof" json:"contentType,omitempty"` FilterType *enum.FilterType `protobuf:"varint,4,opt,name=filter_type,json=filterType,proto3,enum=proto.FilterType,oneof" json:"filterType,omitempty"` Count *int32 `protobuf:"varint,5,opt,name=count,proto3,oneof" json:"count,omitempty"` IsOnline *bool `protobuf:"varint,6,opt,name=is_online,json=isOnline,proto3,oneof" json:"isOnline,omitempty"` Keywords []string `protobuf:"bytes,7,rep,name=keywords,proto3" json:"keywords,omitempty"` Outlines map[string]string `` /* 157-byte string literal not displayed */ Qas []*QuestionAnswer `protobuf:"bytes,9,rep,name=qas,proto3" json:"qas,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3,oneof" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*EpisodeCreateReq) Descriptor
deprecated
func (*EpisodeCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeCreateReq.ProtoReflect.Descriptor instead.
func (*EpisodeCreateReq) GetContentType ¶
func (x *EpisodeCreateReq) GetContentType() enum.ContentType
func (*EpisodeCreateReq) GetCount ¶
func (x *EpisodeCreateReq) GetCount() int32
func (*EpisodeCreateReq) GetCreatedAt ¶
func (x *EpisodeCreateReq) GetCreatedAt() *timestamppb.Timestamp
func (*EpisodeCreateReq) GetFilterType ¶
func (x *EpisodeCreateReq) GetFilterType() enum.FilterType
func (*EpisodeCreateReq) GetIsOnline ¶
func (x *EpisodeCreateReq) GetIsOnline() bool
func (*EpisodeCreateReq) GetKeywords ¶
func (x *EpisodeCreateReq) GetKeywords() []string
func (*EpisodeCreateReq) GetName ¶
func (x *EpisodeCreateReq) GetName() string
func (*EpisodeCreateReq) GetOutlines ¶
func (x *EpisodeCreateReq) GetOutlines() map[string]string
func (*EpisodeCreateReq) GetQas ¶
func (x *EpisodeCreateReq) GetQas() []*QuestionAnswer
func (*EpisodeCreateReq) GetUpdatedAt ¶
func (x *EpisodeCreateReq) GetUpdatedAt() *timestamppb.Timestamp
func (*EpisodeCreateReq) MarshalBSON ¶
func (m *EpisodeCreateReq) MarshalBSON() (_ []byte, err error)
func (*EpisodeCreateReq) ProtoMessage ¶
func (*EpisodeCreateReq) ProtoMessage()
func (*EpisodeCreateReq) ProtoReflect ¶
func (x *EpisodeCreateReq) ProtoReflect() protoreflect.Message
func (*EpisodeCreateReq) Reset ¶
func (x *EpisodeCreateReq) Reset()
func (*EpisodeCreateReq) SetContentType ¶
func (m *EpisodeCreateReq) SetContentType(v *enum.ContentType)
func (*EpisodeCreateReq) SetCount ¶
func (m *EpisodeCreateReq) SetCount(v *int32)
func (*EpisodeCreateReq) SetCreatedAt ¶
func (m *EpisodeCreateReq) SetCreatedAt(v *timestamppb.Timestamp)
func (*EpisodeCreateReq) SetFilterType ¶
func (m *EpisodeCreateReq) SetFilterType(v *enum.FilterType)
func (*EpisodeCreateReq) SetIsOnline ¶
func (m *EpisodeCreateReq) SetIsOnline(v *bool)
func (*EpisodeCreateReq) SetKeywords ¶
func (m *EpisodeCreateReq) SetKeywords(v []string)
func (*EpisodeCreateReq) SetName ¶
func (m *EpisodeCreateReq) SetName(v *string)
func (*EpisodeCreateReq) SetOutlines ¶
func (m *EpisodeCreateReq) SetOutlines(v map[string]string)
func (*EpisodeCreateReq) SetQas ¶
func (m *EpisodeCreateReq) SetQas(v []*QuestionAnswer)
func (*EpisodeCreateReq) SetUpdatedAt ¶
func (m *EpisodeCreateReq) SetUpdatedAt(v *timestamppb.Timestamp)
func (*EpisodeCreateReq) String ¶
func (x *EpisodeCreateReq) String() string
type EpisodeCreateRes ¶
type EpisodeCreateRes struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message"` InsertedId *string `protobuf:"bytes,2,opt,name=inserted_id,json=insertedId,proto3,oneof" json:"insertedId"` InsertedCount int64 `protobuf:"varint,3,opt,name=inserted_count,json=insertedCount,proto3" json:"insertedCount"` // contains filtered or unexported fields }
func (*EpisodeCreateRes) Descriptor
deprecated
func (*EpisodeCreateRes) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeCreateRes.ProtoReflect.Descriptor instead.
func (*EpisodeCreateRes) GetInsertedCount ¶
func (x *EpisodeCreateRes) GetInsertedCount() int64
func (*EpisodeCreateRes) GetInsertedId ¶
func (x *EpisodeCreateRes) GetInsertedId() string
func (*EpisodeCreateRes) GetMessage ¶
func (x *EpisodeCreateRes) GetMessage() string
func (*EpisodeCreateRes) ProtoMessage ¶
func (*EpisodeCreateRes) ProtoMessage()
func (*EpisodeCreateRes) ProtoReflect ¶
func (x *EpisodeCreateRes) ProtoReflect() protoreflect.Message
func (*EpisodeCreateRes) Reset ¶
func (x *EpisodeCreateRes) Reset()
func (*EpisodeCreateRes) SetInsertedCount ¶
func (m *EpisodeCreateRes) SetInsertedCount(v int64)
func (*EpisodeCreateRes) SetInsertedId ¶
func (m *EpisodeCreateRes) SetInsertedId(v *string)
func (*EpisodeCreateRes) SetMessage ¶
func (m *EpisodeCreateRes) SetMessage(v string)
func (*EpisodeCreateRes) String ¶
func (x *EpisodeCreateRes) String() string
type EpisodeDeleteMultiReq ¶
type EpisodeDeleteMultiReq struct { Id *anypb.Any `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *anypb.Any `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ContentType *anypb.Any `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"contentType,omitempty"` FilterType *anypb.Any `protobuf:"bytes,4,opt,name=filter_type,json=filterType,proto3" json:"filterType,omitempty"` Count *anypb.Any `protobuf:"bytes,5,opt,name=count,proto3" json:"count,omitempty"` IsOnline *anypb.Any `protobuf:"bytes,6,opt,name=is_online,json=isOnline,proto3" json:"isOnline,omitempty"` Keywords *anypb.Any `protobuf:"bytes,7,opt,name=keywords,proto3" json:"keywords,omitempty"` Outlines *anypb.Any `protobuf:"bytes,8,opt,name=outlines,proto3" json:"outlines,omitempty"` Qas *anypb.Any `protobuf:"bytes,9,opt,name=qas,proto3" json:"qas,omitempty"` CreatedAt *anypb.Any `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *anypb.Any `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3" json:"updatedAt,omitempty"` ExtraFilters []*orm.PropertyFilter `protobuf:"bytes,1001,rep,name=extra_filters,json=extraFilters,proto3" json:"extraFilters,omitempty"` // contains filtered or unexported fields }
func (*EpisodeDeleteMultiReq) Descriptor
deprecated
func (*EpisodeDeleteMultiReq) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeDeleteMultiReq.ProtoReflect.Descriptor instead.
func (*EpisodeDeleteMultiReq) GetContentType ¶
func (x *EpisodeDeleteMultiReq) GetContentType() *anypb.Any
func (*EpisodeDeleteMultiReq) GetCount ¶
func (x *EpisodeDeleteMultiReq) GetCount() *anypb.Any
func (*EpisodeDeleteMultiReq) GetCreatedAt ¶
func (x *EpisodeDeleteMultiReq) GetCreatedAt() *anypb.Any
func (*EpisodeDeleteMultiReq) GetExtraFilters ¶
func (x *EpisodeDeleteMultiReq) GetExtraFilters() []*orm.PropertyFilter
func (*EpisodeDeleteMultiReq) GetFilterType ¶
func (x *EpisodeDeleteMultiReq) GetFilterType() *anypb.Any
func (*EpisodeDeleteMultiReq) GetId ¶
func (x *EpisodeDeleteMultiReq) GetId() *anypb.Any
func (*EpisodeDeleteMultiReq) GetIsOnline ¶
func (x *EpisodeDeleteMultiReq) GetIsOnline() *anypb.Any
func (*EpisodeDeleteMultiReq) GetKeywords ¶
func (x *EpisodeDeleteMultiReq) GetKeywords() *anypb.Any
func (*EpisodeDeleteMultiReq) GetName ¶
func (x *EpisodeDeleteMultiReq) GetName() *anypb.Any
func (*EpisodeDeleteMultiReq) GetOutlines ¶
func (x *EpisodeDeleteMultiReq) GetOutlines() *anypb.Any
func (*EpisodeDeleteMultiReq) GetQas ¶
func (x *EpisodeDeleteMultiReq) GetQas() *anypb.Any
func (*EpisodeDeleteMultiReq) GetUpdatedAt ¶
func (x *EpisodeDeleteMultiReq) GetUpdatedAt() *anypb.Any
func (*EpisodeDeleteMultiReq) ProtoMessage ¶
func (*EpisodeDeleteMultiReq) ProtoMessage()
func (*EpisodeDeleteMultiReq) ProtoReflect ¶
func (x *EpisodeDeleteMultiReq) ProtoReflect() protoreflect.Message
func (*EpisodeDeleteMultiReq) Reset ¶
func (x *EpisodeDeleteMultiReq) Reset()
func (*EpisodeDeleteMultiReq) SetContentType ¶
func (m *EpisodeDeleteMultiReq) SetContentType(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetCount ¶
func (m *EpisodeDeleteMultiReq) SetCount(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetCreatedAt ¶
func (m *EpisodeDeleteMultiReq) SetCreatedAt(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetExtraFilters ¶
func (m *EpisodeDeleteMultiReq) SetExtraFilters(v []*orm.PropertyFilter)
func (*EpisodeDeleteMultiReq) SetFilterType ¶
func (m *EpisodeDeleteMultiReq) SetFilterType(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetId ¶
func (m *EpisodeDeleteMultiReq) SetId(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetIsOnline ¶
func (m *EpisodeDeleteMultiReq) SetIsOnline(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetKeywords ¶
func (m *EpisodeDeleteMultiReq) SetKeywords(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetName ¶
func (m *EpisodeDeleteMultiReq) SetName(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetOutlines ¶
func (m *EpisodeDeleteMultiReq) SetOutlines(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetQas ¶
func (m *EpisodeDeleteMultiReq) SetQas(v *anypb.Any)
func (*EpisodeDeleteMultiReq) SetUpdatedAt ¶
func (m *EpisodeDeleteMultiReq) SetUpdatedAt(v *anypb.Any)
func (*EpisodeDeleteMultiReq) String ¶
func (x *EpisodeDeleteMultiReq) String() string
type EpisodeDeleteMultiRes ¶
type EpisodeDeleteMultiRes struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message"` DeletedCount int64 `protobuf:"varint,2,opt,name=deleted_count,json=deletedCount,proto3" json:"deletedCount"` // contains filtered or unexported fields }
func (*EpisodeDeleteMultiRes) Descriptor
deprecated
func (*EpisodeDeleteMultiRes) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeDeleteMultiRes.ProtoReflect.Descriptor instead.
func (*EpisodeDeleteMultiRes) GetDeletedCount ¶
func (x *EpisodeDeleteMultiRes) GetDeletedCount() int64
func (*EpisodeDeleteMultiRes) GetMessage ¶
func (x *EpisodeDeleteMultiRes) GetMessage() string
func (*EpisodeDeleteMultiRes) ProtoMessage ¶
func (*EpisodeDeleteMultiRes) ProtoMessage()
func (*EpisodeDeleteMultiRes) ProtoReflect ¶
func (x *EpisodeDeleteMultiRes) ProtoReflect() protoreflect.Message
func (*EpisodeDeleteMultiRes) Reset ¶
func (x *EpisodeDeleteMultiRes) Reset()
func (*EpisodeDeleteMultiRes) SetDeletedCount ¶
func (m *EpisodeDeleteMultiRes) SetDeletedCount(v int64)
func (*EpisodeDeleteMultiRes) SetMessage ¶
func (m *EpisodeDeleteMultiRes) SetMessage(v string)
func (*EpisodeDeleteMultiRes) String ¶
func (x *EpisodeDeleteMultiRes) String() string
type EpisodeDeleteReq ¶
type EpisodeDeleteReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // contains filtered or unexported fields }
func (*EpisodeDeleteReq) Descriptor
deprecated
func (*EpisodeDeleteReq) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeDeleteReq.ProtoReflect.Descriptor instead.
func (*EpisodeDeleteReq) GetId ¶
func (x *EpisodeDeleteReq) GetId() string
func (*EpisodeDeleteReq) ProtoMessage ¶
func (*EpisodeDeleteReq) ProtoMessage()
func (*EpisodeDeleteReq) ProtoReflect ¶
func (x *EpisodeDeleteReq) ProtoReflect() protoreflect.Message
func (*EpisodeDeleteReq) Reset ¶
func (x *EpisodeDeleteReq) Reset()
func (*EpisodeDeleteReq) SetId ¶
func (m *EpisodeDeleteReq) SetId(v string)
func (*EpisodeDeleteReq) String ¶
func (x *EpisodeDeleteReq) String() string
type EpisodeDeleteRes ¶
type EpisodeDeleteRes struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message"` DeletedCount int64 `protobuf:"varint,2,opt,name=deleted_count,json=deletedCount,proto3" json:"deletedCount"` // contains filtered or unexported fields }
func (*EpisodeDeleteRes) Descriptor
deprecated
func (*EpisodeDeleteRes) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeDeleteRes.ProtoReflect.Descriptor instead.
func (*EpisodeDeleteRes) GetDeletedCount ¶
func (x *EpisodeDeleteRes) GetDeletedCount() int64
func (*EpisodeDeleteRes) GetMessage ¶
func (x *EpisodeDeleteRes) GetMessage() string
func (*EpisodeDeleteRes) ProtoMessage ¶
func (*EpisodeDeleteRes) ProtoMessage()
func (*EpisodeDeleteRes) ProtoReflect ¶
func (x *EpisodeDeleteRes) ProtoReflect() protoreflect.Message
func (*EpisodeDeleteRes) Reset ¶
func (x *EpisodeDeleteRes) Reset()
func (*EpisodeDeleteRes) SetDeletedCount ¶
func (m *EpisodeDeleteRes) SetDeletedCount(v int64)
func (*EpisodeDeleteRes) SetMessage ¶
func (m *EpisodeDeleteRes) SetMessage(v string)
func (*EpisodeDeleteRes) String ¶
func (x *EpisodeDeleteRes) String() string
type EpisodeGetReq ¶
type EpisodeGetReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` FieldsIncluded []string `protobuf:"bytes,1003,rep,name=fields_included,json=fieldsIncluded,proto3" json:"fieldsIncluded,omitempty"` // contains filtered or unexported fields }
func (*EpisodeGetReq) Descriptor
deprecated
func (*EpisodeGetReq) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeGetReq.ProtoReflect.Descriptor instead.
func (*EpisodeGetReq) GetFieldsIncluded ¶
func (x *EpisodeGetReq) GetFieldsIncluded() []string
func (*EpisodeGetReq) GetId ¶
func (x *EpisodeGetReq) GetId() string
func (*EpisodeGetReq) ProtoMessage ¶
func (*EpisodeGetReq) ProtoMessage()
func (*EpisodeGetReq) ProtoReflect ¶
func (x *EpisodeGetReq) ProtoReflect() protoreflect.Message
func (*EpisodeGetReq) Reset ¶
func (x *EpisodeGetReq) Reset()
func (*EpisodeGetReq) SetFieldsIncluded ¶
func (m *EpisodeGetReq) SetFieldsIncluded(v []string)
func (*EpisodeGetReq) SetId ¶
func (m *EpisodeGetReq) SetId(v string)
func (*EpisodeGetReq) String ¶
func (x *EpisodeGetReq) String() string
type EpisodeGetRes ¶
type EpisodeGetRes struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` ContentType *enum.ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=proto.ContentType,oneof" json:"contentType,omitempty"` FilterType *enum.FilterType `protobuf:"varint,4,opt,name=filter_type,json=filterType,proto3,enum=proto.FilterType,oneof" json:"filterType,omitempty"` Count *int32 `protobuf:"varint,5,opt,name=count,proto3,oneof" json:"count,omitempty"` IsOnline *bool `protobuf:"varint,6,opt,name=is_online,json=isOnline,proto3,oneof" json:"isOnline,omitempty"` Keywords []string `protobuf:"bytes,7,rep,name=keywords,proto3" json:"keywords,omitempty"` Outlines map[string]string `` /* 157-byte string literal not displayed */ Qas []*QuestionAnswer `protobuf:"bytes,9,rep,name=qas,proto3" json:"qas,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3,oneof" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*EpisodeGetRes) Descriptor
deprecated
func (*EpisodeGetRes) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeGetRes.ProtoReflect.Descriptor instead.
func (*EpisodeGetRes) GetContentType ¶
func (x *EpisodeGetRes) GetContentType() enum.ContentType
func (*EpisodeGetRes) GetCount ¶
func (x *EpisodeGetRes) GetCount() int32
func (*EpisodeGetRes) GetCreatedAt ¶
func (x *EpisodeGetRes) GetCreatedAt() *timestamppb.Timestamp
func (*EpisodeGetRes) GetFilterType ¶
func (x *EpisodeGetRes) GetFilterType() enum.FilterType
func (*EpisodeGetRes) GetId ¶
func (x *EpisodeGetRes) GetId() string
func (*EpisodeGetRes) GetIsOnline ¶
func (x *EpisodeGetRes) GetIsOnline() bool
func (*EpisodeGetRes) GetKeywords ¶
func (x *EpisodeGetRes) GetKeywords() []string
func (*EpisodeGetRes) GetName ¶
func (x *EpisodeGetRes) GetName() string
func (*EpisodeGetRes) GetOutlines ¶
func (x *EpisodeGetRes) GetOutlines() map[string]string
func (*EpisodeGetRes) GetQas ¶
func (x *EpisodeGetRes) GetQas() []*QuestionAnswer
func (*EpisodeGetRes) GetUpdatedAt ¶
func (x *EpisodeGetRes) GetUpdatedAt() *timestamppb.Timestamp
func (*EpisodeGetRes) ProtoMessage ¶
func (*EpisodeGetRes) ProtoMessage()
func (*EpisodeGetRes) ProtoReflect ¶
func (x *EpisodeGetRes) ProtoReflect() protoreflect.Message
func (*EpisodeGetRes) Reset ¶
func (x *EpisodeGetRes) Reset()
func (*EpisodeGetRes) SetContentType ¶
func (m *EpisodeGetRes) SetContentType(v *enum.ContentType)
func (*EpisodeGetRes) SetCount ¶
func (m *EpisodeGetRes) SetCount(v *int32)
func (*EpisodeGetRes) SetCreatedAt ¶
func (m *EpisodeGetRes) SetCreatedAt(v *timestamppb.Timestamp)
func (*EpisodeGetRes) SetFilterType ¶
func (m *EpisodeGetRes) SetFilterType(v *enum.FilterType)
func (*EpisodeGetRes) SetId ¶
func (m *EpisodeGetRes) SetId(v string)
func (*EpisodeGetRes) SetIsOnline ¶
func (m *EpisodeGetRes) SetIsOnline(v *bool)
func (*EpisodeGetRes) SetKeywords ¶
func (m *EpisodeGetRes) SetKeywords(v []string)
func (*EpisodeGetRes) SetName ¶
func (m *EpisodeGetRes) SetName(v *string)
func (*EpisodeGetRes) SetOutlines ¶
func (m *EpisodeGetRes) SetOutlines(v map[string]string)
func (*EpisodeGetRes) SetQas ¶
func (m *EpisodeGetRes) SetQas(v []*QuestionAnswer)
func (*EpisodeGetRes) SetUpdatedAt ¶
func (m *EpisodeGetRes) SetUpdatedAt(v *timestamppb.Timestamp)
func (*EpisodeGetRes) String ¶
func (x *EpisodeGetRes) String() string
func (*EpisodeGetRes) UnmarshalBSON ¶
func (m *EpisodeGetRes) UnmarshalBSON(bytes []byte) (err error)
type EpisodeListReq ¶
type EpisodeListReq struct { Id *anypb.Any `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *anypb.Any `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ContentType *anypb.Any `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"contentType,omitempty"` FilterType *anypb.Any `protobuf:"bytes,4,opt,name=filter_type,json=filterType,proto3" json:"filterType,omitempty"` Count *anypb.Any `protobuf:"bytes,5,opt,name=count,proto3" json:"count,omitempty"` IsOnline *anypb.Any `protobuf:"bytes,6,opt,name=is_online,json=isOnline,proto3" json:"isOnline,omitempty"` Keywords *anypb.Any `protobuf:"bytes,7,opt,name=keywords,proto3" json:"keywords,omitempty"` Outlines *anypb.Any `protobuf:"bytes,8,opt,name=outlines,proto3" json:"outlines,omitempty"` Qas *anypb.Any `protobuf:"bytes,9,opt,name=qas,proto3" json:"qas,omitempty"` CreatedAt *anypb.Any `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *anypb.Any `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3" json:"updatedAt,omitempty"` ExtraFilters []*orm.PropertyFilter `protobuf:"bytes,1001,rep,name=extra_filters,json=extraFilters,proto3" json:"extraFilters,omitempty"` PageRequest *orm.PageRequest `protobuf:"bytes,1002,opt,name=page_request,json=pageRequest,proto3" json:"pageRequest,omitempty"` FieldsIncluded []string `protobuf:"bytes,1003,rep,name=fields_included,json=fieldsIncluded,proto3" json:"fieldsIncluded,omitempty"` // contains filtered or unexported fields }
func (*EpisodeListReq) Descriptor
deprecated
func (*EpisodeListReq) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeListReq.ProtoReflect.Descriptor instead.
func (*EpisodeListReq) GetContentType ¶
func (x *EpisodeListReq) GetContentType() *anypb.Any
func (*EpisodeListReq) GetCount ¶
func (x *EpisodeListReq) GetCount() *anypb.Any
func (*EpisodeListReq) GetCreatedAt ¶
func (x *EpisodeListReq) GetCreatedAt() *anypb.Any
func (*EpisodeListReq) GetExtraFilters ¶
func (x *EpisodeListReq) GetExtraFilters() []*orm.PropertyFilter
func (*EpisodeListReq) GetFieldsIncluded ¶
func (x *EpisodeListReq) GetFieldsIncluded() []string
func (*EpisodeListReq) GetFilterType ¶
func (x *EpisodeListReq) GetFilterType() *anypb.Any
func (*EpisodeListReq) GetId ¶
func (x *EpisodeListReq) GetId() *anypb.Any
func (*EpisodeListReq) GetIsOnline ¶
func (x *EpisodeListReq) GetIsOnline() *anypb.Any
func (*EpisodeListReq) GetKeywords ¶
func (x *EpisodeListReq) GetKeywords() *anypb.Any
func (*EpisodeListReq) GetName ¶
func (x *EpisodeListReq) GetName() *anypb.Any
func (*EpisodeListReq) GetOutlines ¶
func (x *EpisodeListReq) GetOutlines() *anypb.Any
func (*EpisodeListReq) GetPageRequest ¶
func (x *EpisodeListReq) GetPageRequest() *orm.PageRequest
func (*EpisodeListReq) GetQas ¶
func (x *EpisodeListReq) GetQas() *anypb.Any
func (*EpisodeListReq) GetUpdatedAt ¶
func (x *EpisodeListReq) GetUpdatedAt() *anypb.Any
func (*EpisodeListReq) ProtoMessage ¶
func (*EpisodeListReq) ProtoMessage()
func (*EpisodeListReq) ProtoReflect ¶
func (x *EpisodeListReq) ProtoReflect() protoreflect.Message
func (*EpisodeListReq) Reset ¶
func (x *EpisodeListReq) Reset()
func (*EpisodeListReq) SetContentType ¶
func (m *EpisodeListReq) SetContentType(v *anypb.Any)
func (*EpisodeListReq) SetCount ¶
func (m *EpisodeListReq) SetCount(v *anypb.Any)
func (*EpisodeListReq) SetCreatedAt ¶
func (m *EpisodeListReq) SetCreatedAt(v *anypb.Any)
func (*EpisodeListReq) SetExtraFilters ¶
func (m *EpisodeListReq) SetExtraFilters(v []*orm.PropertyFilter)
func (*EpisodeListReq) SetFieldsIncluded ¶
func (m *EpisodeListReq) SetFieldsIncluded(v []string)
func (*EpisodeListReq) SetFilterType ¶
func (m *EpisodeListReq) SetFilterType(v *anypb.Any)
func (*EpisodeListReq) SetId ¶
func (m *EpisodeListReq) SetId(v *anypb.Any)
func (*EpisodeListReq) SetIsOnline ¶
func (m *EpisodeListReq) SetIsOnline(v *anypb.Any)
func (*EpisodeListReq) SetKeywords ¶
func (m *EpisodeListReq) SetKeywords(v *anypb.Any)
func (*EpisodeListReq) SetName ¶
func (m *EpisodeListReq) SetName(v *anypb.Any)
func (*EpisodeListReq) SetOutlines ¶
func (m *EpisodeListReq) SetOutlines(v *anypb.Any)
func (*EpisodeListReq) SetPageRequest ¶
func (m *EpisodeListReq) SetPageRequest(v *orm.PageRequest)
func (*EpisodeListReq) SetQas ¶
func (m *EpisodeListReq) SetQas(v *anypb.Any)
func (*EpisodeListReq) SetUpdatedAt ¶
func (m *EpisodeListReq) SetUpdatedAt(v *anypb.Any)
func (*EpisodeListReq) String ¶
func (x *EpisodeListReq) String() string
type EpisodeListRes ¶
type EpisodeListRes struct { PageInfo *orm.PageInfo `protobuf:"bytes,1,opt,name=pageInfo,proto3" json:"pageInfo"` Items []*Episode `protobuf:"bytes,2,rep,name=items,proto3" json:"items"` // contains filtered or unexported fields }
func (*EpisodeListRes) Descriptor
deprecated
func (*EpisodeListRes) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeListRes.ProtoReflect.Descriptor instead.
func (*EpisodeListRes) GetItems ¶
func (x *EpisodeListRes) GetItems() []*Episode
func (*EpisodeListRes) GetPageInfo ¶
func (x *EpisodeListRes) GetPageInfo() *orm.PageInfo
func (*EpisodeListRes) ProtoMessage ¶
func (*EpisodeListRes) ProtoMessage()
func (*EpisodeListRes) ProtoReflect ¶
func (x *EpisodeListRes) ProtoReflect() protoreflect.Message
func (*EpisodeListRes) Reset ¶
func (x *EpisodeListRes) Reset()
func (*EpisodeListRes) SetItems ¶
func (m *EpisodeListRes) SetItems(v []*Episode)
func (*EpisodeListRes) SetPageInfo ¶
func (m *EpisodeListRes) SetPageInfo(v *orm.PageInfo)
func (*EpisodeListRes) String ¶
func (x *EpisodeListRes) String() string
type EpisodeMeta ¶
type EpisodeMeta struct{}
func (*EpisodeMeta) CollectionName ¶
func (m *EpisodeMeta) CollectionName() string
func (*EpisodeMeta) UseBsonTimestamp ¶
func (m *EpisodeMeta) UseBsonTimestamp() bool
func (*EpisodeMeta) UseIdObfuscating ¶
func (m *EpisodeMeta) UseIdObfuscating() bool
type EpisodeOneReq ¶
type EpisodeOneReq struct { Id *anypb.Any `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *anypb.Any `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ContentType *anypb.Any `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"contentType,omitempty"` FilterType *anypb.Any `protobuf:"bytes,4,opt,name=filter_type,json=filterType,proto3" json:"filterType,omitempty"` Count *anypb.Any `protobuf:"bytes,5,opt,name=count,proto3" json:"count,omitempty"` IsOnline *anypb.Any `protobuf:"bytes,6,opt,name=is_online,json=isOnline,proto3" json:"isOnline,omitempty"` Keywords *anypb.Any `protobuf:"bytes,7,opt,name=keywords,proto3" json:"keywords,omitempty"` Outlines *anypb.Any `protobuf:"bytes,8,opt,name=outlines,proto3" json:"outlines,omitempty"` Qas *anypb.Any `protobuf:"bytes,9,opt,name=qas,proto3" json:"qas,omitempty"` CreatedAt *anypb.Any `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *anypb.Any `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3" json:"updatedAt,omitempty"` ExtraFilters []*orm.PropertyFilter `protobuf:"bytes,1001,rep,name=extra_filters,json=extraFilters,proto3" json:"extraFilters,omitempty"` PageRequest *orm.PageRequest `protobuf:"bytes,1002,opt,name=page_request,json=pageRequest,proto3" json:"pageRequest,omitempty"` FieldsIncluded []string `protobuf:"bytes,1003,rep,name=fields_included,json=fieldsIncluded,proto3" json:"fieldsIncluded,omitempty"` // contains filtered or unexported fields }
func (*EpisodeOneReq) Descriptor
deprecated
func (*EpisodeOneReq) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeOneReq.ProtoReflect.Descriptor instead.
func (*EpisodeOneReq) GetContentType ¶
func (x *EpisodeOneReq) GetContentType() *anypb.Any
func (*EpisodeOneReq) GetCount ¶
func (x *EpisodeOneReq) GetCount() *anypb.Any
func (*EpisodeOneReq) GetCreatedAt ¶
func (x *EpisodeOneReq) GetCreatedAt() *anypb.Any
func (*EpisodeOneReq) GetExtraFilters ¶
func (x *EpisodeOneReq) GetExtraFilters() []*orm.PropertyFilter
func (*EpisodeOneReq) GetFieldsIncluded ¶
func (x *EpisodeOneReq) GetFieldsIncluded() []string
func (*EpisodeOneReq) GetFilterType ¶
func (x *EpisodeOneReq) GetFilterType() *anypb.Any
func (*EpisodeOneReq) GetId ¶
func (x *EpisodeOneReq) GetId() *anypb.Any
func (*EpisodeOneReq) GetIsOnline ¶
func (x *EpisodeOneReq) GetIsOnline() *anypb.Any
func (*EpisodeOneReq) GetKeywords ¶
func (x *EpisodeOneReq) GetKeywords() *anypb.Any
func (*EpisodeOneReq) GetName ¶
func (x *EpisodeOneReq) GetName() *anypb.Any
func (*EpisodeOneReq) GetOutlines ¶
func (x *EpisodeOneReq) GetOutlines() *anypb.Any
func (*EpisodeOneReq) GetPageRequest ¶
func (x *EpisodeOneReq) GetPageRequest() *orm.PageRequest
func (*EpisodeOneReq) GetQas ¶
func (x *EpisodeOneReq) GetQas() *anypb.Any
func (*EpisodeOneReq) GetUpdatedAt ¶
func (x *EpisodeOneReq) GetUpdatedAt() *anypb.Any
func (*EpisodeOneReq) ProtoMessage ¶
func (*EpisodeOneReq) ProtoMessage()
func (*EpisodeOneReq) ProtoReflect ¶
func (x *EpisodeOneReq) ProtoReflect() protoreflect.Message
func (*EpisodeOneReq) Reset ¶
func (x *EpisodeOneReq) Reset()
func (*EpisodeOneReq) SetContentType ¶
func (m *EpisodeOneReq) SetContentType(v *anypb.Any)
func (*EpisodeOneReq) SetCount ¶
func (m *EpisodeOneReq) SetCount(v *anypb.Any)
func (*EpisodeOneReq) SetCreatedAt ¶
func (m *EpisodeOneReq) SetCreatedAt(v *anypb.Any)
func (*EpisodeOneReq) SetExtraFilters ¶
func (m *EpisodeOneReq) SetExtraFilters(v []*orm.PropertyFilter)
func (*EpisodeOneReq) SetFieldsIncluded ¶
func (m *EpisodeOneReq) SetFieldsIncluded(v []string)
func (*EpisodeOneReq) SetFilterType ¶
func (m *EpisodeOneReq) SetFilterType(v *anypb.Any)
func (*EpisodeOneReq) SetId ¶
func (m *EpisodeOneReq) SetId(v *anypb.Any)
func (*EpisodeOneReq) SetIsOnline ¶
func (m *EpisodeOneReq) SetIsOnline(v *anypb.Any)
func (*EpisodeOneReq) SetKeywords ¶
func (m *EpisodeOneReq) SetKeywords(v *anypb.Any)
func (*EpisodeOneReq) SetName ¶
func (m *EpisodeOneReq) SetName(v *anypb.Any)
func (*EpisodeOneReq) SetOutlines ¶
func (m *EpisodeOneReq) SetOutlines(v *anypb.Any)
func (*EpisodeOneReq) SetPageRequest ¶
func (m *EpisodeOneReq) SetPageRequest(v *orm.PageRequest)
func (*EpisodeOneReq) SetQas ¶
func (m *EpisodeOneReq) SetQas(v *anypb.Any)
func (*EpisodeOneReq) SetUpdatedAt ¶
func (m *EpisodeOneReq) SetUpdatedAt(v *anypb.Any)
func (*EpisodeOneReq) String ¶
func (x *EpisodeOneReq) String() string
type EpisodeOneRes ¶
type EpisodeOneRes struct { Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"` Item *Episode `protobuf:"bytes,2,opt,name=item,proto3,oneof" json:"item,omitempty"` // contains filtered or unexported fields }
func (*EpisodeOneRes) Descriptor
deprecated
func (*EpisodeOneRes) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeOneRes.ProtoReflect.Descriptor instead.
func (*EpisodeOneRes) GetFound ¶
func (x *EpisodeOneRes) GetFound() bool
func (*EpisodeOneRes) GetItem ¶
func (x *EpisodeOneRes) GetItem() *Episode
func (*EpisodeOneRes) ProtoMessage ¶
func (*EpisodeOneRes) ProtoMessage()
func (*EpisodeOneRes) ProtoReflect ¶
func (x *EpisodeOneRes) ProtoReflect() protoreflect.Message
func (*EpisodeOneRes) Reset ¶
func (x *EpisodeOneRes) Reset()
func (*EpisodeOneRes) SetFound ¶
func (m *EpisodeOneRes) SetFound(v bool)
func (*EpisodeOneRes) SetItem ¶
func (m *EpisodeOneRes) SetItem(v *Episode)
func (*EpisodeOneRes) String ¶
func (x *EpisodeOneRes) String() string
type EpisodeRepo ¶
type EpisodeRepo struct {
// contains filtered or unexported fields
}
func NewEpisodeRepo ¶
func (*EpisodeRepo) Count ¶
func (r *EpisodeRepo) Count(ctx context.Context, req *EpisodeCountReq) (*EpisodeCountRes, error)
Count 根据req指定的查询条件获取记录总数量 未赋值或或赋值为nil的字段不参与条件查询
func (*EpisodeRepo) Create ¶
func (r *EpisodeRepo) Create(ctx context.Context, req *EpisodeCreateReq) (*EpisodeCreateRes, error)
Create 插入记录 可包括表中除了 createdAt, updatedAt 之外的所有字段,支持字段类型自动转换,支持对非主键且可为空字段不赋值 未赋值或赋值为nil的字段将被更新为 NULL 或数据库表指定的DEFAULT
func (*EpisodeRepo) Delete ¶
func (r *EpisodeRepo) Delete(ctx context.Context, req *EpisodeDeleteReq) (*EpisodeDeleteRes, error)
Delete 根据主键删除对应记录
func (*EpisodeRepo) DeleteMulti ¶
func (r *EpisodeRepo) DeleteMulti(ctx context.Context, req *EpisodeDeleteMultiReq) (*EpisodeDeleteMultiRes, error)
DeleteMulti 根据req指定的条件删除表中记录(可能多条) 未赋值或或赋值为nil的字段不参与条件查询
func (*EpisodeRepo) Get ¶
func (r *EpisodeRepo) Get(ctx context.Context, req *EpisodeGetReq) (*EpisodeGetRes, error)
Get 根据主键/ID查询特定记录
func (*EpisodeRepo) List ¶
func (r *EpisodeRepo) List(ctx context.Context, req *EpisodeListReq) (*EpisodeListRes, error)
List 根据req指定的查询条件获取记录列表 未赋值或或赋值为nil的字段不参与条件查询
func (*EpisodeRepo) One ¶
func (r *EpisodeRepo) One(ctx context.Context, req *EpisodeOneReq) (*EpisodeOneRes, error)
One 根据req指定的查询条件获取单条数据 未赋值或或赋值为nil的字段不参与条件查询
func (*EpisodeRepo) Update ¶
func (r *EpisodeRepo) Update(ctx context.Context, req *EpisodeUpdateReq) (*EpisodeUpdateRes, error)
Update 根据主键更新对应记录 支持字段类型自动转换,支持对非主键字段赋值/不赋值 未赋值或赋值为nil的字段不参与更新(即不会修改原记录的字段值)
func (*EpisodeRepo) Upsert ¶
func (r *EpisodeRepo) Upsert(ctx context.Context, req *EpisodeUpsertReq) (*EpisodeUpsertRes, error)
Upsert 根据主键(或唯一索引)是否存在且已在req中赋值,更新或插入对应记录。 支持字段类型自动转换,支持对非主键字段赋值/不赋值 未赋值或赋值为nil的字段不参与更新(即不会修改原记录的字段值)
type EpisodeUpdateReq ¶
type EpisodeUpdateReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` ContentType *enum.ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=proto.ContentType,oneof" json:"contentType,omitempty"` FilterType *enum.FilterType `protobuf:"varint,4,opt,name=filter_type,json=filterType,proto3,enum=proto.FilterType,oneof" json:"filterType,omitempty"` Count *int32 `protobuf:"varint,5,opt,name=count,proto3,oneof" json:"count,omitempty"` IsOnline *bool `protobuf:"varint,6,opt,name=is_online,json=isOnline,proto3,oneof" json:"isOnline,omitempty"` Keywords []string `protobuf:"bytes,7,rep,name=keywords,proto3" json:"keywords,omitempty"` Outlines map[string]string `` /* 157-byte string literal not displayed */ Qas []*QuestionAnswer `protobuf:"bytes,9,rep,name=qas,proto3" json:"qas,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3,oneof" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*EpisodeUpdateReq) Descriptor
deprecated
func (*EpisodeUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeUpdateReq.ProtoReflect.Descriptor instead.
func (*EpisodeUpdateReq) GetContentType ¶
func (x *EpisodeUpdateReq) GetContentType() enum.ContentType
func (*EpisodeUpdateReq) GetCount ¶
func (x *EpisodeUpdateReq) GetCount() int32
func (*EpisodeUpdateReq) GetCreatedAt ¶
func (x *EpisodeUpdateReq) GetCreatedAt() *timestamppb.Timestamp
func (*EpisodeUpdateReq) GetFilterType ¶
func (x *EpisodeUpdateReq) GetFilterType() enum.FilterType
func (*EpisodeUpdateReq) GetId ¶
func (x *EpisodeUpdateReq) GetId() string
func (*EpisodeUpdateReq) GetIsOnline ¶
func (x *EpisodeUpdateReq) GetIsOnline() bool
func (*EpisodeUpdateReq) GetKeywords ¶
func (x *EpisodeUpdateReq) GetKeywords() []string
func (*EpisodeUpdateReq) GetName ¶
func (x *EpisodeUpdateReq) GetName() string
func (*EpisodeUpdateReq) GetOutlines ¶
func (x *EpisodeUpdateReq) GetOutlines() map[string]string
func (*EpisodeUpdateReq) GetQas ¶
func (x *EpisodeUpdateReq) GetQas() []*QuestionAnswer
func (*EpisodeUpdateReq) GetUpdatedAt ¶
func (x *EpisodeUpdateReq) GetUpdatedAt() *timestamppb.Timestamp
func (*EpisodeUpdateReq) MarshalBSON ¶
func (m *EpisodeUpdateReq) MarshalBSON() (_ []byte, err error)
func (*EpisodeUpdateReq) ProtoMessage ¶
func (*EpisodeUpdateReq) ProtoMessage()
func (*EpisodeUpdateReq) ProtoReflect ¶
func (x *EpisodeUpdateReq) ProtoReflect() protoreflect.Message
func (*EpisodeUpdateReq) Reset ¶
func (x *EpisodeUpdateReq) Reset()
func (*EpisodeUpdateReq) SetContentType ¶
func (m *EpisodeUpdateReq) SetContentType(v *enum.ContentType)
func (*EpisodeUpdateReq) SetCount ¶
func (m *EpisodeUpdateReq) SetCount(v *int32)
func (*EpisodeUpdateReq) SetCreatedAt ¶
func (m *EpisodeUpdateReq) SetCreatedAt(v *timestamppb.Timestamp)
func (*EpisodeUpdateReq) SetFilterType ¶
func (m *EpisodeUpdateReq) SetFilterType(v *enum.FilterType)
func (*EpisodeUpdateReq) SetId ¶
func (m *EpisodeUpdateReq) SetId(v string)
func (*EpisodeUpdateReq) SetIsOnline ¶
func (m *EpisodeUpdateReq) SetIsOnline(v *bool)
func (*EpisodeUpdateReq) SetKeywords ¶
func (m *EpisodeUpdateReq) SetKeywords(v []string)
func (*EpisodeUpdateReq) SetName ¶
func (m *EpisodeUpdateReq) SetName(v *string)
func (*EpisodeUpdateReq) SetOutlines ¶
func (m *EpisodeUpdateReq) SetOutlines(v map[string]string)
func (*EpisodeUpdateReq) SetQas ¶
func (m *EpisodeUpdateReq) SetQas(v []*QuestionAnswer)
func (*EpisodeUpdateReq) SetUpdatedAt ¶
func (m *EpisodeUpdateReq) SetUpdatedAt(v *timestamppb.Timestamp)
func (*EpisodeUpdateReq) String ¶
func (x *EpisodeUpdateReq) String() string
type EpisodeUpdateRes ¶
type EpisodeUpdateRes struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message"` MatchedCount int64 `protobuf:"varint,2,opt,name=matched_count,json=matchedCount,proto3" json:"matchedCount"` // The number of documents matched by the upsert operation ModifiedCount int64 `protobuf:"varint,3,opt,name=modified_count,json=modifiedCount,proto3" json:"modifiedCount"` // The number of documents modified by the operation. // contains filtered or unexported fields }
func (*EpisodeUpdateRes) Descriptor
deprecated
func (*EpisodeUpdateRes) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeUpdateRes.ProtoReflect.Descriptor instead.
func (*EpisodeUpdateRes) GetMatchedCount ¶
func (x *EpisodeUpdateRes) GetMatchedCount() int64
func (*EpisodeUpdateRes) GetMessage ¶
func (x *EpisodeUpdateRes) GetMessage() string
func (*EpisodeUpdateRes) GetModifiedCount ¶
func (x *EpisodeUpdateRes) GetModifiedCount() int64
func (*EpisodeUpdateRes) ProtoMessage ¶
func (*EpisodeUpdateRes) ProtoMessage()
func (*EpisodeUpdateRes) ProtoReflect ¶
func (x *EpisodeUpdateRes) ProtoReflect() protoreflect.Message
func (*EpisodeUpdateRes) Reset ¶
func (x *EpisodeUpdateRes) Reset()
func (*EpisodeUpdateRes) SetMatchedCount ¶
func (m *EpisodeUpdateRes) SetMatchedCount(v int64)
func (*EpisodeUpdateRes) SetMessage ¶
func (m *EpisodeUpdateRes) SetMessage(v string)
func (*EpisodeUpdateRes) SetModifiedCount ¶
func (m *EpisodeUpdateRes) SetModifiedCount(v int64)
func (*EpisodeUpdateRes) String ¶
func (x *EpisodeUpdateRes) String() string
type EpisodeUpsertReq ¶
type EpisodeUpsertReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` ContentType *enum.ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=proto.ContentType,oneof" json:"contentType,omitempty"` FilterType *enum.FilterType `protobuf:"varint,4,opt,name=filter_type,json=filterType,proto3,enum=proto.FilterType,oneof" json:"filterType,omitempty"` Count *int32 `protobuf:"varint,5,opt,name=count,proto3,oneof" json:"count,omitempty"` IsOnline *bool `protobuf:"varint,6,opt,name=is_online,json=isOnline,proto3,oneof" json:"isOnline,omitempty"` Keywords []string `protobuf:"bytes,7,rep,name=keywords,proto3" json:"keywords,omitempty"` Outlines map[string]string `` /* 157-byte string literal not displayed */ Qas []*QuestionAnswer `protobuf:"bytes,9,rep,name=qas,proto3" json:"qas,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3,oneof" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*EpisodeUpsertReq) Descriptor
deprecated
func (*EpisodeUpsertReq) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeUpsertReq.ProtoReflect.Descriptor instead.
func (*EpisodeUpsertReq) GetContentType ¶
func (x *EpisodeUpsertReq) GetContentType() enum.ContentType
func (*EpisodeUpsertReq) GetCount ¶
func (x *EpisodeUpsertReq) GetCount() int32
func (*EpisodeUpsertReq) GetCreatedAt ¶
func (x *EpisodeUpsertReq) GetCreatedAt() *timestamppb.Timestamp
func (*EpisodeUpsertReq) GetFilterType ¶
func (x *EpisodeUpsertReq) GetFilterType() enum.FilterType
func (*EpisodeUpsertReq) GetId ¶
func (x *EpisodeUpsertReq) GetId() string
func (*EpisodeUpsertReq) GetIsOnline ¶
func (x *EpisodeUpsertReq) GetIsOnline() bool
func (*EpisodeUpsertReq) GetKeywords ¶
func (x *EpisodeUpsertReq) GetKeywords() []string
func (*EpisodeUpsertReq) GetName ¶
func (x *EpisodeUpsertReq) GetName() string
func (*EpisodeUpsertReq) GetOutlines ¶
func (x *EpisodeUpsertReq) GetOutlines() map[string]string
func (*EpisodeUpsertReq) GetQas ¶
func (x *EpisodeUpsertReq) GetQas() []*QuestionAnswer
func (*EpisodeUpsertReq) GetUpdatedAt ¶
func (x *EpisodeUpsertReq) GetUpdatedAt() *timestamppb.Timestamp
func (*EpisodeUpsertReq) MarshalBSON ¶
func (m *EpisodeUpsertReq) MarshalBSON() (_ []byte, err error)
func (*EpisodeUpsertReq) ProtoMessage ¶
func (*EpisodeUpsertReq) ProtoMessage()
func (*EpisodeUpsertReq) ProtoReflect ¶
func (x *EpisodeUpsertReq) ProtoReflect() protoreflect.Message
func (*EpisodeUpsertReq) Reset ¶
func (x *EpisodeUpsertReq) Reset()
func (*EpisodeUpsertReq) SetContentType ¶
func (m *EpisodeUpsertReq) SetContentType(v *enum.ContentType)
func (*EpisodeUpsertReq) SetCount ¶
func (m *EpisodeUpsertReq) SetCount(v *int32)
func (*EpisodeUpsertReq) SetCreatedAt ¶
func (m *EpisodeUpsertReq) SetCreatedAt(v *timestamppb.Timestamp)
func (*EpisodeUpsertReq) SetFilterType ¶
func (m *EpisodeUpsertReq) SetFilterType(v *enum.FilterType)
func (*EpisodeUpsertReq) SetId ¶
func (m *EpisodeUpsertReq) SetId(v string)
func (*EpisodeUpsertReq) SetIsOnline ¶
func (m *EpisodeUpsertReq) SetIsOnline(v *bool)
func (*EpisodeUpsertReq) SetKeywords ¶
func (m *EpisodeUpsertReq) SetKeywords(v []string)
func (*EpisodeUpsertReq) SetName ¶
func (m *EpisodeUpsertReq) SetName(v *string)
func (*EpisodeUpsertReq) SetOutlines ¶
func (m *EpisodeUpsertReq) SetOutlines(v map[string]string)
func (*EpisodeUpsertReq) SetQas ¶
func (m *EpisodeUpsertReq) SetQas(v []*QuestionAnswer)
func (*EpisodeUpsertReq) SetUpdatedAt ¶
func (m *EpisodeUpsertReq) SetUpdatedAt(v *timestamppb.Timestamp)
func (*EpisodeUpsertReq) String ¶
func (x *EpisodeUpsertReq) String() string
type EpisodeUpsertRes ¶
type EpisodeUpsertRes struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message"` UpsertedId *string `protobuf:"bytes,2,opt,name=upserted_id,json=upsertedId,proto3,oneof" json:"upsertedId"` MatchedCount int64 `protobuf:"varint,3,opt,name=matched_count,json=matchedCount,proto3" json:"matchedCount"` // The number of documents matched by the upsert operation ModifiedCount int64 `protobuf:"varint,4,opt,name=modified_count,json=modifiedCount,proto3" json:"modifiedCount"` // The number of documents modified by the operation. UpsertedCount int64 `protobuf:"varint,5,opt,name=upserted_count,json=upsertedCount,proto3" json:"upsertedCount"` // The number of documents upserted by the operation. // contains filtered or unexported fields }
func (*EpisodeUpsertRes) Descriptor
deprecated
func (*EpisodeUpsertRes) Descriptor() ([]byte, []int)
Deprecated: Use EpisodeUpsertRes.ProtoReflect.Descriptor instead.
func (*EpisodeUpsertRes) GetMatchedCount ¶
func (x *EpisodeUpsertRes) GetMatchedCount() int64
func (*EpisodeUpsertRes) GetMessage ¶
func (x *EpisodeUpsertRes) GetMessage() string
func (*EpisodeUpsertRes) GetModifiedCount ¶
func (x *EpisodeUpsertRes) GetModifiedCount() int64
func (*EpisodeUpsertRes) GetUpsertedCount ¶
func (x *EpisodeUpsertRes) GetUpsertedCount() int64
func (*EpisodeUpsertRes) GetUpsertedId ¶
func (x *EpisodeUpsertRes) GetUpsertedId() string
func (*EpisodeUpsertRes) ProtoMessage ¶
func (*EpisodeUpsertRes) ProtoMessage()
func (*EpisodeUpsertRes) ProtoReflect ¶
func (x *EpisodeUpsertRes) ProtoReflect() protoreflect.Message
func (*EpisodeUpsertRes) Reset ¶
func (x *EpisodeUpsertRes) Reset()
func (*EpisodeUpsertRes) SetMatchedCount ¶
func (m *EpisodeUpsertRes) SetMatchedCount(v int64)
func (*EpisodeUpsertRes) SetMessage ¶
func (m *EpisodeUpsertRes) SetMessage(v string)
func (*EpisodeUpsertRes) SetModifiedCount ¶
func (m *EpisodeUpsertRes) SetModifiedCount(v int64)
func (*EpisodeUpsertRes) SetUpsertedCount ¶
func (m *EpisodeUpsertRes) SetUpsertedCount(v int64)
func (*EpisodeUpsertRes) SetUpsertedId ¶
func (m *EpisodeUpsertRes) SetUpsertedId(v *string)
func (*EpisodeUpsertRes) String ¶
func (x *EpisodeUpsertRes) String() string
type QuestionAnswer ¶
type QuestionAnswer struct { StartTime *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3,oneof" json:"startTime,omitempty" bson:"start_time,omitempty"` EndTime *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3,oneof" json:"endTime,omitempty" bson:"end_time,omitempty"` Question *string `protobuf:"bytes,3,opt,name=question,proto3,oneof" json:"question,omitempty" bson:"question,omitempty"` Answer *string `protobuf:"bytes,4,opt,name=answer,proto3,oneof" json:"answer,omitempty" bson:"answer,omitempty"` // contains filtered or unexported fields }
func (*QuestionAnswer) Descriptor
deprecated
func (*QuestionAnswer) Descriptor() ([]byte, []int)
Deprecated: Use QuestionAnswer.ProtoReflect.Descriptor instead.
func (*QuestionAnswer) GetAnswer ¶
func (x *QuestionAnswer) GetAnswer() string
func (*QuestionAnswer) GetEndTime ¶
func (x *QuestionAnswer) GetEndTime() *durationpb.Duration
func (*QuestionAnswer) GetQuestion ¶
func (x *QuestionAnswer) GetQuestion() string
func (*QuestionAnswer) GetStartTime ¶
func (x *QuestionAnswer) GetStartTime() *durationpb.Duration
func (*QuestionAnswer) ProtoMessage ¶
func (*QuestionAnswer) ProtoMessage()
func (*QuestionAnswer) ProtoReflect ¶
func (x *QuestionAnswer) ProtoReflect() protoreflect.Message
func (*QuestionAnswer) Reset ¶
func (x *QuestionAnswer) Reset()
func (*QuestionAnswer) SetAnswer ¶
func (m *QuestionAnswer) SetAnswer(v *string)
func (*QuestionAnswer) SetEndTime ¶
func (m *QuestionAnswer) SetEndTime(v *durationpb.Duration)
func (*QuestionAnswer) SetQuestion ¶
func (m *QuestionAnswer) SetQuestion(v *string)
func (*QuestionAnswer) SetStartTime ¶
func (m *QuestionAnswer) SetStartTime(v *durationpb.Duration)
func (*QuestionAnswer) String ¶
func (x *QuestionAnswer) String() string