1 Star 0 Fork 0

WisdomClassroom/core

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
class_response.pb.go 27.64 KB
一键复制 编辑 原始数据 按行查看 历史
Stephano-George 提交于 2021-05-06 14:50 . 重新构建protobuf
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
//******************************************************************************
// Copyright 2020 huanggefan.cn
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//****************************************************************************
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.8
// source: class_response.proto
package pb
import (
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)
)
type ListClassesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Classes []*ClassBasicInfo `protobuf:"bytes,1,rep,name=Classes,proto3" json:"Classes,omitempty"`
Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *ListClassesResponse) Reset() {
*x = ListClassesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListClassesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListClassesResponse) ProtoMessage() {}
func (x *ListClassesResponse) ProtoReflect() protoreflect.Message {
mi := &file_class_response_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 ListClassesResponse.ProtoReflect.Descriptor instead.
func (*ListClassesResponse) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{0}
}
func (x *ListClassesResponse) GetClasses() []*ClassBasicInfo {
if x != nil {
return x.Classes
}
return nil
}
func (x *ListClassesResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type ListMyClassesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Classes []*ClassBasicInfo `protobuf:"bytes,1,rep,name=Classes,proto3" json:"Classes,omitempty"`
Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *ListMyClassesResponse) Reset() {
*x = ListMyClassesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListMyClassesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMyClassesResponse) ProtoMessage() {}
func (x *ListMyClassesResponse) ProtoReflect() protoreflect.Message {
mi := &file_class_response_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 ListMyClassesResponse.ProtoReflect.Descriptor instead.
func (*ListMyClassesResponse) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{1}
}
func (x *ListMyClassesResponse) GetClasses() []*ClassBasicInfo {
if x != nil {
return x.Classes
}
return nil
}
func (x *ListMyClassesResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type ListCourseClassesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Classes []*ClassBasicInfo `protobuf:"bytes,1,rep,name=Classes,proto3" json:"Classes,omitempty"`
Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *ListCourseClassesResponse) Reset() {
*x = ListCourseClassesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListCourseClassesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListCourseClassesResponse) ProtoMessage() {}
func (x *ListCourseClassesResponse) ProtoReflect() protoreflect.Message {
mi := &file_class_response_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 ListCourseClassesResponse.ProtoReflect.Descriptor instead.
func (*ListCourseClassesResponse) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{2}
}
func (x *ListCourseClassesResponse) GetClasses() []*ClassBasicInfo {
if x != nil {
return x.Classes
}
return nil
}
func (x *ListCourseClassesResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type ListClassStudentsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Students []*StudentBasicInfo `protobuf:"bytes,1,rep,name=Students,proto3" json:"Students,omitempty"`
Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *ListClassStudentsResponse) Reset() {
*x = ListClassStudentsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListClassStudentsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListClassStudentsResponse) ProtoMessage() {}
func (x *ListClassStudentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_class_response_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 ListClassStudentsResponse.ProtoReflect.Descriptor instead.
func (*ListClassStudentsResponse) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{3}
}
func (x *ListClassStudentsResponse) GetStudents() []*StudentBasicInfo {
if x != nil {
return x.Students
}
return nil
}
func (x *ListClassStudentsResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type CreateClassResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *CreateClassResponse) Reset() {
*x = CreateClassResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateClassResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateClassResponse) ProtoMessage() {}
func (x *CreateClassResponse) ProtoReflect() protoreflect.Message {
mi := &file_class_response_proto_msgTypes[4]
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 CreateClassResponse.ProtoReflect.Descriptor instead.
func (*CreateClassResponse) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{4}
}
func (x *CreateClassResponse) GetUUID() string {
if x != nil {
return x.UUID
}
return ""
}
func (x *CreateClassResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type UpdateClassResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *UpdateClassResponse) Reset() {
*x = UpdateClassResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateClassResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateClassResponse) ProtoMessage() {}
func (x *UpdateClassResponse) ProtoReflect() protoreflect.Message {
mi := &file_class_response_proto_msgTypes[5]
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 UpdateClassResponse.ProtoReflect.Descriptor instead.
func (*UpdateClassResponse) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{5}
}
func (x *UpdateClassResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type DeleteClassResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *DeleteClassResponse) Reset() {
*x = DeleteClassResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteClassResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteClassResponse) ProtoMessage() {}
func (x *DeleteClassResponse) ProtoReflect() protoreflect.Message {
mi := &file_class_response_proto_msgTypes[6]
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 DeleteClassResponse.ProtoReflect.Descriptor instead.
func (*DeleteClassResponse) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{6}
}
func (x *DeleteClassResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type AddClassStudentsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *AddClassStudentsResponse) Reset() {
*x = AddClassStudentsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddClassStudentsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddClassStudentsResponse) ProtoMessage() {}
func (x *AddClassStudentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_class_response_proto_msgTypes[7]
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 AddClassStudentsResponse.ProtoReflect.Descriptor instead.
func (*AddClassStudentsResponse) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{7}
}
func (x *AddClassStudentsResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type RemoveClassStudentResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *RemoveClassStudentResponse) Reset() {
*x = RemoveClassStudentResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RemoveClassStudentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemoveClassStudentResponse) ProtoMessage() {}
func (x *RemoveClassStudentResponse) ProtoReflect() protoreflect.Message {
mi := &file_class_response_proto_msgTypes[8]
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 RemoveClassStudentResponse.ProtoReflect.Descriptor instead.
func (*RemoveClassStudentResponse) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{8}
}
func (x *RemoveClassStudentResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type ClassBasicInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
CourseUUID string `protobuf:"bytes,4,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"`
}
func (x *ClassBasicInfo) Reset() {
*x = ClassBasicInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_class_response_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ClassBasicInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClassBasicInfo) ProtoMessage() {}
func (x *ClassBasicInfo) ProtoReflect() protoreflect.Message {
mi := &file_class_response_proto_msgTypes[9]
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 ClassBasicInfo.ProtoReflect.Descriptor instead.
func (*ClassBasicInfo) Descriptor() ([]byte, []int) {
return file_class_response_proto_rawDescGZIP(), []int{9}
}
func (x *ClassBasicInfo) GetUUID() string {
if x != nil {
return x.UUID
}
return ""
}
func (x *ClassBasicInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ClassBasicInfo) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *ClassBasicInfo) GetCourseUUID() string {
if x != nil {
return x.CourseUUID
}
return ""
}
var File_class_response_proto protoreflect.FileDescriptor
var file_class_response_proto_rawDesc = []byte{
0x0a, 0x14, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x0c, 0x67, 0x6c, 0x6f, 0x62,
0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74,
0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x2c, 0x0a, 0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x42, 0x61, 0x73, 0x69, 0x63,
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2a, 0x0a,
0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x71, 0x0a, 0x15, 0x4c, 0x69, 0x73,
0x74, 0x4d, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x42, 0x61,
0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73,
0x12, 0x2a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74,
0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x75, 0x0a, 0x19,
0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65,
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x43, 0x6c, 0x61,
0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e,
0x43, 0x6c, 0x61, 0x73, 0x73, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07,
0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x22, 0x79, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73,
0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x30, 0x0a, 0x08, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x42,
0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e,
0x74, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x55,
0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x55, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x06, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x53,
0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43,
0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06,
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70,
0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x2a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x12, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x46, 0x0a, 0x18, 0x41,
0x64, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x22, 0x48, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61,
0x73, 0x73, 0x53, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x2a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53,
0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x7a, 0x0a,
0x0e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x42, 0x61, 0x73, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12,
0x12, 0x0a, 0x04, 0x55, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55,
0x55, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72,
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65,
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x75,
0x72, 0x73, 0x65, 0x55, 0x55, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43,
0x6f, 0x75, 0x72, 0x73, 0x65, 0x55, 0x55, 0x49, 0x44, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74,
0x65, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x69, 0x73, 0x64, 0x6f, 0x6d, 0x43, 0x6c, 0x61,
0x73, 0x73, 0x72, 0x6f, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_class_response_proto_rawDescOnce sync.Once
file_class_response_proto_rawDescData = file_class_response_proto_rawDesc
)
func file_class_response_proto_rawDescGZIP() []byte {
file_class_response_proto_rawDescOnce.Do(func() {
file_class_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_class_response_proto_rawDescData)
})
return file_class_response_proto_rawDescData
}
var file_class_response_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_class_response_proto_goTypes = []interface{}{
(*ListClassesResponse)(nil), // 0: pb.ListClassesResponse
(*ListMyClassesResponse)(nil), // 1: pb.ListMyClassesResponse
(*ListCourseClassesResponse)(nil), // 2: pb.ListCourseClassesResponse
(*ListClassStudentsResponse)(nil), // 3: pb.ListClassStudentsResponse
(*CreateClassResponse)(nil), // 4: pb.CreateClassResponse
(*UpdateClassResponse)(nil), // 5: pb.UpdateClassResponse
(*DeleteClassResponse)(nil), // 6: pb.DeleteClassResponse
(*AddClassStudentsResponse)(nil), // 7: pb.AddClassStudentsResponse
(*RemoveClassStudentResponse)(nil), // 8: pb.RemoveClassStudentResponse
(*ClassBasicInfo)(nil), // 9: pb.ClassBasicInfo
(*ResponseStatus)(nil), // 10: pb.ResponseStatus
(*StudentBasicInfo)(nil), // 11: pb.StudentBasicInfo
}
var file_class_response_proto_depIdxs = []int32{
9, // 0: pb.ListClassesResponse.Classes:type_name -> pb.ClassBasicInfo
10, // 1: pb.ListClassesResponse.Status:type_name -> pb.ResponseStatus
9, // 2: pb.ListMyClassesResponse.Classes:type_name -> pb.ClassBasicInfo
10, // 3: pb.ListMyClassesResponse.Status:type_name -> pb.ResponseStatus
9, // 4: pb.ListCourseClassesResponse.Classes:type_name -> pb.ClassBasicInfo
10, // 5: pb.ListCourseClassesResponse.Status:type_name -> pb.ResponseStatus
11, // 6: pb.ListClassStudentsResponse.Students:type_name -> pb.StudentBasicInfo
10, // 7: pb.ListClassStudentsResponse.Status:type_name -> pb.ResponseStatus
10, // 8: pb.CreateClassResponse.Status:type_name -> pb.ResponseStatus
10, // 9: pb.UpdateClassResponse.Status:type_name -> pb.ResponseStatus
10, // 10: pb.DeleteClassResponse.Status:type_name -> pb.ResponseStatus
10, // 11: pb.AddClassStudentsResponse.Status:type_name -> pb.ResponseStatus
10, // 12: pb.RemoveClassStudentResponse.Status:type_name -> pb.ResponseStatus
13, // [13:13] is the sub-list for method output_type
13, // [13:13] is the sub-list for method input_type
13, // [13:13] is the sub-list for extension type_name
13, // [13:13] is the sub-list for extension extendee
0, // [0:13] is the sub-list for field type_name
}
func init() { file_class_response_proto_init() }
func file_class_response_proto_init() {
if File_class_response_proto != nil {
return
}
file_global_proto_init()
if !protoimpl.UnsafeEnabled {
file_class_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListClassesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_class_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListMyClassesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_class_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListCourseClassesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_class_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListClassStudentsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_class_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateClassResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_class_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateClassResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_class_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteClassResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_class_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddClassStudentsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_class_response_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemoveClassStudentResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_class_response_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ClassBasicInfo); 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_class_response_proto_rawDesc,
NumEnums: 0,
NumMessages: 10,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_class_response_proto_goTypes,
DependencyIndexes: file_class_response_proto_depIdxs,
MessageInfos: file_class_response_proto_msgTypes,
}.Build()
File_class_response_proto = out.File
file_class_response_proto_rawDesc = nil
file_class_response_proto_goTypes = nil
file_class_response_proto_depIdxs = nil
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/WisdomClassroom/core.git
git@gitee.com:WisdomClassroom/core.git
WisdomClassroom
core
core
v0.7.27

搜索帮助

A270a887 8829481 3d7a4017 8829481