// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.34.1 // source: community.proto package pb 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) ) // --------------------------------commentLikes-------------------------------- type CommentLikes struct { state protoimpl.MessageState `protogen:"open.v1"` CommentId int64 `protobuf:"varint,1,opt,name=commentId,proto3" json:"commentId,omitempty"` //commentId UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` //userId CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CommentLikes) Reset() { *x = CommentLikes{} mi := &file_community_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CommentLikes) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommentLikes) ProtoMessage() {} func (x *CommentLikes) ProtoReflect() protoreflect.Message { mi := &file_community_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 CommentLikes.ProtoReflect.Descriptor instead. func (*CommentLikes) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{0} } func (x *CommentLikes) GetCommentId() int64 { if x != nil { return x.CommentId } return 0 } func (x *CommentLikes) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *CommentLikes) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } type AddCommentLikesReq struct { state protoimpl.MessageState `protogen:"open.v1"` CommentId int64 `protobuf:"varint,1,opt,name=commentId,proto3" json:"commentId,omitempty"` //commentId UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` //userId CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddCommentLikesReq) Reset() { *x = AddCommentLikesReq{} mi := &file_community_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddCommentLikesReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddCommentLikesReq) ProtoMessage() {} func (x *AddCommentLikesReq) ProtoReflect() protoreflect.Message { mi := &file_community_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 AddCommentLikesReq.ProtoReflect.Descriptor instead. func (*AddCommentLikesReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{1} } func (x *AddCommentLikesReq) GetCommentId() int64 { if x != nil { return x.CommentId } return 0 } func (x *AddCommentLikesReq) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *AddCommentLikesReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } type AddCommentLikesResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddCommentLikesResp) Reset() { *x = AddCommentLikesResp{} mi := &file_community_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddCommentLikesResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddCommentLikesResp) ProtoMessage() {} func (x *AddCommentLikesResp) ProtoReflect() protoreflect.Message { mi := &file_community_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 AddCommentLikesResp.ProtoReflect.Descriptor instead. func (*AddCommentLikesResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{2} } type UpdateCommentLikesReq struct { state protoimpl.MessageState `protogen:"open.v1"` CommentId int64 `protobuf:"varint,1,opt,name=commentId,proto3" json:"commentId,omitempty"` //commentId UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` //userId CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateCommentLikesReq) Reset() { *x = UpdateCommentLikesReq{} mi := &file_community_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateCommentLikesReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateCommentLikesReq) ProtoMessage() {} func (x *UpdateCommentLikesReq) ProtoReflect() protoreflect.Message { mi := &file_community_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 UpdateCommentLikesReq.ProtoReflect.Descriptor instead. func (*UpdateCommentLikesReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{3} } func (x *UpdateCommentLikesReq) GetCommentId() int64 { if x != nil { return x.CommentId } return 0 } func (x *UpdateCommentLikesReq) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *UpdateCommentLikesReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } type UpdateCommentLikesResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateCommentLikesResp) Reset() { *x = UpdateCommentLikesResp{} mi := &file_community_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateCommentLikesResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateCommentLikesResp) ProtoMessage() {} func (x *UpdateCommentLikesResp) ProtoReflect() protoreflect.Message { mi := &file_community_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 UpdateCommentLikesResp.ProtoReflect.Descriptor instead. func (*UpdateCommentLikesResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{4} } type DelCommentLikesReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id UserId *int64 `protobuf:"varint,2,opt,name=userId,proto3,oneof" json:"userId,omitempty"` //userId unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelCommentLikesReq) Reset() { *x = DelCommentLikesReq{} mi := &file_community_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelCommentLikesReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelCommentLikesReq) ProtoMessage() {} func (x *DelCommentLikesReq) ProtoReflect() protoreflect.Message { mi := &file_community_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 DelCommentLikesReq.ProtoReflect.Descriptor instead. func (*DelCommentLikesReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{5} } func (x *DelCommentLikesReq) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *DelCommentLikesReq) GetUserId() int64 { if x != nil && x.UserId != nil { return *x.UserId } return 0 } type DelCommentLikesResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelCommentLikesResp) Reset() { *x = DelCommentLikesResp{} mi := &file_community_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelCommentLikesResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelCommentLikesResp) ProtoMessage() {} func (x *DelCommentLikesResp) ProtoReflect() protoreflect.Message { mi := &file_community_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 DelCommentLikesResp.ProtoReflect.Descriptor instead. func (*DelCommentLikesResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{6} } type GetCommentLikesByIdReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetCommentLikesByIdReq) Reset() { *x = GetCommentLikesByIdReq{} mi := &file_community_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetCommentLikesByIdReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCommentLikesByIdReq) ProtoMessage() {} func (x *GetCommentLikesByIdReq) ProtoReflect() protoreflect.Message { mi := &file_community_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 GetCommentLikesByIdReq.ProtoReflect.Descriptor instead. func (*GetCommentLikesByIdReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{7} } func (x *GetCommentLikesByIdReq) GetId() int64 { if x != nil { return x.Id } return 0 } type GetCommentLikesByIdResp struct { state protoimpl.MessageState `protogen:"open.v1"` CommentLikes *CommentLikes `protobuf:"bytes,1,opt,name=commentLikes,proto3" json:"commentLikes,omitempty"` //commentLikes unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetCommentLikesByIdResp) Reset() { *x = GetCommentLikesByIdResp{} mi := &file_community_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetCommentLikesByIdResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCommentLikesByIdResp) ProtoMessage() {} func (x *GetCommentLikesByIdResp) ProtoReflect() protoreflect.Message { mi := &file_community_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 GetCommentLikesByIdResp.ProtoReflect.Descriptor instead. func (*GetCommentLikesByIdResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{8} } func (x *GetCommentLikesByIdResp) GetCommentLikes() *CommentLikes { if x != nil { return x.CommentLikes } return nil } type SearchCommentLikesReq struct { state protoimpl.MessageState `protogen:"open.v1"` Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` //offset Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` //limit CommentId int64 `protobuf:"varint,3,opt,name=commentId,proto3" json:"commentId,omitempty"` //commentId UserId int64 `protobuf:"varint,4,opt,name=userId,proto3" json:"userId,omitempty"` //userId CreatedAt int64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchCommentLikesReq) Reset() { *x = SearchCommentLikesReq{} mi := &file_community_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchCommentLikesReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchCommentLikesReq) ProtoMessage() {} func (x *SearchCommentLikesReq) ProtoReflect() protoreflect.Message { mi := &file_community_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 SearchCommentLikesReq.ProtoReflect.Descriptor instead. func (*SearchCommentLikesReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{9} } func (x *SearchCommentLikesReq) GetOffset() int64 { if x != nil { return x.Offset } return 0 } func (x *SearchCommentLikesReq) GetLimit() int64 { if x != nil { return x.Limit } return 0 } func (x *SearchCommentLikesReq) GetCommentId() int64 { if x != nil { return x.CommentId } return 0 } func (x *SearchCommentLikesReq) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *SearchCommentLikesReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } type SearchCommentLikesResp struct { state protoimpl.MessageState `protogen:"open.v1"` CommentLikes []*CommentLikes `protobuf:"bytes,1,rep,name=commentLikes,proto3" json:"commentLikes,omitempty"` //commentLikes unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchCommentLikesResp) Reset() { *x = SearchCommentLikesResp{} mi := &file_community_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchCommentLikesResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchCommentLikesResp) ProtoMessage() {} func (x *SearchCommentLikesResp) ProtoReflect() protoreflect.Message { mi := &file_community_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 SearchCommentLikesResp.ProtoReflect.Descriptor instead. func (*SearchCommentLikesResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{10} } func (x *SearchCommentLikesResp) GetCommentLikes() []*CommentLikes { if x != nil { return x.CommentLikes } return nil } // --------------------------------comments-------------------------------- type Comments struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id PostId int64 `protobuf:"varint,2,opt,name=postId,proto3" json:"postId,omitempty"` //postId AuthorId int64 `protobuf:"varint,3,opt,name=authorId,proto3" json:"authorId,omitempty"` //authorId Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` //content LikeCount int64 `protobuf:"varint,5,opt,name=likeCount,proto3" json:"likeCount,omitempty"` //likeCount CreatedAt int64 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt DeletedAt int64 `protobuf:"varint,7,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` //deletedAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Comments) Reset() { *x = Comments{} mi := &file_community_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Comments) String() string { return protoimpl.X.MessageStringOf(x) } func (*Comments) ProtoMessage() {} func (x *Comments) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[11] 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 Comments.ProtoReflect.Descriptor instead. func (*Comments) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{11} } func (x *Comments) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Comments) GetPostId() int64 { if x != nil { return x.PostId } return 0 } func (x *Comments) GetAuthorId() int64 { if x != nil { return x.AuthorId } return 0 } func (x *Comments) GetContent() string { if x != nil { return x.Content } return "" } func (x *Comments) GetLikeCount() int64 { if x != nil { return x.LikeCount } return 0 } func (x *Comments) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *Comments) GetDeletedAt() int64 { if x != nil { return x.DeletedAt } return 0 } type AddCommentsReq struct { state protoimpl.MessageState `protogen:"open.v1"` PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` //postId AuthorId int64 `protobuf:"varint,2,opt,name=authorId,proto3" json:"authorId,omitempty"` //authorId Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` //content LikeCount int64 `protobuf:"varint,4,opt,name=likeCount,proto3" json:"likeCount,omitempty"` //likeCount CreatedAt int64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt DeletedAt int64 `protobuf:"varint,6,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` //deletedAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddCommentsReq) Reset() { *x = AddCommentsReq{} mi := &file_community_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddCommentsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddCommentsReq) ProtoMessage() {} func (x *AddCommentsReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[12] 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 AddCommentsReq.ProtoReflect.Descriptor instead. func (*AddCommentsReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{12} } func (x *AddCommentsReq) GetPostId() int64 { if x != nil { return x.PostId } return 0 } func (x *AddCommentsReq) GetAuthorId() int64 { if x != nil { return x.AuthorId } return 0 } func (x *AddCommentsReq) GetContent() string { if x != nil { return x.Content } return "" } func (x *AddCommentsReq) GetLikeCount() int64 { if x != nil { return x.LikeCount } return 0 } func (x *AddCommentsReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *AddCommentsReq) GetDeletedAt() int64 { if x != nil { return x.DeletedAt } return 0 } type AddCommentsResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddCommentsResp) Reset() { *x = AddCommentsResp{} mi := &file_community_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddCommentsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddCommentsResp) ProtoMessage() {} func (x *AddCommentsResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[13] 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 AddCommentsResp.ProtoReflect.Descriptor instead. func (*AddCommentsResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{13} } type UpdateCommentsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id PostId int64 `protobuf:"varint,2,opt,name=postId,proto3" json:"postId,omitempty"` //postId AuthorId int64 `protobuf:"varint,3,opt,name=authorId,proto3" json:"authorId,omitempty"` //authorId Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` //content LikeCount int64 `protobuf:"varint,5,opt,name=likeCount,proto3" json:"likeCount,omitempty"` //likeCount CreatedAt int64 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt DeletedAt int64 `protobuf:"varint,7,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` //deletedAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateCommentsReq) Reset() { *x = UpdateCommentsReq{} mi := &file_community_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateCommentsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateCommentsReq) ProtoMessage() {} func (x *UpdateCommentsReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[14] 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 UpdateCommentsReq.ProtoReflect.Descriptor instead. func (*UpdateCommentsReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{14} } func (x *UpdateCommentsReq) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *UpdateCommentsReq) GetPostId() int64 { if x != nil { return x.PostId } return 0 } func (x *UpdateCommentsReq) GetAuthorId() int64 { if x != nil { return x.AuthorId } return 0 } func (x *UpdateCommentsReq) GetContent() string { if x != nil { return x.Content } return "" } func (x *UpdateCommentsReq) GetLikeCount() int64 { if x != nil { return x.LikeCount } return 0 } func (x *UpdateCommentsReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *UpdateCommentsReq) GetDeletedAt() int64 { if x != nil { return x.DeletedAt } return 0 } type UpdateCommentsResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateCommentsResp) Reset() { *x = UpdateCommentsResp{} mi := &file_community_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateCommentsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateCommentsResp) ProtoMessage() {} func (x *UpdateCommentsResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[15] 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 UpdateCommentsResp.ProtoReflect.Descriptor instead. func (*UpdateCommentsResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{15} } type DelCommentsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelCommentsReq) Reset() { *x = DelCommentsReq{} mi := &file_community_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelCommentsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelCommentsReq) ProtoMessage() {} func (x *DelCommentsReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[16] 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 DelCommentsReq.ProtoReflect.Descriptor instead. func (*DelCommentsReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{16} } func (x *DelCommentsReq) GetId() int64 { if x != nil { return x.Id } return 0 } type DelCommentsResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelCommentsResp) Reset() { *x = DelCommentsResp{} mi := &file_community_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelCommentsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelCommentsResp) ProtoMessage() {} func (x *DelCommentsResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[17] 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 DelCommentsResp.ProtoReflect.Descriptor instead. func (*DelCommentsResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{17} } type GetCommentsByIdReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetCommentsByIdReq) Reset() { *x = GetCommentsByIdReq{} mi := &file_community_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetCommentsByIdReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCommentsByIdReq) ProtoMessage() {} func (x *GetCommentsByIdReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[18] 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 GetCommentsByIdReq.ProtoReflect.Descriptor instead. func (*GetCommentsByIdReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{18} } func (x *GetCommentsByIdReq) GetId() int64 { if x != nil { return x.Id } return 0 } type GetCommentsByIdResp struct { state protoimpl.MessageState `protogen:"open.v1"` Comments *Comments `protobuf:"bytes,1,opt,name=comments,proto3" json:"comments,omitempty"` //comments unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetCommentsByIdResp) Reset() { *x = GetCommentsByIdResp{} mi := &file_community_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetCommentsByIdResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCommentsByIdResp) ProtoMessage() {} func (x *GetCommentsByIdResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[19] 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 GetCommentsByIdResp.ProtoReflect.Descriptor instead. func (*GetCommentsByIdResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{19} } func (x *GetCommentsByIdResp) GetComments() *Comments { if x != nil { return x.Comments } return nil } type SearchCommentsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` //offset Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` //limit Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` //id PostId int64 `protobuf:"varint,4,opt,name=postId,proto3" json:"postId,omitempty"` //postId AuthorId int64 `protobuf:"varint,5,opt,name=authorId,proto3" json:"authorId,omitempty"` //authorId Content *string `protobuf:"bytes,6,opt,name=content,proto3,oneof" json:"content,omitempty"` //content LikeCount *int64 `protobuf:"varint,7,opt,name=likeCount,proto3,oneof" json:"likeCount,omitempty"` //likeCount CreatedAt int64 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt DeletedAt int64 `protobuf:"varint,9,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` //deletedAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchCommentsReq) Reset() { *x = SearchCommentsReq{} mi := &file_community_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchCommentsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchCommentsReq) ProtoMessage() {} func (x *SearchCommentsReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[20] 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 SearchCommentsReq.ProtoReflect.Descriptor instead. func (*SearchCommentsReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{20} } func (x *SearchCommentsReq) GetOffset() int64 { if x != nil { return x.Offset } return 0 } func (x *SearchCommentsReq) GetLimit() int64 { if x != nil { return x.Limit } return 0 } func (x *SearchCommentsReq) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *SearchCommentsReq) GetPostId() int64 { if x != nil { return x.PostId } return 0 } func (x *SearchCommentsReq) GetAuthorId() int64 { if x != nil { return x.AuthorId } return 0 } func (x *SearchCommentsReq) GetContent() string { if x != nil && x.Content != nil { return *x.Content } return "" } func (x *SearchCommentsReq) GetLikeCount() int64 { if x != nil && x.LikeCount != nil { return *x.LikeCount } return 0 } func (x *SearchCommentsReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *SearchCommentsReq) GetDeletedAt() int64 { if x != nil { return x.DeletedAt } return 0 } type SearchCommentsResp struct { state protoimpl.MessageState `protogen:"open.v1"` Comments []*Comments `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"` //comments unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchCommentsResp) Reset() { *x = SearchCommentsResp{} mi := &file_community_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchCommentsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchCommentsResp) ProtoMessage() {} func (x *SearchCommentsResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[21] 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 SearchCommentsResp.ProtoReflect.Descriptor instead. func (*SearchCommentsResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{21} } func (x *SearchCommentsResp) GetComments() []*Comments { if x != nil { return x.Comments } return nil } // --------------------------------postLikes-------------------------------- type PostLikes struct { state protoimpl.MessageState `protogen:"open.v1"` PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` //postId UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` //userId CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PostLikes) Reset() { *x = PostLikes{} mi := &file_community_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PostLikes) String() string { return protoimpl.X.MessageStringOf(x) } func (*PostLikes) ProtoMessage() {} func (x *PostLikes) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[22] 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 PostLikes.ProtoReflect.Descriptor instead. func (*PostLikes) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{22} } func (x *PostLikes) GetPostId() int64 { if x != nil { return x.PostId } return 0 } func (x *PostLikes) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *PostLikes) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } type AddPostLikesReq struct { state protoimpl.MessageState `protogen:"open.v1"` PostId int64 `protobuf:"varint,1,opt,name=postId,proto3" json:"postId,omitempty"` //postId UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` //userId CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddPostLikesReq) Reset() { *x = AddPostLikesReq{} mi := &file_community_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddPostLikesReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddPostLikesReq) ProtoMessage() {} func (x *AddPostLikesReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[23] 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 AddPostLikesReq.ProtoReflect.Descriptor instead. func (*AddPostLikesReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{23} } func (x *AddPostLikesReq) GetPostId() int64 { if x != nil { return x.PostId } return 0 } func (x *AddPostLikesReq) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *AddPostLikesReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } type AddPostLikesResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddPostLikesResp) Reset() { *x = AddPostLikesResp{} mi := &file_community_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddPostLikesResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddPostLikesResp) ProtoMessage() {} func (x *AddPostLikesResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[24] 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 AddPostLikesResp.ProtoReflect.Descriptor instead. func (*AddPostLikesResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{24} } type UpdatePostLikesReq struct { state protoimpl.MessageState `protogen:"open.v1"` PostId *int64 `protobuf:"varint,1,opt,name=postId,proto3,oneof" json:"postId,omitempty"` //postId UserId *int64 `protobuf:"varint,2,opt,name=userId,proto3,oneof" json:"userId,omitempty"` //userId CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdatePostLikesReq) Reset() { *x = UpdatePostLikesReq{} mi := &file_community_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdatePostLikesReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdatePostLikesReq) ProtoMessage() {} func (x *UpdatePostLikesReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[25] 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 UpdatePostLikesReq.ProtoReflect.Descriptor instead. func (*UpdatePostLikesReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{25} } func (x *UpdatePostLikesReq) GetPostId() int64 { if x != nil && x.PostId != nil { return *x.PostId } return 0 } func (x *UpdatePostLikesReq) GetUserId() int64 { if x != nil && x.UserId != nil { return *x.UserId } return 0 } func (x *UpdatePostLikesReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } type UpdatePostLikesResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdatePostLikesResp) Reset() { *x = UpdatePostLikesResp{} mi := &file_community_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdatePostLikesResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdatePostLikesResp) ProtoMessage() {} func (x *UpdatePostLikesResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[26] 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 UpdatePostLikesResp.ProtoReflect.Descriptor instead. func (*UpdatePostLikesResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{26} } type DelPostLikesReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id UserId *int64 `protobuf:"varint,2,opt,name=userId,proto3,oneof" json:"userId,omitempty"` //userId unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelPostLikesReq) Reset() { *x = DelPostLikesReq{} mi := &file_community_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelPostLikesReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelPostLikesReq) ProtoMessage() {} func (x *DelPostLikesReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[27] 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 DelPostLikesReq.ProtoReflect.Descriptor instead. func (*DelPostLikesReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{27} } func (x *DelPostLikesReq) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *DelPostLikesReq) GetUserId() int64 { if x != nil && x.UserId != nil { return *x.UserId } return 0 } type DelPostLikesResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelPostLikesResp) Reset() { *x = DelPostLikesResp{} mi := &file_community_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelPostLikesResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelPostLikesResp) ProtoMessage() {} func (x *DelPostLikesResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[28] 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 DelPostLikesResp.ProtoReflect.Descriptor instead. func (*DelPostLikesResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{28} } type GetPostLikesByIdReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetPostLikesByIdReq) Reset() { *x = GetPostLikesByIdReq{} mi := &file_community_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetPostLikesByIdReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetPostLikesByIdReq) ProtoMessage() {} func (x *GetPostLikesByIdReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[29] 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 GetPostLikesByIdReq.ProtoReflect.Descriptor instead. func (*GetPostLikesByIdReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{29} } func (x *GetPostLikesByIdReq) GetId() int64 { if x != nil { return x.Id } return 0 } type GetPostLikesByIdResp struct { state protoimpl.MessageState `protogen:"open.v1"` PostLikes *PostLikes `protobuf:"bytes,1,opt,name=postLikes,proto3" json:"postLikes,omitempty"` //postLikes unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetPostLikesByIdResp) Reset() { *x = GetPostLikesByIdResp{} mi := &file_community_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetPostLikesByIdResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetPostLikesByIdResp) ProtoMessage() {} func (x *GetPostLikesByIdResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[30] 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 GetPostLikesByIdResp.ProtoReflect.Descriptor instead. func (*GetPostLikesByIdResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{30} } func (x *GetPostLikesByIdResp) GetPostLikes() *PostLikes { if x != nil { return x.PostLikes } return nil } type SearchPostLikesReq struct { state protoimpl.MessageState `protogen:"open.v1"` Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` //offset Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` //limit PostId *int64 `protobuf:"varint,3,opt,name=postId,proto3,oneof" json:"postId,omitempty"` //postId UserId *int64 `protobuf:"varint,4,opt,name=userId,proto3,oneof" json:"userId,omitempty"` //userId CreatedAt int64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchPostLikesReq) Reset() { *x = SearchPostLikesReq{} mi := &file_community_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchPostLikesReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchPostLikesReq) ProtoMessage() {} func (x *SearchPostLikesReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[31] 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 SearchPostLikesReq.ProtoReflect.Descriptor instead. func (*SearchPostLikesReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{31} } func (x *SearchPostLikesReq) GetOffset() int64 { if x != nil { return x.Offset } return 0 } func (x *SearchPostLikesReq) GetLimit() int64 { if x != nil { return x.Limit } return 0 } func (x *SearchPostLikesReq) GetPostId() int64 { if x != nil && x.PostId != nil { return *x.PostId } return 0 } func (x *SearchPostLikesReq) GetUserId() int64 { if x != nil && x.UserId != nil { return *x.UserId } return 0 } func (x *SearchPostLikesReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } type SearchPostLikesResp struct { state protoimpl.MessageState `protogen:"open.v1"` PostLikes []*PostLikes `protobuf:"bytes,1,rep,name=postLikes,proto3" json:"postLikes,omitempty"` //postLikes unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchPostLikesResp) Reset() { *x = SearchPostLikesResp{} mi := &file_community_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchPostLikesResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchPostLikesResp) ProtoMessage() {} func (x *SearchPostLikesResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[32] 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 SearchPostLikesResp.ProtoReflect.Descriptor instead. func (*SearchPostLikesResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{32} } func (x *SearchPostLikesResp) GetPostLikes() []*PostLikes { if x != nil { return x.PostLikes } return nil } // --------------------------------posts-------------------------------- type Posts struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id AuthorId int64 `protobuf:"varint,2,opt,name=authorId,proto3" json:"authorId,omitempty"` //authorId AuthorRole string `protobuf:"bytes,3,opt,name=authorRole,proto3" json:"authorRole,omitempty"` //authorRole Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` //title Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` //content Images []string `protobuf:"bytes,6,rep,name=images,proto3" json:"images,omitempty"` //images Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` //tags LinkedOrderId int64 `protobuf:"varint,8,opt,name=linkedOrderId,proto3" json:"linkedOrderId,omitempty"` //linkedOrderId QuotedPostId int64 `protobuf:"varint,9,opt,name=quotedPostId,proto3" json:"quotedPostId,omitempty"` //quotedPostId LikeCount int64 `protobuf:"varint,10,opt,name=likeCount,proto3" json:"likeCount,omitempty"` //likeCount CommentCount int64 `protobuf:"varint,11,opt,name=commentCount,proto3" json:"commentCount,omitempty"` //commentCount Pinned bool `protobuf:"varint,12,opt,name=pinned,proto3" json:"pinned,omitempty"` //pinned SearchText string `protobuf:"bytes,13,opt,name=searchText,proto3" json:"searchText,omitempty"` //searchText CreatedAt int64 `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt UpdatedAt int64 `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt DeletedAt int64 `protobuf:"varint,16,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` //deletedAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Posts) Reset() { *x = Posts{} mi := &file_community_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Posts) String() string { return protoimpl.X.MessageStringOf(x) } func (*Posts) ProtoMessage() {} func (x *Posts) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[33] 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 Posts.ProtoReflect.Descriptor instead. func (*Posts) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{33} } func (x *Posts) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Posts) GetAuthorId() int64 { if x != nil { return x.AuthorId } return 0 } func (x *Posts) GetAuthorRole() string { if x != nil { return x.AuthorRole } return "" } func (x *Posts) GetTitle() string { if x != nil { return x.Title } return "" } func (x *Posts) GetContent() string { if x != nil { return x.Content } return "" } func (x *Posts) GetImages() []string { if x != nil { return x.Images } return nil } func (x *Posts) GetTags() []string { if x != nil { return x.Tags } return nil } func (x *Posts) GetLinkedOrderId() int64 { if x != nil { return x.LinkedOrderId } return 0 } func (x *Posts) GetQuotedPostId() int64 { if x != nil { return x.QuotedPostId } return 0 } func (x *Posts) GetLikeCount() int64 { if x != nil { return x.LikeCount } return 0 } func (x *Posts) GetCommentCount() int64 { if x != nil { return x.CommentCount } return 0 } func (x *Posts) GetPinned() bool { if x != nil { return x.Pinned } return false } func (x *Posts) GetSearchText() string { if x != nil { return x.SearchText } return "" } func (x *Posts) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *Posts) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } func (x *Posts) GetDeletedAt() int64 { if x != nil { return x.DeletedAt } return 0 } type AddPostsReq struct { state protoimpl.MessageState `protogen:"open.v1"` AuthorId int64 `protobuf:"varint,1,opt,name=authorId,proto3" json:"authorId,omitempty"` //authorId AuthorRole string `protobuf:"bytes,2,opt,name=authorRole,proto3" json:"authorRole,omitempty"` //authorRole Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` //title Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` //content Images []string `protobuf:"bytes,5,rep,name=images,proto3" json:"images,omitempty"` //images Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` //tags LinkedOrderId int64 `protobuf:"varint,7,opt,name=linkedOrderId,proto3" json:"linkedOrderId,omitempty"` //linkedOrderId QuotedPostId int64 `protobuf:"varint,8,opt,name=quotedPostId,proto3" json:"quotedPostId,omitempty"` //quotedPostId LikeCount int64 `protobuf:"varint,9,opt,name=likeCount,proto3" json:"likeCount,omitempty"` //likeCount CommentCount int64 `protobuf:"varint,10,opt,name=commentCount,proto3" json:"commentCount,omitempty"` //commentCount Pinned bool `protobuf:"varint,11,opt,name=pinned,proto3" json:"pinned,omitempty"` //pinned SearchText string `protobuf:"bytes,12,opt,name=searchText,proto3" json:"searchText,omitempty"` //searchText CreatedAt int64 `protobuf:"varint,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt UpdatedAt int64 `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt DeletedAt int64 `protobuf:"varint,15,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` //deletedAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddPostsReq) Reset() { *x = AddPostsReq{} mi := &file_community_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddPostsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddPostsReq) ProtoMessage() {} func (x *AddPostsReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[34] 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 AddPostsReq.ProtoReflect.Descriptor instead. func (*AddPostsReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{34} } func (x *AddPostsReq) GetAuthorId() int64 { if x != nil { return x.AuthorId } return 0 } func (x *AddPostsReq) GetAuthorRole() string { if x != nil { return x.AuthorRole } return "" } func (x *AddPostsReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *AddPostsReq) GetContent() string { if x != nil { return x.Content } return "" } func (x *AddPostsReq) GetImages() []string { if x != nil { return x.Images } return nil } func (x *AddPostsReq) GetTags() []string { if x != nil { return x.Tags } return nil } func (x *AddPostsReq) GetLinkedOrderId() int64 { if x != nil { return x.LinkedOrderId } return 0 } func (x *AddPostsReq) GetQuotedPostId() int64 { if x != nil { return x.QuotedPostId } return 0 } func (x *AddPostsReq) GetLikeCount() int64 { if x != nil { return x.LikeCount } return 0 } func (x *AddPostsReq) GetCommentCount() int64 { if x != nil { return x.CommentCount } return 0 } func (x *AddPostsReq) GetPinned() bool { if x != nil { return x.Pinned } return false } func (x *AddPostsReq) GetSearchText() string { if x != nil { return x.SearchText } return "" } func (x *AddPostsReq) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *AddPostsReq) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } func (x *AddPostsReq) GetDeletedAt() int64 { if x != nil { return x.DeletedAt } return 0 } type AddPostsResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddPostsResp) Reset() { *x = AddPostsResp{} mi := &file_community_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddPostsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddPostsResp) ProtoMessage() {} func (x *AddPostsResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[35] 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 AddPostsResp.ProtoReflect.Descriptor instead. func (*AddPostsResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{35} } type UpdatePostsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id AuthorId *int64 `protobuf:"varint,2,opt,name=authorId,proto3,oneof" json:"authorId,omitempty"` //authorId AuthorRole *string `protobuf:"bytes,3,opt,name=authorRole,proto3,oneof" json:"authorRole,omitempty"` //authorRole Title *string `protobuf:"bytes,4,opt,name=title,proto3,oneof" json:"title,omitempty"` //title Content *string `protobuf:"bytes,5,opt,name=content,proto3,oneof" json:"content,omitempty"` //content Images []string `protobuf:"bytes,6,rep,name=images,proto3" json:"images,omitempty"` //images Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` //tags LinkedOrderId *int64 `protobuf:"varint,8,opt,name=linkedOrderId,proto3,oneof" json:"linkedOrderId,omitempty"` //linkedOrderId QuotedPostId *int64 `protobuf:"varint,9,opt,name=quotedPostId,proto3,oneof" json:"quotedPostId,omitempty"` //quotedPostId LikeCount *int64 `protobuf:"varint,10,opt,name=likeCount,proto3,oneof" json:"likeCount,omitempty"` //likeCount CommentCount *int64 `protobuf:"varint,11,opt,name=commentCount,proto3,oneof" json:"commentCount,omitempty"` //commentCount Pinned *bool `protobuf:"varint,12,opt,name=pinned,proto3,oneof" json:"pinned,omitempty"` //pinned SearchText *string `protobuf:"bytes,13,opt,name=searchText,proto3,oneof" json:"searchText,omitempty"` //searchText CreatedAt *int64 `protobuf:"varint,14,opt,name=createdAt,proto3,oneof" json:"createdAt,omitempty"` //createdAt UpdatedAt *int64 `protobuf:"varint,15,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` //updatedAt DeletedAt *int64 `protobuf:"varint,16,opt,name=deletedAt,proto3,oneof" json:"deletedAt,omitempty"` //deletedAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdatePostsReq) Reset() { *x = UpdatePostsReq{} mi := &file_community_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdatePostsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdatePostsReq) ProtoMessage() {} func (x *UpdatePostsReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[36] 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 UpdatePostsReq.ProtoReflect.Descriptor instead. func (*UpdatePostsReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{36} } func (x *UpdatePostsReq) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *UpdatePostsReq) GetAuthorId() int64 { if x != nil && x.AuthorId != nil { return *x.AuthorId } return 0 } func (x *UpdatePostsReq) GetAuthorRole() string { if x != nil && x.AuthorRole != nil { return *x.AuthorRole } return "" } func (x *UpdatePostsReq) GetTitle() string { if x != nil && x.Title != nil { return *x.Title } return "" } func (x *UpdatePostsReq) GetContent() string { if x != nil && x.Content != nil { return *x.Content } return "" } func (x *UpdatePostsReq) GetImages() []string { if x != nil { return x.Images } return nil } func (x *UpdatePostsReq) GetTags() []string { if x != nil { return x.Tags } return nil } func (x *UpdatePostsReq) GetLinkedOrderId() int64 { if x != nil && x.LinkedOrderId != nil { return *x.LinkedOrderId } return 0 } func (x *UpdatePostsReq) GetQuotedPostId() int64 { if x != nil && x.QuotedPostId != nil { return *x.QuotedPostId } return 0 } func (x *UpdatePostsReq) GetLikeCount() int64 { if x != nil && x.LikeCount != nil { return *x.LikeCount } return 0 } func (x *UpdatePostsReq) GetCommentCount() int64 { if x != nil && x.CommentCount != nil { return *x.CommentCount } return 0 } func (x *UpdatePostsReq) GetPinned() bool { if x != nil && x.Pinned != nil { return *x.Pinned } return false } func (x *UpdatePostsReq) GetSearchText() string { if x != nil && x.SearchText != nil { return *x.SearchText } return "" } func (x *UpdatePostsReq) GetCreatedAt() int64 { if x != nil && x.CreatedAt != nil { return *x.CreatedAt } return 0 } func (x *UpdatePostsReq) GetUpdatedAt() int64 { if x != nil && x.UpdatedAt != nil { return *x.UpdatedAt } return 0 } func (x *UpdatePostsReq) GetDeletedAt() int64 { if x != nil && x.DeletedAt != nil { return *x.DeletedAt } return 0 } type UpdatePostsResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdatePostsResp) Reset() { *x = UpdatePostsResp{} mi := &file_community_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdatePostsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdatePostsResp) ProtoMessage() {} func (x *UpdatePostsResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[37] 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 UpdatePostsResp.ProtoReflect.Descriptor instead. func (*UpdatePostsResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{37} } type DelPostsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelPostsReq) Reset() { *x = DelPostsReq{} mi := &file_community_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelPostsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelPostsReq) ProtoMessage() {} func (x *DelPostsReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[38] 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 DelPostsReq.ProtoReflect.Descriptor instead. func (*DelPostsReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{38} } func (x *DelPostsReq) GetId() int64 { if x != nil { return x.Id } return 0 } type DelPostsResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelPostsResp) Reset() { *x = DelPostsResp{} mi := &file_community_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelPostsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelPostsResp) ProtoMessage() {} func (x *DelPostsResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[39] 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 DelPostsResp.ProtoReflect.Descriptor instead. func (*DelPostsResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{39} } type GetPostsByIdReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetPostsByIdReq) Reset() { *x = GetPostsByIdReq{} mi := &file_community_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetPostsByIdReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetPostsByIdReq) ProtoMessage() {} func (x *GetPostsByIdReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[40] 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 GetPostsByIdReq.ProtoReflect.Descriptor instead. func (*GetPostsByIdReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{40} } func (x *GetPostsByIdReq) GetId() int64 { if x != nil { return x.Id } return 0 } type GetPostsByIdResp struct { state protoimpl.MessageState `protogen:"open.v1"` Posts *Posts `protobuf:"bytes,1,opt,name=posts,proto3" json:"posts,omitempty"` //posts unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetPostsByIdResp) Reset() { *x = GetPostsByIdResp{} mi := &file_community_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetPostsByIdResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetPostsByIdResp) ProtoMessage() {} func (x *GetPostsByIdResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[41] 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 GetPostsByIdResp.ProtoReflect.Descriptor instead. func (*GetPostsByIdResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{41} } func (x *GetPostsByIdResp) GetPosts() *Posts { if x != nil { return x.Posts } return nil } type SearchPostsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` //offset Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` //limit Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` //id AuthorId *int64 `protobuf:"varint,4,opt,name=authorId,proto3,oneof" json:"authorId,omitempty"` //authorId AuthorRole *string `protobuf:"bytes,5,opt,name=authorRole,proto3,oneof" json:"authorRole,omitempty"` //authorRole Title *string `protobuf:"bytes,6,opt,name=title,proto3,oneof" json:"title,omitempty"` //title Content *string `protobuf:"bytes,7,opt,name=content,proto3,oneof" json:"content,omitempty"` //content Images []string `protobuf:"bytes,8,rep,name=images,proto3" json:"images,omitempty"` //images Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` //tags LinkedOrderId *int64 `protobuf:"varint,10,opt,name=linkedOrderId,proto3,oneof" json:"linkedOrderId,omitempty"` //linkedOrderId QuotedPostId *int64 `protobuf:"varint,11,opt,name=quotedPostId,proto3,oneof" json:"quotedPostId,omitempty"` //quotedPostId LikeCount *int64 `protobuf:"varint,12,opt,name=likeCount,proto3,oneof" json:"likeCount,omitempty"` //likeCount CommentCount *int64 `protobuf:"varint,13,opt,name=commentCount,proto3,oneof" json:"commentCount,omitempty"` //commentCount Pinned *bool `protobuf:"varint,14,opt,name=pinned,proto3,oneof" json:"pinned,omitempty"` //pinned SearchText *string `protobuf:"bytes,15,opt,name=searchText,proto3,oneof" json:"searchText,omitempty"` //searchText CreatedAt *int64 `protobuf:"varint,16,opt,name=createdAt,proto3,oneof" json:"createdAt,omitempty"` //createdAt UpdatedAt *int64 `protobuf:"varint,17,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` //updatedAt DeletedAt *int64 `protobuf:"varint,18,opt,name=deletedAt,proto3,oneof" json:"deletedAt,omitempty"` //deletedAt unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchPostsReq) Reset() { *x = SearchPostsReq{} mi := &file_community_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchPostsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchPostsReq) ProtoMessage() {} func (x *SearchPostsReq) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[42] 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 SearchPostsReq.ProtoReflect.Descriptor instead. func (*SearchPostsReq) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{42} } func (x *SearchPostsReq) GetOffset() int64 { if x != nil { return x.Offset } return 0 } func (x *SearchPostsReq) GetLimit() int64 { if x != nil { return x.Limit } return 0 } func (x *SearchPostsReq) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *SearchPostsReq) GetAuthorId() int64 { if x != nil && x.AuthorId != nil { return *x.AuthorId } return 0 } func (x *SearchPostsReq) GetAuthorRole() string { if x != nil && x.AuthorRole != nil { return *x.AuthorRole } return "" } func (x *SearchPostsReq) GetTitle() string { if x != nil && x.Title != nil { return *x.Title } return "" } func (x *SearchPostsReq) GetContent() string { if x != nil && x.Content != nil { return *x.Content } return "" } func (x *SearchPostsReq) GetImages() []string { if x != nil { return x.Images } return nil } func (x *SearchPostsReq) GetTags() []string { if x != nil { return x.Tags } return nil } func (x *SearchPostsReq) GetLinkedOrderId() int64 { if x != nil && x.LinkedOrderId != nil { return *x.LinkedOrderId } return 0 } func (x *SearchPostsReq) GetQuotedPostId() int64 { if x != nil && x.QuotedPostId != nil { return *x.QuotedPostId } return 0 } func (x *SearchPostsReq) GetLikeCount() int64 { if x != nil && x.LikeCount != nil { return *x.LikeCount } return 0 } func (x *SearchPostsReq) GetCommentCount() int64 { if x != nil && x.CommentCount != nil { return *x.CommentCount } return 0 } func (x *SearchPostsReq) GetPinned() bool { if x != nil && x.Pinned != nil { return *x.Pinned } return false } func (x *SearchPostsReq) GetSearchText() string { if x != nil && x.SearchText != nil { return *x.SearchText } return "" } func (x *SearchPostsReq) GetCreatedAt() int64 { if x != nil && x.CreatedAt != nil { return *x.CreatedAt } return 0 } func (x *SearchPostsReq) GetUpdatedAt() int64 { if x != nil && x.UpdatedAt != nil { return *x.UpdatedAt } return 0 } func (x *SearchPostsReq) GetDeletedAt() int64 { if x != nil && x.DeletedAt != nil { return *x.DeletedAt } return 0 } type SearchPostsResp struct { state protoimpl.MessageState `protogen:"open.v1"` Posts []*Posts `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"` //posts unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchPostsResp) Reset() { *x = SearchPostsResp{} mi := &file_community_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchPostsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchPostsResp) ProtoMessage() {} func (x *SearchPostsResp) ProtoReflect() protoreflect.Message { mi := &file_community_proto_msgTypes[43] 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 SearchPostsResp.ProtoReflect.Descriptor instead. func (*SearchPostsResp) Descriptor() ([]byte, []int) { return file_community_proto_rawDescGZIP(), []int{43} } func (x *SearchPostsResp) GetPosts() []*Posts { if x != nil { return x.Posts } return nil } var File_community_proto protoreflect.FileDescriptor const file_community_proto_rawDesc = "" + "\n" + "\x0fcommunity.proto\x12\x02pb\"b\n" + "\fCommentLikes\x12\x1c\n" + "\tcommentId\x18\x01 \x01(\x03R\tcommentId\x12\x16\n" + "\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x1c\n" + "\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\"h\n" + "\x12AddCommentLikesReq\x12\x1c\n" + "\tcommentId\x18\x01 \x01(\x03R\tcommentId\x12\x16\n" + "\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x1c\n" + "\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\"\x15\n" + "\x13AddCommentLikesResp\"k\n" + "\x15UpdateCommentLikesReq\x12\x1c\n" + "\tcommentId\x18\x01 \x01(\x03R\tcommentId\x12\x16\n" + "\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x1c\n" + "\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\"\x18\n" + "\x16UpdateCommentLikesResp\"L\n" + "\x12DelCommentLikesReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1b\n" + "\x06userId\x18\x02 \x01(\x03H\x00R\x06userId\x88\x01\x01B\t\n" + "\a_userId\"\x15\n" + "\x13DelCommentLikesResp\"(\n" + "\x16GetCommentLikesByIdReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"O\n" + "\x17GetCommentLikesByIdResp\x124\n" + "\fcommentLikes\x18\x01 \x01(\v2\x10.pb.CommentLikesR\fcommentLikes\"\x99\x01\n" + "\x15SearchCommentLikesReq\x12\x16\n" + "\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x14\n" + "\x05limit\x18\x02 \x01(\x03R\x05limit\x12\x1c\n" + "\tcommentId\x18\x03 \x01(\x03R\tcommentId\x12\x16\n" + "\x06userId\x18\x04 \x01(\x03R\x06userId\x12\x1c\n" + "\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAt\"N\n" + "\x16SearchCommentLikesResp\x124\n" + "\fcommentLikes\x18\x01 \x03(\v2\x10.pb.CommentLikesR\fcommentLikes\"\xc2\x01\n" + "\bComments\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" + "\x06postId\x18\x02 \x01(\x03R\x06postId\x12\x1a\n" + "\bauthorId\x18\x03 \x01(\x03R\bauthorId\x12\x18\n" + "\acontent\x18\x04 \x01(\tR\acontent\x12\x1c\n" + "\tlikeCount\x18\x05 \x01(\x03R\tlikeCount\x12\x1c\n" + "\tcreatedAt\x18\x06 \x01(\x03R\tcreatedAt\x12\x1c\n" + "\tdeletedAt\x18\a \x01(\x03R\tdeletedAt\"\xb8\x01\n" + "\x0eAddCommentsReq\x12\x16\n" + "\x06postId\x18\x01 \x01(\x03R\x06postId\x12\x1a\n" + "\bauthorId\x18\x02 \x01(\x03R\bauthorId\x12\x18\n" + "\acontent\x18\x03 \x01(\tR\acontent\x12\x1c\n" + "\tlikeCount\x18\x04 \x01(\x03R\tlikeCount\x12\x1c\n" + "\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAt\x12\x1c\n" + "\tdeletedAt\x18\x06 \x01(\x03R\tdeletedAt\"\x11\n" + "\x0fAddCommentsResp\"\xcb\x01\n" + "\x11UpdateCommentsReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" + "\x06postId\x18\x02 \x01(\x03R\x06postId\x12\x1a\n" + "\bauthorId\x18\x03 \x01(\x03R\bauthorId\x12\x18\n" + "\acontent\x18\x04 \x01(\tR\acontent\x12\x1c\n" + "\tlikeCount\x18\x05 \x01(\x03R\tlikeCount\x12\x1c\n" + "\tcreatedAt\x18\x06 \x01(\x03R\tcreatedAt\x12\x1c\n" + "\tdeletedAt\x18\a \x01(\x03R\tdeletedAt\"\x14\n" + "\x12UpdateCommentsResp\" \n" + "\x0eDelCommentsReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"\x11\n" + "\x0fDelCommentsResp\"$\n" + "\x12GetCommentsByIdReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"?\n" + "\x13GetCommentsByIdResp\x12(\n" + "\bcomments\x18\x01 \x01(\v2\f.pb.CommentsR\bcomments\"\x9d\x02\n" + "\x11SearchCommentsReq\x12\x16\n" + "\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x14\n" + "\x05limit\x18\x02 \x01(\x03R\x05limit\x12\x0e\n" + "\x02id\x18\x03 \x01(\x03R\x02id\x12\x16\n" + "\x06postId\x18\x04 \x01(\x03R\x06postId\x12\x1a\n" + "\bauthorId\x18\x05 \x01(\x03R\bauthorId\x12\x1d\n" + "\acontent\x18\x06 \x01(\tH\x00R\acontent\x88\x01\x01\x12!\n" + "\tlikeCount\x18\a \x01(\x03H\x01R\tlikeCount\x88\x01\x01\x12\x1c\n" + "\tcreatedAt\x18\b \x01(\x03R\tcreatedAt\x12\x1c\n" + "\tdeletedAt\x18\t \x01(\x03R\tdeletedAtB\n" + "\n" + "\b_contentB\f\n" + "\n" + "_likeCount\">\n" + "\x12SearchCommentsResp\x12(\n" + "\bcomments\x18\x01 \x03(\v2\f.pb.CommentsR\bcomments\"Y\n" + "\tPostLikes\x12\x16\n" + "\x06postId\x18\x01 \x01(\x03R\x06postId\x12\x16\n" + "\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x1c\n" + "\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\"_\n" + "\x0fAddPostLikesReq\x12\x16\n" + "\x06postId\x18\x01 \x01(\x03R\x06postId\x12\x16\n" + "\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x1c\n" + "\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\"\x12\n" + "\x10AddPostLikesResp\"\x82\x01\n" + "\x12UpdatePostLikesReq\x12\x1b\n" + "\x06postId\x18\x01 \x01(\x03H\x00R\x06postId\x88\x01\x01\x12\x1b\n" + "\x06userId\x18\x02 \x01(\x03H\x01R\x06userId\x88\x01\x01\x12\x1c\n" + "\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAtB\t\n" + "\a_postIdB\t\n" + "\a_userId\"\x15\n" + "\x13UpdatePostLikesResp\"I\n" + "\x0fDelPostLikesReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1b\n" + "\x06userId\x18\x02 \x01(\x03H\x00R\x06userId\x88\x01\x01B\t\n" + "\a_userId\"\x12\n" + "\x10DelPostLikesResp\"%\n" + "\x13GetPostLikesByIdReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"C\n" + "\x14GetPostLikesByIdResp\x12+\n" + "\tpostLikes\x18\x01 \x01(\v2\r.pb.PostLikesR\tpostLikes\"\xb0\x01\n" + "\x12SearchPostLikesReq\x12\x16\n" + "\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x14\n" + "\x05limit\x18\x02 \x01(\x03R\x05limit\x12\x1b\n" + "\x06postId\x18\x03 \x01(\x03H\x00R\x06postId\x88\x01\x01\x12\x1b\n" + "\x06userId\x18\x04 \x01(\x03H\x01R\x06userId\x88\x01\x01\x12\x1c\n" + "\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAtB\t\n" + "\a_postIdB\t\n" + "\a_userId\"B\n" + "\x13SearchPostLikesResp\x12+\n" + "\tpostLikes\x18\x01 \x03(\v2\r.pb.PostLikesR\tpostLikes\"\xcd\x03\n" + "\x05Posts\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" + "\bauthorId\x18\x02 \x01(\x03R\bauthorId\x12\x1e\n" + "\n" + "authorRole\x18\x03 \x01(\tR\n" + "authorRole\x12\x14\n" + "\x05title\x18\x04 \x01(\tR\x05title\x12\x18\n" + "\acontent\x18\x05 \x01(\tR\acontent\x12\x16\n" + "\x06images\x18\x06 \x03(\tR\x06images\x12\x12\n" + "\x04tags\x18\a \x03(\tR\x04tags\x12$\n" + "\rlinkedOrderId\x18\b \x01(\x03R\rlinkedOrderId\x12\"\n" + "\fquotedPostId\x18\t \x01(\x03R\fquotedPostId\x12\x1c\n" + "\tlikeCount\x18\n" + " \x01(\x03R\tlikeCount\x12\"\n" + "\fcommentCount\x18\v \x01(\x03R\fcommentCount\x12\x16\n" + "\x06pinned\x18\f \x01(\bR\x06pinned\x12\x1e\n" + "\n" + "searchText\x18\r \x01(\tR\n" + "searchText\x12\x1c\n" + "\tcreatedAt\x18\x0e \x01(\x03R\tcreatedAt\x12\x1c\n" + "\tupdatedAt\x18\x0f \x01(\x03R\tupdatedAt\x12\x1c\n" + "\tdeletedAt\x18\x10 \x01(\x03R\tdeletedAt\"\xc3\x03\n" + "\vAddPostsReq\x12\x1a\n" + "\bauthorId\x18\x01 \x01(\x03R\bauthorId\x12\x1e\n" + "\n" + "authorRole\x18\x02 \x01(\tR\n" + "authorRole\x12\x14\n" + "\x05title\x18\x03 \x01(\tR\x05title\x12\x18\n" + "\acontent\x18\x04 \x01(\tR\acontent\x12\x16\n" + "\x06images\x18\x05 \x03(\tR\x06images\x12\x12\n" + "\x04tags\x18\x06 \x03(\tR\x04tags\x12$\n" + "\rlinkedOrderId\x18\a \x01(\x03R\rlinkedOrderId\x12\"\n" + "\fquotedPostId\x18\b \x01(\x03R\fquotedPostId\x12\x1c\n" + "\tlikeCount\x18\t \x01(\x03R\tlikeCount\x12\"\n" + "\fcommentCount\x18\n" + " \x01(\x03R\fcommentCount\x12\x16\n" + "\x06pinned\x18\v \x01(\bR\x06pinned\x12\x1e\n" + "\n" + "searchText\x18\f \x01(\tR\n" + "searchText\x12\x1c\n" + "\tcreatedAt\x18\r \x01(\x03R\tcreatedAt\x12\x1c\n" + "\tupdatedAt\x18\x0e \x01(\x03R\tupdatedAt\x12\x1c\n" + "\tdeletedAt\x18\x0f \x01(\x03R\tdeletedAt\"\x0e\n" + "\fAddPostsResp\"\xcf\x05\n" + "\x0eUpdatePostsReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1f\n" + "\bauthorId\x18\x02 \x01(\x03H\x00R\bauthorId\x88\x01\x01\x12#\n" + "\n" + "authorRole\x18\x03 \x01(\tH\x01R\n" + "authorRole\x88\x01\x01\x12\x19\n" + "\x05title\x18\x04 \x01(\tH\x02R\x05title\x88\x01\x01\x12\x1d\n" + "\acontent\x18\x05 \x01(\tH\x03R\acontent\x88\x01\x01\x12\x16\n" + "\x06images\x18\x06 \x03(\tR\x06images\x12\x12\n" + "\x04tags\x18\a \x03(\tR\x04tags\x12)\n" + "\rlinkedOrderId\x18\b \x01(\x03H\x04R\rlinkedOrderId\x88\x01\x01\x12'\n" + "\fquotedPostId\x18\t \x01(\x03H\x05R\fquotedPostId\x88\x01\x01\x12!\n" + "\tlikeCount\x18\n" + " \x01(\x03H\x06R\tlikeCount\x88\x01\x01\x12'\n" + "\fcommentCount\x18\v \x01(\x03H\aR\fcommentCount\x88\x01\x01\x12\x1b\n" + "\x06pinned\x18\f \x01(\bH\bR\x06pinned\x88\x01\x01\x12#\n" + "\n" + "searchText\x18\r \x01(\tH\tR\n" + "searchText\x88\x01\x01\x12!\n" + "\tcreatedAt\x18\x0e \x01(\x03H\n" + "R\tcreatedAt\x88\x01\x01\x12!\n" + "\tupdatedAt\x18\x0f \x01(\x03H\vR\tupdatedAt\x88\x01\x01\x12!\n" + "\tdeletedAt\x18\x10 \x01(\x03H\fR\tdeletedAt\x88\x01\x01B\v\n" + "\t_authorIdB\r\n" + "\v_authorRoleB\b\n" + "\x06_titleB\n" + "\n" + "\b_contentB\x10\n" + "\x0e_linkedOrderIdB\x0f\n" + "\r_quotedPostIdB\f\n" + "\n" + "_likeCountB\x0f\n" + "\r_commentCountB\t\n" + "\a_pinnedB\r\n" + "\v_searchTextB\f\n" + "\n" + "_createdAtB\f\n" + "\n" + "_updatedAtB\f\n" + "\n" + "_deletedAt\"\x11\n" + "\x0fUpdatePostsResp\"\x1d\n" + "\vDelPostsReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"\x0e\n" + "\fDelPostsResp\"!\n" + "\x0fGetPostsByIdReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"3\n" + "\x10GetPostsByIdResp\x12\x1f\n" + "\x05posts\x18\x01 \x01(\v2\t.pb.PostsR\x05posts\"\xfd\x05\n" + "\x0eSearchPostsReq\x12\x16\n" + "\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x14\n" + "\x05limit\x18\x02 \x01(\x03R\x05limit\x12\x0e\n" + "\x02id\x18\x03 \x01(\x03R\x02id\x12\x1f\n" + "\bauthorId\x18\x04 \x01(\x03H\x00R\bauthorId\x88\x01\x01\x12#\n" + "\n" + "authorRole\x18\x05 \x01(\tH\x01R\n" + "authorRole\x88\x01\x01\x12\x19\n" + "\x05title\x18\x06 \x01(\tH\x02R\x05title\x88\x01\x01\x12\x1d\n" + "\acontent\x18\a \x01(\tH\x03R\acontent\x88\x01\x01\x12\x16\n" + "\x06images\x18\b \x03(\tR\x06images\x12\x12\n" + "\x04tags\x18\t \x03(\tR\x04tags\x12)\n" + "\rlinkedOrderId\x18\n" + " \x01(\x03H\x04R\rlinkedOrderId\x88\x01\x01\x12'\n" + "\fquotedPostId\x18\v \x01(\x03H\x05R\fquotedPostId\x88\x01\x01\x12!\n" + "\tlikeCount\x18\f \x01(\x03H\x06R\tlikeCount\x88\x01\x01\x12'\n" + "\fcommentCount\x18\r \x01(\x03H\aR\fcommentCount\x88\x01\x01\x12\x1b\n" + "\x06pinned\x18\x0e \x01(\bH\bR\x06pinned\x88\x01\x01\x12#\n" + "\n" + "searchText\x18\x0f \x01(\tH\tR\n" + "searchText\x88\x01\x01\x12!\n" + "\tcreatedAt\x18\x10 \x01(\x03H\n" + "R\tcreatedAt\x88\x01\x01\x12!\n" + "\tupdatedAt\x18\x11 \x01(\x03H\vR\tupdatedAt\x88\x01\x01\x12!\n" + "\tdeletedAt\x18\x12 \x01(\x03H\fR\tdeletedAt\x88\x01\x01B\v\n" + "\t_authorIdB\r\n" + "\v_authorRoleB\b\n" + "\x06_titleB\n" + "\n" + "\b_contentB\x10\n" + "\x0e_linkedOrderIdB\x0f\n" + "\r_quotedPostIdB\f\n" + "\n" + "_likeCountB\x0f\n" + "\r_commentCountB\t\n" + "\a_pinnedB\r\n" + "\v_searchTextB\f\n" + "\n" + "_createdAtB\f\n" + "\n" + "_updatedAtB\f\n" + "\n" + "_deletedAt\"2\n" + "\x0fSearchPostsResp\x12\x1f\n" + "\x05posts\x18\x01 \x03(\v2\t.pb.PostsR\x05posts2\x88\n" + "\n" + "\x10communityService\x12B\n" + "\x0fAddCommentLikes\x12\x16.pb.AddCommentLikesReq\x1a\x17.pb.AddCommentLikesResp\x12K\n" + "\x12UpdateCommentLikes\x12\x19.pb.UpdateCommentLikesReq\x1a\x1a.pb.UpdateCommentLikesResp\x12B\n" + "\x0fDelCommentLikes\x12\x16.pb.DelCommentLikesReq\x1a\x17.pb.DelCommentLikesResp\x12N\n" + "\x13GetCommentLikesById\x12\x1a.pb.GetCommentLikesByIdReq\x1a\x1b.pb.GetCommentLikesByIdResp\x12K\n" + "\x12SearchCommentLikes\x12\x19.pb.SearchCommentLikesReq\x1a\x1a.pb.SearchCommentLikesResp\x126\n" + "\vAddComments\x12\x12.pb.AddCommentsReq\x1a\x13.pb.AddCommentsResp\x12?\n" + "\x0eUpdateComments\x12\x15.pb.UpdateCommentsReq\x1a\x16.pb.UpdateCommentsResp\x126\n" + "\vDelComments\x12\x12.pb.DelCommentsReq\x1a\x13.pb.DelCommentsResp\x12B\n" + "\x0fGetCommentsById\x12\x16.pb.GetCommentsByIdReq\x1a\x17.pb.GetCommentsByIdResp\x12?\n" + "\x0eSearchComments\x12\x15.pb.SearchCommentsReq\x1a\x16.pb.SearchCommentsResp\x129\n" + "\fAddPostLikes\x12\x13.pb.AddPostLikesReq\x1a\x14.pb.AddPostLikesResp\x12B\n" + "\x0fUpdatePostLikes\x12\x16.pb.UpdatePostLikesReq\x1a\x17.pb.UpdatePostLikesResp\x129\n" + "\fDelPostLikes\x12\x13.pb.DelPostLikesReq\x1a\x14.pb.DelPostLikesResp\x12E\n" + "\x10GetPostLikesById\x12\x17.pb.GetPostLikesByIdReq\x1a\x18.pb.GetPostLikesByIdResp\x12B\n" + "\x0fSearchPostLikes\x12\x16.pb.SearchPostLikesReq\x1a\x17.pb.SearchPostLikesResp\x12-\n" + "\bAddPosts\x12\x0f.pb.AddPostsReq\x1a\x10.pb.AddPostsResp\x126\n" + "\vUpdatePosts\x12\x12.pb.UpdatePostsReq\x1a\x13.pb.UpdatePostsResp\x12-\n" + "\bDelPosts\x12\x0f.pb.DelPostsReq\x1a\x10.pb.DelPostsResp\x129\n" + "\fGetPostsById\x12\x13.pb.GetPostsByIdReq\x1a\x14.pb.GetPostsByIdResp\x126\n" + "\vSearchPosts\x12\x12.pb.SearchPostsReq\x1a\x13.pb.SearchPostsRespB\x06Z\x04./pbb\x06proto3" var ( file_community_proto_rawDescOnce sync.Once file_community_proto_rawDescData []byte ) func file_community_proto_rawDescGZIP() []byte { file_community_proto_rawDescOnce.Do(func() { file_community_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_community_proto_rawDesc), len(file_community_proto_rawDesc))) }) return file_community_proto_rawDescData } var file_community_proto_msgTypes = make([]protoimpl.MessageInfo, 44) var file_community_proto_goTypes = []any{ (*CommentLikes)(nil), // 0: pb.CommentLikes (*AddCommentLikesReq)(nil), // 1: pb.AddCommentLikesReq (*AddCommentLikesResp)(nil), // 2: pb.AddCommentLikesResp (*UpdateCommentLikesReq)(nil), // 3: pb.UpdateCommentLikesReq (*UpdateCommentLikesResp)(nil), // 4: pb.UpdateCommentLikesResp (*DelCommentLikesReq)(nil), // 5: pb.DelCommentLikesReq (*DelCommentLikesResp)(nil), // 6: pb.DelCommentLikesResp (*GetCommentLikesByIdReq)(nil), // 7: pb.GetCommentLikesByIdReq (*GetCommentLikesByIdResp)(nil), // 8: pb.GetCommentLikesByIdResp (*SearchCommentLikesReq)(nil), // 9: pb.SearchCommentLikesReq (*SearchCommentLikesResp)(nil), // 10: pb.SearchCommentLikesResp (*Comments)(nil), // 11: pb.Comments (*AddCommentsReq)(nil), // 12: pb.AddCommentsReq (*AddCommentsResp)(nil), // 13: pb.AddCommentsResp (*UpdateCommentsReq)(nil), // 14: pb.UpdateCommentsReq (*UpdateCommentsResp)(nil), // 15: pb.UpdateCommentsResp (*DelCommentsReq)(nil), // 16: pb.DelCommentsReq (*DelCommentsResp)(nil), // 17: pb.DelCommentsResp (*GetCommentsByIdReq)(nil), // 18: pb.GetCommentsByIdReq (*GetCommentsByIdResp)(nil), // 19: pb.GetCommentsByIdResp (*SearchCommentsReq)(nil), // 20: pb.SearchCommentsReq (*SearchCommentsResp)(nil), // 21: pb.SearchCommentsResp (*PostLikes)(nil), // 22: pb.PostLikes (*AddPostLikesReq)(nil), // 23: pb.AddPostLikesReq (*AddPostLikesResp)(nil), // 24: pb.AddPostLikesResp (*UpdatePostLikesReq)(nil), // 25: pb.UpdatePostLikesReq (*UpdatePostLikesResp)(nil), // 26: pb.UpdatePostLikesResp (*DelPostLikesReq)(nil), // 27: pb.DelPostLikesReq (*DelPostLikesResp)(nil), // 28: pb.DelPostLikesResp (*GetPostLikesByIdReq)(nil), // 29: pb.GetPostLikesByIdReq (*GetPostLikesByIdResp)(nil), // 30: pb.GetPostLikesByIdResp (*SearchPostLikesReq)(nil), // 31: pb.SearchPostLikesReq (*SearchPostLikesResp)(nil), // 32: pb.SearchPostLikesResp (*Posts)(nil), // 33: pb.Posts (*AddPostsReq)(nil), // 34: pb.AddPostsReq (*AddPostsResp)(nil), // 35: pb.AddPostsResp (*UpdatePostsReq)(nil), // 36: pb.UpdatePostsReq (*UpdatePostsResp)(nil), // 37: pb.UpdatePostsResp (*DelPostsReq)(nil), // 38: pb.DelPostsReq (*DelPostsResp)(nil), // 39: pb.DelPostsResp (*GetPostsByIdReq)(nil), // 40: pb.GetPostsByIdReq (*GetPostsByIdResp)(nil), // 41: pb.GetPostsByIdResp (*SearchPostsReq)(nil), // 42: pb.SearchPostsReq (*SearchPostsResp)(nil), // 43: pb.SearchPostsResp } var file_community_proto_depIdxs = []int32{ 0, // 0: pb.GetCommentLikesByIdResp.commentLikes:type_name -> pb.CommentLikes 0, // 1: pb.SearchCommentLikesResp.commentLikes:type_name -> pb.CommentLikes 11, // 2: pb.GetCommentsByIdResp.comments:type_name -> pb.Comments 11, // 3: pb.SearchCommentsResp.comments:type_name -> pb.Comments 22, // 4: pb.GetPostLikesByIdResp.postLikes:type_name -> pb.PostLikes 22, // 5: pb.SearchPostLikesResp.postLikes:type_name -> pb.PostLikes 33, // 6: pb.GetPostsByIdResp.posts:type_name -> pb.Posts 33, // 7: pb.SearchPostsResp.posts:type_name -> pb.Posts 1, // 8: pb.communityService.AddCommentLikes:input_type -> pb.AddCommentLikesReq 3, // 9: pb.communityService.UpdateCommentLikes:input_type -> pb.UpdateCommentLikesReq 5, // 10: pb.communityService.DelCommentLikes:input_type -> pb.DelCommentLikesReq 7, // 11: pb.communityService.GetCommentLikesById:input_type -> pb.GetCommentLikesByIdReq 9, // 12: pb.communityService.SearchCommentLikes:input_type -> pb.SearchCommentLikesReq 12, // 13: pb.communityService.AddComments:input_type -> pb.AddCommentsReq 14, // 14: pb.communityService.UpdateComments:input_type -> pb.UpdateCommentsReq 16, // 15: pb.communityService.DelComments:input_type -> pb.DelCommentsReq 18, // 16: pb.communityService.GetCommentsById:input_type -> pb.GetCommentsByIdReq 20, // 17: pb.communityService.SearchComments:input_type -> pb.SearchCommentsReq 23, // 18: pb.communityService.AddPostLikes:input_type -> pb.AddPostLikesReq 25, // 19: pb.communityService.UpdatePostLikes:input_type -> pb.UpdatePostLikesReq 27, // 20: pb.communityService.DelPostLikes:input_type -> pb.DelPostLikesReq 29, // 21: pb.communityService.GetPostLikesById:input_type -> pb.GetPostLikesByIdReq 31, // 22: pb.communityService.SearchPostLikes:input_type -> pb.SearchPostLikesReq 34, // 23: pb.communityService.AddPosts:input_type -> pb.AddPostsReq 36, // 24: pb.communityService.UpdatePosts:input_type -> pb.UpdatePostsReq 38, // 25: pb.communityService.DelPosts:input_type -> pb.DelPostsReq 40, // 26: pb.communityService.GetPostsById:input_type -> pb.GetPostsByIdReq 42, // 27: pb.communityService.SearchPosts:input_type -> pb.SearchPostsReq 2, // 28: pb.communityService.AddCommentLikes:output_type -> pb.AddCommentLikesResp 4, // 29: pb.communityService.UpdateCommentLikes:output_type -> pb.UpdateCommentLikesResp 6, // 30: pb.communityService.DelCommentLikes:output_type -> pb.DelCommentLikesResp 8, // 31: pb.communityService.GetCommentLikesById:output_type -> pb.GetCommentLikesByIdResp 10, // 32: pb.communityService.SearchCommentLikes:output_type -> pb.SearchCommentLikesResp 13, // 33: pb.communityService.AddComments:output_type -> pb.AddCommentsResp 15, // 34: pb.communityService.UpdateComments:output_type -> pb.UpdateCommentsResp 17, // 35: pb.communityService.DelComments:output_type -> pb.DelCommentsResp 19, // 36: pb.communityService.GetCommentsById:output_type -> pb.GetCommentsByIdResp 21, // 37: pb.communityService.SearchComments:output_type -> pb.SearchCommentsResp 24, // 38: pb.communityService.AddPostLikes:output_type -> pb.AddPostLikesResp 26, // 39: pb.communityService.UpdatePostLikes:output_type -> pb.UpdatePostLikesResp 28, // 40: pb.communityService.DelPostLikes:output_type -> pb.DelPostLikesResp 30, // 41: pb.communityService.GetPostLikesById:output_type -> pb.GetPostLikesByIdResp 32, // 42: pb.communityService.SearchPostLikes:output_type -> pb.SearchPostLikesResp 35, // 43: pb.communityService.AddPosts:output_type -> pb.AddPostsResp 37, // 44: pb.communityService.UpdatePosts:output_type -> pb.UpdatePostsResp 39, // 45: pb.communityService.DelPosts:output_type -> pb.DelPostsResp 41, // 46: pb.communityService.GetPostsById:output_type -> pb.GetPostsByIdResp 43, // 47: pb.communityService.SearchPosts:output_type -> pb.SearchPostsResp 28, // [28:48] is the sub-list for method output_type 8, // [8:28] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name 8, // [8:8] is the sub-list for extension extendee 0, // [0:8] is the sub-list for field type_name } func init() { file_community_proto_init() } func file_community_proto_init() { if File_community_proto != nil { return } file_community_proto_msgTypes[5].OneofWrappers = []any{} file_community_proto_msgTypes[20].OneofWrappers = []any{} file_community_proto_msgTypes[25].OneofWrappers = []any{} file_community_proto_msgTypes[27].OneofWrappers = []any{} file_community_proto_msgTypes[31].OneofWrappers = []any{} file_community_proto_msgTypes[36].OneofWrappers = []any{} file_community_proto_msgTypes[42].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_community_proto_rawDesc), len(file_community_proto_rawDesc)), NumEnums: 0, NumMessages: 44, NumExtensions: 0, NumServices: 1, }, GoTypes: file_community_proto_goTypes, DependencyIndexes: file_community_proto_depIdxs, MessageInfos: file_community_proto_msgTypes, }.Build() File_community_proto = out.File file_community_proto_goTypes = nil file_community_proto_depIdxs = nil }