This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
/
notification.pb.go
119 lines (104 loc) · 4.59 KB
/
notification.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: flyteidl/admin/notification.proto
package admin
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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
// Represents the Email object that is sent to a publisher/subscriber
// to forward the notification.
// Note: This is internal to Admin and doesn't need to be exposed to other components.
type EmailMessage struct {
// The list of email addresses to receive an email with the content populated in the other fields.
// Currently, each email recipient will receive its own email.
// This populates the TO field.
RecipientsEmail []string `protobuf:"bytes,1,rep,name=recipients_email,json=recipientsEmail,proto3" json:"recipients_email,omitempty"`
// The email of the sender.
// This populates the FROM field.
SenderEmail string `protobuf:"bytes,2,opt,name=sender_email,json=senderEmail,proto3" json:"sender_email,omitempty"`
// The content of the subject line.
// This populates the SUBJECT field.
SubjectLine string `protobuf:"bytes,3,opt,name=subject_line,json=subjectLine,proto3" json:"subject_line,omitempty"`
// The content of the email body.
// This populates the BODY field.
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EmailMessage) Reset() { *m = EmailMessage{} }
func (m *EmailMessage) String() string { return proto.CompactTextString(m) }
func (*EmailMessage) ProtoMessage() {}
func (*EmailMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_cbe32eb21e00da05, []int{0}
}
func (m *EmailMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EmailMessage.Unmarshal(m, b)
}
func (m *EmailMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EmailMessage.Marshal(b, m, deterministic)
}
func (m *EmailMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_EmailMessage.Merge(m, src)
}
func (m *EmailMessage) XXX_Size() int {
return xxx_messageInfo_EmailMessage.Size(m)
}
func (m *EmailMessage) XXX_DiscardUnknown() {
xxx_messageInfo_EmailMessage.DiscardUnknown(m)
}
var xxx_messageInfo_EmailMessage proto.InternalMessageInfo
func (m *EmailMessage) GetRecipientsEmail() []string {
if m != nil {
return m.RecipientsEmail
}
return nil
}
func (m *EmailMessage) GetSenderEmail() string {
if m != nil {
return m.SenderEmail
}
return ""
}
func (m *EmailMessage) GetSubjectLine() string {
if m != nil {
return m.SubjectLine
}
return ""
}
func (m *EmailMessage) GetBody() string {
if m != nil {
return m.Body
}
return ""
}
func init() {
proto.RegisterType((*EmailMessage)(nil), "flyteidl.admin.EmailMessage")
}
func init() { proto.RegisterFile("flyteidl/admin/notification.proto", fileDescriptor_cbe32eb21e00da05) }
var fileDescriptor_cbe32eb21e00da05 = []byte{
// 206 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xbf, 0x4e, 0xc3, 0x30,
0x10, 0x87, 0x15, 0x5a, 0x21, 0xd5, 0x54, 0x80, 0x3c, 0x65, 0x6c, 0x99, 0xca, 0x40, 0x2c, 0xd4,
0x37, 0x40, 0x62, 0x83, 0x25, 0x23, 0x4b, 0xe4, 0x3f, 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