// 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/tag.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 AddTagRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Tags          []string               `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // 标签名称
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AddTagRequest) ProtoMessage() {}

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

func (x *AddTagRequest) GetTags() []string {
	if x != nil {
		return x.Tags
	}
	return nil
}

type TagListReply struct {
	state         protoimpl.MessageState  `protogen:"open.v1"`
	Tags          []*protobuf.FeedTagItem `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	Total         int64                   `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TagListReply) Reset() {
	*x = TagListReply{}
	mi := &file_module_social_feed_proto_tag_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*TagListReply) ProtoMessage() {}

func (x *TagListReply) ProtoReflect() protoreflect.Message {
	mi := &file_module_social_feed_proto_tag_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 TagListReply.ProtoReflect.Descriptor instead.
func (*TagListReply) Descriptor() ([]byte, []int) {
	return file_module_social_feed_proto_tag_proto_rawDescGZIP(), []int{1}
}

func (x *TagListReply) GetTags() []*protobuf.FeedTagItem {
	if x != nil {
		return x.Tags
	}
	return nil
}

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

var File_module_social_feed_proto_tag_proto protoreflect.FileDescriptor

const file_module_social_feed_proto_tag_proto_rawDesc = "" +
	"\n" +
	"\"module/social/feed/proto/tag.proto\x12\x04feed\x1a\x15protobuf/blocks.proto\"#\n" +
	"\rAddTagRequest\x12\x12\n" +
	"\x04tags\x18\x01 \x03(\tR\x04tags\"M\n" +
	"\fTagListReply\x12'\n" +
	"\x04tags\x18\x01 \x03(\v2\x13.blocks.FeedTagItemR\x04tags\x12\x14\n" +
	"\x05total\x18\x02 \x01(\x03R\x05total2\xb2\x01\n" +
	"\x03Tag\x122\n" +
	"\x04List\x12\x14.blocks.FetchRequest\x1a\x12.feed.TagListReply\"\x00\x128\n" +
	"\x06Create\x12\x13.feed.AddTagRequest\x1a\x17.blocks.DataStatusReply\"\x00\x12=\n" +
	"\bPostList\x12\x14.blocks.FetchRequest\x1a\x19.blocks.FeedPostListReply\"\x00B%Z#bsm/full/module/social/feed/pb;feedb\x06proto3"

var (
	file_module_social_feed_proto_tag_proto_rawDescOnce sync.Once
	file_module_social_feed_proto_tag_proto_rawDescData []byte
)

func file_module_social_feed_proto_tag_proto_rawDescGZIP() []byte {
	file_module_social_feed_proto_tag_proto_rawDescOnce.Do(func() {
		file_module_social_feed_proto_tag_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_social_feed_proto_tag_proto_rawDesc), len(file_module_social_feed_proto_tag_proto_rawDesc)))
	})
	return file_module_social_feed_proto_tag_proto_rawDescData
}

var file_module_social_feed_proto_tag_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_module_social_feed_proto_tag_proto_goTypes = []any{
	(*AddTagRequest)(nil),              // 0: feed.AddTagRequest
	(*TagListReply)(nil),               // 1: feed.TagListReply
	(*protobuf.FeedTagItem)(nil),       // 2: blocks.FeedTagItem
	(*protobuf.FetchRequest)(nil),      // 3: blocks.FetchRequest
	(*protobuf.DataStatusReply)(nil),   // 4: blocks.DataStatusReply
	(*protobuf.FeedPostListReply)(nil), // 5: blocks.FeedPostListReply
}
var file_module_social_feed_proto_tag_proto_depIdxs = []int32{
	2, // 0: feed.TagListReply.tags:type_name -> blocks.FeedTagItem
	3, // 1: feed.Tag.List:input_type -> blocks.FetchRequest
	0, // 2: feed.Tag.Create:input_type -> feed.AddTagRequest
	3, // 3: feed.Tag.PostList:input_type -> blocks.FetchRequest
	1, // 4: feed.Tag.List:output_type -> feed.TagListReply
	4, // 5: feed.Tag.Create:output_type -> blocks.DataStatusReply
	5, // 6: feed.Tag.PostList:output_type -> blocks.FeedPostListReply
	4, // [4:7] is the sub-list for method output_type
	1, // [1:4] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_module_social_feed_proto_tag_proto_init() }
func file_module_social_feed_proto_tag_proto_init() {
	if File_module_social_feed_proto_tag_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_tag_proto_rawDesc), len(file_module_social_feed_proto_tag_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_module_social_feed_proto_tag_proto_goTypes,
		DependencyIndexes: file_module_social_feed_proto_tag_proto_depIdxs,
		MessageInfos:      file_module_social_feed_proto_tag_proto_msgTypes,
	}.Build()
	File_module_social_feed_proto_tag_proto = out.File
	file_module_social_feed_proto_tag_proto_goTypes = nil
	file_module_social_feed_proto_tag_proto_depIdxs = nil
}
