// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.28.0
// 	protoc        v3.20.0
// source: notify/notify_msg.proto

package pb

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	anypb "google.golang.org/protobuf/types/known/anypb"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

//统一错误码推送
type NotifyErrorNotifyPush struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	MsgId       uint32 `protobuf:"varint,1,opt,name=MsgId,proto3" json:"MsgId"`            //消息id 客户端标记
	ReqMainType string `protobuf:"bytes,2,opt,name=ReqMainType,proto3" json:"ReqMainType"` // 请求协议模块 模块名 例如:user 对应项目中 user的模块
	ReqSubType  string `protobuf:"bytes,3,opt,name=ReqSubType,proto3" json:"ReqSubType"`   // 请求协议函数  例如:login  对应项目中 user的模块中
	// api_login 的处理函数
	Code ErrorCode  `protobuf:"varint,4,opt,name=Code,proto3,enum=ErrorCode" json:"Code"` // 执行返回错误码 对应  errorcode.proto 枚举
	Arg  *anypb.Any `protobuf:"bytes,5,opt,name=arg,proto3" json:"arg"`                   //参数信息
	Err  *ErrorData `protobuf:"bytes,6,opt,name=err,proto3" json:"err"`                   //错误数据
}

func (x *NotifyErrorNotifyPush) Reset() {
	*x = NotifyErrorNotifyPush{}
	if protoimpl.UnsafeEnabled {
		mi := &file_notify_notify_msg_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*NotifyErrorNotifyPush) ProtoMessage() {}

func (x *NotifyErrorNotifyPush) ProtoReflect() protoreflect.Message {
	mi := &file_notify_notify_msg_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use NotifyErrorNotifyPush.ProtoReflect.Descriptor instead.
func (*NotifyErrorNotifyPush) Descriptor() ([]byte, []int) {
	return file_notify_notify_msg_proto_rawDescGZIP(), []int{0}
}

func (x *NotifyErrorNotifyPush) GetMsgId() uint32 {
	if x != nil {
		return x.MsgId
	}
	return 0
}

func (x *NotifyErrorNotifyPush) GetReqMainType() string {
	if x != nil {
		return x.ReqMainType
	}
	return ""
}

func (x *NotifyErrorNotifyPush) GetReqSubType() string {
	if x != nil {
		return x.ReqSubType
	}
	return ""
}

func (x *NotifyErrorNotifyPush) GetCode() ErrorCode {
	if x != nil {
		return x.Code
	}
	return ErrorCode_Success
}

func (x *NotifyErrorNotifyPush) GetArg() *anypb.Any {
	if x != nil {
		return x.Arg
	}
	return nil
}

func (x *NotifyErrorNotifyPush) GetErr() *ErrorData {
	if x != nil {
		return x.Err
	}
	return nil
}

//获取系统公告 请求
type NotifyGetListReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *NotifyGetListReq) Reset() {
	*x = NotifyGetListReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_notify_notify_msg_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*NotifyGetListReq) ProtoMessage() {}

func (x *NotifyGetListReq) ProtoReflect() protoreflect.Message {
	mi := &file_notify_notify_msg_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use NotifyGetListReq.ProtoReflect.Descriptor instead.
func (*NotifyGetListReq) Descriptor() ([]byte, []int) {
	return file_notify_notify_msg_proto_rawDescGZIP(), []int{1}
}

//获取系统公告 回应
type NotifyGetListResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	LastReadTime int64             `protobuf:"varint,1,opt,name=LastReadTime,proto3" json:"LastReadTime"` //最后一次阅读时间
	SysNotify    []*DBSystemNotify `protobuf:"bytes,2,rep,name=SysNotify,proto3" json:"SysNotify"`        //公告列表
}

func (x *NotifyGetListResp) Reset() {
	*x = NotifyGetListResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_notify_notify_msg_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*NotifyGetListResp) ProtoMessage() {}

func (x *NotifyGetListResp) ProtoReflect() protoreflect.Message {
	mi := &file_notify_notify_msg_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use NotifyGetListResp.ProtoReflect.Descriptor instead.
func (*NotifyGetListResp) Descriptor() ([]byte, []int) {
	return file_notify_notify_msg_proto_rawDescGZIP(), []int{2}
}

func (x *NotifyGetListResp) GetLastReadTime() int64 {
	if x != nil {
		return x.LastReadTime
	}
	return 0
}

func (x *NotifyGetListResp) GetSysNotify() []*DBSystemNotify {
	if x != nil {
		return x.SysNotify
	}
	return nil
}

var File_notify_notify_msg_proto protoreflect.FileDescriptor

var file_notify_notify_msg_proto_rawDesc = []byte{
	0x0a, 0x17, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f,
	0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2f, 0x6e,
	0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
	0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x15, 0x4e, 0x6f,
	0x74, 0x69, 0x66, 0x79, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x50,
	0x75, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x0d, 0x52, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x52, 0x65, 0x71,
	0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
	0x52, 0x65, 0x71, 0x4d, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x52,
	0x65, 0x71, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
	0x0a, 0x52, 0x65, 0x71, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x04, 0x43,
	0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f,
	0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x26, 0x0a, 0x03, 0x61,
	0x72, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x03,
	0x61, 0x72, 0x67, 0x12, 0x1c, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x03, 0x65, 0x72,
	0x72, 0x22, 0x12, 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x47, 0x65, 0x74, 0x4c, 0x69,
	0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x66, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x47,
	0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x4c, 0x61,
	0x73, 0x74, 0x52, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
	0x52, 0x0c, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2d,
	0x0a, 0x09, 0x53, 0x79, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28,
	0x0b, 0x32, 0x0f, 0x2e, 0x44, 0x42, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69,
	0x66, 0x79, 0x52, 0x09, 0x53, 0x79, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x42, 0x06, 0x5a,
	0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_notify_notify_msg_proto_rawDescOnce sync.Once
	file_notify_notify_msg_proto_rawDescData = file_notify_notify_msg_proto_rawDesc
)

func file_notify_notify_msg_proto_rawDescGZIP() []byte {
	file_notify_notify_msg_proto_rawDescOnce.Do(func() {
		file_notify_notify_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_notify_notify_msg_proto_rawDescData)
	})
	return file_notify_notify_msg_proto_rawDescData
}

var file_notify_notify_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_notify_notify_msg_proto_goTypes = []interface{}{
	(*NotifyErrorNotifyPush)(nil), // 0: NotifyErrorNotifyPush
	(*NotifyGetListReq)(nil),      // 1: NotifyGetListReq
	(*NotifyGetListResp)(nil),     // 2: NotifyGetListResp
	(ErrorCode)(0),                // 3: ErrorCode
	(*anypb.Any)(nil),             // 4: google.protobuf.Any
	(*ErrorData)(nil),             // 5: ErrorData
	(*DBSystemNotify)(nil),        // 6: DBSystemNotify
}
var file_notify_notify_msg_proto_depIdxs = []int32{
	3, // 0: NotifyErrorNotifyPush.Code:type_name -> ErrorCode
	4, // 1: NotifyErrorNotifyPush.arg:type_name -> google.protobuf.Any
	5, // 2: NotifyErrorNotifyPush.err:type_name -> ErrorData
	6, // 3: NotifyGetListResp.SysNotify:type_name -> DBSystemNotify
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_notify_notify_msg_proto_init() }
func file_notify_notify_msg_proto_init() {
	if File_notify_notify_msg_proto != nil {
		return
	}
	file_comm_proto_init()
	file_errorcode_proto_init()
	file_notify_notify_db_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_notify_notify_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*NotifyErrorNotifyPush); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_notify_notify_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*NotifyGetListReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_notify_notify_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*NotifyGetListResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_notify_notify_msg_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_notify_notify_msg_proto_goTypes,
		DependencyIndexes: file_notify_notify_msg_proto_depIdxs,
		MessageInfos:      file_notify_notify_msg_proto_msgTypes,
	}.Build()
	File_notify_notify_msg_proto = out.File
	file_notify_notify_msg_proto_rawDesc = nil
	file_notify_notify_msg_proto_goTypes = nil
	file_notify_notify_msg_proto_depIdxs = nil
}
