//
//События уведомлений

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.30.0
// 	protoc        v4.23.1
// source: keyapis/bell/v1/keyapis_bell_events_v1.proto

package keyapis_bell_v1

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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)
)

// Задача на отправку уведомления.
// Очередь key.bell.send_push_notification
type SendPushNotificationTask struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор запроса
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// ОРПОН
	Orpon int64 `protobuf:"varint,2,opt,name=orpon,proto3" json:"orpon,omitempty"`
	// Номер квартиры
	RoomNumber string `protobuf:"bytes,3,opt,name=room_number,json=roomNumber,proto3" json:"room_number,omitempty"`
	// Заголовок уведомления
	Header string `protobuf:"bytes,4,opt,name=header,proto3" json:"header,omitempty"`
	// Текст уведомления
	Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"`
	// Полезная нагрузка
	Payload map[string]string `protobuf:"bytes,6,rep,name=payload,proto3" json:"payload,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}

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

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

func (*SendPushNotificationTask) ProtoMessage() {}

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

func (x *SendPushNotificationTask) GetRequestId() string {
	if x != nil {
		return x.RequestId
	}
	return ""
}

func (x *SendPushNotificationTask) GetOrpon() int64 {
	if x != nil {
		return x.Orpon
	}
	return 0
}

func (x *SendPushNotificationTask) GetRoomNumber() string {
	if x != nil {
		return x.RoomNumber
	}
	return ""
}

func (x *SendPushNotificationTask) GetHeader() string {
	if x != nil {
		return x.Header
	}
	return ""
}

func (x *SendPushNotificationTask) GetText() string {
	if x != nil {
		return x.Text
	}
	return ""
}

func (x *SendPushNotificationTask) GetPayload() map[string]string {
	if x != nil {
		return x.Payload
	}
	return nil
}

var File_keyapis_bell_v1_keyapis_bell_events_v1_proto protoreflect.FileDescriptor

var file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDesc = []byte{
	0x0a, 0x2c, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x62, 0x65, 0x6c, 0x6c, 0x2f, 0x76,
	0x31, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x62, 0x65, 0x6c, 0x6c, 0x5f, 0x65,
	0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f,
	0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x76, 0x31, 0x1a,
	0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
	0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x22, 0xc3, 0x02, 0x0a, 0x18, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74,
	0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x22, 0x0a,
	0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49,
	0x64, 0x12, 0x19, 0x0a, 0x05, 0x6f, 0x72, 0x70, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
	0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x6f, 0x72, 0x70, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0b,
	0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
	0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62,
	0x65, 0x72, 0x12, 0x1b, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01,
	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12,
	0x17, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
	0x41, 0x02, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x50, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c,
	0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64,
	0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
	0x54, 0x61, 0x73, 0x6b, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x6e, 0x74, 0x72,
	0x79, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x3a, 0x0a, 0x0c, 0x50, 0x61,
	0x79, 0x6c, 0x6f, 0x61, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
	0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x8c, 0x01, 0x0a, 0x12, 0x72, 0x75, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x62, 0x65, 0x6c, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x4b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x42, 0x65, 0x6c, 0x6c, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74,
	0x6f, 0x48, 0x03, 0x50, 0x00, 0x5a, 0x10, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f,
	0x62, 0x65, 0x6c, 0x6c, 0x5f, 0x76, 0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x0d,
	0x4b, 0x45, 0x59, 0x41, 0x50, 0x49, 0x53, 0x42, 0x45, 0x4c, 0x4c, 0x56, 0x31, 0xaa, 0x02, 0x0f,
	0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x42, 0x65, 0x6c, 0x6c, 0x2e, 0x56, 0x31, 0xca,
	0x02, 0x0f, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x42, 0x65, 0x6c, 0x6c, 0x5c, 0x56,
	0x31, 0xea, 0x02, 0x11, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x42, 0x65, 0x6c,
	0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDescOnce sync.Once
	file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDescData = file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDesc
)

func file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDescGZIP() []byte {
	file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDescData)
	})
	return file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDescData
}

var file_keyapis_bell_v1_keyapis_bell_events_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_keyapis_bell_v1_keyapis_bell_events_v1_proto_goTypes = []interface{}{
	(*SendPushNotificationTask)(nil), // 0: keyapis.bell.v1.SendPushNotificationTask
	nil,                              // 1: keyapis.bell.v1.SendPushNotificationTask.PayloadEntry
}
var file_keyapis_bell_v1_keyapis_bell_events_v1_proto_depIdxs = []int32{
	1, // 0: keyapis.bell.v1.SendPushNotificationTask.payload:type_name -> keyapis.bell.v1.SendPushNotificationTask.PayloadEntry
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_keyapis_bell_v1_keyapis_bell_events_v1_proto_init() }
func file_keyapis_bell_v1_keyapis_bell_events_v1_proto_init() {
	if File_keyapis_bell_v1_keyapis_bell_events_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_bell_v1_keyapis_bell_events_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SendPushNotificationTask); 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_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_keyapis_bell_v1_keyapis_bell_events_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_bell_v1_keyapis_bell_events_v1_proto_depIdxs,
		MessageInfos:      file_keyapis_bell_v1_keyapis_bell_events_v1_proto_msgTypes,
	}.Build()
	File_keyapis_bell_v1_keyapis_bell_events_v1_proto = out.File
	file_keyapis_bell_v1_keyapis_bell_events_v1_proto_rawDesc = nil
	file_keyapis_bell_v1_keyapis_bell_events_v1_proto_goTypes = nil
	file_keyapis_bell_v1_keyapis_bell_events_v1_proto_depIdxs = nil
}
