ticket.pb.go 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872
  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]*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"`
  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]*structpb.Value {
  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. }
  453. func (x *Ticket) Reset() {
  454. *x = Ticket{}
  455. if protoimpl.UnsafeEnabled {
  456. mi := &file_ticket_proto_msgTypes[5]
  457. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  458. ms.StoreMessageInfo(mi)
  459. }
  460. }
  461. func (x *Ticket) String() string {
  462. return protoimpl.X.MessageStringOf(x)
  463. }
  464. func (*Ticket) ProtoMessage() {}
  465. func (x *Ticket) ProtoReflect() protoreflect.Message {
  466. mi := &file_ticket_proto_msgTypes[5]
  467. if protoimpl.UnsafeEnabled && x != nil {
  468. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  469. if ms.LoadMessageInfo() == nil {
  470. ms.StoreMessageInfo(mi)
  471. }
  472. return ms
  473. }
  474. return mi.MessageOf(x)
  475. }
  476. // Deprecated: Use Ticket.ProtoReflect.Descriptor instead.
  477. func (*Ticket) Descriptor() ([]byte, []int) {
  478. return file_ticket_proto_rawDescGZIP(), []int{5}
  479. }
  480. func (x *Ticket) GetTicketId() string {
  481. if x != nil {
  482. return x.TicketId
  483. }
  484. return ""
  485. }
  486. func (x *Ticket) GetThreadId() string {
  487. if x != nil {
  488. return x.ThreadId
  489. }
  490. return ""
  491. }
  492. func (x *Ticket) GetTo() string {
  493. if x != nil {
  494. return x.To
  495. }
  496. return ""
  497. }
  498. func (x *Ticket) GetFrom() *EmailAddress {
  499. if x != nil {
  500. return x.From
  501. }
  502. return nil
  503. }
  504. func (x *Ticket) GetFlags() []byte {
  505. if x != nil {
  506. return x.Flags
  507. }
  508. return nil
  509. }
  510. func (x *Ticket) GetMessages() []*Message {
  511. if x != nil {
  512. return x.Messages
  513. }
  514. return nil
  515. }
  516. func (x *Ticket) GetMeta() map[string]*structpb.Value {
  517. if x != nil {
  518. return x.Meta
  519. }
  520. return nil
  521. }
  522. var File_ticket_proto protoreflect.FileDescriptor
  523. var file_ticket_proto_rawDesc = []byte{
  524. 0x0a, 0x0c, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
  525. 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
  526. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
  527. 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  528. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e,
  529. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64,
  530. 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  531. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
  532. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  533. 0x61, 0x6d, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65,
  534. 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
  535. 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  536. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22,
  537. 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
  538. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79,
  539. 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e,
  540. 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f,
  541. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x22, 0xe0,
  542. 0x01, 0x0a, 0x10, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
  543. 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  544. 0x02, 0x74, 0x6f, 0x12, 0x28, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28,
  545. 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c,
  546. 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x18, 0x0a,
  547. 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  548. 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18,
  549. 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  550. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
  551. 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18,
  552. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x34, 0x0a, 0x0b, 0x61,
  553. 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b,
  554. 0x32, 0x12, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68,
  555. 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74,
  556. 0x73, 0x22, 0x67, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x61,
  557. 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01,
  558. 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61, 0x69,
  559. 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07,
  560. 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73,
  561. 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03,
  562. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xb1, 0x04, 0x0a, 0x07, 0x4d,
  563. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  564. 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73,
  565. 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74,
  566. 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65,
  567. 0x74, 0x5f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,
  568. 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  569. 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e,
  570. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
  571. 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
  572. 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x04,
  573. 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
  574. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
  575. 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03,
  576. 0x72, 0x61, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x14,
  577. 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x66,
  578. 0x6c, 0x61, 0x67, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18,
  579. 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d,
  580. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e,
  581. 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x04,
  582. 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x69, 0x63,
  583. 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61,
  584. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x3a, 0x0a, 0x0c, 0x48,
  585. 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  586. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  587. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
  588. 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4f, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x61, 0x45,
  589. 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  590. 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  591. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  592. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76,
  593. 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x44, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65,
  594. 0x12, 0x0f, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x1a, 0x02, 0x08,
  595. 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45,
  596. 0x4d, 0x41, 0x49, 0x4c, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x53, 0x53, 0x49, 0x53, 0x54,
  597. 0x41, 0x4e, 0x54, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x03, 0x22, 0xc0,
  598. 0x02, 0x0a, 0x06, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63,
  599. 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69,
  600. 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61,
  601. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65,
  602. 0x61, 0x64, 0x5f, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28,
  603. 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x28, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20,
  604. 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61,
  605. 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12,
  606. 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05,
  607. 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  608. 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74,
  609. 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  610. 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b,
  611. 0x32, 0x18, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74,
  612. 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61,
  613. 0x1a, 0x4f, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  614. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  615. 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
  616. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  617. 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  618. 0x01, 0x2a, 0x2f, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x0f, 0x0a, 0x07, 0x75, 0x6e, 0x6b,
  619. 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45,
  620. 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44,
  621. 0x10, 0x02, 0x42, 0x2d, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x73, 0x68, 0x6f, 0x70, 0x70,
  622. 0x65, 0x72, 0x2e, 0x63, 0x72, 0x6d, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x76, 0x32,
  623. 0x42, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x08, 0x2e, 0x2f, 0x74, 0x69, 0x63, 0x6b, 0x65,
  624. 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  625. }
  626. var (
  627. file_ticket_proto_rawDescOnce sync.Once
  628. file_ticket_proto_rawDescData = file_ticket_proto_rawDesc
  629. )
  630. func file_ticket_proto_rawDescGZIP() []byte {
  631. file_ticket_proto_rawDescOnce.Do(func() {
  632. file_ticket_proto_rawDescData = protoimpl.X.CompressGZIP(file_ticket_proto_rawDescData)
  633. })
  634. return file_ticket_proto_rawDescData
  635. }
  636. var file_ticket_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  637. var file_ticket_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
  638. var file_ticket_proto_goTypes = []interface{}{
  639. (Flag)(0), // 0: ticket.Flag
  640. (Message_Type)(0), // 1: ticket.Message.Type
  641. (*EmailAddress)(nil), // 2: ticket.EmailAddress
  642. (*Attachment)(nil), // 3: ticket.Attachment
  643. (*AssistantRequest)(nil), // 4: ticket.AssistantRequest
  644. (*AssistantCallback)(nil), // 5: ticket.AssistantCallback
  645. (*Message)(nil), // 6: ticket.Message
  646. (*Ticket)(nil), // 7: ticket.Ticket
  647. nil, // 8: ticket.Message.HeadersEntry
  648. nil, // 9: ticket.Message.MetaEntry
  649. nil, // 10: ticket.Ticket.MetaEntry
  650. (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp
  651. (*structpb.Value)(nil), // 12: google.protobuf.Value
  652. }
  653. var file_ticket_proto_depIdxs = []int32{
  654. 2, // 0: ticket.AssistantRequest.from:type_name -> ticket.EmailAddress
  655. 11, // 1: ticket.AssistantRequest.date:type_name -> google.protobuf.Timestamp
  656. 3, // 2: ticket.AssistantRequest.attachments:type_name -> ticket.Attachment
  657. 2, // 3: ticket.AssistantCallback.to:type_name -> ticket.EmailAddress
  658. 1, // 4: ticket.Message.type:type_name -> ticket.Message.Type
  659. 11, // 5: ticket.Message.date:type_name -> google.protobuf.Timestamp
  660. 8, // 6: ticket.Message.headers:type_name -> ticket.Message.HeadersEntry
  661. 9, // 7: ticket.Message.meta:type_name -> ticket.Message.MetaEntry
  662. 2, // 8: ticket.Ticket.from:type_name -> ticket.EmailAddress
  663. 6, // 9: ticket.Ticket.messages:type_name -> ticket.Message
  664. 10, // 10: ticket.Ticket.meta:type_name -> ticket.Ticket.MetaEntry
  665. 12, // 11: ticket.Message.MetaEntry.value:type_name -> google.protobuf.Value
  666. 12, // 12: ticket.Ticket.MetaEntry.value:type_name -> google.protobuf.Value
  667. 13, // [13:13] is the sub-list for method output_type
  668. 13, // [13:13] is the sub-list for method input_type
  669. 13, // [13:13] is the sub-list for extension type_name
  670. 13, // [13:13] is the sub-list for extension extendee
  671. 0, // [0:13] is the sub-list for field type_name
  672. }
  673. func init() { file_ticket_proto_init() }
  674. func file_ticket_proto_init() {
  675. if File_ticket_proto != nil {
  676. return
  677. }
  678. if !protoimpl.UnsafeEnabled {
  679. file_ticket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  680. switch v := v.(*EmailAddress); i {
  681. case 0:
  682. return &v.state
  683. case 1:
  684. return &v.sizeCache
  685. case 2:
  686. return &v.unknownFields
  687. default:
  688. return nil
  689. }
  690. }
  691. file_ticket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  692. switch v := v.(*Attachment); i {
  693. case 0:
  694. return &v.state
  695. case 1:
  696. return &v.sizeCache
  697. case 2:
  698. return &v.unknownFields
  699. default:
  700. return nil
  701. }
  702. }
  703. file_ticket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  704. switch v := v.(*AssistantRequest); i {
  705. case 0:
  706. return &v.state
  707. case 1:
  708. return &v.sizeCache
  709. case 2:
  710. return &v.unknownFields
  711. default:
  712. return nil
  713. }
  714. }
  715. file_ticket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  716. switch v := v.(*AssistantCallback); i {
  717. case 0:
  718. return &v.state
  719. case 1:
  720. return &v.sizeCache
  721. case 2:
  722. return &v.unknownFields
  723. default:
  724. return nil
  725. }
  726. }
  727. file_ticket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  728. switch v := v.(*Message); i {
  729. case 0:
  730. return &v.state
  731. case 1:
  732. return &v.sizeCache
  733. case 2:
  734. return &v.unknownFields
  735. default:
  736. return nil
  737. }
  738. }
  739. file_ticket_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  740. switch v := v.(*Ticket); i {
  741. case 0:
  742. return &v.state
  743. case 1:
  744. return &v.sizeCache
  745. case 2:
  746. return &v.unknownFields
  747. default:
  748. return nil
  749. }
  750. }
  751. }
  752. type x struct{}
  753. out := protoimpl.TypeBuilder{
  754. File: protoimpl.DescBuilder{
  755. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  756. RawDescriptor: file_ticket_proto_rawDesc,
  757. NumEnums: 2,
  758. NumMessages: 9,
  759. NumExtensions: 0,
  760. NumServices: 0,
  761. },
  762. GoTypes: file_ticket_proto_goTypes,
  763. DependencyIndexes: file_ticket_proto_depIdxs,
  764. EnumInfos: file_ticket_proto_enumTypes,
  765. MessageInfos: file_ticket_proto_msgTypes,
  766. }.Build()
  767. File_ticket_proto = out.File
  768. file_ticket_proto_rawDesc = nil
  769. file_ticket_proto_goTypes = nil
  770. file_ticket_proto_depIdxs = nil
  771. }