// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.34.1 // source: notification.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) ) // --------------------------------notifications-------------------------------- type Notifications struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` Read bool `protobuf:"varint,6,opt,name=read,proto3" json:"read,omitempty"` Link string `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"` CreatedAt int64 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Notifications) Reset() { *x = Notifications{} mi := &file_notification_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Notifications) String() string { return protoimpl.X.MessageStringOf(x) } func (*Notifications) ProtoMessage() {} func (x *Notifications) ProtoReflect() protoreflect.Message { mi := &file_notification_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 Notifications.ProtoReflect.Descriptor instead. func (*Notifications) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{0} } func (x *Notifications) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Notifications) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *Notifications) GetType() string { if x != nil { return x.Type } return "" } func (x *Notifications) GetTitle() string { if x != nil { return x.Title } return "" } func (x *Notifications) GetContent() string { if x != nil { return x.Content } return "" } func (x *Notifications) GetRead() bool { if x != nil { return x.Read } return false } func (x *Notifications) GetLink() string { if x != nil { return x.Link } return "" } func (x *Notifications) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *Notifications) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } type AddNotificationsReq struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` Link *string `protobuf:"bytes,5,opt,name=link,proto3,oneof" json:"link,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddNotificationsReq) Reset() { *x = AddNotificationsReq{} mi := &file_notification_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddNotificationsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddNotificationsReq) ProtoMessage() {} func (x *AddNotificationsReq) ProtoReflect() protoreflect.Message { mi := &file_notification_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 AddNotificationsReq.ProtoReflect.Descriptor instead. func (*AddNotificationsReq) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{1} } func (x *AddNotificationsReq) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *AddNotificationsReq) GetType() string { if x != nil { return x.Type } return "" } func (x *AddNotificationsReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *AddNotificationsReq) GetContent() string { if x != nil { return x.Content } return "" } func (x *AddNotificationsReq) GetLink() string { if x != nil && x.Link != nil { return *x.Link } return "" } type AddNotificationsResp struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddNotificationsResp) Reset() { *x = AddNotificationsResp{} mi := &file_notification_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddNotificationsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddNotificationsResp) ProtoMessage() {} func (x *AddNotificationsResp) ProtoReflect() protoreflect.Message { mi := &file_notification_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 AddNotificationsResp.ProtoReflect.Descriptor instead. func (*AddNotificationsResp) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{2} } func (x *AddNotificationsResp) GetId() int64 { if x != nil { return x.Id } return 0 } type UpdateNotificationsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Read *bool `protobuf:"varint,2,opt,name=read,proto3,oneof" json:"read,omitempty"` Type *string `protobuf:"bytes,3,opt,name=type,proto3,oneof" json:"type,omitempty"` Title *string `protobuf:"bytes,4,opt,name=title,proto3,oneof" json:"title,omitempty"` Content *string `protobuf:"bytes,5,opt,name=content,proto3,oneof" json:"content,omitempty"` Link *string `protobuf:"bytes,6,opt,name=link,proto3,oneof" json:"link,omitempty"` UpdatedAt *int64 `protobuf:"varint,7,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateNotificationsReq) Reset() { *x = UpdateNotificationsReq{} mi := &file_notification_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateNotificationsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateNotificationsReq) ProtoMessage() {} func (x *UpdateNotificationsReq) ProtoReflect() protoreflect.Message { mi := &file_notification_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 UpdateNotificationsReq.ProtoReflect.Descriptor instead. func (*UpdateNotificationsReq) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{3} } func (x *UpdateNotificationsReq) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *UpdateNotificationsReq) GetRead() bool { if x != nil && x.Read != nil { return *x.Read } return false } func (x *UpdateNotificationsReq) GetType() string { if x != nil && x.Type != nil { return *x.Type } return "" } func (x *UpdateNotificationsReq) GetTitle() string { if x != nil && x.Title != nil { return *x.Title } return "" } func (x *UpdateNotificationsReq) GetContent() string { if x != nil && x.Content != nil { return *x.Content } return "" } func (x *UpdateNotificationsReq) GetLink() string { if x != nil && x.Link != nil { return *x.Link } return "" } func (x *UpdateNotificationsReq) GetUpdatedAt() int64 { if x != nil && x.UpdatedAt != nil { return *x.UpdatedAt } return 0 } type UpdateNotificationsResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateNotificationsResp) Reset() { *x = UpdateNotificationsResp{} mi := &file_notification_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateNotificationsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateNotificationsResp) ProtoMessage() {} func (x *UpdateNotificationsResp) ProtoReflect() protoreflect.Message { mi := &file_notification_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 UpdateNotificationsResp.ProtoReflect.Descriptor instead. func (*UpdateNotificationsResp) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{4} } type DelNotificationsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelNotificationsReq) Reset() { *x = DelNotificationsReq{} mi := &file_notification_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelNotificationsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelNotificationsReq) ProtoMessage() {} func (x *DelNotificationsReq) ProtoReflect() protoreflect.Message { mi := &file_notification_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 DelNotificationsReq.ProtoReflect.Descriptor instead. func (*DelNotificationsReq) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{5} } func (x *DelNotificationsReq) GetId() int64 { if x != nil { return x.Id } return 0 } type DelNotificationsResp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DelNotificationsResp) Reset() { *x = DelNotificationsResp{} mi := &file_notification_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DelNotificationsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DelNotificationsResp) ProtoMessage() {} func (x *DelNotificationsResp) ProtoReflect() protoreflect.Message { mi := &file_notification_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 DelNotificationsResp.ProtoReflect.Descriptor instead. func (*DelNotificationsResp) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{6} } type GetNotificationsByIdReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetNotificationsByIdReq) Reset() { *x = GetNotificationsByIdReq{} mi := &file_notification_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetNotificationsByIdReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetNotificationsByIdReq) ProtoMessage() {} func (x *GetNotificationsByIdReq) ProtoReflect() protoreflect.Message { mi := &file_notification_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 GetNotificationsByIdReq.ProtoReflect.Descriptor instead. func (*GetNotificationsByIdReq) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{7} } func (x *GetNotificationsByIdReq) GetId() int64 { if x != nil { return x.Id } return 0 } type GetNotificationsByIdResp struct { state protoimpl.MessageState `protogen:"open.v1"` Notifications *Notifications `protobuf:"bytes,1,opt,name=notifications,proto3" json:"notifications,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetNotificationsByIdResp) Reset() { *x = GetNotificationsByIdResp{} mi := &file_notification_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetNotificationsByIdResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetNotificationsByIdResp) ProtoMessage() {} func (x *GetNotificationsByIdResp) ProtoReflect() protoreflect.Message { mi := &file_notification_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 GetNotificationsByIdResp.ProtoReflect.Descriptor instead. func (*GetNotificationsByIdResp) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{8} } func (x *GetNotificationsByIdResp) GetNotifications() *Notifications { if x != nil { return x.Notifications } return nil } type SearchNotificationsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Id *int64 `protobuf:"varint,3,opt,name=id,proto3,oneof" json:"id,omitempty"` UserId *int64 `protobuf:"varint,4,opt,name=userId,proto3,oneof" json:"userId,omitempty"` Type *string `protobuf:"bytes,5,opt,name=type,proto3,oneof" json:"type,omitempty"` Read *bool `protobuf:"varint,6,opt,name=read,proto3,oneof" json:"read,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchNotificationsReq) Reset() { *x = SearchNotificationsReq{} mi := &file_notification_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchNotificationsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchNotificationsReq) ProtoMessage() {} func (x *SearchNotificationsReq) ProtoReflect() protoreflect.Message { mi := &file_notification_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 SearchNotificationsReq.ProtoReflect.Descriptor instead. func (*SearchNotificationsReq) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{9} } func (x *SearchNotificationsReq) GetOffset() int64 { if x != nil { return x.Offset } return 0 } func (x *SearchNotificationsReq) GetLimit() int64 { if x != nil { return x.Limit } return 0 } func (x *SearchNotificationsReq) GetId() int64 { if x != nil && x.Id != nil { return *x.Id } return 0 } func (x *SearchNotificationsReq) GetUserId() int64 { if x != nil && x.UserId != nil { return *x.UserId } return 0 } func (x *SearchNotificationsReq) GetType() string { if x != nil && x.Type != nil { return *x.Type } return "" } func (x *SearchNotificationsReq) GetRead() bool { if x != nil && x.Read != nil { return *x.Read } return false } type SearchNotificationsResp struct { state protoimpl.MessageState `protogen:"open.v1"` Notifications []*Notifications `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchNotificationsResp) Reset() { *x = SearchNotificationsResp{} mi := &file_notification_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchNotificationsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchNotificationsResp) ProtoMessage() {} func (x *SearchNotificationsResp) ProtoReflect() protoreflect.Message { mi := &file_notification_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 SearchNotificationsResp.ProtoReflect.Descriptor instead. func (*SearchNotificationsResp) Descriptor() ([]byte, []int) { return file_notification_proto_rawDescGZIP(), []int{10} } func (x *SearchNotificationsResp) GetNotifications() []*Notifications { if x != nil { return x.Notifications } return nil } var File_notification_proto protoreflect.FileDescriptor const file_notification_proto_rawDesc = "" + "\n" + "\x12notification.proto\x12\x02pb\"\xdf\x01\n" + "\rNotifications\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" + "\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x12\n" + "\x04type\x18\x03 \x01(\tR\x04type\x12\x14\n" + "\x05title\x18\x04 \x01(\tR\x05title\x12\x18\n" + "\acontent\x18\x05 \x01(\tR\acontent\x12\x12\n" + "\x04read\x18\x06 \x01(\bR\x04read\x12\x12\n" + "\x04link\x18\a \x01(\tR\x04link\x12\x1c\n" + "\tcreatedAt\x18\b \x01(\x03R\tcreatedAt\x12\x1c\n" + "\tupdatedAt\x18\t \x01(\x03R\tupdatedAt\"\x93\x01\n" + "\x13AddNotificationsReq\x12\x16\n" + "\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x12\n" + "\x04type\x18\x02 \x01(\tR\x04type\x12\x14\n" + "\x05title\x18\x03 \x01(\tR\x05title\x12\x18\n" + "\acontent\x18\x04 \x01(\tR\acontent\x12\x17\n" + "\x04link\x18\x05 \x01(\tH\x00R\x04link\x88\x01\x01B\a\n" + "\x05_link\"&\n" + "\x14AddNotificationsResp\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"\x8f\x02\n" + "\x16UpdateNotificationsReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x17\n" + "\x04read\x18\x02 \x01(\bH\x00R\x04read\x88\x01\x01\x12\x17\n" + "\x04type\x18\x03 \x01(\tH\x01R\x04type\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\x17\n" + "\x04link\x18\x06 \x01(\tH\x04R\x04link\x88\x01\x01\x12!\n" + "\tupdatedAt\x18\a \x01(\x03H\x05R\tupdatedAt\x88\x01\x01B\a\n" + "\x05_readB\a\n" + "\x05_typeB\b\n" + "\x06_titleB\n" + "\n" + "\b_contentB\a\n" + "\x05_linkB\f\n" + "\n" + "_updatedAt\"\x19\n" + "\x17UpdateNotificationsResp\"%\n" + "\x13DelNotificationsReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"\x16\n" + "\x14DelNotificationsResp\")\n" + "\x17GetNotificationsByIdReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"S\n" + "\x18GetNotificationsByIdResp\x127\n" + "\rnotifications\x18\x01 \x01(\v2\x11.pb.NotificationsR\rnotifications\"\xce\x01\n" + "\x16SearchNotificationsReq\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\x1b\n" + "\x06userId\x18\x04 \x01(\x03H\x01R\x06userId\x88\x01\x01\x12\x17\n" + "\x04type\x18\x05 \x01(\tH\x02R\x04type\x88\x01\x01\x12\x17\n" + "\x04read\x18\x06 \x01(\bH\x03R\x04read\x88\x01\x01B\x05\n" + "\x03_idB\t\n" + "\a_userIdB\a\n" + "\x05_typeB\a\n" + "\x05_read\"R\n" + "\x17SearchNotificationsResp\x127\n" + "\rnotifications\x18\x01 \x03(\v2\x11.pb.NotificationsR\rnotifications2\x96\x03\n" + "\x13notificationService\x12E\n" + "\x10AddNotifications\x12\x17.pb.AddNotificationsReq\x1a\x18.pb.AddNotificationsResp\x12N\n" + "\x13UpdateNotifications\x12\x1a.pb.UpdateNotificationsReq\x1a\x1b.pb.UpdateNotificationsResp\x12E\n" + "\x10DelNotifications\x12\x17.pb.DelNotificationsReq\x1a\x18.pb.DelNotificationsResp\x12Q\n" + "\x14GetNotificationsById\x12\x1b.pb.GetNotificationsByIdReq\x1a\x1c.pb.GetNotificationsByIdResp\x12N\n" + "\x13SearchNotifications\x12\x1a.pb.SearchNotificationsReq\x1a\x1b.pb.SearchNotificationsRespB\x06Z\x04./pbb\x06proto3" var ( file_notification_proto_rawDescOnce sync.Once file_notification_proto_rawDescData []byte ) func file_notification_proto_rawDescGZIP() []byte { file_notification_proto_rawDescOnce.Do(func() { file_notification_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_notification_proto_rawDesc), len(file_notification_proto_rawDesc))) }) return file_notification_proto_rawDescData } var file_notification_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_notification_proto_goTypes = []any{ (*Notifications)(nil), // 0: pb.Notifications (*AddNotificationsReq)(nil), // 1: pb.AddNotificationsReq (*AddNotificationsResp)(nil), // 2: pb.AddNotificationsResp (*UpdateNotificationsReq)(nil), // 3: pb.UpdateNotificationsReq (*UpdateNotificationsResp)(nil), // 4: pb.UpdateNotificationsResp (*DelNotificationsReq)(nil), // 5: pb.DelNotificationsReq (*DelNotificationsResp)(nil), // 6: pb.DelNotificationsResp (*GetNotificationsByIdReq)(nil), // 7: pb.GetNotificationsByIdReq (*GetNotificationsByIdResp)(nil), // 8: pb.GetNotificationsByIdResp (*SearchNotificationsReq)(nil), // 9: pb.SearchNotificationsReq (*SearchNotificationsResp)(nil), // 10: pb.SearchNotificationsResp } var file_notification_proto_depIdxs = []int32{ 0, // 0: pb.GetNotificationsByIdResp.notifications:type_name -> pb.Notifications 0, // 1: pb.SearchNotificationsResp.notifications:type_name -> pb.Notifications 1, // 2: pb.notificationService.AddNotifications:input_type -> pb.AddNotificationsReq 3, // 3: pb.notificationService.UpdateNotifications:input_type -> pb.UpdateNotificationsReq 5, // 4: pb.notificationService.DelNotifications:input_type -> pb.DelNotificationsReq 7, // 5: pb.notificationService.GetNotificationsById:input_type -> pb.GetNotificationsByIdReq 9, // 6: pb.notificationService.SearchNotifications:input_type -> pb.SearchNotificationsReq 2, // 7: pb.notificationService.AddNotifications:output_type -> pb.AddNotificationsResp 4, // 8: pb.notificationService.UpdateNotifications:output_type -> pb.UpdateNotificationsResp 6, // 9: pb.notificationService.DelNotifications:output_type -> pb.DelNotificationsResp 8, // 10: pb.notificationService.GetNotificationsById:output_type -> pb.GetNotificationsByIdResp 10, // 11: pb.notificationService.SearchNotifications:output_type -> pb.SearchNotificationsResp 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_notification_proto_init() } func file_notification_proto_init() { if File_notification_proto != nil { return } file_notification_proto_msgTypes[1].OneofWrappers = []any{} file_notification_proto_msgTypes[3].OneofWrappers = []any{} file_notification_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_notification_proto_rawDesc), len(file_notification_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, NumServices: 1, }, GoTypes: file_notification_proto_goTypes, DependencyIndexes: file_notification_proto_depIdxs, MessageInfos: file_notification_proto_msgTypes, }.Build() File_notification_proto = out.File file_notification_proto_goTypes = nil file_notification_proto_depIdxs = nil }