// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v7.34.1
// source: review.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)
)

// --------------------------------reviews--------------------------------
type Reviews struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Id             int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                        //id
	OrderId        int64                  `protobuf:"varint,2,opt,name=orderId,proto3" json:"orderId,omitempty"`              //orderId
	FromUserId     int64                  `protobuf:"varint,3,opt,name=fromUserId,proto3" json:"fromUserId,omitempty"`        //fromUserId
	FromUserName   string                 `protobuf:"bytes,4,opt,name=fromUserName,proto3" json:"fromUserName,omitempty"`     //fromUserName
	FromUserAvatar string                 `protobuf:"bytes,5,opt,name=fromUserAvatar,proto3" json:"fromUserAvatar,omitempty"` //fromUserAvatar
	ToUserId       int64                  `protobuf:"varint,6,opt,name=toUserId,proto3" json:"toUserId,omitempty"`            //toUserId
	Rating         int32                  `protobuf:"varint,7,opt,name=rating,proto3" json:"rating,omitempty"`                //rating
	Content        string                 `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"`               //content
	Sealed         bool                   `protobuf:"varint,9,opt,name=sealed,proto3" json:"sealed,omitempty"`                //sealed
	CreatedAt      int64                  `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`         //createdAt
	UnsealedAt     int64                  `protobuf:"varint,11,opt,name=unsealedAt,proto3" json:"unsealedAt,omitempty"`       //unsealedAt
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*Reviews) ProtoMessage() {}

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

func (x *Reviews) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *Reviews) GetOrderId() int64 {
	if x != nil {
		return x.OrderId
	}
	return 0
}

func (x *Reviews) GetFromUserId() int64 {
	if x != nil {
		return x.FromUserId
	}
	return 0
}

func (x *Reviews) GetFromUserName() string {
	if x != nil {
		return x.FromUserName
	}
	return ""
}

func (x *Reviews) GetFromUserAvatar() string {
	if x != nil {
		return x.FromUserAvatar
	}
	return ""
}

func (x *Reviews) GetToUserId() int64 {
	if x != nil {
		return x.ToUserId
	}
	return 0
}

func (x *Reviews) GetRating() int32 {
	if x != nil {
		return x.Rating
	}
	return 0
}

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

func (x *Reviews) GetSealed() bool {
	if x != nil {
		return x.Sealed
	}
	return false
}

func (x *Reviews) GetCreatedAt() int64 {
	if x != nil {
		return x.CreatedAt
	}
	return 0
}

func (x *Reviews) GetUnsealedAt() int64 {
	if x != nil {
		return x.UnsealedAt
	}
	return 0
}

type AddReviewsReq struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	OrderId        int64                  `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"`              //orderId
	FromUserId     int64                  `protobuf:"varint,2,opt,name=fromUserId,proto3" json:"fromUserId,omitempty"`        //fromUserId
	FromUserName   string                 `protobuf:"bytes,3,opt,name=fromUserName,proto3" json:"fromUserName,omitempty"`     //fromUserName
	FromUserAvatar string                 `protobuf:"bytes,4,opt,name=fromUserAvatar,proto3" json:"fromUserAvatar,omitempty"` //fromUserAvatar
	ToUserId       int64                  `protobuf:"varint,5,opt,name=toUserId,proto3" json:"toUserId,omitempty"`            //toUserId
	Rating         int32                  `protobuf:"varint,6,opt,name=rating,proto3" json:"rating,omitempty"`                //rating
	Content        string                 `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`               //content
	Sealed         bool                   `protobuf:"varint,8,opt,name=sealed,proto3" json:"sealed,omitempty"`                //sealed
	CreatedAt      int64                  `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`          //createdAt
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*AddReviewsReq) ProtoMessage() {}

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

func (x *AddReviewsReq) GetOrderId() int64 {
	if x != nil {
		return x.OrderId
	}
	return 0
}

func (x *AddReviewsReq) GetFromUserId() int64 {
	if x != nil {
		return x.FromUserId
	}
	return 0
}

func (x *AddReviewsReq) GetFromUserName() string {
	if x != nil {
		return x.FromUserName
	}
	return ""
}

func (x *AddReviewsReq) GetFromUserAvatar() string {
	if x != nil {
		return x.FromUserAvatar
	}
	return ""
}

func (x *AddReviewsReq) GetToUserId() int64 {
	if x != nil {
		return x.ToUserId
	}
	return 0
}

func (x *AddReviewsReq) GetRating() int32 {
	if x != nil {
		return x.Rating
	}
	return 0
}

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

func (x *AddReviewsReq) GetSealed() bool {
	if x != nil {
		return x.Sealed
	}
	return false
}

func (x *AddReviewsReq) GetCreatedAt() int64 {
	if x != nil {
		return x.CreatedAt
	}
	return 0
}

type AddReviewsResp 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 *AddReviewsResp) Reset() {
	*x = AddReviewsResp{}
	mi := &file_review_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*AddReviewsResp) ProtoMessage() {}

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

func (x *AddReviewsResp) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

type UpdateReviewsReq struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Id             int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                              //id
	OrderId        *int64                 `protobuf:"varint,2,opt,name=orderId,proto3,oneof" json:"orderId,omitempty"`              //orderId
	FromUserId     *int64                 `protobuf:"varint,3,opt,name=fromUserId,proto3,oneof" json:"fromUserId,omitempty"`        //fromUserId
	FromUserName   *string                `protobuf:"bytes,4,opt,name=fromUserName,proto3,oneof" json:"fromUserName,omitempty"`     //fromUserName
	FromUserAvatar *string                `protobuf:"bytes,5,opt,name=fromUserAvatar,proto3,oneof" json:"fromUserAvatar,omitempty"` //fromUserAvatar
	ToUserId       *int64                 `protobuf:"varint,6,opt,name=toUserId,proto3,oneof" json:"toUserId,omitempty"`            //toUserId
	Rating         *int32                 `protobuf:"varint,7,opt,name=rating,proto3,oneof" json:"rating,omitempty"`                //rating
	Content        *string                `protobuf:"bytes,8,opt,name=content,proto3,oneof" json:"content,omitempty"`               //content
	Sealed         *bool                  `protobuf:"varint,9,opt,name=sealed,proto3,oneof" json:"sealed,omitempty"`                //sealed
	CreatedAt      *int64                 `protobuf:"varint,10,opt,name=createdAt,proto3,oneof" json:"createdAt,omitempty"`         //createdAt
	UnsealedAt     *int64                 `protobuf:"varint,11,opt,name=unsealedAt,proto3,oneof" json:"unsealedAt,omitempty"`       //unsealedAt
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *UpdateReviewsReq) Reset() {
	*x = UpdateReviewsReq{}
	mi := &file_review_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateReviewsReq) ProtoMessage() {}

func (x *UpdateReviewsReq) ProtoReflect() protoreflect.Message {
	mi := &file_review_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 UpdateReviewsReq.ProtoReflect.Descriptor instead.
func (*UpdateReviewsReq) Descriptor() ([]byte, []int) {
	return file_review_proto_rawDescGZIP(), []int{3}
}

func (x *UpdateReviewsReq) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *UpdateReviewsReq) GetOrderId() int64 {
	if x != nil && x.OrderId != nil {
		return *x.OrderId
	}
	return 0
}

func (x *UpdateReviewsReq) GetFromUserId() int64 {
	if x != nil && x.FromUserId != nil {
		return *x.FromUserId
	}
	return 0
}

func (x *UpdateReviewsReq) GetFromUserName() string {
	if x != nil && x.FromUserName != nil {
		return *x.FromUserName
	}
	return ""
}

func (x *UpdateReviewsReq) GetFromUserAvatar() string {
	if x != nil && x.FromUserAvatar != nil {
		return *x.FromUserAvatar
	}
	return ""
}

func (x *UpdateReviewsReq) GetToUserId() int64 {
	if x != nil && x.ToUserId != nil {
		return *x.ToUserId
	}
	return 0
}

func (x *UpdateReviewsReq) GetRating() int32 {
	if x != nil && x.Rating != nil {
		return *x.Rating
	}
	return 0
}

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

func (x *UpdateReviewsReq) GetSealed() bool {
	if x != nil && x.Sealed != nil {
		return *x.Sealed
	}
	return false
}

func (x *UpdateReviewsReq) GetCreatedAt() int64 {
	if x != nil && x.CreatedAt != nil {
		return *x.CreatedAt
	}
	return 0
}

func (x *UpdateReviewsReq) GetUnsealedAt() int64 {
	if x != nil && x.UnsealedAt != nil {
		return *x.UnsealedAt
	}
	return 0
}

type UpdateReviewsResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateReviewsResp) Reset() {
	*x = UpdateReviewsResp{}
	mi := &file_review_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateReviewsResp) ProtoMessage() {}

func (x *UpdateReviewsResp) ProtoReflect() protoreflect.Message {
	mi := &file_review_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 UpdateReviewsResp.ProtoReflect.Descriptor instead.
func (*UpdateReviewsResp) Descriptor() ([]byte, []int) {
	return file_review_proto_rawDescGZIP(), []int{4}
}

type DelReviewsReq 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 *DelReviewsReq) Reset() {
	*x = DelReviewsReq{}
	mi := &file_review_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DelReviewsReq) ProtoMessage() {}

func (x *DelReviewsReq) ProtoReflect() protoreflect.Message {
	mi := &file_review_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 DelReviewsReq.ProtoReflect.Descriptor instead.
func (*DelReviewsReq) Descriptor() ([]byte, []int) {
	return file_review_proto_rawDescGZIP(), []int{5}
}

func (x *DelReviewsReq) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

type DelReviewsResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DelReviewsResp) Reset() {
	*x = DelReviewsResp{}
	mi := &file_review_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DelReviewsResp) ProtoMessage() {}

func (x *DelReviewsResp) ProtoReflect() protoreflect.Message {
	mi := &file_review_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 DelReviewsResp.ProtoReflect.Descriptor instead.
func (*DelReviewsResp) Descriptor() ([]byte, []int) {
	return file_review_proto_rawDescGZIP(), []int{6}
}

type GetReviewsByIdReq 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 *GetReviewsByIdReq) Reset() {
	*x = GetReviewsByIdReq{}
	mi := &file_review_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetReviewsByIdReq) ProtoMessage() {}

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

func (x *GetReviewsByIdReq) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

type GetReviewsByIdResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Reviews       *Reviews               `protobuf:"bytes,1,opt,name=reviews,proto3" json:"reviews,omitempty"` //reviews
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetReviewsByIdResp) Reset() {
	*x = GetReviewsByIdResp{}
	mi := &file_review_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetReviewsByIdResp) ProtoMessage() {}

func (x *GetReviewsByIdResp) ProtoReflect() protoreflect.Message {
	mi := &file_review_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 GetReviewsByIdResp.ProtoReflect.Descriptor instead.
func (*GetReviewsByIdResp) Descriptor() ([]byte, []int) {
	return file_review_proto_rawDescGZIP(), []int{8}
}

func (x *GetReviewsByIdResp) GetReviews() *Reviews {
	if x != nil {
		return x.Reviews
	}
	return nil
}

type SearchReviewsReq 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,oneof" json:"id,omitempty"`                 //id
	OrderId       *int64                 `protobuf:"varint,4,opt,name=orderId,proto3,oneof" json:"orderId,omitempty"`       //orderId
	FromUserId    *int64                 `protobuf:"varint,5,opt,name=fromUserId,proto3,oneof" json:"fromUserId,omitempty"` //fromUserId
	ToUserId      *int64                 `protobuf:"varint,6,opt,name=toUserId,proto3,oneof" json:"toUserId,omitempty"`     //toUserId
	Sealed        *bool                  `protobuf:"varint,7,opt,name=sealed,proto3,oneof" json:"sealed,omitempty"`         //sealed
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchReviewsReq) Reset() {
	*x = SearchReviewsReq{}
	mi := &file_review_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SearchReviewsReq) ProtoMessage() {}

func (x *SearchReviewsReq) ProtoReflect() protoreflect.Message {
	mi := &file_review_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 SearchReviewsReq.ProtoReflect.Descriptor instead.
func (*SearchReviewsReq) Descriptor() ([]byte, []int) {
	return file_review_proto_rawDescGZIP(), []int{9}
}

func (x *SearchReviewsReq) GetOffset() int64 {
	if x != nil {
		return x.Offset
	}
	return 0
}

func (x *SearchReviewsReq) GetLimit() int64 {
	if x != nil {
		return x.Limit
	}
	return 0
}

func (x *SearchReviewsReq) GetId() int64 {
	if x != nil && x.Id != nil {
		return *x.Id
	}
	return 0
}

func (x *SearchReviewsReq) GetOrderId() int64 {
	if x != nil && x.OrderId != nil {
		return *x.OrderId
	}
	return 0
}

func (x *SearchReviewsReq) GetFromUserId() int64 {
	if x != nil && x.FromUserId != nil {
		return *x.FromUserId
	}
	return 0
}

func (x *SearchReviewsReq) GetToUserId() int64 {
	if x != nil && x.ToUserId != nil {
		return *x.ToUserId
	}
	return 0
}

func (x *SearchReviewsReq) GetSealed() bool {
	if x != nil && x.Sealed != nil {
		return *x.Sealed
	}
	return false
}

type SearchReviewsResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Reviews       []*Reviews             `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"` //reviews
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SearchReviewsResp) Reset() {
	*x = SearchReviewsResp{}
	mi := &file_review_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SearchReviewsResp) ProtoMessage() {}

func (x *SearchReviewsResp) ProtoReflect() protoreflect.Message {
	mi := &file_review_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 SearchReviewsResp.ProtoReflect.Descriptor instead.
func (*SearchReviewsResp) Descriptor() ([]byte, []int) {
	return file_review_proto_rawDescGZIP(), []int{10}
}

func (x *SearchReviewsResp) GetReviews() []*Reviews {
	if x != nil {
		return x.Reviews
	}
	return nil
}

var File_review_proto protoreflect.FileDescriptor

const file_review_proto_rawDesc = "" +
	"\n" +
	"\freview.proto\x12\x02pb\"\xc3\x02\n" +
	"\aReviews\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x18\n" +
	"\aorderId\x18\x02 \x01(\x03R\aorderId\x12\x1e\n" +
	"\n" +
	"fromUserId\x18\x03 \x01(\x03R\n" +
	"fromUserId\x12\"\n" +
	"\ffromUserName\x18\x04 \x01(\tR\ffromUserName\x12&\n" +
	"\x0efromUserAvatar\x18\x05 \x01(\tR\x0efromUserAvatar\x12\x1a\n" +
	"\btoUserId\x18\x06 \x01(\x03R\btoUserId\x12\x16\n" +
	"\x06rating\x18\a \x01(\x05R\x06rating\x12\x18\n" +
	"\acontent\x18\b \x01(\tR\acontent\x12\x16\n" +
	"\x06sealed\x18\t \x01(\bR\x06sealed\x12\x1c\n" +
	"\tcreatedAt\x18\n" +
	" \x01(\x03R\tcreatedAt\x12\x1e\n" +
	"\n" +
	"unsealedAt\x18\v \x01(\x03R\n" +
	"unsealedAt\"\x99\x02\n" +
	"\rAddReviewsReq\x12\x18\n" +
	"\aorderId\x18\x01 \x01(\x03R\aorderId\x12\x1e\n" +
	"\n" +
	"fromUserId\x18\x02 \x01(\x03R\n" +
	"fromUserId\x12\"\n" +
	"\ffromUserName\x18\x03 \x01(\tR\ffromUserName\x12&\n" +
	"\x0efromUserAvatar\x18\x04 \x01(\tR\x0efromUserAvatar\x12\x1a\n" +
	"\btoUserId\x18\x05 \x01(\x03R\btoUserId\x12\x16\n" +
	"\x06rating\x18\x06 \x01(\x05R\x06rating\x12\x18\n" +
	"\acontent\x18\a \x01(\tR\acontent\x12\x16\n" +
	"\x06sealed\x18\b \x01(\bR\x06sealed\x12\x1c\n" +
	"\tcreatedAt\x18\t \x01(\x03R\tcreatedAt\" \n" +
	"\x0eAddReviewsResp\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\"\x89\x04\n" +
	"\x10UpdateReviewsReq\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1d\n" +
	"\aorderId\x18\x02 \x01(\x03H\x00R\aorderId\x88\x01\x01\x12#\n" +
	"\n" +
	"fromUserId\x18\x03 \x01(\x03H\x01R\n" +
	"fromUserId\x88\x01\x01\x12'\n" +
	"\ffromUserName\x18\x04 \x01(\tH\x02R\ffromUserName\x88\x01\x01\x12+\n" +
	"\x0efromUserAvatar\x18\x05 \x01(\tH\x03R\x0efromUserAvatar\x88\x01\x01\x12\x1f\n" +
	"\btoUserId\x18\x06 \x01(\x03H\x04R\btoUserId\x88\x01\x01\x12\x1b\n" +
	"\x06rating\x18\a \x01(\x05H\x05R\x06rating\x88\x01\x01\x12\x1d\n" +
	"\acontent\x18\b \x01(\tH\x06R\acontent\x88\x01\x01\x12\x1b\n" +
	"\x06sealed\x18\t \x01(\bH\aR\x06sealed\x88\x01\x01\x12!\n" +
	"\tcreatedAt\x18\n" +
	" \x01(\x03H\bR\tcreatedAt\x88\x01\x01\x12#\n" +
	"\n" +
	"unsealedAt\x18\v \x01(\x03H\tR\n" +
	"unsealedAt\x88\x01\x01B\n" +
	"\n" +
	"\b_orderIdB\r\n" +
	"\v_fromUserIdB\x0f\n" +
	"\r_fromUserNameB\x11\n" +
	"\x0f_fromUserAvatarB\v\n" +
	"\t_toUserIdB\t\n" +
	"\a_ratingB\n" +
	"\n" +
	"\b_contentB\t\n" +
	"\a_sealedB\f\n" +
	"\n" +
	"_createdAtB\r\n" +
	"\v_unsealedAt\"\x13\n" +
	"\x11UpdateReviewsResp\"\x1f\n" +
	"\rDelReviewsReq\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\"\x10\n" +
	"\x0eDelReviewsResp\"#\n" +
	"\x11GetReviewsByIdReq\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\";\n" +
	"\x12GetReviewsByIdResp\x12%\n" +
	"\areviews\x18\x01 \x01(\v2\v.pb.ReviewsR\areviews\"\x91\x02\n" +
	"\x10SearchReviewsReq\x12\x16\n" +
	"\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x14\n" +
	"\x05limit\x18\x02 \x01(\x03R\x05limit\x12\x13\n" +
	"\x02id\x18\x03 \x01(\x03H\x00R\x02id\x88\x01\x01\x12\x1d\n" +
	"\aorderId\x18\x04 \x01(\x03H\x01R\aorderId\x88\x01\x01\x12#\n" +
	"\n" +
	"fromUserId\x18\x05 \x01(\x03H\x02R\n" +
	"fromUserId\x88\x01\x01\x12\x1f\n" +
	"\btoUserId\x18\x06 \x01(\x03H\x03R\btoUserId\x88\x01\x01\x12\x1b\n" +
	"\x06sealed\x18\a \x01(\bH\x04R\x06sealed\x88\x01\x01B\x05\n" +
	"\x03_idB\n" +
	"\n" +
	"\b_orderIdB\r\n" +
	"\v_fromUserIdB\v\n" +
	"\t_toUserIdB\t\n" +
	"\a_sealed\":\n" +
	"\x11SearchReviewsResp\x12%\n" +
	"\areviews\x18\x01 \x03(\v2\v.pb.ReviewsR\areviews2\xb6\x02\n" +
	"\rreviewService\x123\n" +
	"\n" +
	"AddReviews\x12\x11.pb.AddReviewsReq\x1a\x12.pb.AddReviewsResp\x12<\n" +
	"\rUpdateReviews\x12\x14.pb.UpdateReviewsReq\x1a\x15.pb.UpdateReviewsResp\x123\n" +
	"\n" +
	"DelReviews\x12\x11.pb.DelReviewsReq\x1a\x12.pb.DelReviewsResp\x12?\n" +
	"\x0eGetReviewsById\x12\x15.pb.GetReviewsByIdReq\x1a\x16.pb.GetReviewsByIdResp\x12<\n" +
	"\rSearchReviews\x12\x14.pb.SearchReviewsReq\x1a\x15.pb.SearchReviewsRespB\x06Z\x04./pbb\x06proto3"

var (
	file_review_proto_rawDescOnce sync.Once
	file_review_proto_rawDescData []byte
)

func file_review_proto_rawDescGZIP() []byte {
	file_review_proto_rawDescOnce.Do(func() {
		file_review_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_review_proto_rawDesc), len(file_review_proto_rawDesc)))
	})
	return file_review_proto_rawDescData
}

var file_review_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_review_proto_goTypes = []any{
	(*Reviews)(nil),            // 0: pb.Reviews
	(*AddReviewsReq)(nil),      // 1: pb.AddReviewsReq
	(*AddReviewsResp)(nil),     // 2: pb.AddReviewsResp
	(*UpdateReviewsReq)(nil),   // 3: pb.UpdateReviewsReq
	(*UpdateReviewsResp)(nil),  // 4: pb.UpdateReviewsResp
	(*DelReviewsReq)(nil),      // 5: pb.DelReviewsReq
	(*DelReviewsResp)(nil),     // 6: pb.DelReviewsResp
	(*GetReviewsByIdReq)(nil),  // 7: pb.GetReviewsByIdReq
	(*GetReviewsByIdResp)(nil), // 8: pb.GetReviewsByIdResp
	(*SearchReviewsReq)(nil),   // 9: pb.SearchReviewsReq
	(*SearchReviewsResp)(nil),  // 10: pb.SearchReviewsResp
}
var file_review_proto_depIdxs = []int32{
	0,  // 0: pb.GetReviewsByIdResp.reviews:type_name -> pb.Reviews
	0,  // 1: pb.SearchReviewsResp.reviews:type_name -> pb.Reviews
	1,  // 2: pb.reviewService.AddReviews:input_type -> pb.AddReviewsReq
	3,  // 3: pb.reviewService.UpdateReviews:input_type -> pb.UpdateReviewsReq
	5,  // 4: pb.reviewService.DelReviews:input_type -> pb.DelReviewsReq
	7,  // 5: pb.reviewService.GetReviewsById:input_type -> pb.GetReviewsByIdReq
	9,  // 6: pb.reviewService.SearchReviews:input_type -> pb.SearchReviewsReq
	2,  // 7: pb.reviewService.AddReviews:output_type -> pb.AddReviewsResp
	4,  // 8: pb.reviewService.UpdateReviews:output_type -> pb.UpdateReviewsResp
	6,  // 9: pb.reviewService.DelReviews:output_type -> pb.DelReviewsResp
	8,  // 10: pb.reviewService.GetReviewsById:output_type -> pb.GetReviewsByIdResp
	10, // 11: pb.reviewService.SearchReviews:output_type -> pb.SearchReviewsResp
	7,  // [7:12] is the sub-list for method output_type
	2,  // [2:7] is the sub-list for method input_type
	2,  // [2:2] is the sub-list for extension type_name
	2,  // [2:2] is the sub-list for extension extendee
	0,  // [0:2] is the sub-list for field type_name
}

func init() { file_review_proto_init() }
func file_review_proto_init() {
	if File_review_proto != nil {
		return
	}
	file_review_proto_msgTypes[3].OneofWrappers = []any{}
	file_review_proto_msgTypes[9].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_review_proto_rawDesc), len(file_review_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   11,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_review_proto_goTypes,
		DependencyIndexes: file_review_proto_depIdxs,
		MessageInfos:      file_review_proto_msgTypes,
	}.Build()
	File_review_proto = out.File
	file_review_proto_goTypes = nil
	file_review_proto_depIdxs = nil
}
