ticket.pb.go 34 KB

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