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

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

package keyapis_exchange_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.exchange.sending_sms
type SendingSmsTask 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"`
	// Тип шаблона
	TemplateKind string `protobuf:"bytes,2,opt,name=template_kind,json=templateKind,proto3" json:"template_kind,omitempty"`
	// Назначение
	Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	// Переменные шаблона
	TemplateVariables []*SendingSmsTask_TemplateVariable `protobuf:"bytes,4,rep,name=template_variables,json=templateVariables,proto3" json:"template_variables,omitempty"`
}

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

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

func (*SendingSmsTask) ProtoMessage() {}

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

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

func (x *SendingSmsTask) GetTemplateKind() string {
	if x != nil {
		return x.TemplateKind
	}
	return ""
}

func (x *SendingSmsTask) GetDestination() string {
	if x != nil {
		return x.Destination
	}
	return ""
}

func (x *SendingSmsTask) GetTemplateVariables() []*SendingSmsTask_TemplateVariable {
	if x != nil {
		return x.TemplateVariables
	}
	return nil
}

// Переменные шаблона
type SendingSmsTask_TemplateVariable struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Наименование
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Значение
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

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

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

func (*SendingSmsTask_TemplateVariable) ProtoMessage() {}

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

func (x *SendingSmsTask_TemplateVariable) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *SendingSmsTask_TemplateVariable) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

var File_keyapis_exchange_v1_keyapis_exchange_events_v1_proto protoreflect.FileDescriptor

var file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDesc = []byte{
	0x0a, 0x34, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
	0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x65, 0x78,
	0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x76, 0x31,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e,
	0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 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, 0xb2, 0x02, 0x0a,
	0x0e, 0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x6d, 0x73, 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, 0x28, 0x0a, 0x0d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f,
	0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
	0x0c, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x25, 0x0a,
	0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x0a, 0x12, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
	0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
	0x32, 0x34, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x78, 0x63, 0x68, 0x61,
	0x6e, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x6d,
	0x73, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x61,
	0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x11, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
	0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x46, 0x0a, 0x10, 0x54, 0x65, 0x6d,
	0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a,
	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
	0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
	0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
	0x65, 0x42, 0xa9, 0x01, 0x0a, 0x16, 0x72, 0x75, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x4b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x56, 0x31, 0x50,
	0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50, 0x00, 0x5a, 0x14, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x76, 0x31, 0xd8, 0x01,
	0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x12, 0x4b, 0x45, 0x59, 0x41, 0x50, 0x49, 0x53, 0x45, 0x58,
	0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x59, 0x56, 0x31, 0xaa, 0x02, 0x13, 0x4b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x56, 0x31, 0xca,
	0x02, 0x13, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e,
	0x67, 0x65, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x15, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x3a,
	0x3a, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDescOnce sync.Once
	file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDescData = file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDesc
)

func file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDescGZIP() []byte {
	file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDescData)
	})
	return file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDescData
}

var file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_goTypes = []interface{}{
	(*SendingSmsTask)(nil),                  // 0: keyapis.exchange.v1.SendingSmsTask
	(*SendingSmsTask_TemplateVariable)(nil), // 1: keyapis.exchange.v1.SendingSmsTask.TemplateVariable
}
var file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_depIdxs = []int32{
	1, // 0: keyapis.exchange.v1.SendingSmsTask.template_variables:type_name -> keyapis.exchange.v1.SendingSmsTask.TemplateVariable
	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_exchange_v1_keyapis_exchange_events_v1_proto_init() }
func file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_init() {
	if File_keyapis_exchange_v1_keyapis_exchange_events_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SendingSmsTask); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SendingSmsTask_TemplateVariable); 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_exchange_v1_keyapis_exchange_events_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_depIdxs,
		MessageInfos:      file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_msgTypes,
	}.Build()
	File_keyapis_exchange_v1_keyapis_exchange_events_v1_proto = out.File
	file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_rawDesc = nil
	file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_goTypes = nil
	file_keyapis_exchange_v1_keyapis_exchange_events_v1_proto_depIdxs = nil
}
