/
messsage_data.pb.go
172 lines (154 loc) · 6.44 KB
/
messsage_data.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: messsage_data.proto
package msgsender
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//消息的内容
type MessageData struct {
//
//通知的内容(正文)
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content" form:"content"`
//
//通知标题(邮件通知方式用)
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject" form:"subject"`
//
//抄送的邮箱地址
CcAddr []string `protobuf:"bytes,3,rep,name=cc_addr,json=ccAddr,proto3" json:"cc_addr" form:"cc_addr"`
//
//抄送的用户列表(带:前缀则按实例ID处理)
CcUser []string `protobuf:"bytes,4,rep,name=cc_user,json=ccUser,proto3" json:"cc_user" form:"cc_user"`
//
//抄送的用户组列表(带:前缀则按实例ID处理)
CcGroup []string `protobuf:"bytes,5,rep,name=cc_group,json=ccGroup,proto3" json:"cc_group" form:"cc_group"`
//
//邮件发送者的名称
FromName string `protobuf:"bytes,6,opt,name=from_name,json=fromName,proto3" json:"from_name" form:"from_name"`
//
//邮件发送者的邮箱地址
FromAddr string `protobuf:"bytes,7,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr" form:"from_addr"`
//
//邮件内容类型
MsgType string `protobuf:"bytes,8,opt,name=msg_type,json=msgType,proto3" json:"msg_type" form:"msg_type"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageData) Reset() { *m = MessageData{} }
func (m *MessageData) String() string { return proto.CompactTextString(m) }
func (*MessageData) ProtoMessage() {}
func (*MessageData) Descriptor() ([]byte, []int) {
return fileDescriptor_8835abb4c797bc44, []int{0}
}
func (m *MessageData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageData.Unmarshal(m, b)
}
func (m *MessageData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageData.Marshal(b, m, deterministic)
}
func (m *MessageData) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageData.Merge(m, src)
}
func (m *MessageData) XXX_Size() int {
return xxx_messageInfo_MessageData.Size(m)
}
func (m *MessageData) XXX_DiscardUnknown() {
xxx_messageInfo_MessageData.DiscardUnknown(m)
}
var xxx_messageInfo_MessageData proto.InternalMessageInfo
func (m *MessageData) GetContent() string {
if m != nil {
return m.Content
}
return ""
}
func (m *MessageData) GetSubject() string {
if m != nil {
return m.Subject
}
return ""
}
func (m *MessageData) GetCcAddr() []string {
if m != nil {
return m.CcAddr
}
return nil
}
func (m *MessageData) GetCcUser() []string {
if m != nil {
return m.CcUser
}
return nil
}
func (m *MessageData) GetCcGroup() []string {
if m != nil {
return m.CcGroup
}
return nil
}
func (m *MessageData) GetFromName() string {
if m != nil {
return m.FromName
}
return ""
}
func (m *MessageData) GetFromAddr() string {
if m != nil {
return m.FromAddr
}
return ""
}
func (m *MessageData) GetMsgType() string {
if m != nil {
return m.MsgType
}
return ""
}
func init() {
proto.RegisterType((*MessageData)(nil), "msgsender.MessageData")
}
func init() { proto.RegisterFile("messsage_data.proto", fileDescriptor_8835abb4c797bc44) }
var fileDescriptor_8835abb4c797bc44 = []byte{
// 432 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xcd, 0x6e, 0x13, 0x31,
0x10, 0xc7, 0x55, 0x5a, 0xf2, 0xb1, 0x48, 0x80, 0x5c, 0x0e, 0xab, 0x5e, 0x52, 0xad, 0x38, 0xa4,
0x6a, 0xd7, 0xe6, 0x43, 0x42, 0x7c, 0x08, 0x89, 0x06, 0x10, 0x27, 0x38, 0x2c, 0xf4, 0x52, 0x52,
0x56, 0x8e, 0x3d, 0x31, 0x81, 0x75, 0x66, 0x65, 0x7b, 0xa9, 0x02, 0xe2, 0x09, 0x78, 0xc7, 0x20,
0xf1, 0x08, 0x79, 0x02, 0xb4, 0xb3, 0x49, 0x14, 0x22, 0x8e, 0xbd, 0xcd, 0xf8, 0xff, 0xfb, 0xef,
0x7f, 0xc7, 0x9e, 0x68, 0xdf, 0x82, 0xf7, 0x5e, 0x1a, 0xc8, 0xb5, 0x0c, 0x92, 0x97, 0x0e, 0x03,
0xb2, 0xae, 0xf5, 0xc6, 0xc3, 0x54, 0x83, 0x3b, 0x48, 0xcd, 0x24, 0x7c, 0xae, 0x46, 0x5c, 0xa1,
0x15, 0x06, 0x0d, 0x0a, 0x22, 0x46, 0xd5, 0x98, 0x3a, 0x6a, 0xa8, 0x6a, 0x9c, 0x07, 0x8f, 0x36,
0x70, 0x7b, 0x39, 0x09, 0x5f, 0xf1, 0x52, 0x18, 0x4c, 0x49, 0x4c, 0xbf, 0xc9, 0x62, 0xa2, 0x65,
0x40, 0xe7, 0xc5, 0xba, 0x6c, 0x7c, 0xc9, 0xa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