586 lines
18 KiB
Go
586 lines
18 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v6.30.1
|
|
// source: category.proto
|
|
|
|
package content
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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 CategoryItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
ParentIdentity string `protobuf:"bytes,2,opt,name=parent_identity,json=parentIdentity,proto3" json:"parent_identity,omitempty"` // 为空表示顶级分类
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
CoverPath string `protobuf:"bytes,4,opt,name=cover_path,json=coverPath,proto3" json:"cover_path,omitempty"`
|
|
Intro string `protobuf:"bytes,5,opt,name=intro,proto3" json:"intro,omitempty"`
|
|
CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Data []*CategoryItem `protobuf:"bytes,8,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CategoryItem) Reset() {
|
|
*x = CategoryItem{}
|
|
mi := &file_category_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CategoryItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CategoryItem) ProtoMessage() {}
|
|
|
|
func (x *CategoryItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_category_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CategoryItem.ProtoReflect.Descriptor instead.
|
|
func (*CategoryItem) Descriptor() ([]byte, []int) {
|
|
return file_category_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CategoryItem) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CategoryItem) GetParentIdentity() string {
|
|
if x != nil {
|
|
return x.ParentIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CategoryItem) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CategoryItem) GetCoverPath() string {
|
|
if x != nil {
|
|
return x.CoverPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CategoryItem) GetIntro() string {
|
|
if x != nil {
|
|
return x.Intro
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CategoryItem) GetCreatedAt() string {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CategoryItem) GetUpdatedAt() string {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CategoryItem) GetData() []*CategoryItem {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CategoryListReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []*CategoryItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
|
|
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CategoryListReply) Reset() {
|
|
*x = CategoryListReply{}
|
|
mi := &file_category_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CategoryListReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CategoryListReply) ProtoMessage() {}
|
|
|
|
func (x *CategoryListReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_category_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CategoryListReply.ProtoReflect.Descriptor instead.
|
|
func (*CategoryListReply) Descriptor() ([]byte, []int) {
|
|
return file_category_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CategoryListReply) GetData() []*CategoryItem {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CategoryListReply) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddCategoryResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 新增数据的唯一码
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddCategoryResponse) Reset() {
|
|
*x = AddCategoryResponse{}
|
|
mi := &file_category_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddCategoryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddCategoryResponse) ProtoMessage() {}
|
|
|
|
func (x *AddCategoryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_category_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddCategoryResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddCategoryResponse) Descriptor() ([]byte, []int) {
|
|
return file_category_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *AddCategoryResponse) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddCategoryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` //
|
|
ParentIdentity string `protobuf:"bytes,2,opt,name=parent_identity,json=parentIdentity,proto3" json:"parent_identity,omitempty"` // 为空表示顶级分类
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
CoverPath string `protobuf:"bytes,4,opt,name=cover_path,json=coverPath,proto3" json:"cover_path,omitempty"`
|
|
Intro string `protobuf:"bytes,5,opt,name=intro,proto3" json:"intro,omitempty"`
|
|
CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Data []*CategoryItem `protobuf:"bytes,8,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddCategoryRequest) Reset() {
|
|
*x = AddCategoryRequest{}
|
|
mi := &file_category_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddCategoryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddCategoryRequest) ProtoMessage() {}
|
|
|
|
func (x *AddCategoryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_category_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddCategoryRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddCategoryRequest) Descriptor() ([]byte, []int) {
|
|
return file_category_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *AddCategoryRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddCategoryRequest) GetParentIdentity() string {
|
|
if x != nil {
|
|
return x.ParentIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddCategoryRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddCategoryRequest) GetCoverPath() string {
|
|
if x != nil {
|
|
return x.CoverPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddCategoryRequest) GetIntro() string {
|
|
if x != nil {
|
|
return x.Intro
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddCategoryRequest) GetCreatedAt() string {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddCategoryRequest) GetUpdatedAt() string {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddCategoryRequest) GetData() []*CategoryItem {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ModifyCategoryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` //
|
|
ParentIdentity string `protobuf:"bytes,2,opt,name=parent_identity,json=parentIdentity,proto3" json:"parent_identity,omitempty"` // 为空表示顶级分类
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
CoverPath string `protobuf:"bytes,4,opt,name=cover_path,json=coverPath,proto3" json:"cover_path,omitempty"`
|
|
Intro string `protobuf:"bytes,5,opt,name=intro,proto3" json:"intro,omitempty"`
|
|
CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
Data []*CategoryItem `protobuf:"bytes,8,rep,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) Reset() {
|
|
*x = ModifyCategoryRequest{}
|
|
mi := &file_category_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModifyCategoryRequest) ProtoMessage() {}
|
|
|
|
func (x *ModifyCategoryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_category_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ModifyCategoryRequest.ProtoReflect.Descriptor instead.
|
|
func (*ModifyCategoryRequest) Descriptor() ([]byte, []int) {
|
|
return file_category_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) GetParentIdentity() string {
|
|
if x != nil {
|
|
return x.ParentIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) GetCoverPath() string {
|
|
if x != nil {
|
|
return x.CoverPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) GetIntro() string {
|
|
if x != nil {
|
|
return x.Intro
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) GetCreatedAt() string {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) GetUpdatedAt() string {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyCategoryRequest) GetData() []*CategoryItem {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteCategoryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` //
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteCategoryRequest) Reset() {
|
|
*x = DeleteCategoryRequest{}
|
|
mi := &file_category_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteCategoryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteCategoryRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteCategoryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_category_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteCategoryRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteCategoryRequest) Descriptor() ([]byte, []int) {
|
|
return file_category_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DeleteCategoryRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_category_proto protoreflect.FileDescriptor
|
|
|
|
const file_category_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0ecategory.proto\x12\acontent\x1a\fblocks.proto\"\x87\x02\n" +
|
|
"\fCategoryItem\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12'\n" +
|
|
"\x0fparent_identity\x18\x02 \x01(\tR\x0eparentIdentity\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12\x1d\n" +
|
|
"\n" +
|
|
"cover_path\x18\x04 \x01(\tR\tcoverPath\x12\x14\n" +
|
|
"\x05intro\x18\x05 \x01(\tR\x05intro\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\x06 \x01(\tR\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\a \x01(\tR\tupdatedAt\x12)\n" +
|
|
"\x04data\x18\b \x03(\v2\x15.content.CategoryItemR\x04data\"T\n" +
|
|
"\x11CategoryListReply\x12)\n" +
|
|
"\x04data\x18\x01 \x03(\v2\x15.content.CategoryItemR\x04data\x12\x14\n" +
|
|
"\x05count\x18\x02 \x01(\x03R\x05count\"1\n" +
|
|
"\x13AddCategoryResponse\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\"\x8d\x02\n" +
|
|
"\x12AddCategoryRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12'\n" +
|
|
"\x0fparent_identity\x18\x02 \x01(\tR\x0eparentIdentity\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12\x1d\n" +
|
|
"\n" +
|
|
"cover_path\x18\x04 \x01(\tR\tcoverPath\x12\x14\n" +
|
|
"\x05intro\x18\x05 \x01(\tR\x05intro\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\x06 \x01(\tR\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\a \x01(\tR\tupdatedAt\x12)\n" +
|
|
"\x04data\x18\b \x03(\v2\x15.content.CategoryItemR\x04data\"\x90\x02\n" +
|
|
"\x15ModifyCategoryRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12'\n" +
|
|
"\x0fparent_identity\x18\x02 \x01(\tR\x0eparentIdentity\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12\x1d\n" +
|
|
"\n" +
|
|
"cover_path\x18\x04 \x01(\tR\tcoverPath\x12\x14\n" +
|
|
"\x05intro\x18\x05 \x01(\tR\x05intro\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\x06 \x01(\tR\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\a \x01(\tR\tupdatedAt\x12)\n" +
|
|
"\x04data\x18\b \x03(\v2\x15.content.CategoryItemR\x04data\"3\n" +
|
|
"\x15DeleteCategoryRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity2\x9c\x02\n" +
|
|
"\bCategory\x12<\n" +
|
|
"\fCategoryList\x12\x0e.content.Empty\x1a\x1a.content.CategoryListReply\"\x00\x12J\n" +
|
|
"\vAddCategory\x12\x1b.content.AddCategoryRequest\x1a\x1c.content.AddCategoryResponse\"\x00\x12B\n" +
|
|
"\x0eModifyCategory\x12\x1e.content.ModifyCategoryRequest\x1a\x0e.content.Empty\"\x00\x12B\n" +
|
|
"\x0eDeleteCategory\x12\x1e.content.DeleteCategoryRequest\x1a\x0e.content.Empty\"\x00B\fZ\n" +
|
|
"./;contentb\x06proto3"
|
|
|
|
var (
|
|
file_category_proto_rawDescOnce sync.Once
|
|
file_category_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_category_proto_rawDescGZIP() []byte {
|
|
file_category_proto_rawDescOnce.Do(func() {
|
|
file_category_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_category_proto_rawDesc), len(file_category_proto_rawDesc)))
|
|
})
|
|
return file_category_proto_rawDescData
|
|
}
|
|
|
|
var file_category_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_category_proto_goTypes = []any{
|
|
(*CategoryItem)(nil), // 0: content.CategoryItem
|
|
(*CategoryListReply)(nil), // 1: content.CategoryListReply
|
|
(*AddCategoryResponse)(nil), // 2: content.AddCategoryResponse
|
|
(*AddCategoryRequest)(nil), // 3: content.AddCategoryRequest
|
|
(*ModifyCategoryRequest)(nil), // 4: content.ModifyCategoryRequest
|
|
(*DeleteCategoryRequest)(nil), // 5: content.DeleteCategoryRequest
|
|
(*Empty)(nil), // 6: content.Empty
|
|
}
|
|
var file_category_proto_depIdxs = []int32{
|
|
0, // 0: content.CategoryItem.data:type_name -> content.CategoryItem
|
|
0, // 1: content.CategoryListReply.data:type_name -> content.CategoryItem
|
|
0, // 2: content.AddCategoryRequest.data:type_name -> content.CategoryItem
|
|
0, // 3: content.ModifyCategoryRequest.data:type_name -> content.CategoryItem
|
|
6, // 4: content.Category.CategoryList:input_type -> content.Empty
|
|
3, // 5: content.Category.AddCategory:input_type -> content.AddCategoryRequest
|
|
4, // 6: content.Category.ModifyCategory:input_type -> content.ModifyCategoryRequest
|
|
5, // 7: content.Category.DeleteCategory:input_type -> content.DeleteCategoryRequest
|
|
1, // 8: content.Category.CategoryList:output_type -> content.CategoryListReply
|
|
2, // 9: content.Category.AddCategory:output_type -> content.AddCategoryResponse
|
|
6, // 10: content.Category.ModifyCategory:output_type -> content.Empty
|
|
6, // 11: content.Category.DeleteCategory:output_type -> content.Empty
|
|
8, // [8:12] is the sub-list for method output_type
|
|
4, // [4:8] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_category_proto_init() }
|
|
func file_category_proto_init() {
|
|
if File_category_proto != nil {
|
|
return
|
|
}
|
|
file_blocks_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_category_proto_rawDesc), len(file_category_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_category_proto_goTypes,
|
|
DependencyIndexes: file_category_proto_depIdxs,
|
|
MessageInfos: file_category_proto_msgTypes,
|
|
}.Build()
|
|
File_category_proto = out.File
|
|
file_category_proto_goTypes = nil
|
|
file_category_proto_depIdxs = nil
|
|
}
|