// Code generated by protoc-gen-go. DO NOT EDIT.
// source: yandex/cloud/serverless/triggers/v1/trigger.proto

package triggers

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	duration "github.com/golang/protobuf/ptypes/duration"
	timestamp "github.com/golang/protobuf/ptypes/timestamp"
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type TriggerType int32

const (
	TriggerType_TRIGGER_TYPE_UNSPECIFIED TriggerType = 0
	TriggerType_MESSAGE_QUEUE            TriggerType = 3
)

var TriggerType_name = map[int32]string{
	0: "TRIGGER_TYPE_UNSPECIFIED",
	3: "MESSAGE_QUEUE",
}

var TriggerType_value = map[string]int32{
	"TRIGGER_TYPE_UNSPECIFIED": 0,
	"MESSAGE_QUEUE":            3,
}

func (x TriggerType) String() string {
	return proto.EnumName(TriggerType_name, int32(x))
}

func (TriggerType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_83d7b339cc811d06, []int{0}
}

type Trigger struct {
	// ID of the trigger.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the trigger belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Timestamp when the trigger was created.
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the trigger.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the trigger.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as `key:value` pairs.
	Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Defines trigger rule (is always consistent with type filed)
	Rule                 *Trigger_Rule `protobuf:"bytes,8,opt,name=rule,proto3" json:"rule,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (m *Trigger) Reset()         { *m = Trigger{} }
func (m *Trigger) String() string { return proto.CompactTextString(m) }
func (*Trigger) ProtoMessage()    {}
func (*Trigger) Descriptor() ([]byte, []int) {
	return fileDescriptor_83d7b339cc811d06, []int{0}
}

func (m *Trigger) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Trigger.Unmarshal(m, b)
}
func (m *Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Trigger.Marshal(b, m, deterministic)
}
func (m *Trigger) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Trigger.Merge(m, src)
}
func (m *Trigger) XXX_Size() int {
	return xxx_messageInfo_Trigger.Size(m)
}
func (m *Trigger) XXX_DiscardUnknown() {
	xxx_messageInfo_Trigger.DiscardUnknown(m)
}

var xxx_messageInfo_Trigger proto.InternalMessageInfo

func (m *Trigger) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *Trigger) GetFolderId() string {
	if m != nil {
		return m.FolderId
	}
	return ""
}

func (m *Trigger) GetCreatedAt() *timestamp.Timestamp {
	if m != nil {
		return m.CreatedAt
	}
	return nil
}

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

func (m *Trigger) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

func (m *Trigger) GetLabels() map[string]string {
	if m != nil {
		return m.Labels
	}
	return nil
}

func (m *Trigger) GetRule() *Trigger_Rule {
	if m != nil {
		return m.Rule
	}
	return nil
}

type Trigger_Rule struct {
	// Types that are valid to be assigned to Rule:
	//	*Trigger_Rule_MessageQueue
	//	*Trigger_Rule_IotMessage
	Rule                 isTrigger_Rule_Rule `protobuf_oneof:"rule"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *Trigger_Rule) Reset()         { *m = Trigger_Rule{} }
func (m *Trigger_Rule) String() string { return proto.CompactTextString(m) }
func (*Trigger_Rule) ProtoMessage()    {}
func (*Trigger_Rule) Descriptor() ([]byte, []int) {
	return fileDescriptor_83d7b339cc811d06, []int{0, 1}
}

func (m *Trigger_Rule) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Trigger_Rule.Unmarshal(m, b)
}
func (m *Trigger_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Trigger_Rule.Marshal(b, m, deterministic)
}
func (m *Trigger_Rule) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Trigger_Rule.Merge(m, src)
}
func (m *Trigger_Rule) XXX_Size() int {
	return xxx_messageInfo_Trigger_Rule.Size(m)
}
func (m *Trigger_Rule) XXX_DiscardUnknown() {
	xxx_messageInfo_Trigger_Rule.DiscardUnknown(m)
}

var xxx_messageInfo_Trigger_Rule proto.InternalMessageInfo

type isTrigger_Rule_Rule interface {
	isTrigger_Rule_Rule()
}

type Trigger_Rule_MessageQueue struct {
	MessageQueue *Trigger_MessageQueue `protobuf:"bytes,3,opt,name=message_queue,json=messageQueue,proto3,oneof"`
}

type Trigger_Rule_IotMessage struct {
	IotMessage *Trigger_IoTMessage `protobuf:"bytes,4,opt,name=iot_message,json=iotMessage,proto3,oneof"`
}

func (*Trigger_Rule_MessageQueue) isTrigger_Rule_Rule() {}

func (*Trigger_Rule_IotMessage) isTrigger_Rule_Rule() {}

func (m *Trigger_Rule) GetRule() isTrigger_Rule_Rule {
	if m != nil {
		return m.Rule
	}
	return nil
}

func (m *Trigger_Rule) GetMessageQueue() *Trigger_MessageQueue {
	if x, ok := m.GetRule().(*Trigger_Rule_MessageQueue); ok {
		return x.MessageQueue
	}
	return nil
}

func (m *Trigger_Rule) GetIotMessage() *Trigger_IoTMessage {
	if x, ok := m.GetRule().(*Trigger_Rule_IotMessage); ok {
		return x.IotMessage
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*Trigger_Rule) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*Trigger_Rule_MessageQueue)(nil),
		(*Trigger_Rule_IotMessage)(nil),
	}
}

type Trigger_MessageQueue struct {
	// ID of the queue.
	//
	// Types that are valid to be assigned to Queue:
	//	*Trigger_MessageQueue_Arn
	Queue isTrigger_MessageQueue_Queue `protobuf_oneof:"queue"`
	// SA which has read access to the queue.
	ServiceAccountId string `protobuf:"bytes,3,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Batch settings for YMQ client.
	BatchSettings *BatchSettings `protobuf:"bytes,4,opt,name=batch_settings,json=batchSettings,proto3" json:"batch_settings,omitempty"`
	// Types that are valid to be assigned to Action:
	//	*Trigger_MessageQueue_InvokeFunction
	Action               isTrigger_MessageQueue_Action `protobuf_oneof:"action"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (m *Trigger_MessageQueue) Reset()         { *m = Trigger_MessageQueue{} }
func (m *Trigger_MessageQueue) String() string { return proto.CompactTextString(m) }
func (*Trigger_MessageQueue) ProtoMessage()    {}
func (*Trigger_MessageQueue) Descriptor() ([]byte, []int) {
	return fileDescriptor_83d7b339cc811d06, []int{0, 2}
}

func (m *Trigger_MessageQueue) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Trigger_MessageQueue.Unmarshal(m, b)
}
func (m *Trigger_MessageQueue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Trigger_MessageQueue.Marshal(b, m, deterministic)
}
func (m *Trigger_MessageQueue) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Trigger_MessageQueue.Merge(m, src)
}
func (m *Trigger_MessageQueue) XXX_Size() int {
	return xxx_messageInfo_Trigger_MessageQueue.Size(m)
}
func (m *Trigger_MessageQueue) XXX_DiscardUnknown() {
	xxx_messageInfo_Trigger_MessageQueue.DiscardUnknown(m)
}

var xxx_messageInfo_Trigger_MessageQueue proto.InternalMessageInfo

type isTrigger_MessageQueue_Queue interface {
	isTrigger_MessageQueue_Queue()
}

type Trigger_MessageQueue_Arn struct {
	Arn string `protobuf:"bytes,11,opt,name=arn,proto3,oneof"`
}

func (*Trigger_MessageQueue_Arn) isTrigger_MessageQueue_Queue() {}

func (m *Trigger_MessageQueue) GetQueue() isTrigger_MessageQueue_Queue {
	if m != nil {
		return m.Queue
	}
	return nil
}

func (m *Trigger_MessageQueue) GetArn() string {
	if x, ok := m.GetQueue().(*Trigger_MessageQueue_Arn); ok {
		return x.Arn
	}
	return ""
}

func (m *Trigger_MessageQueue) GetServiceAccountId() string {
	if m != nil {
		return m.ServiceAccountId
	}
	return ""
}

func (m *Trigger_MessageQueue) GetBatchSettings() *BatchSettings {
	if m != nil {
		return m.BatchSettings
	}
	return nil
}

type isTrigger_MessageQueue_Action interface {
	isTrigger_MessageQueue_Action()
}

type Trigger_MessageQueue_InvokeFunction struct {
	InvokeFunction *InvokeFunctionOnce `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"`
}

func (*Trigger_MessageQueue_InvokeFunction) isTrigger_MessageQueue_Action() {}

func (m *Trigger_MessageQueue) GetAction() isTrigger_MessageQueue_Action {
	if m != nil {
		return m.Action
	}
	return nil
}

func (m *Trigger_MessageQueue) GetInvokeFunction() *InvokeFunctionOnce {
	if x, ok := m.GetAction().(*Trigger_MessageQueue_InvokeFunction); ok {
		return x.InvokeFunction
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*Trigger_MessageQueue) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*Trigger_MessageQueue_Arn)(nil),
		(*Trigger_MessageQueue_InvokeFunction)(nil),
	}
}

type Trigger_IoTMessage struct {
	RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"`
	DeviceId   string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	MqttTopic  string `protobuf:"bytes,3,opt,name=mqtt_topic,json=mqttTopic,proto3" json:"mqtt_topic,omitempty"`
	// Types that are valid to be assigned to Action:
	//	*Trigger_IoTMessage_InvokeFunction
	Action               isTrigger_IoTMessage_Action `protobuf_oneof:"action"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (m *Trigger_IoTMessage) Reset()         { *m = Trigger_IoTMessage{} }
func (m *Trigger_IoTMessage) String() string { return proto.CompactTextString(m) }
func (*Trigger_IoTMessage) ProtoMessage()    {}
func (*Trigger_IoTMessage) Descriptor() ([]byte, []int) {
	return fileDescriptor_83d7b339cc811d06, []int{0, 3}
}

func (m *Trigger_IoTMessage) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Trigger_IoTMessage.Unmarshal(m, b)
}
func (m *Trigger_IoTMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Trigger_IoTMessage.Marshal(b, m, deterministic)
}
func (m *Trigger_IoTMessage) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Trigger_IoTMessage.Merge(m, src)
}
func (m *Trigger_IoTMessage) XXX_Size() int {
	return xxx_messageInfo_Trigger_IoTMessage.Size(m)
}
func (m *Trigger_IoTMessage) XXX_DiscardUnknown() {
	xxx_messageInfo_Trigger_IoTMessage.DiscardUnknown(m)
}

var xxx_messageInfo_Trigger_IoTMessage proto.InternalMessageInfo

func (m *Trigger_IoTMessage) GetRegistryId() string {
	if m != nil {
		return m.RegistryId
	}
	return ""
}

func (m *Trigger_IoTMessage) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

func (m *Trigger_IoTMessage) GetMqttTopic() string {
	if m != nil {
		return m.MqttTopic
	}
	return ""
}

type isTrigger_IoTMessage_Action interface {
	isTrigger_IoTMessage_Action()
}

type Trigger_IoTMessage_InvokeFunction struct {
	InvokeFunction *InvokeFunctionWithRetry `protobuf:"bytes,101,opt,name=invoke_function,json=invokeFunction,proto3,oneof"`
}

func (*Trigger_IoTMessage_InvokeFunction) isTrigger_IoTMessage_Action() {}

func (m *Trigger_IoTMessage) GetAction() isTrigger_IoTMessage_Action {
	if m != nil {
		return m.Action
	}
	return nil
}

func (m *Trigger_IoTMessage) GetInvokeFunction() *InvokeFunctionWithRetry {
	if x, ok := m.GetAction().(*Trigger_IoTMessage_InvokeFunction); ok {
		return x.InvokeFunction
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*Trigger_IoTMessage) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*Trigger_IoTMessage_InvokeFunction)(nil),
	}
}

type InvokeFunctionOnce struct {
	FunctionId  string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	FunctionTag string `protobuf:"bytes,2,opt,name=function_tag,json=functionTag,proto3" json:"function_tag,omitempty"`
	// SA which should be used to call a function, optional.
	ServiceAccountId     string   `protobuf:"bytes,3,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *InvokeFunctionOnce) Reset()         { *m = InvokeFunctionOnce{} }
func (m *InvokeFunctionOnce) String() string { return proto.CompactTextString(m) }
func (*InvokeFunctionOnce) ProtoMessage()    {}
func (*InvokeFunctionOnce) Descriptor() ([]byte, []int) {
	return fileDescriptor_83d7b339cc811d06, []int{1}
}

func (m *InvokeFunctionOnce) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_InvokeFunctionOnce.Unmarshal(m, b)
}
func (m *InvokeFunctionOnce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_InvokeFunctionOnce.Marshal(b, m, deterministic)
}
func (m *InvokeFunctionOnce) XXX_Merge(src proto.Message) {
	xxx_messageInfo_InvokeFunctionOnce.Merge(m, src)
}
func (m *InvokeFunctionOnce) XXX_Size() int {
	return xxx_messageInfo_InvokeFunctionOnce.Size(m)
}
func (m *InvokeFunctionOnce) XXX_DiscardUnknown() {
	xxx_messageInfo_InvokeFunctionOnce.DiscardUnknown(m)
}

var xxx_messageInfo_InvokeFunctionOnce proto.InternalMessageInfo

func (m *InvokeFunctionOnce) GetFunctionId() string {
	if m != nil {
		return m.FunctionId
	}
	return ""
}

func (m *InvokeFunctionOnce) GetFunctionTag() string {
	if m != nil {
		return m.FunctionTag
	}
	return ""
}

func (m *InvokeFunctionOnce) GetServiceAccountId() string {
	if m != nil {
		return m.ServiceAccountId
	}
	return ""
}

type InvokeFunctionWithRetry struct {
	FunctionId  string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	FunctionTag string `protobuf:"bytes,2,opt,name=function_tag,json=functionTag,proto3" json:"function_tag,omitempty"`
	// SA which has call permission on the function, optional.
	ServiceAccountId string `protobuf:"bytes,3,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Retry policy, optional (no value means no retry).
	RetrySettings        *RetrySettings `protobuf:"bytes,4,opt,name=retry_settings,json=retrySettings,proto3" json:"retry_settings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *InvokeFunctionWithRetry) Reset()         { *m = InvokeFunctionWithRetry{} }
func (m *InvokeFunctionWithRetry) String() string { return proto.CompactTextString(m) }
func (*InvokeFunctionWithRetry) ProtoMessage()    {}
func (*InvokeFunctionWithRetry) Descriptor() ([]byte, []int) {
	return fileDescriptor_83d7b339cc811d06, []int{2}
}

func (m *InvokeFunctionWithRetry) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_InvokeFunctionWithRetry.Unmarshal(m, b)
}
func (m *InvokeFunctionWithRetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_InvokeFunctionWithRetry.Marshal(b, m, deterministic)
}
func (m *InvokeFunctionWithRetry) XXX_Merge(src proto.Message) {
	xxx_messageInfo_InvokeFunctionWithRetry.Merge(m, src)
}
func (m *InvokeFunctionWithRetry) XXX_Size() int {
	return xxx_messageInfo_InvokeFunctionWithRetry.Size(m)
}
func (m *InvokeFunctionWithRetry) XXX_DiscardUnknown() {
	xxx_messageInfo_InvokeFunctionWithRetry.DiscardUnknown(m)
}

var xxx_messageInfo_InvokeFunctionWithRetry proto.InternalMessageInfo

func (m *InvokeFunctionWithRetry) GetFunctionId() string {
	if m != nil {
		return m.FunctionId
	}
	return ""
}

func (m *InvokeFunctionWithRetry) GetFunctionTag() string {
	if m != nil {
		return m.FunctionTag
	}
	return ""
}

func (m *InvokeFunctionWithRetry) GetServiceAccountId() string {
	if m != nil {
		return m.ServiceAccountId
	}
	return ""
}

func (m *InvokeFunctionWithRetry) GetRetrySettings() *RetrySettings {
	if m != nil {
		return m.RetrySettings
	}
	return nil
}

type BatchSettings struct {
	// Maximum batch size: trigger will send a batch if number of events exceeds this value.
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// Maximum batch size: trigger will send a batch if its lifetime exceeds this value.
	Cutoff               *duration.Duration `protobuf:"bytes,2,opt,name=cutoff,proto3" json:"cutoff,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (m *BatchSettings) Reset()         { *m = BatchSettings{} }
func (m *BatchSettings) String() string { return proto.CompactTextString(m) }
func (*BatchSettings) ProtoMessage()    {}
func (*BatchSettings) Descriptor() ([]byte, []int) {
	return fileDescriptor_83d7b339cc811d06, []int{3}
}

func (m *BatchSettings) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BatchSettings.Unmarshal(m, b)
}
func (m *BatchSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BatchSettings.Marshal(b, m, deterministic)
}
func (m *BatchSettings) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BatchSettings.Merge(m, src)
}
func (m *BatchSettings) XXX_Size() int {
	return xxx_messageInfo_BatchSettings.Size(m)
}
func (m *BatchSettings) XXX_DiscardUnknown() {
	xxx_messageInfo_BatchSettings.DiscardUnknown(m)
}

var xxx_messageInfo_BatchSettings proto.InternalMessageInfo

func (m *BatchSettings) GetSize() int64 {
	if m != nil {
		return m.Size
	}
	return 0
}

func (m *BatchSettings) GetCutoff() *duration.Duration {
	if m != nil {
		return m.Cutoff
	}
	return nil
}

type RetrySettings struct {
	// Maximum number of retries (extra calls) before an action fails.
	RetryAttempts int64 `protobuf:"varint,1,opt,name=retry_attempts,json=retryAttempts,proto3" json:"retry_attempts,omitempty"`
	// Interval between tries.
	Interval             *duration.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (m *RetrySettings) Reset()         { *m = RetrySettings{} }
func (m *RetrySettings) String() string { return proto.CompactTextString(m) }
func (*RetrySettings) ProtoMessage()    {}
func (*RetrySettings) Descriptor() ([]byte, []int) {
	return fileDescriptor_83d7b339cc811d06, []int{4}
}

func (m *RetrySettings) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RetrySettings.Unmarshal(m, b)
}
func (m *RetrySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RetrySettings.Marshal(b, m, deterministic)
}
func (m *RetrySettings) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RetrySettings.Merge(m, src)
}
func (m *RetrySettings) XXX_Size() int {
	return xxx_messageInfo_RetrySettings.Size(m)
}
func (m *RetrySettings) XXX_DiscardUnknown() {
	xxx_messageInfo_RetrySettings.DiscardUnknown(m)
}

var xxx_messageInfo_RetrySettings proto.InternalMessageInfo

func (m *RetrySettings) GetRetryAttempts() int64 {
	if m != nil {
		return m.RetryAttempts
	}
	return 0
}

func (m *RetrySettings) GetInterval() *duration.Duration {
	if m != nil {
		return m.Interval
	}
	return nil
}

func init() {
	proto.RegisterEnum("yandex.cloud.serverless.triggers.v1.TriggerType", TriggerType_name, TriggerType_value)
	proto.RegisterType((*Trigger)(nil), "yandex.cloud.serverless.triggers.v1.Trigger")
	proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.serverless.triggers.v1.Trigger.LabelsEntry")
	proto.RegisterType((*Trigger_Rule)(nil), "yandex.cloud.serverless.triggers.v1.Trigger.Rule")
	proto.RegisterType((*Trigger_MessageQueue)(nil), "yandex.cloud.serverless.triggers.v1.Trigger.MessageQueue")
	proto.RegisterType((*Trigger_IoTMessage)(nil), "yandex.cloud.serverless.triggers.v1.Trigger.IoTMessage")
	proto.RegisterType((*InvokeFunctionOnce)(nil), "yandex.cloud.serverless.triggers.v1.InvokeFunctionOnce")
	proto.RegisterType((*InvokeFunctionWithRetry)(nil), "yandex.cloud.serverless.triggers.v1.InvokeFunctionWithRetry")
	proto.RegisterType((*BatchSettings)(nil), "yandex.cloud.serverless.triggers.v1.BatchSettings")
	proto.RegisterType((*RetrySettings)(nil), "yandex.cloud.serverless.triggers.v1.RetrySettings")
}

func init() {
	proto.RegisterFile("yandex/cloud/serverless/triggers/v1/trigger.proto", fileDescriptor_83d7b339cc811d06)
}

var fileDescriptor_83d7b339cc811d06 = []byte{
	// 897 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x41, 0x73, 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