Files
full/module/base/cms/pb/post.pb.go

1248 lines
42 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.1
// source: module/base/cms/proto/post.proto
package cms
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 DeleteCommentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 需要删除的评论的唯一标识
PostIdentity string `protobuf:"bytes,2,opt,name=post_identity,proto3" json:"post_identity,omitempty"` // 文章唯一标识
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteCommentRequest) Reset() {
*x = DeleteCommentRequest{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteCommentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteCommentRequest) ProtoMessage() {}
func (x *DeleteCommentRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_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 DeleteCommentRequest.ProtoReflect.Descriptor instead.
func (*DeleteCommentRequest) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{0}
}
func (x *DeleteCommentRequest) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *DeleteCommentRequest) GetPostIdentity() string {
if x != nil {
return x.PostIdentity
}
return ""
}
// 根据KEY获取内容请求
type GetPostByKeyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` //<必传> 内容页的key
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetPostByKeyRequest) Reset() {
*x = GetPostByKeyRequest{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetPostByKeyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetPostByKeyRequest) ProtoMessage() {}
func (x *GetPostByKeyRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_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 GetPostByKeyRequest.ProtoReflect.Descriptor instead.
func (*GetPostByKeyRequest) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{1}
}
func (x *GetPostByKeyRequest) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
// 文章
type PostItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
SiteIdentity string `protobuf:"bytes,1,opt,name=site_identity,proto3" json:"site_identity,omitempty"`
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 文章唯一标识
OwnerId int64 `protobuf:"varint,3,opt,name=owner_id,proto3" json:"owner_id,omitempty"` // 作者ID
OwnerIdentity string `protobuf:"bytes,4,opt,name=owner_identity,proto3" json:"owner_identity,omitempty"` // 作者唯一标识
CategoryIdentityArray []string `protobuf:"bytes,5,rep,name=category_identity_array,proto3" json:"category_identity_array,omitempty"` // <必传>,所属分类Identity 列表
TagsIdentityArray []string `protobuf:"bytes,6,rep,name=tags_identity_array,proto3" json:"tags_identity_array,omitempty"` // 标签集Identity 列表
Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` // <必传>,标题
CoverPath string `protobuf:"bytes,8,opt,name=cover_path,proto3" json:"cover_path,omitempty"` //封面
Author string `protobuf:"bytes,9,opt,name=author,proto3" json:"author,omitempty"` // 作者
AuthorIdentity string `protobuf:"bytes,10,opt,name=author_identity,proto3" json:"author_identity,omitempty"`
Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty"` // <必传>,内容
TargetUrl string `protobuf:"bytes,12,opt,name=target_url,proto3" json:"target_url,omitempty"` // 跳转目标地址
SourceUrl string `protobuf:"bytes,13,opt,name=source_url,proto3" json:"source_url,omitempty"` // 文章来源地址
Hits int64 `protobuf:"varint,14,opt,name=hits,proto3" json:"hits,omitempty"` //点击量
AccessoryIdentityArray []string `protobuf:"bytes,15,rep,name=accessory_identity_array,proto3" json:"accessory_identity_array,omitempty"` //附件Identity 列表
HasAccessory bool `protobuf:"varint,16,opt,name=has_accessory,proto3" json:"has_accessory,omitempty"` //是否有附件,默认没有
CreatedAt string `protobuf:"bytes,17,opt,name=created_at,proto3" json:"created_at,omitempty"` // 创建时间
UpdatedAt string `protobuf:"bytes,18,opt,name=updated_at,proto3" json:"updated_at,omitempty"` //更新时间
Description string `protobuf:"bytes,19,opt,name=description,proto3" json:"description,omitempty"` //简介
LikeHits int64 `protobuf:"varint,20,opt,name=like_hits,proto3" json:"like_hits,omitempty"` //点赞量
UnlikeHits int64 `protobuf:"varint,21,opt,name=unlike_hits,proto3" json:"unlike_hits,omitempty"` //点踩量
CommentHits int64 `protobuf:"varint,22,opt,name=comment_hits,proto3" json:"comment_hits,omitempty"` //评论量
PostType int32 `protobuf:"varint,23,opt,name=post_type,proto3" json:"post_type,omitempty"` // 用户自定义文章类型
Rights string `protobuf:"bytes,24,opt,name=rights,proto3" json:"rights,omitempty"` //权限
Key string `protobuf:"bytes,25,opt,name=key,proto3" json:"key,omitempty"` // content key
CategoryData []*CmsCategoryItem `protobuf:"bytes,26,rep,name=category_data,proto3" json:"category_data,omitempty"` // 分类数据
TagsData []*CmsTagsItem `protobuf:"bytes,27,rep,name=tags_data,proto3" json:"tags_data,omitempty"` // 标签数据
AccessoryData []*CmsAccessoryItem `protobuf:"bytes,28,rep,name=accessory_data,proto3" json:"accessory_data,omitempty"` //附件数据
Lang string `protobuf:"bytes,29,opt,name=lang,proto3" json:"lang,omitempty"` // 语言
SourceOrigin string `protobuf:"bytes,30,opt,name=source_origin,proto3" json:"source_origin,omitempty"` // 来源方简称
ExtendUrl string `protobuf:"bytes,31,opt,name=extend_url,proto3" json:"extend_url,omitempty"` // 扩展URL
ExtendData string `protobuf:"bytes,32,opt,name=extend_data,proto3" json:"extend_data,omitempty"` // 扩展:数据
ExtendImg string `protobuf:"bytes,33,opt,name=extend_img,proto3" json:"extend_img,omitempty"` // 扩展:图片
ExtendDesc string `protobuf:"bytes,34,opt,name=extend_desc,proto3" json:"extend_desc,omitempty"` // 扩展:描述
Published string `protobuf:"bytes,35,opt,name=published,proto3" json:"published,omitempty"` // 事件发生时间
// 扩展文章唯一键值用于URL等
Hash string `protobuf:"bytes,36,opt,name=hash,proto3" json:"hash,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PostItem) Reset() {
*x = PostItem{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PostItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PostItem) ProtoMessage() {}
func (x *PostItem) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_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 PostItem.ProtoReflect.Descriptor instead.
func (*PostItem) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{2}
}
func (x *PostItem) GetSiteIdentity() string {
if x != nil {
return x.SiteIdentity
}
return ""
}
func (x *PostItem) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *PostItem) GetOwnerId() int64 {
if x != nil {
return x.OwnerId
}
return 0
}
func (x *PostItem) GetOwnerIdentity() string {
if x != nil {
return x.OwnerIdentity
}
return ""
}
func (x *PostItem) GetCategoryIdentityArray() []string {
if x != nil {
return x.CategoryIdentityArray
}
return nil
}
func (x *PostItem) GetTagsIdentityArray() []string {
if x != nil {
return x.TagsIdentityArray
}
return nil
}
func (x *PostItem) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *PostItem) GetCoverPath() string {
if x != nil {
return x.CoverPath
}
return ""
}
func (x *PostItem) GetAuthor() string {
if x != nil {
return x.Author
}
return ""
}
func (x *PostItem) GetAuthorIdentity() string {
if x != nil {
return x.AuthorIdentity
}
return ""
}
func (x *PostItem) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
func (x *PostItem) GetTargetUrl() string {
if x != nil {
return x.TargetUrl
}
return ""
}
func (x *PostItem) GetSourceUrl() string {
if x != nil {
return x.SourceUrl
}
return ""
}
func (x *PostItem) GetHits() int64 {
if x != nil {
return x.Hits
}
return 0
}
func (x *PostItem) GetAccessoryIdentityArray() []string {
if x != nil {
return x.AccessoryIdentityArray
}
return nil
}
func (x *PostItem) GetHasAccessory() bool {
if x != nil {
return x.HasAccessory
}
return false
}
func (x *PostItem) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *PostItem) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
func (x *PostItem) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *PostItem) GetLikeHits() int64 {
if x != nil {
return x.LikeHits
}
return 0
}
func (x *PostItem) GetUnlikeHits() int64 {
if x != nil {
return x.UnlikeHits
}
return 0
}
func (x *PostItem) GetCommentHits() int64 {
if x != nil {
return x.CommentHits
}
return 0
}
func (x *PostItem) GetPostType() int32 {
if x != nil {
return x.PostType
}
return 0
}
func (x *PostItem) GetRights() string {
if x != nil {
return x.Rights
}
return ""
}
func (x *PostItem) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *PostItem) GetCategoryData() []*CmsCategoryItem {
if x != nil {
return x.CategoryData
}
return nil
}
func (x *PostItem) GetTagsData() []*CmsTagsItem {
if x != nil {
return x.TagsData
}
return nil
}
func (x *PostItem) GetAccessoryData() []*CmsAccessoryItem {
if x != nil {
return x.AccessoryData
}
return nil
}
func (x *PostItem) GetLang() string {
if x != nil {
return x.Lang
}
return ""
}
func (x *PostItem) GetSourceOrigin() string {
if x != nil {
return x.SourceOrigin
}
return ""
}
func (x *PostItem) GetExtendUrl() string {
if x != nil {
return x.ExtendUrl
}
return ""
}
func (x *PostItem) GetExtendData() string {
if x != nil {
return x.ExtendData
}
return ""
}
func (x *PostItem) GetExtendImg() string {
if x != nil {
return x.ExtendImg
}
return ""
}
func (x *PostItem) GetExtendDesc() string {
if x != nil {
return x.ExtendDesc
}
return ""
}
func (x *PostItem) GetPublished() string {
if x != nil {
return x.Published
}
return ""
}
func (x *PostItem) GetHash() string {
if x != nil {
return x.Hash
}
return ""
}
// 文章列表请求
type PostListRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页码,默认第一页
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // 单页显示数量,默认10,最多50
AuthorIdentity string `protobuf:"bytes,3,opt,name=author_identity,proto3" json:"author_identity,omitempty"` //发布者唯一标识,可选
CategoryIdentity string `protobuf:"bytes,4,opt,name=category_identity,proto3" json:"category_identity,omitempty"` // 文章类型,可选
Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"` // 根据文章名称模糊查找
Type int32 `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty"` // 根据用户自定义文章类型过滤,可选,默认0,全部查找
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PostListRequest) Reset() {
*x = PostListRequest{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PostListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PostListRequest) ProtoMessage() {}
func (x *PostListRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_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 PostListRequest.ProtoReflect.Descriptor instead.
func (*PostListRequest) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{3}
}
func (x *PostListRequest) GetPage() int64 {
if x != nil {
return x.Page
}
return 0
}
func (x *PostListRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
func (x *PostListRequest) GetAuthorIdentity() string {
if x != nil {
return x.AuthorIdentity
}
return ""
}
func (x *PostListRequest) GetCategoryIdentity() string {
if x != nil {
return x.CategoryIdentity
}
return ""
}
func (x *PostListRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
func (x *PostListRequest) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
// 文章列表回复
type PostListReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Data []*PostItem `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 *PostListReply) Reset() {
*x = PostListReply{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PostListReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PostListReply) ProtoMessage() {}
func (x *PostListReply) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_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 PostListReply.ProtoReflect.Descriptor instead.
func (*PostListReply) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{4}
}
func (x *PostListReply) GetData() []*PostItem {
if x != nil {
return x.Data
}
return nil
}
func (x *PostListReply) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
// 获取文章详情请求
type GetPostRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 必传唯一标识
AuthorIdentity string `protobuf:"bytes,2,opt,name=author_identity,proto3" json:"author_identity,omitempty"` // 必传作者唯一标识
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetPostRequest) Reset() {
*x = GetPostRequest{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetPostRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetPostRequest) ProtoMessage() {}
func (x *GetPostRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_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 GetPostRequest.ProtoReflect.Descriptor instead.
func (*GetPostRequest) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{5}
}
func (x *GetPostRequest) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *GetPostRequest) GetAuthorIdentity() string {
if x != nil {
return x.AuthorIdentity
}
return ""
}
// 评论
type CommentItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 评论唯一标识
PostIdentity string `protobuf:"bytes,2,opt,name=post_identity,proto3" json:"post_identity,omitempty"` // 文章唯一标识
ParentId int64 `protobuf:"varint,3,opt,name=parent_id,proto3" json:"parent_id,omitempty"` // 为空表示顶级评论
Cms string `protobuf:"bytes,4,opt,name=Cms,proto3" json:"Cms,omitempty"` // 评论内容
ReplyIdentity string `protobuf:"bytes,5,opt,name=reply_identity,proto3" json:"reply_identity,omitempty"` // 回复者唯一 标识
CreatedAt string `protobuf:"bytes,6,opt,name=created_at,proto3" json:"created_at,omitempty"` // 创建时间
UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,proto3" json:"updated_at,omitempty"` // 更新时间
List []*CommentItem `protobuf:"bytes,8,rep,name=list,proto3" json:"list,omitempty"` //回复列表
LikeHits int64 `protobuf:"varint,9,opt,name=like_hits,proto3" json:"like_hits,omitempty"` // 点赞量
UnlikeHits int64 `protobuf:"varint,10,opt,name=unlike_hits,proto3" json:"unlike_hits,omitempty"` // 点踩量
CommentHits int64 `protobuf:"varint,11,opt,name=comment_hits,proto3" json:"comment_hits,omitempty"` // 评论量
OwnerName string `protobuf:"bytes,12,opt,name=owner_name,proto3" json:"owner_name,omitempty"` // 作者名称
OwnerIdentity string `protobuf:"bytes,13,opt,name=owner_identity,proto3" json:"owner_identity,omitempty"` // 作者标识
Role string `protobuf:"bytes,14,opt,name=role,proto3" json:"role,omitempty"` // 角色
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CommentItem) Reset() {
*x = CommentItem{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CommentItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CommentItem) ProtoMessage() {}
func (x *CommentItem) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_proto_msgTypes[6]
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 CommentItem.ProtoReflect.Descriptor instead.
func (*CommentItem) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{6}
}
func (x *CommentItem) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *CommentItem) GetPostIdentity() string {
if x != nil {
return x.PostIdentity
}
return ""
}
func (x *CommentItem) GetParentId() int64 {
if x != nil {
return x.ParentId
}
return 0
}
func (x *CommentItem) GetCms() string {
if x != nil {
return x.Cms
}
return ""
}
func (x *CommentItem) GetReplyIdentity() string {
if x != nil {
return x.ReplyIdentity
}
return ""
}
func (x *CommentItem) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *CommentItem) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
func (x *CommentItem) GetList() []*CommentItem {
if x != nil {
return x.List
}
return nil
}
func (x *CommentItem) GetLikeHits() int64 {
if x != nil {
return x.LikeHits
}
return 0
}
func (x *CommentItem) GetUnlikeHits() int64 {
if x != nil {
return x.UnlikeHits
}
return 0
}
func (x *CommentItem) GetCommentHits() int64 {
if x != nil {
return x.CommentHits
}
return 0
}
func (x *CommentItem) GetOwnerName() string {
if x != nil {
return x.OwnerName
}
return ""
}
func (x *CommentItem) GetOwnerIdentity() string {
if x != nil {
return x.OwnerIdentity
}
return ""
}
func (x *CommentItem) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
// 评论列表
type CommentListRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
PostIdentity string `protobuf:"bytes,1,opt,name=post_identity,proto3" json:"post_identity,omitempty"` //必填 评论唯一标识
Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // 页码,默认第一页
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // 单页显示数量,默认10,最多50
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CommentListRequest) Reset() {
*x = CommentListRequest{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CommentListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CommentListRequest) ProtoMessage() {}
func (x *CommentListRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_proto_msgTypes[7]
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 CommentListRequest.ProtoReflect.Descriptor instead.
func (*CommentListRequest) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{7}
}
func (x *CommentListRequest) GetPostIdentity() string {
if x != nil {
return x.PostIdentity
}
return ""
}
func (x *CommentListRequest) GetPage() int64 {
if x != nil {
return x.Page
}
return 0
}
func (x *CommentListRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
// 评论列表回复
type CommentListResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
List []*CommentItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // 数据
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // 总数量
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CommentListResponse) Reset() {
*x = CommentListResponse{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CommentListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CommentListResponse) ProtoMessage() {}
func (x *CommentListResponse) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_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 CommentListResponse.ProtoReflect.Descriptor instead.
func (*CommentListResponse) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{8}
}
func (x *CommentListResponse) GetList() []*CommentItem {
if x != nil {
return x.List
}
return nil
}
func (x *CommentListResponse) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
// 文章点赞处理请求
type PostOpIdentityRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
PostIdentity string `protobuf:"bytes,1,opt,name=post_identity,proto3" json:"post_identity,omitempty"` //必传 文章唯一标识
OpIdentity string `protobuf:"bytes,2,opt,name=op_identity,proto3" json:"op_identity,omitempty"` // 必传 操作者唯一标识
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PostOpIdentityRequest) Reset() {
*x = PostOpIdentityRequest{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PostOpIdentityRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PostOpIdentityRequest) ProtoMessage() {}
func (x *PostOpIdentityRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_proto_msgTypes[9]
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 PostOpIdentityRequest.ProtoReflect.Descriptor instead.
func (*PostOpIdentityRequest) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{9}
}
func (x *PostOpIdentityRequest) GetPostIdentity() string {
if x != nil {
return x.PostIdentity
}
return ""
}
func (x *PostOpIdentityRequest) GetOpIdentity() string {
if x != nil {
return x.OpIdentity
}
return ""
}
// 评论点赞处理请求
type CommentOpIdentityRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
CommentIdentity string `protobuf:"bytes,1,opt,name=comment_identity,proto3" json:"comment_identity,omitempty"` //必填 评论唯一标识
OpIdentity string `protobuf:"bytes,2,opt,name=op_identity,proto3" json:"op_identity,omitempty"` //必填 操作者唯一标识
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CommentOpIdentityRequest) Reset() {
*x = CommentOpIdentityRequest{}
mi := &file_module_base_cms_proto_post_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CommentOpIdentityRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CommentOpIdentityRequest) ProtoMessage() {}
func (x *CommentOpIdentityRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_base_cms_proto_post_proto_msgTypes[10]
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 CommentOpIdentityRequest.ProtoReflect.Descriptor instead.
func (*CommentOpIdentityRequest) Descriptor() ([]byte, []int) {
return file_module_base_cms_proto_post_proto_rawDescGZIP(), []int{10}
}
func (x *CommentOpIdentityRequest) GetCommentIdentity() string {
if x != nil {
return x.CommentIdentity
}
return ""
}
func (x *CommentOpIdentityRequest) GetOpIdentity() string {
if x != nil {
return x.OpIdentity
}
return ""
}
var File_module_base_cms_proto_post_proto protoreflect.FileDescriptor
const file_module_base_cms_proto_post_proto_rawDesc = "" +
"\n" +
" module/base/cms/proto/post.proto\x12\x03cms\x1a!module/base/cms/proto/const.proto\"X\n" +
"\x14DeleteCommentRequest\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12$\n" +
"\rpost_identity\x18\x02 \x01(\tR\rpost_identity\"'\n" +
"\x13GetPostByKeyRequest\x12\x10\n" +
"\x03key\x18\x03 \x01(\tR\x03key\"\xf6\t\n" +
"\bPostItem\x12$\n" +
"\rsite_identity\x18\x01 \x01(\tR\rsite_identity\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1a\n" +
"\bowner_id\x18\x03 \x01(\x03R\bowner_id\x12&\n" +
"\x0eowner_identity\x18\x04 \x01(\tR\x0eowner_identity\x128\n" +
"\x17category_identity_array\x18\x05 \x03(\tR\x17category_identity_array\x120\n" +
"\x13tags_identity_array\x18\x06 \x03(\tR\x13tags_identity_array\x12\x14\n" +
"\x05title\x18\a \x01(\tR\x05title\x12\x1e\n" +
"\n" +
"cover_path\x18\b \x01(\tR\n" +
"cover_path\x12\x16\n" +
"\x06author\x18\t \x01(\tR\x06author\x12(\n" +
"\x0fauthor_identity\x18\n" +
" \x01(\tR\x0fauthor_identity\x12\x18\n" +
"\acontent\x18\v \x01(\tR\acontent\x12\x1e\n" +
"\n" +
"target_url\x18\f \x01(\tR\n" +
"target_url\x12\x1e\n" +
"\n" +
"source_url\x18\r \x01(\tR\n" +
"source_url\x12\x12\n" +
"\x04hits\x18\x0e \x01(\x03R\x04hits\x12:\n" +
"\x18accessory_identity_array\x18\x0f \x03(\tR\x18accessory_identity_array\x12$\n" +
"\rhas_accessory\x18\x10 \x01(\bR\rhas_accessory\x12\x1e\n" +
"\n" +
"created_at\x18\x11 \x01(\tR\n" +
"created_at\x12\x1e\n" +
"\n" +
"updated_at\x18\x12 \x01(\tR\n" +
"updated_at\x12 \n" +
"\vdescription\x18\x13 \x01(\tR\vdescription\x12\x1c\n" +
"\tlike_hits\x18\x14 \x01(\x03R\tlike_hits\x12 \n" +
"\vunlike_hits\x18\x15 \x01(\x03R\vunlike_hits\x12\"\n" +
"\fcomment_hits\x18\x16 \x01(\x03R\fcomment_hits\x12\x1c\n" +
"\tpost_type\x18\x17 \x01(\x05R\tpost_type\x12\x16\n" +
"\x06rights\x18\x18 \x01(\tR\x06rights\x12\x10\n" +
"\x03key\x18\x19 \x01(\tR\x03key\x12=\n" +
"\rcategory_data\x18\x1a \x03(\v2\x17.blocks.CmsCategoryItemR\rcategory_data\x121\n" +
"\ttags_data\x18\x1b \x03(\v2\x13.blocks.CmsTagsItemR\ttags_data\x12@\n" +
"\x0eaccessory_data\x18\x1c \x03(\v2\x18.blocks.CmsAccessoryItemR\x0eaccessory_data\x12\x12\n" +
"\x04lang\x18\x1d \x01(\tR\x04lang\x12$\n" +
"\rsource_origin\x18\x1e \x01(\tR\rsource_origin\x12\x1e\n" +
"\n" +
"extend_url\x18\x1f \x01(\tR\n" +
"extend_url\x12 \n" +
"\vextend_data\x18 \x01(\tR\vextend_data\x12\x1e\n" +
"\n" +
"extend_img\x18! \x01(\tR\n" +
"extend_img\x12 \n" +
"\vextend_desc\x18\" \x01(\tR\vextend_desc\x12\x1c\n" +
"\tpublished\x18# \x01(\tR\tpublished\x12\x12\n" +
"\x04hash\x18$ \x01(\tR\x04hash\"\xbf\x01\n" +
"\x0fPostListRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x03R\x04page\x12\x12\n" +
"\x04size\x18\x02 \x01(\x03R\x04size\x12(\n" +
"\x0fauthor_identity\x18\x03 \x01(\tR\x0fauthor_identity\x12,\n" +
"\x11category_identity\x18\x04 \x01(\tR\x11category_identity\x12\x18\n" +
"\akeyword\x18\x05 \x01(\tR\akeyword\x12\x12\n" +
"\x04type\x18\x06 \x01(\x05R\x04type\"H\n" +
"\rPostListReply\x12!\n" +
"\x04data\x18\x01 \x03(\v2\r.cms.PostItemR\x04data\x12\x14\n" +
"\x05count\x18\x02 \x01(\x03R\x05count\"V\n" +
"\x0eGetPostRequest\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12(\n" +
"\x0fauthor_identity\x18\x02 \x01(\tR\x0fauthor_identity\"\xcd\x03\n" +
"\vCommentItem\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12$\n" +
"\rpost_identity\x18\x02 \x01(\tR\rpost_identity\x12\x1c\n" +
"\tparent_id\x18\x03 \x01(\x03R\tparent_id\x12\x10\n" +
"\x03Cms\x18\x04 \x01(\tR\x03Cms\x12&\n" +
"\x0ereply_identity\x18\x05 \x01(\tR\x0ereply_identity\x12\x1e\n" +
"\n" +
"created_at\x18\x06 \x01(\tR\n" +
"created_at\x12\x1e\n" +
"\n" +
"updated_at\x18\a \x01(\tR\n" +
"updated_at\x12$\n" +
"\x04list\x18\b \x03(\v2\x10.cms.CommentItemR\x04list\x12\x1c\n" +
"\tlike_hits\x18\t \x01(\x03R\tlike_hits\x12 \n" +
"\vunlike_hits\x18\n" +
" \x01(\x03R\vunlike_hits\x12\"\n" +
"\fcomment_hits\x18\v \x01(\x03R\fcomment_hits\x12\x1e\n" +
"\n" +
"owner_name\x18\f \x01(\tR\n" +
"owner_name\x12&\n" +
"\x0eowner_identity\x18\r \x01(\tR\x0eowner_identity\x12\x12\n" +
"\x04role\x18\x0e \x01(\tR\x04role\"b\n" +
"\x12CommentListRequest\x12$\n" +
"\rpost_identity\x18\x01 \x01(\tR\rpost_identity\x12\x12\n" +
"\x04page\x18\x02 \x01(\x03R\x04page\x12\x12\n" +
"\x04size\x18\x03 \x01(\x03R\x04size\"Q\n" +
"\x13CommentListResponse\x12$\n" +
"\x04list\x18\x01 \x03(\v2\x10.cms.CommentItemR\x04list\x12\x14\n" +
"\x05count\x18\x02 \x01(\x03R\x05count\"_\n" +
"\x15PostOpIdentityRequest\x12$\n" +
"\rpost_identity\x18\x01 \x01(\tR\rpost_identity\x12 \n" +
"\vop_identity\x18\x02 \x01(\tR\vop_identity\"h\n" +
"\x18CommentOpIdentityRequest\x12*\n" +
"\x10comment_identity\x18\x01 \x01(\tR\x10comment_identity\x12 \n" +
"\vop_identity\x18\x02 \x01(\tR\vop_identity2\xaa\t\n" +
"\x04Post\x123\n" +
"\x05Fetch\x12\x14.cms.PostListRequest\x1a\x12.cms.PostListReply\"\x00\x125\n" +
"\rGetByIdentity\x12\x13.cms.GetPostRequest\x1a\r.cms.PostItem\"\x00\x125\n" +
"\bGetByKey\x12\x18.cms.GetPostByKeyRequest\x1a\r.cms.PostItem\"\x00\x128\n" +
"\x06Search\x12\x18.blocks.CmsSearchRequest\x1a\x12.cms.PostListReply\"\x00\x12.\n" +
"\x06Create\x12\r.cms.PostItem\x1a\x13.blocks.StatusReply\"\x00\x12.\n" +
"\x06Modify\x12\r.cms.PostItem\x1a\x13.blocks.StatusReply\"\x00\x125\n" +
"\x06Delete\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\"\x00\x12A\n" +
"\fIncrPostLike\x12\x1a.cms.PostOpIdentityRequest\x1a\x13.blocks.StatusReply\"\x00\x12A\n" +
"\fDescPostLike\x12\x1a.cms.PostOpIdentityRequest\x1a\x13.blocks.StatusReply\"\x00\x12C\n" +
"\x0eIncrPostUnlike\x12\x1a.cms.PostOpIdentityRequest\x1a\x13.blocks.StatusReply\"\x00\x12C\n" +
"\x0eDescPostUnlike\x12\x1a.cms.PostOpIdentityRequest\x1a\x13.blocks.StatusReply\"\x00\x12B\n" +
"\vCommentList\x12\x17.cms.CommentListRequest\x1a\x18.cms.CommentListResponse\"\x00\x125\n" +
"\n" +
"AddComment\x12\x10.cms.CommentItem\x1a\x13.blocks.StatusReply\"\x00\x128\n" +
"\rModifyComment\x12\x10.cms.CommentItem\x1a\x13.blocks.StatusReply\"\x00\x12A\n" +
"\rDeleteComment\x12\x19.cms.DeleteCommentRequest\x1a\x13.blocks.StatusReply\"\x00\x12G\n" +
"\x0fIncrCommentLike\x12\x1d.cms.CommentOpIdentityRequest\x1a\x13.blocks.StatusReply\"\x00\x12G\n" +
"\x0fDescCommentLike\x12\x1d.cms.CommentOpIdentityRequest\x1a\x13.blocks.StatusReply\"\x00\x12I\n" +
"\x11IncrCommentUnlike\x12\x1d.cms.CommentOpIdentityRequest\x1a\x13.blocks.StatusReply\"\x00\x12I\n" +
"\x11DescCommentUnlike\x12\x1d.cms.CommentOpIdentityRequest\x1a\x13.blocks.StatusReply\"\x00B!Z\x1fbsm/full/module/base/cms/pb;cmsb\x06proto3"
var (
file_module_base_cms_proto_post_proto_rawDescOnce sync.Once
file_module_base_cms_proto_post_proto_rawDescData []byte
)
func file_module_base_cms_proto_post_proto_rawDescGZIP() []byte {
file_module_base_cms_proto_post_proto_rawDescOnce.Do(func() {
file_module_base_cms_proto_post_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_cms_proto_post_proto_rawDesc), len(file_module_base_cms_proto_post_proto_rawDesc)))
})
return file_module_base_cms_proto_post_proto_rawDescData
}
var file_module_base_cms_proto_post_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_module_base_cms_proto_post_proto_goTypes = []any{
(*DeleteCommentRequest)(nil), // 0: cms.DeleteCommentRequest
(*GetPostByKeyRequest)(nil), // 1: cms.GetPostByKeyRequest
(*PostItem)(nil), // 2: cms.PostItem
(*PostListRequest)(nil), // 3: cms.PostListRequest
(*PostListReply)(nil), // 4: cms.PostListReply
(*GetPostRequest)(nil), // 5: cms.GetPostRequest
(*CommentItem)(nil), // 6: cms.CommentItem
(*CommentListRequest)(nil), // 7: cms.CommentListRequest
(*CommentListResponse)(nil), // 8: cms.CommentListResponse
(*PostOpIdentityRequest)(nil), // 9: cms.PostOpIdentityRequest
(*CommentOpIdentityRequest)(nil), // 10: cms.CommentOpIdentityRequest
(*CmsCategoryItem)(nil), // 11: blocks.CmsCategoryItem
(*CmsTagsItem)(nil), // 12: blocks.CmsTagsItem
(*CmsAccessoryItem)(nil), // 13: blocks.CmsAccessoryItem
(*CmsSearchRequest)(nil), // 14: blocks.CmsSearchRequest
(*IdentRequest)(nil), // 15: blocks.IdentRequest
(*StatusReply)(nil), // 16: blocks.StatusReply
}
var file_module_base_cms_proto_post_proto_depIdxs = []int32{
11, // 0: cms.PostItem.category_data:type_name -> blocks.CmsCategoryItem
12, // 1: cms.PostItem.tags_data:type_name -> blocks.CmsTagsItem
13, // 2: cms.PostItem.accessory_data:type_name -> blocks.CmsAccessoryItem
2, // 3: cms.PostListReply.data:type_name -> cms.PostItem
6, // 4: cms.CommentItem.list:type_name -> cms.CommentItem
6, // 5: cms.CommentListResponse.list:type_name -> cms.CommentItem
3, // 6: cms.Post.Fetch:input_type -> cms.PostListRequest
5, // 7: cms.Post.GetByIdentity:input_type -> cms.GetPostRequest
1, // 8: cms.Post.GetByKey:input_type -> cms.GetPostByKeyRequest
14, // 9: cms.Post.Search:input_type -> blocks.CmsSearchRequest
2, // 10: cms.Post.Create:input_type -> cms.PostItem
2, // 11: cms.Post.Modify:input_type -> cms.PostItem
15, // 12: cms.Post.Delete:input_type -> blocks.IdentRequest
9, // 13: cms.Post.IncrPostLike:input_type -> cms.PostOpIdentityRequest
9, // 14: cms.Post.DescPostLike:input_type -> cms.PostOpIdentityRequest
9, // 15: cms.Post.IncrPostUnlike:input_type -> cms.PostOpIdentityRequest
9, // 16: cms.Post.DescPostUnlike:input_type -> cms.PostOpIdentityRequest
7, // 17: cms.Post.CommentList:input_type -> cms.CommentListRequest
6, // 18: cms.Post.AddComment:input_type -> cms.CommentItem
6, // 19: cms.Post.ModifyComment:input_type -> cms.CommentItem
0, // 20: cms.Post.DeleteComment:input_type -> cms.DeleteCommentRequest
10, // 21: cms.Post.IncrCommentLike:input_type -> cms.CommentOpIdentityRequest
10, // 22: cms.Post.DescCommentLike:input_type -> cms.CommentOpIdentityRequest
10, // 23: cms.Post.IncrCommentUnlike:input_type -> cms.CommentOpIdentityRequest
10, // 24: cms.Post.DescCommentUnlike:input_type -> cms.CommentOpIdentityRequest
4, // 25: cms.Post.Fetch:output_type -> cms.PostListReply
2, // 26: cms.Post.GetByIdentity:output_type -> cms.PostItem
2, // 27: cms.Post.GetByKey:output_type -> cms.PostItem
4, // 28: cms.Post.Search:output_type -> cms.PostListReply
16, // 29: cms.Post.Create:output_type -> blocks.StatusReply
16, // 30: cms.Post.Modify:output_type -> blocks.StatusReply
16, // 31: cms.Post.Delete:output_type -> blocks.StatusReply
16, // 32: cms.Post.IncrPostLike:output_type -> blocks.StatusReply
16, // 33: cms.Post.DescPostLike:output_type -> blocks.StatusReply
16, // 34: cms.Post.IncrPostUnlike:output_type -> blocks.StatusReply
16, // 35: cms.Post.DescPostUnlike:output_type -> blocks.StatusReply
8, // 36: cms.Post.CommentList:output_type -> cms.CommentListResponse
16, // 37: cms.Post.AddComment:output_type -> blocks.StatusReply
16, // 38: cms.Post.ModifyComment:output_type -> blocks.StatusReply
16, // 39: cms.Post.DeleteComment:output_type -> blocks.StatusReply
16, // 40: cms.Post.IncrCommentLike:output_type -> blocks.StatusReply
16, // 41: cms.Post.DescCommentLike:output_type -> blocks.StatusReply
16, // 42: cms.Post.IncrCommentUnlike:output_type -> blocks.StatusReply
16, // 43: cms.Post.DescCommentUnlike:output_type -> blocks.StatusReply
25, // [25:44] is the sub-list for method output_type
6, // [6:25] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_module_base_cms_proto_post_proto_init() }
func file_module_base_cms_proto_post_proto_init() {
if File_module_base_cms_proto_post_proto != nil {
return
}
file_module_base_cms_proto_const_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_base_cms_proto_post_proto_rawDesc), len(file_module_base_cms_proto_post_proto_rawDesc)),
NumEnums: 0,
NumMessages: 11,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_module_base_cms_proto_post_proto_goTypes,
DependencyIndexes: file_module_base_cms_proto_post_proto_depIdxs,
MessageInfos: file_module_base_cms_proto_post_proto_msgTypes,
}.Build()
File_module_base_cms_proto_post_proto = out.File
file_module_base_cms_proto_post_proto_goTypes = nil
file_module_base_cms_proto_post_proto_depIdxs = nil
}