1 Star 0 Fork 0

WisdomClassroom / core

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
knowledgePointRequest.pb.go 11.49 KB
Copy Edit Raw Blame History
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0-devel
// protoc v3.12.4
// source: knowledgePointRequest.proto
package pb
import (
proto "github.com/golang/protobuf/proto"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type ListCourseKnowledgePointsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CourseUUID string `protobuf:"bytes,1,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"`
}
func (x *ListCourseKnowledgePointsRequest) Reset() {
*x = ListCourseKnowledgePointsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_knowledgePointRequest_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListCourseKnowledgePointsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListCourseKnowledgePointsRequest) ProtoMessage() {}
func (x *ListCourseKnowledgePointsRequest) ProtoReflect() protoreflect.Message {
mi := &file_knowledgePointRequest_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListCourseKnowledgePointsRequest.ProtoReflect.Descriptor instead.
func (*ListCourseKnowledgePointsRequest) Descriptor() ([]byte, []int) {
return file_knowledgePointRequest_proto_rawDescGZIP(), []int{0}
}
func (x *ListCourseKnowledgePointsRequest) GetCourseUUID() string {
if x != nil {
return x.CourseUUID
}
return ""
}
type ListChapterKnowledgePointsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ChapterUUID string `protobuf:"bytes,1,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"`
}
func (x *ListChapterKnowledgePointsRequest) Reset() {
*x = ListChapterKnowledgePointsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_knowledgePointRequest_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListChapterKnowledgePointsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListChapterKnowledgePointsRequest) ProtoMessage() {}
func (x *ListChapterKnowledgePointsRequest) ProtoReflect() protoreflect.Message {
mi := &file_knowledgePointRequest_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListChapterKnowledgePointsRequest.ProtoReflect.Descriptor instead.
func (*ListChapterKnowledgePointsRequest) Descriptor() ([]byte, []int) {
return file_knowledgePointRequest_proto_rawDescGZIP(), []int{1}
}
func (x *ListChapterKnowledgePointsRequest) GetChapterUUID() string {
if x != nil {
return x.ChapterUUID
}
return ""
}
type CreateKnowledgePointRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ChapterUUID string `protobuf:"bytes,1,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
}
func (x *CreateKnowledgePointRequest) Reset() {
*x = CreateKnowledgePointRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_knowledgePointRequest_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateKnowledgePointRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateKnowledgePointRequest) ProtoMessage() {}
func (x *CreateKnowledgePointRequest) ProtoReflect() protoreflect.Message {
mi := &file_knowledgePointRequest_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateKnowledgePointRequest.ProtoReflect.Descriptor instead.
func (*CreateKnowledgePointRequest) Descriptor() ([]byte, []int) {
return file_knowledgePointRequest_proto_rawDescGZIP(), []int{2}
}
func (x *CreateKnowledgePointRequest) GetChapterUUID() string {
if x != nil {
return x.ChapterUUID
}
return ""
}
func (x *CreateKnowledgePointRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type DeleteKnowledgePointRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
}
func (x *DeleteKnowledgePointRequest) Reset() {
*x = DeleteKnowledgePointRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_knowledgePointRequest_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteKnowledgePointRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteKnowledgePointRequest) ProtoMessage() {}
func (x *DeleteKnowledgePointRequest) ProtoReflect() protoreflect.Message {
mi := &file_knowledgePointRequest_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteKnowledgePointRequest.ProtoReflect.Descriptor instead.
func (*DeleteKnowledgePointRequest) Descriptor() ([]byte, []int) {
return file_knowledgePointRequest_proto_rawDescGZIP(), []int{3}
}
func (x *DeleteKnowledgePointRequest) GetUUID() string {
if x != nil {
return x.UUID
}
return ""
}
var File_knowledgePointRequest_proto protoreflect.FileDescriptor
var file_knowledgePointRequest_proto_rawDesc = []byte{
0x0a, 0x1b, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
0x62, 0x22, 0x42, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x4b,
0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x55,
0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6f, 0x75, 0x72, 0x73,
0x65, 0x55, 0x55, 0x49, 0x44, 0x22, 0x45, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61,
0x70, 0x74, 0x65, 0x72, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6f, 0x69,
0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x68,
0x61, 0x70, 0x74, 0x65, 0x72, 0x55, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x55, 0x55, 0x49, 0x44, 0x22, 0x53, 0x0a, 0x1b,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x50,
0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x43,
0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x55, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0b, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x55, 0x55, 0x49, 0x44, 0x12, 0x12, 0x0a,
0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d,
0x65, 0x22, 0x31, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x6e, 0x6f, 0x77, 0x6c,
0x65, 0x64, 0x67, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x12, 0x0a, 0x04, 0x55, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x55, 0x55, 0x49, 0x44, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_knowledgePointRequest_proto_rawDescOnce sync.Once
file_knowledgePointRequest_proto_rawDescData = file_knowledgePointRequest_proto_rawDesc
)
func file_knowledgePointRequest_proto_rawDescGZIP() []byte {
file_knowledgePointRequest_proto_rawDescOnce.Do(func() {
file_knowledgePointRequest_proto_rawDescData = protoimpl.X.CompressGZIP(file_knowledgePointRequest_proto_rawDescData)
})
return file_knowledgePointRequest_proto_rawDescData
}
var file_knowledgePointRequest_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_knowledgePointRequest_proto_goTypes = []interface{}{
(*ListCourseKnowledgePointsRequest)(nil), // 0: pb.ListCourseKnowledgePointsRequest
(*ListChapterKnowledgePointsRequest)(nil), // 1: pb.ListChapterKnowledgePointsRequest
(*CreateKnowledgePointRequest)(nil), // 2: pb.CreateKnowledgePointRequest
(*DeleteKnowledgePointRequest)(nil), // 3: pb.DeleteKnowledgePointRequest
}
var file_knowledgePointRequest_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_knowledgePointRequest_proto_init() }
func file_knowledgePointRequest_proto_init() {
if File_knowledgePointRequest_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_knowledgePointRequest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListCourseKnowledgePointsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_knowledgePointRequest_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListChapterKnowledgePointsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_knowledgePointRequest_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateKnowledgePointRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_knowledgePointRequest_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteKnowledgePointRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_knowledgePointRequest_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_knowledgePointRequest_proto_goTypes,
DependencyIndexes: file_knowledgePointRequest_proto_depIdxs,
MessageInfos: file_knowledgePointRequest_proto_msgTypes,
}.Build()
File_knowledgePointRequest_proto = out.File
file_knowledgePointRequest_proto_rawDesc = nil
file_knowledgePointRequest_proto_goTypes = nil
file_knowledgePointRequest_proto_depIdxs = nil
}
1
https://gitee.com/WisdomClassroom/core.git
git@gitee.com:WisdomClassroom/core.git
WisdomClassroom
core
core
v0.7.6

Search