gostfix.pb.go 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: gostfix.proto
  3. package common
  4. import (
  5. fmt "fmt"
  6. proto "github.com/golang/protobuf/proto"
  7. math "math"
  8. )
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  18. type MailBody struct {
  19. ContentType string `protobuf:"bytes,1,opt,name=contentType,proto3" json:"contentType,omitempty"`
  20. Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
  21. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  22. XXX_unrecognized []byte `json:"-"`
  23. XXX_sizecache int32 `json:"-"`
  24. }
  25. func (m *MailBody) Reset() { *m = MailBody{} }
  26. func (m *MailBody) String() string { return proto.CompactTextString(m) }
  27. func (*MailBody) ProtoMessage() {}
  28. func (*MailBody) Descriptor() ([]byte, []int) {
  29. return fileDescriptor_0ab36b6dc6e1dcaa, []int{0}
  30. }
  31. func (m *MailBody) XXX_Unmarshal(b []byte) error {
  32. return xxx_messageInfo_MailBody.Unmarshal(m, b)
  33. }
  34. func (m *MailBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  35. return xxx_messageInfo_MailBody.Marshal(b, m, deterministic)
  36. }
  37. func (m *MailBody) XXX_Merge(src proto.Message) {
  38. xxx_messageInfo_MailBody.Merge(m, src)
  39. }
  40. func (m *MailBody) XXX_Size() int {
  41. return xxx_messageInfo_MailBody.Size(m)
  42. }
  43. func (m *MailBody) XXX_DiscardUnknown() {
  44. xxx_messageInfo_MailBody.DiscardUnknown(m)
  45. }
  46. var xxx_messageInfo_MailBody proto.InternalMessageInfo
  47. func (m *MailBody) GetContentType() string {
  48. if m != nil {
  49. return m.ContentType
  50. }
  51. return ""
  52. }
  53. func (m *MailBody) GetContent() []byte {
  54. if m != nil {
  55. return m.Content
  56. }
  57. return nil
  58. }
  59. type MailHeader struct {
  60. From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
  61. To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
  62. Cc string `protobuf:"bytes,3,opt,name=cc,proto3" json:"cc,omitempty"`
  63. Bcc string `protobuf:"bytes,4,opt,name=bcc,proto3" json:"bcc,omitempty"`
  64. Date string `protobuf:"bytes,5,opt,name=date,proto3" json:"date,omitempty"`
  65. Subject string `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"`
  66. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  67. XXX_unrecognized []byte `json:"-"`
  68. XXX_sizecache int32 `json:"-"`
  69. }
  70. func (m *MailHeader) Reset() { *m = MailHeader{} }
  71. func (m *MailHeader) String() string { return proto.CompactTextString(m) }
  72. func (*MailHeader) ProtoMessage() {}
  73. func (*MailHeader) Descriptor() ([]byte, []int) {
  74. return fileDescriptor_0ab36b6dc6e1dcaa, []int{1}
  75. }
  76. func (m *MailHeader) XXX_Unmarshal(b []byte) error {
  77. return xxx_messageInfo_MailHeader.Unmarshal(m, b)
  78. }
  79. func (m *MailHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  80. return xxx_messageInfo_MailHeader.Marshal(b, m, deterministic)
  81. }
  82. func (m *MailHeader) XXX_Merge(src proto.Message) {
  83. xxx_messageInfo_MailHeader.Merge(m, src)
  84. }
  85. func (m *MailHeader) XXX_Size() int {
  86. return xxx_messageInfo_MailHeader.Size(m)
  87. }
  88. func (m *MailHeader) XXX_DiscardUnknown() {
  89. xxx_messageInfo_MailHeader.DiscardUnknown(m)
  90. }
  91. var xxx_messageInfo_MailHeader proto.InternalMessageInfo
  92. func (m *MailHeader) GetFrom() string {
  93. if m != nil {
  94. return m.From
  95. }
  96. return ""
  97. }
  98. func (m *MailHeader) GetTo() string {
  99. if m != nil {
  100. return m.To
  101. }
  102. return ""
  103. }
  104. func (m *MailHeader) GetCc() string {
  105. if m != nil {
  106. return m.Cc
  107. }
  108. return ""
  109. }
  110. func (m *MailHeader) GetBcc() string {
  111. if m != nil {
  112. return m.Bcc
  113. }
  114. return ""
  115. }
  116. func (m *MailHeader) GetDate() string {
  117. if m != nil {
  118. return m.Date
  119. }
  120. return ""
  121. }
  122. func (m *MailHeader) GetSubject() string {
  123. if m != nil {
  124. return m.Subject
  125. }
  126. return ""
  127. }
  128. type Mail struct {
  129. Header *MailHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
  130. Body *MailBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
  131. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  132. XXX_unrecognized []byte `json:"-"`
  133. XXX_sizecache int32 `json:"-"`
  134. }
  135. func (m *Mail) Reset() { *m = Mail{} }
  136. func (m *Mail) String() string { return proto.CompactTextString(m) }
  137. func (*Mail) ProtoMessage() {}
  138. func (*Mail) Descriptor() ([]byte, []int) {
  139. return fileDescriptor_0ab36b6dc6e1dcaa, []int{2}
  140. }
  141. func (m *Mail) XXX_Unmarshal(b []byte) error {
  142. return xxx_messageInfo_Mail.Unmarshal(m, b)
  143. }
  144. func (m *Mail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  145. return xxx_messageInfo_Mail.Marshal(b, m, deterministic)
  146. }
  147. func (m *Mail) XXX_Merge(src proto.Message) {
  148. xxx_messageInfo_Mail.Merge(m, src)
  149. }
  150. func (m *Mail) XXX_Size() int {
  151. return xxx_messageInfo_Mail.Size(m)
  152. }
  153. func (m *Mail) XXX_DiscardUnknown() {
  154. xxx_messageInfo_Mail.DiscardUnknown(m)
  155. }
  156. var xxx_messageInfo_Mail proto.InternalMessageInfo
  157. func (m *Mail) GetHeader() *MailHeader {
  158. if m != nil {
  159. return m.Header
  160. }
  161. return nil
  162. }
  163. func (m *Mail) GetBody() *MailBody {
  164. if m != nil {
  165. return m.Body
  166. }
  167. return nil
  168. }
  169. func init() {
  170. proto.RegisterType((*MailBody)(nil), "common.MailBody")
  171. proto.RegisterType((*MailHeader)(nil), "common.MailHeader")
  172. proto.RegisterType((*Mail)(nil), "common.Mail")
  173. }
  174. func init() { proto.RegisterFile("gostfix.proto", fileDescriptor_0ab36b6dc6e1dcaa) }
  175. var fileDescriptor_0ab36b6dc6e1dcaa = []byte{
  176. // 230 bytes of a gzipped FileDescriptorProto
  177. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x31, 0x4f, 0xc3, 0x40,
  178. 0x0c, 0x85, 0x95, 0x34, 0x04, 0xea, 0x00, 0xaa, 0x3c, 0xdd, 0x18, 0x45, 0x0c, 0x15, 0x43, 0x86,
  179. 0xf2, 0x0f, 0x18, 0x10, 0x0b, 0xcb, 0x89, 0x81, 0x35, 0xf1, 0x5d, 0xa1, 0x88, 0xc4, 0x55, 0x6a,
  180. 0x24, 0xb2, 0xf1, 0xd3, 0x91, 0x9d, 0x54, 0x64, 0x7b, 0xef, 0x9d, 0xef, 0xdd, 0x77, 0x86, 0x9b,
  181. 0x77, 0x3e, 0xc9, 0xfe, 0xf0, 0x53, 0x1f, 0x07, 0x16, 0xc6, 0x9c, 0xb8, 0xeb, 0xb8, 0xaf, 0x9e,
  182. 0xe0, 0xea, 0xa5, 0x39, 0x7c, 0x3d, 0x72, 0x18, 0xb1, 0x84, 0x82, 0xb8, 0x97, 0xd8, 0xcb, 0xeb,
  183. 0x78, 0x8c, 0x2e, 0x29, 0x93, 0xed, 0xda, 0x2f, 0x23, 0x74, 0x70, 0x39, 0x5b, 0x97, 0x96, 0xc9,
  184. 0xf6, 0xda, 0x9f, 0x6d, 0xf5, 0x9b, 0x00, 0x68, 0xd1, 0x73, 0x6c, 0x42, 0x1c, 0x10, 0x21, 0xdb,
  185. 0x0f, 0xdc, 0xcd, 0x1d, 0xa6, 0xf1, 0x16, 0x52, 0x61, 0xbb, 0xb7, 0xf6, 0xa9, 0xb0, 0x7a, 0x22,
  186. 0xb7, 0x9a, 0x3c, 0x11, 0x6e, 0x60, 0xd5, 0x12, 0xb9, 0xcc, 0x02, 0x95, 0xda, 0x12, 0x1a, 0x89,
  187. 0xee, 0x62, 0x6a, 0x51, 0xad, 0x08, 0xa7, 0xef, 0xf6, 0x33, 0x92, 0xb8, 0xdc, 0xe2, 0xb3, 0xad,
  188. 0xde, 0x20, 0x53, 0x02, 0xbc, 0x87, 0xfc, 0xc3, 0x28, 0xec, 0xf5, 0x62, 0x87, 0xf5, 0xf4, 0xd7,
  189. 0xfa, 0x9f, 0xcf, 0xcf, 0x13, 0x78, 0x07, 0x59, 0xcb, 0x61, 0x34, 0xaa, 0x62, 0xb7, 0x59, 0x4e,
  190. 0xea, 0x4a, 0xbc, 0x9d, 0xb6, 0xb9, 0xed, 0xec, 0xe1, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x81, 0xe6,
  191. 0x8d, 0x59, 0x44, 0x01, 0x00, 0x00,
  192. }