1 Star 0 Fork 0

WisdomClassroom / core

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
chapterResponse.pb.go 18.78 KB
一键复制 编辑 原始数据 按行查看 历史
Stephano-George 提交于 2020-08-28 20:15 . protobuf: rebuild
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
//******************************************************************************
// 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.23.0-devel
// protoc v3.12.4
// source: chapterResponse.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 GetChapterResponse 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"`
Index uint32 `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"`
Content string `protobuf:"bytes,5,opt,name=Content,proto3" json:"Content,omitempty"`
Status *ResponseStatus `protobuf:"bytes,6,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *GetChapterResponse) Reset() {
*x = GetChapterResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chapterResponse_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetChapterResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetChapterResponse) ProtoMessage() {}
func (x *GetChapterResponse) ProtoReflect() protoreflect.Message {
mi := &file_chapterResponse_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 GetChapterResponse.ProtoReflect.Descriptor instead.
func (*GetChapterResponse) Descriptor() ([]byte, []int) {
return file_chapterResponse_proto_rawDescGZIP(), []int{0}
}
func (x *GetChapterResponse) GetUUID() string {
if x != nil {
return x.UUID
}
return ""
}
func (x *GetChapterResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *GetChapterResponse) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *GetChapterResponse) GetIndex() uint32 {
if x != nil {
return x.Index
}
return 0
}
func (x *GetChapterResponse) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
func (x *GetChapterResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type ListChaptersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Chapters []*ChapterBasicInfo `protobuf:"bytes,1,rep,name=Chapters,proto3" json:"Chapters,omitempty"`
Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *ListChaptersResponse) Reset() {
*x = ListChaptersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chapterResponse_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListChaptersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListChaptersResponse) ProtoMessage() {}
func (x *ListChaptersResponse) ProtoReflect() protoreflect.Message {
mi := &file_chapterResponse_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 ListChaptersResponse.ProtoReflect.Descriptor instead.
func (*ListChaptersResponse) Descriptor() ([]byte, []int) {
return file_chapterResponse_proto_rawDescGZIP(), []int{1}
}
func (x *ListChaptersResponse) GetChapters() []*ChapterBasicInfo {
if x != nil {
return x.Chapters
}
return nil
}
func (x *ListChaptersResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type CreateChapterResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ChapterUUID string `protobuf:"bytes,1,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"`
Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *CreateChapterResponse) Reset() {
*x = CreateChapterResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chapterResponse_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateChapterResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateChapterResponse) ProtoMessage() {}
func (x *CreateChapterResponse) ProtoReflect() protoreflect.Message {
mi := &file_chapterResponse_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 CreateChapterResponse.ProtoReflect.Descriptor instead.
func (*CreateChapterResponse) Descriptor() ([]byte, []int) {
return file_chapterResponse_proto_rawDescGZIP(), []int{2}
}
func (x *CreateChapterResponse) GetChapterUUID() string {
if x != nil {
return x.ChapterUUID
}
return ""
}
func (x *CreateChapterResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type DeleteChapterResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *DeleteChapterResponse) Reset() {
*x = DeleteChapterResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chapterResponse_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteChapterResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteChapterResponse) ProtoMessage() {}
func (x *DeleteChapterResponse) ProtoReflect() protoreflect.Message {
mi := &file_chapterResponse_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 DeleteChapterResponse.ProtoReflect.Descriptor instead.
func (*DeleteChapterResponse) Descriptor() ([]byte, []int) {
return file_chapterResponse_proto_rawDescGZIP(), []int{3}
}
func (x *DeleteChapterResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type UpdateChapterContentResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *UpdateChapterContentResponse) Reset() {
*x = UpdateChapterContentResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chapterResponse_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateChapterContentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateChapterContentResponse) ProtoMessage() {}
func (x *UpdateChapterContentResponse) ProtoReflect() protoreflect.Message {
mi := &file_chapterResponse_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 UpdateChapterContentResponse.ProtoReflect.Descriptor instead.
func (*UpdateChapterContentResponse) Descriptor() ([]byte, []int) {
return file_chapterResponse_proto_rawDescGZIP(), []int{4}
}
func (x *UpdateChapterContentResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
type UpdateChapterResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
}
func (x *UpdateChapterResponse) Reset() {
*x = UpdateChapterResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chapterResponse_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateChapterResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateChapterResponse) ProtoMessage() {}
func (x *UpdateChapterResponse) ProtoReflect() protoreflect.Message {
mi := &file_chapterResponse_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 UpdateChapterResponse.ProtoReflect.Descriptor instead.
func (*UpdateChapterResponse) Descriptor() ([]byte, []int) {
return file_chapterResponse_proto_rawDescGZIP(), []int{5}
}
func (x *UpdateChapterResponse) GetStatus() *ResponseStatus {
if x != nil {
return x.Status
}
return nil
}
var File_chapterResponse_proto protoreflect.FileDescriptor
var file_chapterResponse_proto_rawDesc = []byte{
0x0a, 0x15, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x52, 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, 0xba, 0x01, 0x0a, 0x12, 0x47, 0x65,
0x74, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 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, 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, 0x14, 0x0a, 0x05, 0x49, 0x6e,
0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78,
0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x53, 0x74,
0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 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, 0x74, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68,
0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30,
0x0a, 0x08, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x42, 0x61, 0x73,
0x69, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 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, 0x65, 0x0a, 0x15,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 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, 0x43, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x68, 0x61,
0x70, 0x74, 0x65, 0x72, 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, 0x4a, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 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, 0x43, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68,
0x61, 0x70, 0x74, 0x65, 0x72, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_chapterResponse_proto_rawDescOnce sync.Once
file_chapterResponse_proto_rawDescData = file_chapterResponse_proto_rawDesc
)
func file_chapterResponse_proto_rawDescGZIP() []byte {
file_chapterResponse_proto_rawDescOnce.Do(func() {
file_chapterResponse_proto_rawDescData = protoimpl.X.CompressGZIP(file_chapterResponse_proto_rawDescData)
})
return file_chapterResponse_proto_rawDescData
}
var file_chapterResponse_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_chapterResponse_proto_goTypes = []interface{}{
(*GetChapterResponse)(nil), // 0: pb.GetChapterResponse
(*ListChaptersResponse)(nil), // 1: pb.ListChaptersResponse
(*CreateChapterResponse)(nil), // 2: pb.CreateChapterResponse
(*DeleteChapterResponse)(nil), // 3: pb.DeleteChapterResponse
(*UpdateChapterContentResponse)(nil), // 4: pb.UpdateChapterContentResponse
(*UpdateChapterResponse)(nil), // 5: pb.UpdateChapterResponse
(*ResponseStatus)(nil), // 6: pb.ResponseStatus
(*ChapterBasicInfo)(nil), // 7: pb.ChapterBasicInfo
}
var file_chapterResponse_proto_depIdxs = []int32{
6, // 0: pb.GetChapterResponse.Status:type_name -> pb.ResponseStatus
7, // 1: pb.ListChaptersResponse.Chapters:type_name -> pb.ChapterBasicInfo
6, // 2: pb.ListChaptersResponse.Status:type_name -> pb.ResponseStatus
6, // 3: pb.CreateChapterResponse.Status:type_name -> pb.ResponseStatus
6, // 4: pb.DeleteChapterResponse.Status:type_name -> pb.ResponseStatus
6, // 5: pb.UpdateChapterContentResponse.Status:type_name -> pb.ResponseStatus
6, // 6: pb.UpdateChapterResponse.Status:type_name -> pb.ResponseStatus
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
}
func init() { file_chapterResponse_proto_init() }
func file_chapterResponse_proto_init() {
if File_chapterResponse_proto != nil {
return
}
file_global_proto_init()
if !protoimpl.UnsafeEnabled {
file_chapterResponse_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetChapterResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chapterResponse_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListChaptersResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chapterResponse_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateChapterResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chapterResponse_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteChapterResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chapterResponse_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateChapterContentResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chapterResponse_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateChapterResponse); 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_chapterResponse_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_chapterResponse_proto_goTypes,
DependencyIndexes: file_chapterResponse_proto_depIdxs,
MessageInfos: file_chapterResponse_proto_msgTypes,
}.Build()
File_chapterResponse_proto = out.File
file_chapterResponse_proto_rawDesc = nil
file_chapterResponse_proto_goTypes = nil
file_chapterResponse_proto_depIdxs = nil
}
1
https://gitee.com/WisdomClassroom/core.git
git@gitee.com:WisdomClassroom/core.git
WisdomClassroom
core
core
v0.7.6

搜索帮助