// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v7.35.0
// source: module/social/feed/proto/post.proto

package feed

import (
	protobuf "bsm/full/protobuf"
	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 CommentListReply struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	List          []*CommentItem         `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // 评论列表
	Total         int64                  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CommentListReply) Reset() {
	*x = CommentListReply{}
	mi := &file_module_social_feed_proto_post_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CommentListReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CommentListReply) ProtoMessage() {}

func (x *CommentListReply) ProtoReflect() protoreflect.Message {
	mi := &file_module_social_feed_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 CommentListReply.ProtoReflect.Descriptor instead.
func (*CommentListReply) Descriptor() ([]byte, []int) {
	return file_module_social_feed_proto_post_proto_rawDescGZIP(), []int{0}
}

func (x *CommentListReply) GetList() []*CommentItem {
	if x != nil {
		return x.List
	}
	return nil
}

func (x *CommentListReply) GetTotal() int64 {
	if x != nil {
		return x.Total
	}
	return 0
}

type CommentItem struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Identity      string                 `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`                             // 评论identity
	PostIdentity  string                 `protobuf:"bytes,2,opt,name=post_identity,json=postIdentity,proto3" json:"post_identity,omitempty"` // 被评论唯一标识
	FeedIdentity  string                 `protobuf:"bytes,3,opt,name=feed_identity,json=feedIdentity,proto3" json:"feed_identity,omitempty"` // 评论人唯一标识
	Content       string                 `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`                               // 评论内容
	SubComment    []*CommentItem         `protobuf:"bytes,5,rep,name=sub_comment,json=subComment,proto3" json:"sub_comment,omitempty"`       // 子评论
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CommentItem) Reset() {
	*x = CommentItem{}
	mi := &file_module_social_feed_proto_post_proto_msgTypes[1]
	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_social_feed_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 CommentItem.ProtoReflect.Descriptor instead.
func (*CommentItem) Descriptor() ([]byte, []int) {
	return file_module_social_feed_proto_post_proto_rawDescGZIP(), []int{1}
}

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) GetFeedIdentity() string {
	if x != nil {
		return x.FeedIdentity
	}
	return ""
}

func (x *CommentItem) GetContent() string {
	if x != nil {
		return x.Content
	}
	return ""
}

func (x *CommentItem) GetSubComment() []*CommentItem {
	if x != nil {
		return x.SubComment
	}
	return nil
}

type PostActionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ActionOp      string                 `protobuf:"bytes,1,opt,name=action_op,json=actionOp,proto3" json:"action_op,omitempty"`       //操作运作：ilike,unlike
	ActionType    string                 `protobuf:"bytes,2,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` //类别：推文，评论
	Identity      string                 `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`                       // 唯一标识
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PostActionRequest) Reset() {
	*x = PostActionRequest{}
	mi := &file_module_social_feed_proto_post_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PostActionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostActionRequest) ProtoMessage() {}

func (x *PostActionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_module_social_feed_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 PostActionRequest.ProtoReflect.Descriptor instead.
func (*PostActionRequest) Descriptor() ([]byte, []int) {
	return file_module_social_feed_proto_post_proto_rawDescGZIP(), []int{2}
}

func (x *PostActionRequest) GetActionOp() string {
	if x != nil {
		return x.ActionOp
	}
	return ""
}

func (x *PostActionRequest) GetActionType() string {
	if x != nil {
		return x.ActionType
	}
	return ""
}

func (x *PostActionRequest) GetIdentity() string {
	if x != nil {
		return x.Identity
	}
	return ""
}

var File_module_social_feed_proto_post_proto protoreflect.FileDescriptor

const file_module_social_feed_proto_post_proto_rawDesc = "" +
	"\n" +
	"#module/social/feed/proto/post.proto\x12\x04feed\x1a\x15protobuf/blocks.proto\"O\n" +
	"\x10CommentListReply\x12%\n" +
	"\x04list\x18\x01 \x03(\v2\x11.feed.CommentItemR\x04list\x12\x14\n" +
	"\x05total\x18\x02 \x01(\x03R\x05total\"\xc1\x01\n" +
	"\vCommentItem\x12\x1a\n" +
	"\bidentity\x18\x01 \x01(\tR\bidentity\x12#\n" +
	"\rpost_identity\x18\x02 \x01(\tR\fpostIdentity\x12#\n" +
	"\rfeed_identity\x18\x03 \x01(\tR\ffeedIdentity\x12\x18\n" +
	"\acontent\x18\x04 \x01(\tR\acontent\x122\n" +
	"\vsub_comment\x18\x05 \x03(\v2\x11.feed.CommentItemR\n" +
	"subComment\"m\n" +
	"\x11PostActionRequest\x12\x1b\n" +
	"\taction_op\x18\x01 \x01(\tR\bactionOp\x12\x1f\n" +
	"\vaction_type\x18\x02 \x01(\tR\n" +
	"actionType\x12\x1a\n" +
	"\bidentity\x18\x03 \x01(\tR\bidentity2\xee\x03\n" +
	"\x04Post\x12:\n" +
	"\x05Fetch\x12\x14.blocks.FetchRequest\x1a\x19.blocks.FeedPostListReply\"\x00\x129\n" +
	"\x06Create\x12\x14.blocks.FeedPostItem\x1a\x17.blocks.DataStatusReply\"\x00\x129\n" +
	"\x06Change\x12\x14.blocks.FeedPostItem\x1a\x17.blocks.DataStatusReply\"\x00\x129\n" +
	"\x06Remove\x12\x14.blocks.IdentRequest\x1a\x17.blocks.DataStatusReply\"\x00\x12=\n" +
	"\vCommentList\x12\x14.blocks.FetchRequest\x1a\x16.feed.CommentListReply\"\x00\x12:\n" +
	"\n" +
	"AddComment\x12\x11.feed.CommentItem\x1a\x17.blocks.DataStatusReply\"\x00\x12@\n" +
	"\rDeleteComment\x12\x14.blocks.IdentRequest\x1a\x17.blocks.DataStatusReply\"\x00\x12<\n" +
	"\x06Action\x12\x17.feed.PostActionRequest\x1a\x17.blocks.DataStatusReply\"\x00B%Z#bsm/full/module/social/feed/pb;feedb\x06proto3"

var (
	file_module_social_feed_proto_post_proto_rawDescOnce sync.Once
	file_module_social_feed_proto_post_proto_rawDescData []byte
)

func file_module_social_feed_proto_post_proto_rawDescGZIP() []byte {
	file_module_social_feed_proto_post_proto_rawDescOnce.Do(func() {
		file_module_social_feed_proto_post_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_social_feed_proto_post_proto_rawDesc), len(file_module_social_feed_proto_post_proto_rawDesc)))
	})
	return file_module_social_feed_proto_post_proto_rawDescData
}

var file_module_social_feed_proto_post_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_module_social_feed_proto_post_proto_goTypes = []any{
	(*CommentListReply)(nil),           // 0: feed.CommentListReply
	(*CommentItem)(nil),                // 1: feed.CommentItem
	(*PostActionRequest)(nil),          // 2: feed.PostActionRequest
	(*protobuf.FetchRequest)(nil),      // 3: blocks.FetchRequest
	(*protobuf.FeedPostItem)(nil),      // 4: blocks.FeedPostItem
	(*protobuf.IdentRequest)(nil),      // 5: blocks.IdentRequest
	(*protobuf.FeedPostListReply)(nil), // 6: blocks.FeedPostListReply
	(*protobuf.DataStatusReply)(nil),   // 7: blocks.DataStatusReply
}
var file_module_social_feed_proto_post_proto_depIdxs = []int32{
	1,  // 0: feed.CommentListReply.list:type_name -> feed.CommentItem
	1,  // 1: feed.CommentItem.sub_comment:type_name -> feed.CommentItem
	3,  // 2: feed.Post.Fetch:input_type -> blocks.FetchRequest
	4,  // 3: feed.Post.Create:input_type -> blocks.FeedPostItem
	4,  // 4: feed.Post.Change:input_type -> blocks.FeedPostItem
	5,  // 5: feed.Post.Remove:input_type -> blocks.IdentRequest
	3,  // 6: feed.Post.CommentList:input_type -> blocks.FetchRequest
	1,  // 7: feed.Post.AddComment:input_type -> feed.CommentItem
	5,  // 8: feed.Post.DeleteComment:input_type -> blocks.IdentRequest
	2,  // 9: feed.Post.Action:input_type -> feed.PostActionRequest
	6,  // 10: feed.Post.Fetch:output_type -> blocks.FeedPostListReply
	7,  // 11: feed.Post.Create:output_type -> blocks.DataStatusReply
	7,  // 12: feed.Post.Change:output_type -> blocks.DataStatusReply
	7,  // 13: feed.Post.Remove:output_type -> blocks.DataStatusReply
	0,  // 14: feed.Post.CommentList:output_type -> feed.CommentListReply
	7,  // 15: feed.Post.AddComment:output_type -> blocks.DataStatusReply
	7,  // 16: feed.Post.DeleteComment:output_type -> blocks.DataStatusReply
	7,  // 17: feed.Post.Action:output_type -> blocks.DataStatusReply
	10, // [10:18] is the sub-list for method output_type
	2,  // [2:10] is the sub-list for method input_type
	2,  // [2:2] is the sub-list for extension type_name
	2,  // [2:2] is the sub-list for extension extendee
	0,  // [0:2] is the sub-list for field type_name
}

func init() { file_module_social_feed_proto_post_proto_init() }
func file_module_social_feed_proto_post_proto_init() {
	if File_module_social_feed_proto_post_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_social_feed_proto_post_proto_rawDesc), len(file_module_social_feed_proto_post_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_module_social_feed_proto_post_proto_goTypes,
		DependencyIndexes: file_module_social_feed_proto_post_proto_depIdxs,
		MessageInfos:      file_module_social_feed_proto_post_proto_msgTypes,
	}.Build()
	File_module_social_feed_proto_post_proto = out.File
	file_module_social_feed_proto_post_proto_goTypes = nil
	file_module_social_feed_proto_post_proto_depIdxs = nil
}
