|
|
|
|
@ -501,6 +501,51 @@ func (x *GetCategoryRequest) GetId() string {
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取全分类名称的响应
|
|
|
|
|
type GetFullCategoriesResponse struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
FullCategoryName string `protobuf:"bytes,1,opt,name=full_category_name,json=fullCategoryName,proto3" json:"full_category_name,omitempty"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetFullCategoriesResponse) Reset() {
|
|
|
|
|
*x = GetFullCategoriesResponse{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[8]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetFullCategoriesResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GetFullCategoriesResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetFullCategoriesResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[8]
|
|
|
|
|
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 GetFullCategoriesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetFullCategoriesResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetFullCategoriesResponse) GetFullCategoryName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.FullCategoryName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 分类信息响应
|
|
|
|
|
type CategoryInfoResponse struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
@ -511,7 +556,7 @@ type CategoryInfoResponse struct {
|
|
|
|
|
|
|
|
|
|
func (x *CategoryInfoResponse) Reset() {
|
|
|
|
|
*x = CategoryInfoResponse{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[8]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[9]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -523,7 +568,7 @@ func (x *CategoryInfoResponse) String() string {
|
|
|
|
|
func (*CategoryInfoResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryInfoResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[8]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[9]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -536,7 +581,7 @@ func (x *CategoryInfoResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CategoryInfoResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CategoryInfoResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryInfoResponse) GetCategory() *CategoryInfo {
|
|
|
|
|
@ -557,7 +602,7 @@ type GetChildrenRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *GetChildrenRequest) Reset() {
|
|
|
|
|
*x = GetChildrenRequest{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[9]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[10]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -569,7 +614,7 @@ func (x *GetChildrenRequest) String() string {
|
|
|
|
|
func (*GetChildrenRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetChildrenRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[9]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[10]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -582,7 +627,7 @@ func (x *GetChildrenRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetChildrenRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetChildrenRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetChildrenRequest) GetParentId() string {
|
|
|
|
|
@ -610,7 +655,7 @@ type GetTreeRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *GetTreeRequest) Reset() {
|
|
|
|
|
*x = GetTreeRequest{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[10]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[11]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -622,7 +667,7 @@ func (x *GetTreeRequest) String() string {
|
|
|
|
|
func (*GetTreeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetTreeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[10]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[11]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -635,7 +680,7 @@ func (x *GetTreeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetTreeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetTreeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetTreeRequest) GetSystemId() string {
|
|
|
|
|
@ -663,7 +708,7 @@ type MoveCategoryRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *MoveCategoryRequest) Reset() {
|
|
|
|
|
*x = MoveCategoryRequest{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[11]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[12]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -675,7 +720,7 @@ func (x *MoveCategoryRequest) String() string {
|
|
|
|
|
func (*MoveCategoryRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *MoveCategoryRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[11]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[12]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -688,7 +733,7 @@ func (x *MoveCategoryRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use MoveCategoryRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*MoveCategoryRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *MoveCategoryRequest) GetId() string {
|
|
|
|
|
@ -715,7 +760,7 @@ type GetAncestorPathRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *GetAncestorPathRequest) Reset() {
|
|
|
|
|
*x = GetAncestorPathRequest{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[12]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[13]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -727,7 +772,7 @@ func (x *GetAncestorPathRequest) String() string {
|
|
|
|
|
func (*GetAncestorPathRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetAncestorPathRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[12]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[13]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -740,7 +785,7 @@ func (x *GetAncestorPathRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetAncestorPathRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetAncestorPathRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{13}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetAncestorPathRequest) GetId() string {
|
|
|
|
|
@ -760,7 +805,7 @@ type CategoryPathResponse struct {
|
|
|
|
|
|
|
|
|
|
func (x *CategoryPathResponse) Reset() {
|
|
|
|
|
*x = CategoryPathResponse{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[13]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[14]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -772,7 +817,7 @@ func (x *CategoryPathResponse) String() string {
|
|
|
|
|
func (*CategoryPathResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryPathResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[13]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[14]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -785,7 +830,7 @@ func (x *CategoryPathResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CategoryPathResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CategoryPathResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{13}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{14}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryPathResponse) GetPath() []*CategoryInfo {
|
|
|
|
|
@ -805,7 +850,7 @@ type BatchCreateRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *BatchCreateRequest) Reset() {
|
|
|
|
|
*x = BatchCreateRequest{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[14]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[15]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -817,7 +862,7 @@ func (x *BatchCreateRequest) String() string {
|
|
|
|
|
func (*BatchCreateRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *BatchCreateRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[14]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[15]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -830,7 +875,7 @@ func (x *BatchCreateRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use BatchCreateRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*BatchCreateRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{14}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{15}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BatchCreateRequest) GetCategories() []*CreateCategoryRequest {
|
|
|
|
|
@ -851,7 +896,7 @@ type BatchCreateResponse struct {
|
|
|
|
|
|
|
|
|
|
func (x *BatchCreateResponse) Reset() {
|
|
|
|
|
*x = BatchCreateResponse{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[15]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[16]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -863,7 +908,7 @@ func (x *BatchCreateResponse) String() string {
|
|
|
|
|
func (*BatchCreateResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *BatchCreateResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[15]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[16]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -876,7 +921,7 @@ func (x *BatchCreateResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use BatchCreateResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*BatchCreateResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{15}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{16}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BatchCreateResponse) GetCreatedCategories() []*CategoryInfo {
|
|
|
|
|
@ -909,7 +954,7 @@ type BatchUpdateRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *BatchUpdateRequest) Reset() {
|
|
|
|
|
*x = BatchUpdateRequest{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[16]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[17]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -921,7 +966,7 @@ func (x *BatchUpdateRequest) String() string {
|
|
|
|
|
func (*BatchUpdateRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *BatchUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[16]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[17]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -934,7 +979,7 @@ func (x *BatchUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use BatchUpdateRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*BatchUpdateRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{16}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{17}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BatchUpdateRequest) GetCategories() []*UpdateCategoryRequest {
|
|
|
|
|
@ -955,7 +1000,7 @@ type BatchUpdateResponse struct {
|
|
|
|
|
|
|
|
|
|
func (x *BatchUpdateResponse) Reset() {
|
|
|
|
|
*x = BatchUpdateResponse{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[17]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[18]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -967,7 +1012,7 @@ func (x *BatchUpdateResponse) String() string {
|
|
|
|
|
func (*BatchUpdateResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *BatchUpdateResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[17]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[18]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -980,7 +1025,7 @@ func (x *BatchUpdateResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use BatchUpdateResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*BatchUpdateResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{17}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{18}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BatchUpdateResponse) GetUpdatedCategories() []*CategoryInfo {
|
|
|
|
|
@ -1019,7 +1064,7 @@ type ListCategoryRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *ListCategoryRequest) Reset() {
|
|
|
|
|
*x = ListCategoryRequest{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[18]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[19]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -1031,7 +1076,7 @@ func (x *ListCategoryRequest) String() string {
|
|
|
|
|
func (*ListCategoryRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListCategoryRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[18]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[19]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -1044,7 +1089,7 @@ func (x *ListCategoryRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ListCategoryRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListCategoryRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{18}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{19}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListCategoryRequest) GetSystemId() string {
|
|
|
|
|
@ -1100,7 +1145,7 @@ type CategoryListResponse struct {
|
|
|
|
|
|
|
|
|
|
func (x *CategoryListResponse) Reset() {
|
|
|
|
|
*x = CategoryListResponse{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[19]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[20]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -1112,7 +1157,7 @@ func (x *CategoryListResponse) String() string {
|
|
|
|
|
func (*CategoryListResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryListResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[19]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[20]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -1125,7 +1170,7 @@ func (x *CategoryListResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CategoryListResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CategoryListResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{19}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{20}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryListResponse) GetCategories() []*CategoryInfo {
|
|
|
|
|
@ -1152,7 +1197,7 @@ type CategoryTreeResponse struct {
|
|
|
|
|
|
|
|
|
|
func (x *CategoryTreeResponse) Reset() {
|
|
|
|
|
*x = CategoryTreeResponse{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[20]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[21]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -1164,7 +1209,7 @@ func (x *CategoryTreeResponse) String() string {
|
|
|
|
|
func (*CategoryTreeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryTreeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[20]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[21]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -1177,7 +1222,7 @@ func (x *CategoryTreeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CategoryTreeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CategoryTreeResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{20}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{21}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryTreeResponse) GetRoot() *CategoryTreeResponse_TreeNode {
|
|
|
|
|
@ -1199,7 +1244,7 @@ type CheckAliasRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *CheckAliasRequest) Reset() {
|
|
|
|
|
*x = CheckAliasRequest{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[21]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[22]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -1211,7 +1256,7 @@ func (x *CheckAliasRequest) String() string {
|
|
|
|
|
func (*CheckAliasRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CheckAliasRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[21]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[22]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -1224,7 +1269,7 @@ func (x *CheckAliasRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CheckAliasRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CheckAliasRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{21}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{22}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckAliasRequest) GetSystemId() string {
|
|
|
|
|
@ -1259,7 +1304,7 @@ type CheckAliasResponse struct {
|
|
|
|
|
|
|
|
|
|
func (x *CheckAliasResponse) Reset() {
|
|
|
|
|
*x = CheckAliasResponse{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[22]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[23]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -1271,7 +1316,7 @@ func (x *CheckAliasResponse) String() string {
|
|
|
|
|
func (*CheckAliasResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CheckAliasResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[22]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[23]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -1284,7 +1329,7 @@ func (x *CheckAliasResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CheckAliasResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CheckAliasResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{22}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{23}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckAliasResponse) GetIsAvailable() bool {
|
|
|
|
|
@ -1314,7 +1359,7 @@ type GetSystemCategoriesRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *GetSystemCategoriesRequest) Reset() {
|
|
|
|
|
*x = GetSystemCategoriesRequest{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[23]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[24]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -1326,7 +1371,7 @@ func (x *GetSystemCategoriesRequest) String() string {
|
|
|
|
|
func (*GetSystemCategoriesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetSystemCategoriesRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[23]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[24]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -1339,7 +1384,7 @@ func (x *GetSystemCategoriesRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetSystemCategoriesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetSystemCategoriesRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{23}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{24}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetSystemCategoriesRequest) GetSystemId() string {
|
|
|
|
|
@ -1389,7 +1434,7 @@ type GetSystemCategoriesResponse struct {
|
|
|
|
|
|
|
|
|
|
func (x *GetSystemCategoriesResponse) Reset() {
|
|
|
|
|
*x = GetSystemCategoriesResponse{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[24]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[25]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -1401,7 +1446,7 @@ func (x *GetSystemCategoriesResponse) String() string {
|
|
|
|
|
func (*GetSystemCategoriesResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetSystemCategoriesResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[24]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[25]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -1414,7 +1459,7 @@ func (x *GetSystemCategoriesResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetSystemCategoriesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetSystemCategoriesResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{24}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{25}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetSystemCategoriesResponse) GetCategories() []*CategoryInfo {
|
|
|
|
|
@ -1455,7 +1500,7 @@ type CategoryTreeResponse_TreeNode struct {
|
|
|
|
|
|
|
|
|
|
func (x *CategoryTreeResponse_TreeNode) Reset() {
|
|
|
|
|
*x = CategoryTreeResponse_TreeNode{}
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[25]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[26]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -1467,7 +1512,7 @@ func (x *CategoryTreeResponse_TreeNode) String() string {
|
|
|
|
|
func (*CategoryTreeResponse_TreeNode) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryTreeResponse_TreeNode) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[25]
|
|
|
|
|
mi := &file_rpc_category_proto_msgTypes[26]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -1480,7 +1525,7 @@ func (x *CategoryTreeResponse_TreeNode) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CategoryTreeResponse_TreeNode.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CategoryTreeResponse_TreeNode) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{20, 0}
|
|
|
|
|
return file_rpc_category_proto_rawDescGZIP(), []int{21, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CategoryTreeResponse_TreeNode) GetCategory() *CategoryInfo {
|
|
|
|
|
@ -1534,7 +1579,9 @@ const file_rpc_category_proto_rawDesc = "" +
|
|
|
|
|
"\x0eDeleteResponse\x12\x18\n" +
|
|
|
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\"$\n" +
|
|
|
|
|
"\x12GetCategoryRequest\x12\x0e\n" +
|
|
|
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"J\n" +
|
|
|
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"I\n" +
|
|
|
|
|
"\x19GetFullCategoriesResponse\x12,\n" +
|
|
|
|
|
"\x12full_category_name\x18\x01 \x01(\tR\x10fullCategoryName\"J\n" +
|
|
|
|
|
"\x14CategoryInfoResponse\x122\n" +
|
|
|
|
|
"\bcategory\x18\x01 \x01(\v2\x16.category.CategoryInfoR\bcategory\"O\n" +
|
|
|
|
|
"\x12GetChildrenRequest\x12\x1b\n" +
|
|
|
|
|
@ -1605,7 +1652,7 @@ const file_rpc_category_proto_rawDesc = "" +
|
|
|
|
|
"categories\x12\x14\n" +
|
|
|
|
|
"\x05total\x18\x02 \x01(\x03R\x05total\x12!\n" +
|
|
|
|
|
"\fcurrent_page\x18\x03 \x01(\x05R\vcurrentPage\x12\x1b\n" +
|
|
|
|
|
"\tpage_size\x18\x04 \x01(\x05R\bpageSize2\xe1\b\n" +
|
|
|
|
|
"\tpage_size\x18\x04 \x01(\x05R\bpageSize2\xb9\t\n" +
|
|
|
|
|
"\bCategory\x125\n" +
|
|
|
|
|
"\x04Ping\x12\x15.category.PingRequest\x1a\x16.category.PingResponse\x12Q\n" +
|
|
|
|
|
"\x0eCreateCategory\x12\x1f.category.CreateCategoryRequest\x1a\x1e.category.CategoryInfoResponse\x12Q\n" +
|
|
|
|
|
@ -1621,7 +1668,8 @@ const file_rpc_category_proto_rawDesc = "" +
|
|
|
|
|
"\x0eListCategories\x12\x1d.category.ListCategoryRequest\x1a\x1e.category.CategoryListResponse\x12G\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"CheckAlias\x12\x1b.category.CheckAliasRequest\x1a\x1c.category.CheckAliasResponse\x12b\n" +
|
|
|
|
|
"\x13GetSystemCategories\x12$.category.GetSystemCategoriesRequest\x1a%.category.GetSystemCategoriesResponseB\fZ\n" +
|
|
|
|
|
"\x13GetSystemCategories\x12$.category.GetSystemCategoriesRequest\x1a%.category.GetSystemCategoriesResponse\x12V\n" +
|
|
|
|
|
"\x11GetFullCategories\x12\x1c.category.GetCategoryRequest\x1a#.category.GetFullCategoriesResponseB\fZ\n" +
|
|
|
|
|
"./categoryb\x06proto3"
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
@ -1636,7 +1684,7 @@ func file_rpc_category_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_rpc_category_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_rpc_category_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
|
|
|
|
|
var file_rpc_category_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
|
|
|
|
|
var file_rpc_category_proto_goTypes = []any{
|
|
|
|
|
(*PingRequest)(nil), // 0: category.PingRequest
|
|
|
|
|
(*PingResponse)(nil), // 1: category.PingResponse
|
|
|
|
|
@ -1646,24 +1694,25 @@ var file_rpc_category_proto_goTypes = []any{
|
|
|
|
|
(*DeleteCategoryRequest)(nil), // 5: category.DeleteCategoryRequest
|
|
|
|
|
(*DeleteResponse)(nil), // 6: category.DeleteResponse
|
|
|
|
|
(*GetCategoryRequest)(nil), // 7: category.GetCategoryRequest
|
|
|
|
|
(*CategoryInfoResponse)(nil), // 8: category.CategoryInfoResponse
|
|
|
|
|
(*GetChildrenRequest)(nil), // 9: category.GetChildrenRequest
|
|
|
|
|
(*GetTreeRequest)(nil), // 10: category.GetTreeRequest
|
|
|
|
|
(*MoveCategoryRequest)(nil), // 11: category.MoveCategoryRequest
|
|
|
|
|
(*GetAncestorPathRequest)(nil), // 12: category.GetAncestorPathRequest
|
|
|
|
|
(*CategoryPathResponse)(nil), // 13: category.CategoryPathResponse
|
|
|
|
|
(*BatchCreateRequest)(nil), // 14: category.BatchCreateRequest
|
|
|
|
|
(*BatchCreateResponse)(nil), // 15: category.BatchCreateResponse
|
|
|
|
|
(*BatchUpdateRequest)(nil), // 16: category.BatchUpdateRequest
|
|
|
|
|
(*BatchUpdateResponse)(nil), // 17: category.BatchUpdateResponse
|
|
|
|
|
(*ListCategoryRequest)(nil), // 18: category.ListCategoryRequest
|
|
|
|
|
(*CategoryListResponse)(nil), // 19: category.CategoryListResponse
|
|
|
|
|
(*CategoryTreeResponse)(nil), // 20: category.CategoryTreeResponse
|
|
|
|
|
(*CheckAliasRequest)(nil), // 21: category.CheckAliasRequest
|
|
|
|
|
(*CheckAliasResponse)(nil), // 22: category.CheckAliasResponse
|
|
|
|
|
(*GetSystemCategoriesRequest)(nil), // 23: category.GetSystemCategoriesRequest
|
|
|
|
|
(*GetSystemCategoriesResponse)(nil), // 24: category.GetSystemCategoriesResponse
|
|
|
|
|
(*CategoryTreeResponse_TreeNode)(nil), // 25: category.CategoryTreeResponse.TreeNode
|
|
|
|
|
(*GetFullCategoriesResponse)(nil), // 8: category.GetFullCategoriesResponse
|
|
|
|
|
(*CategoryInfoResponse)(nil), // 9: category.CategoryInfoResponse
|
|
|
|
|
(*GetChildrenRequest)(nil), // 10: category.GetChildrenRequest
|
|
|
|
|
(*GetTreeRequest)(nil), // 11: category.GetTreeRequest
|
|
|
|
|
(*MoveCategoryRequest)(nil), // 12: category.MoveCategoryRequest
|
|
|
|
|
(*GetAncestorPathRequest)(nil), // 13: category.GetAncestorPathRequest
|
|
|
|
|
(*CategoryPathResponse)(nil), // 14: category.CategoryPathResponse
|
|
|
|
|
(*BatchCreateRequest)(nil), // 15: category.BatchCreateRequest
|
|
|
|
|
(*BatchCreateResponse)(nil), // 16: category.BatchCreateResponse
|
|
|
|
|
(*BatchUpdateRequest)(nil), // 17: category.BatchUpdateRequest
|
|
|
|
|
(*BatchUpdateResponse)(nil), // 18: category.BatchUpdateResponse
|
|
|
|
|
(*ListCategoryRequest)(nil), // 19: category.ListCategoryRequest
|
|
|
|
|
(*CategoryListResponse)(nil), // 20: category.CategoryListResponse
|
|
|
|
|
(*CategoryTreeResponse)(nil), // 21: category.CategoryTreeResponse
|
|
|
|
|
(*CheckAliasRequest)(nil), // 22: category.CheckAliasRequest
|
|
|
|
|
(*CheckAliasResponse)(nil), // 23: category.CheckAliasResponse
|
|
|
|
|
(*GetSystemCategoriesRequest)(nil), // 24: category.GetSystemCategoriesRequest
|
|
|
|
|
(*GetSystemCategoriesResponse)(nil), // 25: category.GetSystemCategoriesResponse
|
|
|
|
|
(*CategoryTreeResponse_TreeNode)(nil), // 26: category.CategoryTreeResponse.TreeNode
|
|
|
|
|
}
|
|
|
|
|
var file_rpc_category_proto_depIdxs = []int32{
|
|
|
|
|
2, // 0: category.CategoryInfoResponse.category:type_name -> category.CategoryInfo
|
|
|
|
|
@ -1673,40 +1722,42 @@ var file_rpc_category_proto_depIdxs = []int32{
|
|
|
|
|
4, // 4: category.BatchUpdateRequest.categories:type_name -> category.UpdateCategoryRequest
|
|
|
|
|
2, // 5: category.BatchUpdateResponse.updated_categories:type_name -> category.CategoryInfo
|
|
|
|
|
2, // 6: category.CategoryListResponse.categories:type_name -> category.CategoryInfo
|
|
|
|
|
25, // 7: category.CategoryTreeResponse.root:type_name -> category.CategoryTreeResponse.TreeNode
|
|
|
|
|
26, // 7: category.CategoryTreeResponse.root:type_name -> category.CategoryTreeResponse.TreeNode
|
|
|
|
|
2, // 8: category.GetSystemCategoriesResponse.categories:type_name -> category.CategoryInfo
|
|
|
|
|
2, // 9: category.CategoryTreeResponse.TreeNode.category:type_name -> category.CategoryInfo
|
|
|
|
|
25, // 10: category.CategoryTreeResponse.TreeNode.children:type_name -> category.CategoryTreeResponse.TreeNode
|
|
|
|
|
26, // 10: category.CategoryTreeResponse.TreeNode.children:type_name -> category.CategoryTreeResponse.TreeNode
|
|
|
|
|
0, // 11: category.Category.Ping:input_type -> category.PingRequest
|
|
|
|
|
3, // 12: category.Category.CreateCategory:input_type -> category.CreateCategoryRequest
|
|
|
|
|
4, // 13: category.Category.UpdateCategory:input_type -> category.UpdateCategoryRequest
|
|
|
|
|
5, // 14: category.Category.DeleteCategory:input_type -> category.DeleteCategoryRequest
|
|
|
|
|
7, // 15: category.Category.GetCategory:input_type -> category.GetCategoryRequest
|
|
|
|
|
9, // 16: category.Category.GetChildren:input_type -> category.GetChildrenRequest
|
|
|
|
|
10, // 17: category.Category.GetTree:input_type -> category.GetTreeRequest
|
|
|
|
|
11, // 18: category.Category.MoveCategory:input_type -> category.MoveCategoryRequest
|
|
|
|
|
12, // 19: category.Category.GetAncestorPath:input_type -> category.GetAncestorPathRequest
|
|
|
|
|
14, // 20: category.Category.BatchCreateCategories:input_type -> category.BatchCreateRequest
|
|
|
|
|
16, // 21: category.Category.BatchUpdateCategories:input_type -> category.BatchUpdateRequest
|
|
|
|
|
18, // 22: category.Category.ListCategories:input_type -> category.ListCategoryRequest
|
|
|
|
|
21, // 23: category.Category.CheckAlias:input_type -> category.CheckAliasRequest
|
|
|
|
|
23, // 24: category.Category.GetSystemCategories:input_type -> category.GetSystemCategoriesRequest
|
|
|
|
|
1, // 25: category.Category.Ping:output_type -> category.PingResponse
|
|
|
|
|
8, // 26: category.Category.CreateCategory:output_type -> category.CategoryInfoResponse
|
|
|
|
|
8, // 27: category.Category.UpdateCategory:output_type -> category.CategoryInfoResponse
|
|
|
|
|
6, // 28: category.Category.DeleteCategory:output_type -> category.DeleteResponse
|
|
|
|
|
8, // 29: category.Category.GetCategory:output_type -> category.CategoryInfoResponse
|
|
|
|
|
19, // 30: category.Category.GetChildren:output_type -> category.CategoryListResponse
|
|
|
|
|
20, // 31: category.Category.GetTree:output_type -> category.CategoryTreeResponse
|
|
|
|
|
8, // 32: category.Category.MoveCategory:output_type -> category.CategoryInfoResponse
|
|
|
|
|
13, // 33: category.Category.GetAncestorPath:output_type -> category.CategoryPathResponse
|
|
|
|
|
15, // 34: category.Category.BatchCreateCategories:output_type -> category.BatchCreateResponse
|
|
|
|
|
17, // 35: category.Category.BatchUpdateCategories:output_type -> category.BatchUpdateResponse
|
|
|
|
|
19, // 36: category.Category.ListCategories:output_type -> category.CategoryListResponse
|
|
|
|
|
22, // 37: category.Category.CheckAlias:output_type -> category.CheckAliasResponse
|
|
|
|
|
24, // 38: category.Category.GetSystemCategories:output_type -> category.GetSystemCategoriesResponse
|
|
|
|
|
25, // [25:39] is the sub-list for method output_type
|
|
|
|
|
11, // [11:25] is the sub-list for method input_type
|
|
|
|
|
10, // 16: category.Category.GetChildren:input_type -> category.GetChildrenRequest
|
|
|
|
|
11, // 17: category.Category.GetTree:input_type -> category.GetTreeRequest
|
|
|
|
|
12, // 18: category.Category.MoveCategory:input_type -> category.MoveCategoryRequest
|
|
|
|
|
13, // 19: category.Category.GetAncestorPath:input_type -> category.GetAncestorPathRequest
|
|
|
|
|
15, // 20: category.Category.BatchCreateCategories:input_type -> category.BatchCreateRequest
|
|
|
|
|
17, // 21: category.Category.BatchUpdateCategories:input_type -> category.BatchUpdateRequest
|
|
|
|
|
19, // 22: category.Category.ListCategories:input_type -> category.ListCategoryRequest
|
|
|
|
|
22, // 23: category.Category.CheckAlias:input_type -> category.CheckAliasRequest
|
|
|
|
|
24, // 24: category.Category.GetSystemCategories:input_type -> category.GetSystemCategoriesRequest
|
|
|
|
|
7, // 25: category.Category.GetFullCategories:input_type -> category.GetCategoryRequest
|
|
|
|
|
1, // 26: category.Category.Ping:output_type -> category.PingResponse
|
|
|
|
|
9, // 27: category.Category.CreateCategory:output_type -> category.CategoryInfoResponse
|
|
|
|
|
9, // 28: category.Category.UpdateCategory:output_type -> category.CategoryInfoResponse
|
|
|
|
|
6, // 29: category.Category.DeleteCategory:output_type -> category.DeleteResponse
|
|
|
|
|
9, // 30: category.Category.GetCategory:output_type -> category.CategoryInfoResponse
|
|
|
|
|
20, // 31: category.Category.GetChildren:output_type -> category.CategoryListResponse
|
|
|
|
|
21, // 32: category.Category.GetTree:output_type -> category.CategoryTreeResponse
|
|
|
|
|
9, // 33: category.Category.MoveCategory:output_type -> category.CategoryInfoResponse
|
|
|
|
|
14, // 34: category.Category.GetAncestorPath:output_type -> category.CategoryPathResponse
|
|
|
|
|
16, // 35: category.Category.BatchCreateCategories:output_type -> category.BatchCreateResponse
|
|
|
|
|
18, // 36: category.Category.BatchUpdateCategories:output_type -> category.BatchUpdateResponse
|
|
|
|
|
20, // 37: category.Category.ListCategories:output_type -> category.CategoryListResponse
|
|
|
|
|
23, // 38: category.Category.CheckAlias:output_type -> category.CheckAliasResponse
|
|
|
|
|
25, // 39: category.Category.GetSystemCategories:output_type -> category.GetSystemCategoriesResponse
|
|
|
|
|
8, // 40: category.Category.GetFullCategories:output_type -> category.GetFullCategoriesResponse
|
|
|
|
|
26, // [26:41] is the sub-list for method output_type
|
|
|
|
|
11, // [11:26] is the sub-list for method input_type
|
|
|
|
|
11, // [11:11] is the sub-list for extension type_name
|
|
|
|
|
11, // [11:11] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:11] is the sub-list for field type_name
|
|
|
|
|
@ -1723,7 +1774,7 @@ func file_rpc_category_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_category_proto_rawDesc), len(file_rpc_category_proto_rawDesc)),
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 26,
|
|
|
|
|
NumMessages: 27,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|
|