ticket.pb.go 29 KB

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