ticket.pb.go 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.32.0
  4. // protoc v4.25.1
  5. // source: ticket.proto
  6. package ticket
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type MessageFlag int32
  21. const (
  22. // Deprecated: Marked as deprecated in ticket.proto.
  23. MessageFlag_unknown_message_flag MessageFlag = 0
  24. MessageFlag_SENT MessageFlag = 1
  25. MessageFlag_MODIFIED MessageFlag = 2
  26. )
  27. // Enum value maps for MessageFlag.
  28. var (
  29. MessageFlag_name = map[int32]string{
  30. 0: "unknown_message_flag",
  31. 1: "SENT",
  32. 2: "MODIFIED",
  33. }
  34. MessageFlag_value = map[string]int32{
  35. "unknown_message_flag": 0,
  36. "SENT": 1,
  37. "MODIFIED": 2,
  38. }
  39. )
  40. func (x MessageFlag) Enum() *MessageFlag {
  41. p := new(MessageFlag)
  42. *p = x
  43. return p
  44. }
  45. func (x MessageFlag) String() string {
  46. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  47. }
  48. func (MessageFlag) Descriptor() protoreflect.EnumDescriptor {
  49. return file_ticket_proto_enumTypes[0].Descriptor()
  50. }
  51. func (MessageFlag) Type() protoreflect.EnumType {
  52. return &file_ticket_proto_enumTypes[0]
  53. }
  54. func (x MessageFlag) Number() protoreflect.EnumNumber {
  55. return protoreflect.EnumNumber(x)
  56. }
  57. // Deprecated: Use MessageFlag.Descriptor instead.
  58. func (MessageFlag) EnumDescriptor() ([]byte, []int) {
  59. return file_ticket_proto_rawDescGZIP(), []int{0}
  60. }
  61. type TicketFlag int32
  62. const (
  63. // Deprecated: Marked as deprecated in ticket.proto.
  64. TicketFlag_unknown_ticket_flag TicketFlag = 0
  65. TicketFlag_READ TicketFlag = 1
  66. TicketFlag_REPLIED TicketFlag = 2
  67. )
  68. // Enum value maps for TicketFlag.
  69. var (
  70. TicketFlag_name = map[int32]string{
  71. 0: "unknown_ticket_flag",
  72. 1: "READ",
  73. 2: "REPLIED",
  74. }
  75. TicketFlag_value = map[string]int32{
  76. "unknown_ticket_flag": 0,
  77. "READ": 1,
  78. "REPLIED": 2,
  79. }
  80. )
  81. func (x TicketFlag) Enum() *TicketFlag {
  82. p := new(TicketFlag)
  83. *p = x
  84. return p
  85. }
  86. func (x TicketFlag) String() string {
  87. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  88. }
  89. func (TicketFlag) Descriptor() protoreflect.EnumDescriptor {
  90. return file_ticket_proto_enumTypes[1].Descriptor()
  91. }
  92. func (TicketFlag) Type() protoreflect.EnumType {
  93. return &file_ticket_proto_enumTypes[1]
  94. }
  95. func (x TicketFlag) Number() protoreflect.EnumNumber {
  96. return protoreflect.EnumNumber(x)
  97. }
  98. // Deprecated: Use TicketFlag.Descriptor instead.
  99. func (TicketFlag) EnumDescriptor() ([]byte, []int) {
  100. return file_ticket_proto_rawDescGZIP(), []int{1}
  101. }
  102. type Message_Type int32
  103. const (
  104. // Deprecated: Marked as deprecated in ticket.proto.
  105. Message_unknown Message_Type = 0
  106. Message_TEXT Message_Type = 1
  107. Message_EMAIL Message_Type = 2
  108. Message_ASSISTANT_CALLBACK Message_Type = 3
  109. Message_TICKET_WITH_REASON Message_Type = 4
  110. )
  111. // Enum value maps for Message_Type.
  112. var (
  113. Message_Type_name = map[int32]string{
  114. 0: "unknown",
  115. 1: "TEXT",
  116. 2: "EMAIL",
  117. 3: "ASSISTANT_CALLBACK",
  118. 4: "TICKET_WITH_REASON",
  119. }
  120. Message_Type_value = map[string]int32{
  121. "unknown": 0,
  122. "TEXT": 1,
  123. "EMAIL": 2,
  124. "ASSISTANT_CALLBACK": 3,
  125. "TICKET_WITH_REASON": 4,
  126. }
  127. )
  128. func (x Message_Type) Enum() *Message_Type {
  129. p := new(Message_Type)
  130. *p = x
  131. return p
  132. }
  133. func (x Message_Type) String() string {
  134. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  135. }
  136. func (Message_Type) Descriptor() protoreflect.EnumDescriptor {
  137. return file_ticket_proto_enumTypes[2].Descriptor()
  138. }
  139. func (Message_Type) Type() protoreflect.EnumType {
  140. return &file_ticket_proto_enumTypes[2]
  141. }
  142. func (x Message_Type) Number() protoreflect.EnumNumber {
  143. return protoreflect.EnumNumber(x)
  144. }
  145. // Deprecated: Use Message_Type.Descriptor instead.
  146. func (Message_Type) EnumDescriptor() ([]byte, []int) {
  147. return file_ticket_proto_rawDescGZIP(), []int{4, 0}
  148. }
  149. type EmailAddress struct {
  150. state protoimpl.MessageState
  151. sizeCache protoimpl.SizeCache
  152. unknownFields protoimpl.UnknownFields
  153. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  154. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  155. }
  156. func (x *EmailAddress) Reset() {
  157. *x = EmailAddress{}
  158. if protoimpl.UnsafeEnabled {
  159. mi := &file_ticket_proto_msgTypes[0]
  160. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  161. ms.StoreMessageInfo(mi)
  162. }
  163. }
  164. func (x *EmailAddress) String() string {
  165. return protoimpl.X.MessageStringOf(x)
  166. }
  167. func (*EmailAddress) ProtoMessage() {}
  168. func (x *EmailAddress) ProtoReflect() protoreflect.Message {
  169. mi := &file_ticket_proto_msgTypes[0]
  170. if protoimpl.UnsafeEnabled && x != nil {
  171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  172. if ms.LoadMessageInfo() == nil {
  173. ms.StoreMessageInfo(mi)
  174. }
  175. return ms
  176. }
  177. return mi.MessageOf(x)
  178. }
  179. // Deprecated: Use EmailAddress.ProtoReflect.Descriptor instead.
  180. func (*EmailAddress) Descriptor() ([]byte, []int) {
  181. return file_ticket_proto_rawDescGZIP(), []int{0}
  182. }
  183. func (x *EmailAddress) GetAddress() string {
  184. if x != nil {
  185. return x.Address
  186. }
  187. return ""
  188. }
  189. func (x *EmailAddress) GetName() string {
  190. if x != nil {
  191. return x.Name
  192. }
  193. return ""
  194. }
  195. type Attachment struct {
  196. state protoimpl.MessageState
  197. sizeCache protoimpl.SizeCache
  198. unknownFields protoimpl.UnknownFields
  199. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  200. Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
  201. ContentType string `protobuf:"bytes,3,opt,name=content_type,proto3" json:"content_type,omitempty"`
  202. ContentEncoding string `protobuf:"bytes,4,opt,name=content_encoding,proto3" json:"content_encoding,omitempty"`
  203. Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"`
  204. Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
  205. }
  206. func (x *Attachment) Reset() {
  207. *x = Attachment{}
  208. if protoimpl.UnsafeEnabled {
  209. mi := &file_ticket_proto_msgTypes[1]
  210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  211. ms.StoreMessageInfo(mi)
  212. }
  213. }
  214. func (x *Attachment) String() string {
  215. return protoimpl.X.MessageStringOf(x)
  216. }
  217. func (*Attachment) ProtoMessage() {}
  218. func (x *Attachment) ProtoReflect() protoreflect.Message {
  219. mi := &file_ticket_proto_msgTypes[1]
  220. if protoimpl.UnsafeEnabled && x != nil {
  221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  222. if ms.LoadMessageInfo() == nil {
  223. ms.StoreMessageInfo(mi)
  224. }
  225. return ms
  226. }
  227. return mi.MessageOf(x)
  228. }
  229. // Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
  230. func (*Attachment) Descriptor() ([]byte, []int) {
  231. return file_ticket_proto_rawDescGZIP(), []int{1}
  232. }
  233. func (x *Attachment) GetId() string {
  234. if x != nil {
  235. return x.Id
  236. }
  237. return ""
  238. }
  239. func (x *Attachment) GetFilename() string {
  240. if x != nil {
  241. return x.Filename
  242. }
  243. return ""
  244. }
  245. func (x *Attachment) GetContentType() string {
  246. if x != nil {
  247. return x.ContentType
  248. }
  249. return ""
  250. }
  251. func (x *Attachment) GetContentEncoding() string {
  252. if x != nil {
  253. return x.ContentEncoding
  254. }
  255. return ""
  256. }
  257. func (x *Attachment) GetBucket() string {
  258. if x != nil {
  259. return x.Bucket
  260. }
  261. return ""
  262. }
  263. func (x *Attachment) GetKey() string {
  264. if x != nil {
  265. return x.Key
  266. }
  267. return ""
  268. }
  269. type AssistantRequest struct {
  270. state protoimpl.MessageState
  271. sizeCache protoimpl.SizeCache
  272. unknownFields protoimpl.UnknownFields
  273. To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
  274. From *EmailAddress `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
  275. Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
  276. Date *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
  277. Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
  278. Attachments []*Attachment `protobuf:"bytes,10,rep,name=attachments,proto3" json:"attachments,omitempty"`
  279. }
  280. func (x *AssistantRequest) Reset() {
  281. *x = AssistantRequest{}
  282. if protoimpl.UnsafeEnabled {
  283. mi := &file_ticket_proto_msgTypes[2]
  284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  285. ms.StoreMessageInfo(mi)
  286. }
  287. }
  288. func (x *AssistantRequest) String() string {
  289. return protoimpl.X.MessageStringOf(x)
  290. }
  291. func (*AssistantRequest) ProtoMessage() {}
  292. func (x *AssistantRequest) ProtoReflect() protoreflect.Message {
  293. mi := &file_ticket_proto_msgTypes[2]
  294. if protoimpl.UnsafeEnabled && x != nil {
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. if ms.LoadMessageInfo() == nil {
  297. ms.StoreMessageInfo(mi)
  298. }
  299. return ms
  300. }
  301. return mi.MessageOf(x)
  302. }
  303. // Deprecated: Use AssistantRequest.ProtoReflect.Descriptor instead.
  304. func (*AssistantRequest) Descriptor() ([]byte, []int) {
  305. return file_ticket_proto_rawDescGZIP(), []int{2}
  306. }
  307. func (x *AssistantRequest) GetTo() string {
  308. if x != nil {
  309. return x.To
  310. }
  311. return ""
  312. }
  313. func (x *AssistantRequest) GetFrom() *EmailAddress {
  314. if x != nil {
  315. return x.From
  316. }
  317. return nil
  318. }
  319. func (x *AssistantRequest) GetSubject() string {
  320. if x != nil {
  321. return x.Subject
  322. }
  323. return ""
  324. }
  325. func (x *AssistantRequest) GetDate() *timestamppb.Timestamp {
  326. if x != nil {
  327. return x.Date
  328. }
  329. return nil
  330. }
  331. func (x *AssistantRequest) GetBody() string {
  332. if x != nil {
  333. return x.Body
  334. }
  335. return ""
  336. }
  337. func (x *AssistantRequest) GetAttachments() []*Attachment {
  338. if x != nil {
  339. return x.Attachments
  340. }
  341. return nil
  342. }
  343. type AssistantCallback struct {
  344. state protoimpl.MessageState
  345. sizeCache protoimpl.SizeCache
  346. unknownFields protoimpl.UnknownFields
  347. To *EmailAddress `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
  348. Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
  349. Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
  350. Attachments []*Attachment `protobuf:"bytes,10,rep,name=attachments,proto3" json:"attachments,omitempty"`
  351. }
  352. func (x *AssistantCallback) Reset() {
  353. *x = AssistantCallback{}
  354. if protoimpl.UnsafeEnabled {
  355. mi := &file_ticket_proto_msgTypes[3]
  356. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  357. ms.StoreMessageInfo(mi)
  358. }
  359. }
  360. func (x *AssistantCallback) String() string {
  361. return protoimpl.X.MessageStringOf(x)
  362. }
  363. func (*AssistantCallback) ProtoMessage() {}
  364. func (x *AssistantCallback) ProtoReflect() protoreflect.Message {
  365. mi := &file_ticket_proto_msgTypes[3]
  366. if protoimpl.UnsafeEnabled && x != nil {
  367. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  368. if ms.LoadMessageInfo() == nil {
  369. ms.StoreMessageInfo(mi)
  370. }
  371. return ms
  372. }
  373. return mi.MessageOf(x)
  374. }
  375. // Deprecated: Use AssistantCallback.ProtoReflect.Descriptor instead.
  376. func (*AssistantCallback) Descriptor() ([]byte, []int) {
  377. return file_ticket_proto_rawDescGZIP(), []int{3}
  378. }
  379. func (x *AssistantCallback) GetTo() *EmailAddress {
  380. if x != nil {
  381. return x.To
  382. }
  383. return nil
  384. }
  385. func (x *AssistantCallback) GetSubject() string {
  386. if x != nil {
  387. return x.Subject
  388. }
  389. return ""
  390. }
  391. func (x *AssistantCallback) GetBody() string {
  392. if x != nil {
  393. return x.Body
  394. }
  395. return ""
  396. }
  397. func (x *AssistantCallback) GetAttachments() []*Attachment {
  398. if x != nil {
  399. return x.Attachments
  400. }
  401. return nil
  402. }
  403. type Message struct {
  404. state protoimpl.MessageState
  405. sizeCache protoimpl.SizeCache
  406. unknownFields protoimpl.UnknownFields
  407. MessageId string `protobuf:"bytes,1,opt,name=message_id,proto3" json:"message_id,omitempty"`
  408. TicketId string `protobuf:"bytes,2,opt,name=ticket_id,proto3" json:"ticket_id,omitempty"`
  409. Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
  410. Type Message_Type `protobuf:"varint,4,opt,name=type,proto3,enum=ticket.Message_Type" json:"type,omitempty"`
  411. Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
  412. Date *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"`
  413. Raw []byte `protobuf:"bytes,7,opt,name=raw,proto3" json:"raw,omitempty"`
  414. Flags []byte `protobuf:"bytes,8,opt,name=flags,proto3" json:"flags,omitempty"`
  415. Headers map[string]string `protobuf:"bytes,10,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  416. Meta map[string]string `protobuf:"bytes,11,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  417. Attachments []*Attachment `protobuf:"bytes,12,rep,name=attachments,proto3" json:"attachments,omitempty"`
  418. }
  419. func (x *Message) Reset() {
  420. *x = Message{}
  421. if protoimpl.UnsafeEnabled {
  422. mi := &file_ticket_proto_msgTypes[4]
  423. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  424. ms.StoreMessageInfo(mi)
  425. }
  426. }
  427. func (x *Message) String() string {
  428. return protoimpl.X.MessageStringOf(x)
  429. }
  430. func (*Message) ProtoMessage() {}
  431. func (x *Message) ProtoReflect() protoreflect.Message {
  432. mi := &file_ticket_proto_msgTypes[4]
  433. if protoimpl.UnsafeEnabled && x != nil {
  434. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  435. if ms.LoadMessageInfo() == nil {
  436. ms.StoreMessageInfo(mi)
  437. }
  438. return ms
  439. }
  440. return mi.MessageOf(x)
  441. }
  442. // Deprecated: Use Message.ProtoReflect.Descriptor instead.
  443. func (*Message) Descriptor() ([]byte, []int) {
  444. return file_ticket_proto_rawDescGZIP(), []int{4}
  445. }
  446. func (x *Message) GetMessageId() string {
  447. if x != nil {
  448. return x.MessageId
  449. }
  450. return ""
  451. }
  452. func (x *Message) GetTicketId() string {
  453. if x != nil {
  454. return x.TicketId
  455. }
  456. return ""
  457. }
  458. func (x *Message) GetRole() string {
  459. if x != nil {
  460. return x.Role
  461. }
  462. return ""
  463. }
  464. func (x *Message) GetType() Message_Type {
  465. if x != nil {
  466. return x.Type
  467. }
  468. return Message_unknown
  469. }
  470. func (x *Message) GetContent() string {
  471. if x != nil {
  472. return x.Content
  473. }
  474. return ""
  475. }
  476. func (x *Message) GetDate() *timestamppb.Timestamp {
  477. if x != nil {
  478. return x.Date
  479. }
  480. return nil
  481. }
  482. func (x *Message) GetRaw() []byte {
  483. if x != nil {
  484. return x.Raw
  485. }
  486. return nil
  487. }
  488. func (x *Message) GetFlags() []byte {
  489. if x != nil {
  490. return x.Flags
  491. }
  492. return nil
  493. }
  494. func (x *Message) GetHeaders() map[string]string {
  495. if x != nil {
  496. return x.Headers
  497. }
  498. return nil
  499. }
  500. func (x *Message) GetMeta() map[string]string {
  501. if x != nil {
  502. return x.Meta
  503. }
  504. return nil
  505. }
  506. func (x *Message) GetAttachments() []*Attachment {
  507. if x != nil {
  508. return x.Attachments
  509. }
  510. return nil
  511. }
  512. type Ticket struct {
  513. state protoimpl.MessageState
  514. sizeCache protoimpl.SizeCache
  515. unknownFields protoimpl.UnknownFields
  516. TicketId string `protobuf:"bytes,1,opt,name=ticket_id,proto3" json:"ticket_id,omitempty"`
  517. ThreadId string `protobuf:"bytes,2,opt,name=thread_id,proto3" json:"thread_id,omitempty"`
  518. To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
  519. From *EmailAddress `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
  520. Flags []byte `protobuf:"bytes,5,opt,name=flags,proto3" json:"flags,omitempty"`
  521. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,proto3" json:"created_at,omitempty"`
  522. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,proto3" json:"updated_at,omitempty"`
  523. Messages []*Message `protobuf:"bytes,10,rep,name=messages,proto3" json:"messages,omitempty"`
  524. Meta map[string]string `protobuf:"bytes,11,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  525. Tags []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
  526. MessageIds []string `protobuf:"bytes,100,rep,name=message_ids,proto3" json:"message_ids,omitempty"`
  527. Subjects []string `protobuf:"bytes,101,rep,name=subjects,proto3" json:"subjects,omitempty"`
  528. }
  529. func (x *Ticket) Reset() {
  530. *x = Ticket{}
  531. if protoimpl.UnsafeEnabled {
  532. mi := &file_ticket_proto_msgTypes[5]
  533. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  534. ms.StoreMessageInfo(mi)
  535. }
  536. }
  537. func (x *Ticket) String() string {
  538. return protoimpl.X.MessageStringOf(x)
  539. }
  540. func (*Ticket) ProtoMessage() {}
  541. func (x *Ticket) ProtoReflect() protoreflect.Message {
  542. mi := &file_ticket_proto_msgTypes[5]
  543. if protoimpl.UnsafeEnabled && x != nil {
  544. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  545. if ms.LoadMessageInfo() == nil {
  546. ms.StoreMessageInfo(mi)
  547. }
  548. return ms
  549. }
  550. return mi.MessageOf(x)
  551. }
  552. // Deprecated: Use Ticket.ProtoReflect.Descriptor instead.
  553. func (*Ticket) Descriptor() ([]byte, []int) {
  554. return file_ticket_proto_rawDescGZIP(), []int{5}
  555. }
  556. func (x *Ticket) GetTicketId() string {
  557. if x != nil {
  558. return x.TicketId
  559. }
  560. return ""
  561. }
  562. func (x *Ticket) GetThreadId() string {
  563. if x != nil {
  564. return x.ThreadId
  565. }
  566. return ""
  567. }
  568. func (x *Ticket) GetTo() string {
  569. if x != nil {
  570. return x.To
  571. }
  572. return ""
  573. }
  574. func (x *Ticket) GetFrom() *EmailAddress {
  575. if x != nil {
  576. return x.From
  577. }
  578. return nil
  579. }
  580. func (x *Ticket) GetFlags() []byte {
  581. if x != nil {
  582. return x.Flags
  583. }
  584. return nil
  585. }
  586. func (x *Ticket) GetCreatedAt() *timestamppb.Timestamp {
  587. if x != nil {
  588. return x.CreatedAt
  589. }
  590. return nil
  591. }
  592. func (x *Ticket) GetUpdatedAt() *timestamppb.Timestamp {
  593. if x != nil {
  594. return x.UpdatedAt
  595. }
  596. return nil
  597. }
  598. func (x *Ticket) GetMessages() []*Message {
  599. if x != nil {
  600. return x.Messages
  601. }
  602. return nil
  603. }
  604. func (x *Ticket) GetMeta() map[string]string {
  605. if x != nil {
  606. return x.Meta
  607. }
  608. return nil
  609. }
  610. func (x *Ticket) GetTags() []string {
  611. if x != nil {
  612. return x.Tags
  613. }
  614. return nil
  615. }
  616. func (x *Ticket) GetMessageIds() []string {
  617. if x != nil {
  618. return x.MessageIds
  619. }
  620. return nil
  621. }
  622. func (x *Ticket) GetSubjects() []string {
  623. if x != nil {
  624. return x.Subjects
  625. }
  626. return nil
  627. }
  628. var File_ticket_proto protoreflect.FileDescriptor
  629. var file_ticket_proto_rawDesc = []byte{
  630. 0x0a, 0x0c, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
  631. 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
  632. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
  633. 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c,
  634. 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
  635. 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
  636. 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  637. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68,
  638. 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  639. 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
  640. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
  641. 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
  642. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  643. 0x74, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  644. 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10,
  645. 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67,
  646. 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  647. 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
  648. 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0xe0, 0x01, 0x0a, 0x10, 0x41,
  649. 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  650. 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12,
  651. 0x28, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
  652. 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72,
  653. 0x65, 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62,
  654. 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a,
  655. 0x65, 0x63, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  656. 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  657. 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64,
  658. 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
  659. 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x34, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63,
  660. 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74,
  661. 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74,
  662. 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x9d, 0x01,
  663. 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x62,
  664. 0x61, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  665. 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64,
  666. 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62,
  667. 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a,
  668. 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
  669. 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x34, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63,
  670. 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74,
  671. 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74,
  672. 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe7, 0x04,
  673. 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x73,
  674. 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d,
  675. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63,
  676. 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69,
  677. 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18,
  678. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x74,
  679. 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b,
  680. 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,
  681. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  682. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  683. 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
  684. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  685. 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12,
  686. 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61,
  687. 0x77, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c,
  688. 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65,
  689. 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65,
  690. 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
  691. 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12,
  692. 0x2d, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e,
  693. 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d,
  694. 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x34,
  695. 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20,
  696. 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x41, 0x74, 0x74,
  697. 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d,
  698. 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45,
  699. 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  700. 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  701. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
  702. 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  703. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  704. 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  705. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5c, 0x0a, 0x04, 0x54, 0x79, 0x70,
  706. 0x65, 0x12, 0x0f, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x1a, 0x02,
  707. 0x08, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
  708. 0x45, 0x4d, 0x41, 0x49, 0x4c, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x53, 0x53, 0x49, 0x53,
  709. 0x54, 0x41, 0x4e, 0x54, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x03, 0x12,
  710. 0x16, 0x0a, 0x12, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x52,
  711. 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x10, 0x04, 0x22, 0xf2, 0x03, 0x0a, 0x06, 0x54, 0x69, 0x63, 0x6b,
  712. 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
  713. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
  714. 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
  715. 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x12, 0x0e,
  716. 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x28,
  717. 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74,
  718. 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65,
  719. 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67,
  720. 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x3a,
  721. 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01,
  722. 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  723. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a,
  724. 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x12, 0x3a, 0x0a, 0x0a, 0x75, 0x70,
  725. 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
  726. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  727. 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
  728. 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x12, 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  729. 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65,
  730. 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61,
  731. 0x67, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x03, 0x28,
  732. 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x54, 0x69, 0x63, 0x6b, 0x65,
  733. 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74,
  734. 0x61, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52,
  735. 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  736. 0x5f, 0x69, 0x64, 0x73, 0x18, 0x64, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73,
  737. 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x6a, 0x65,
  738. 0x63, 0x74, 0x73, 0x18, 0x65, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, 0x75, 0x62, 0x6a, 0x65,
  739. 0x63, 0x74, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79,
  740. 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
  741. 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  742. 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x43, 0x0a, 0x0b,
  743. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x14, 0x75,
  744. 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66,
  745. 0x6c, 0x61, 0x67, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45, 0x4e,
  746. 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
  747. 0x02, 0x2a, 0x40, 0x0a, 0x0a, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x12,
  748. 0x1b, 0x0a, 0x13, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x65,
  749. 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x08, 0x0a, 0x04,
  750. 0x52, 0x45, 0x41, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x45,
  751. 0x44, 0x10, 0x02, 0x42, 0x2d, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x73, 0x68, 0x6f, 0x70,
  752. 0x70, 0x65, 0x72, 0x2e, 0x63, 0x72, 0x6d, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x76,
  753. 0x32, 0x42, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x08, 0x2e, 0x2f, 0x74, 0x69, 0x63, 0x6b,
  754. 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  755. }
  756. var (
  757. file_ticket_proto_rawDescOnce sync.Once
  758. file_ticket_proto_rawDescData = file_ticket_proto_rawDesc
  759. )
  760. func file_ticket_proto_rawDescGZIP() []byte {
  761. file_ticket_proto_rawDescOnce.Do(func() {
  762. file_ticket_proto_rawDescData = protoimpl.X.CompressGZIP(file_ticket_proto_rawDescData)
  763. })
  764. return file_ticket_proto_rawDescData
  765. }
  766. var file_ticket_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
  767. var file_ticket_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
  768. var file_ticket_proto_goTypes = []interface{}{
  769. (MessageFlag)(0), // 0: ticket.MessageFlag
  770. (TicketFlag)(0), // 1: ticket.TicketFlag
  771. (Message_Type)(0), // 2: ticket.Message.Type
  772. (*EmailAddress)(nil), // 3: ticket.EmailAddress
  773. (*Attachment)(nil), // 4: ticket.Attachment
  774. (*AssistantRequest)(nil), // 5: ticket.AssistantRequest
  775. (*AssistantCallback)(nil), // 6: ticket.AssistantCallback
  776. (*Message)(nil), // 7: ticket.Message
  777. (*Ticket)(nil), // 8: ticket.Ticket
  778. nil, // 9: ticket.Message.HeadersEntry
  779. nil, // 10: ticket.Message.MetaEntry
  780. nil, // 11: ticket.Ticket.MetaEntry
  781. (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
  782. }
  783. var file_ticket_proto_depIdxs = []int32{
  784. 3, // 0: ticket.AssistantRequest.from:type_name -> ticket.EmailAddress
  785. 12, // 1: ticket.AssistantRequest.date:type_name -> google.protobuf.Timestamp
  786. 4, // 2: ticket.AssistantRequest.attachments:type_name -> ticket.Attachment
  787. 3, // 3: ticket.AssistantCallback.to:type_name -> ticket.EmailAddress
  788. 4, // 4: ticket.AssistantCallback.attachments:type_name -> ticket.Attachment
  789. 2, // 5: ticket.Message.type:type_name -> ticket.Message.Type
  790. 12, // 6: ticket.Message.date:type_name -> google.protobuf.Timestamp
  791. 9, // 7: ticket.Message.headers:type_name -> ticket.Message.HeadersEntry
  792. 10, // 8: ticket.Message.meta:type_name -> ticket.Message.MetaEntry
  793. 4, // 9: ticket.Message.attachments:type_name -> ticket.Attachment
  794. 3, // 10: ticket.Ticket.from:type_name -> ticket.EmailAddress
  795. 12, // 11: ticket.Ticket.created_at:type_name -> google.protobuf.Timestamp
  796. 12, // 12: ticket.Ticket.updated_at:type_name -> google.protobuf.Timestamp
  797. 7, // 13: ticket.Ticket.messages:type_name -> ticket.Message
  798. 11, // 14: ticket.Ticket.meta:type_name -> ticket.Ticket.MetaEntry
  799. 15, // [15:15] is the sub-list for method output_type
  800. 15, // [15:15] is the sub-list for method input_type
  801. 15, // [15:15] is the sub-list for extension type_name
  802. 15, // [15:15] is the sub-list for extension extendee
  803. 0, // [0:15] is the sub-list for field type_name
  804. }
  805. func init() { file_ticket_proto_init() }
  806. func file_ticket_proto_init() {
  807. if File_ticket_proto != nil {
  808. return
  809. }
  810. if !protoimpl.UnsafeEnabled {
  811. file_ticket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  812. switch v := v.(*EmailAddress); i {
  813. case 0:
  814. return &v.state
  815. case 1:
  816. return &v.sizeCache
  817. case 2:
  818. return &v.unknownFields
  819. default:
  820. return nil
  821. }
  822. }
  823. file_ticket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  824. switch v := v.(*Attachment); i {
  825. case 0:
  826. return &v.state
  827. case 1:
  828. return &v.sizeCache
  829. case 2:
  830. return &v.unknownFields
  831. default:
  832. return nil
  833. }
  834. }
  835. file_ticket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  836. switch v := v.(*AssistantRequest); i {
  837. case 0:
  838. return &v.state
  839. case 1:
  840. return &v.sizeCache
  841. case 2:
  842. return &v.unknownFields
  843. default:
  844. return nil
  845. }
  846. }
  847. file_ticket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  848. switch v := v.(*AssistantCallback); i {
  849. case 0:
  850. return &v.state
  851. case 1:
  852. return &v.sizeCache
  853. case 2:
  854. return &v.unknownFields
  855. default:
  856. return nil
  857. }
  858. }
  859. file_ticket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  860. switch v := v.(*Message); i {
  861. case 0:
  862. return &v.state
  863. case 1:
  864. return &v.sizeCache
  865. case 2:
  866. return &v.unknownFields
  867. default:
  868. return nil
  869. }
  870. }
  871. file_ticket_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  872. switch v := v.(*Ticket); i {
  873. case 0:
  874. return &v.state
  875. case 1:
  876. return &v.sizeCache
  877. case 2:
  878. return &v.unknownFields
  879. default:
  880. return nil
  881. }
  882. }
  883. }
  884. type x struct{}
  885. out := protoimpl.TypeBuilder{
  886. File: protoimpl.DescBuilder{
  887. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  888. RawDescriptor: file_ticket_proto_rawDesc,
  889. NumEnums: 3,
  890. NumMessages: 9,
  891. NumExtensions: 0,
  892. NumServices: 0,
  893. },
  894. GoTypes: file_ticket_proto_goTypes,
  895. DependencyIndexes: file_ticket_proto_depIdxs,
  896. EnumInfos: file_ticket_proto_enumTypes,
  897. MessageInfos: file_ticket_proto_msgTypes,
  898. }.Build()
  899. File_ticket_proto = out.File
  900. file_ticket_proto_rawDesc = nil
  901. file_ticket_proto_goTypes = nil
  902. file_ticket_proto_depIdxs = nil
  903. }