ticket.pb.go 30 KB

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