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. 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. Messages []*Message `protobuf:"bytes,10,rep,name=messages,proto3" json:"messages,omitempty"`
  450. 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"`
  451. Tags []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
  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]string {
  517. if x != nil {
  518. return x.Meta
  519. }
  520. return nil
  521. }
  522. func (x *Ticket) GetTags() []string {
  523. if x != nil {
  524. return x.Tags
  525. }
  526. return nil
  527. }
  528. var File_ticket_proto protoreflect.FileDescriptor
  529. var file_ticket_proto_rawDesc = []byte{
  530. 0x0a, 0x0c, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
  531. 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
  532. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
  533. 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c,
  534. 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
  535. 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
  536. 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  537. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68,
  538. 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  539. 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
  540. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
  541. 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
  542. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  543. 0x74, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  544. 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10,
  545. 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67,
  546. 0x22, 0xe0, 0x01, 0x0a, 0x10, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65,
  547. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
  548. 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x28, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20,
  549. 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61,
  550. 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12,
  551. 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  552. 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74,
  553. 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  554. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
  555. 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64,
  556. 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x34, 0x0a,
  557. 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03,
  558. 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x61,
  559. 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65,
  560. 0x6e, 0x74, 0x73, 0x22, 0x67, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74,
  561. 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01,
  562. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d,
  563. 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x18,
  564. 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  565. 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
  566. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x99, 0x04, 0x0a,
  567. 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73,
  568. 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65,
  569. 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63, 0x6b,
  570. 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x63,
  571. 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03,
  572. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79,
  573. 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65,
  574. 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
  575. 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
  576. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2e,
  577. 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  578. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  579. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x10,
  580. 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77,
  581. 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52,
  582. 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
  583. 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74,
  584. 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
  585. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x2d,
  586. 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74,
  587. 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65,
  588. 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x3a, 0x0a,
  589. 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  590. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  591. 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  592. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 0x74,
  593. 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  594. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  595. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
  596. 0x38, 0x01, 0x22, 0x44, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x07, 0x75, 0x6e,
  597. 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54,
  598. 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x41, 0x49, 0x4c, 0x10, 0x02,
  599. 0x12, 0x16, 0x0a, 0x12, 0x41, 0x53, 0x53, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x54, 0x5f, 0x43, 0x41,
  600. 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x03, 0x22, 0xbc, 0x02, 0x0a, 0x06, 0x54, 0x69, 0x63,
  601. 0x6b, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
  602. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69,
  603. 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02,
  604. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x12,
  605. 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12,
  606. 0x28, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
  607. 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72,
  608. 0x65, 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61,
  609. 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12,
  610. 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28,
  611. 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
  612. 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x04,
  613. 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x69, 0x63,
  614. 0x6b, 0x65, 0x74, 0x2e, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45,
  615. 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61,
  616. 0x67, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x37,
  617. 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  618. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  619. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
  620. 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x2f, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12,
  621. 0x0f, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01,
  622. 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f,
  623. 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x02, 0x42, 0x2d, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e,
  624. 0x67, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x63, 0x72, 0x6d, 0x2e, 0x74, 0x69, 0x63,
  625. 0x6b, 0x65, 0x74, 0x2e, 0x76, 0x32, 0x42, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x08, 0x2e,
  626. 0x2f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  627. }
  628. var (
  629. file_ticket_proto_rawDescOnce sync.Once
  630. file_ticket_proto_rawDescData = file_ticket_proto_rawDesc
  631. )
  632. func file_ticket_proto_rawDescGZIP() []byte {
  633. file_ticket_proto_rawDescOnce.Do(func() {
  634. file_ticket_proto_rawDescData = protoimpl.X.CompressGZIP(file_ticket_proto_rawDescData)
  635. })
  636. return file_ticket_proto_rawDescData
  637. }
  638. var file_ticket_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  639. var file_ticket_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
  640. var file_ticket_proto_goTypes = []interface{}{
  641. (Flag)(0), // 0: ticket.Flag
  642. (Message_Type)(0), // 1: ticket.Message.Type
  643. (*EmailAddress)(nil), // 2: ticket.EmailAddress
  644. (*Attachment)(nil), // 3: ticket.Attachment
  645. (*AssistantRequest)(nil), // 4: ticket.AssistantRequest
  646. (*AssistantCallback)(nil), // 5: ticket.AssistantCallback
  647. (*Message)(nil), // 6: ticket.Message
  648. (*Ticket)(nil), // 7: ticket.Ticket
  649. nil, // 8: ticket.Message.HeadersEntry
  650. nil, // 9: ticket.Message.MetaEntry
  651. nil, // 10: ticket.Ticket.MetaEntry
  652. (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp
  653. }
  654. var file_ticket_proto_depIdxs = []int32{
  655. 2, // 0: ticket.AssistantRequest.from:type_name -> ticket.EmailAddress
  656. 11, // 1: ticket.AssistantRequest.date:type_name -> google.protobuf.Timestamp
  657. 3, // 2: ticket.AssistantRequest.attachments:type_name -> ticket.Attachment
  658. 2, // 3: ticket.AssistantCallback.to:type_name -> ticket.EmailAddress
  659. 1, // 4: ticket.Message.type:type_name -> ticket.Message.Type
  660. 11, // 5: ticket.Message.date:type_name -> google.protobuf.Timestamp
  661. 8, // 6: ticket.Message.headers:type_name -> ticket.Message.HeadersEntry
  662. 9, // 7: ticket.Message.meta:type_name -> ticket.Message.MetaEntry
  663. 2, // 8: ticket.Ticket.from:type_name -> ticket.EmailAddress
  664. 6, // 9: ticket.Ticket.messages:type_name -> ticket.Message
  665. 10, // 10: ticket.Ticket.meta:type_name -> ticket.Ticket.MetaEntry
  666. 11, // [11:11] is the sub-list for method output_type
  667. 11, // [11:11] is the sub-list for method input_type
  668. 11, // [11:11] is the sub-list for extension type_name
  669. 11, // [11:11] is the sub-list for extension extendee
  670. 0, // [0:11] is the sub-list for field type_name
  671. }
  672. func init() { file_ticket_proto_init() }
  673. func file_ticket_proto_init() {
  674. if File_ticket_proto != nil {
  675. return
  676. }
  677. if !protoimpl.UnsafeEnabled {
  678. file_ticket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  679. switch v := v.(*EmailAddress); i {
  680. case 0:
  681. return &v.state
  682. case 1:
  683. return &v.sizeCache
  684. case 2:
  685. return &v.unknownFields
  686. default:
  687. return nil
  688. }
  689. }
  690. file_ticket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  691. switch v := v.(*Attachment); i {
  692. case 0:
  693. return &v.state
  694. case 1:
  695. return &v.sizeCache
  696. case 2:
  697. return &v.unknownFields
  698. default:
  699. return nil
  700. }
  701. }
  702. file_ticket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  703. switch v := v.(*AssistantRequest); 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[3].Exporter = func(v interface{}, i int) interface{} {
  715. switch v := v.(*AssistantCallback); 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[4].Exporter = func(v interface{}, i int) interface{} {
  727. switch v := v.(*Message); 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[5].Exporter = func(v interface{}, i int) interface{} {
  739. switch v := v.(*Ticket); 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. }
  751. type x struct{}
  752. out := protoimpl.TypeBuilder{
  753. File: protoimpl.DescBuilder{
  754. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  755. RawDescriptor: file_ticket_proto_rawDesc,
  756. NumEnums: 2,
  757. NumMessages: 9,
  758. NumExtensions: 0,
  759. NumServices: 0,
  760. },
  761. GoTypes: file_ticket_proto_goTypes,
  762. DependencyIndexes: file_ticket_proto_depIdxs,
  763. EnumInfos: file_ticket_proto_enumTypes,
  764. MessageInfos: file_ticket_proto_msgTypes,
  765. }.Build()
  766. File_ticket_proto = out.File
  767. file_ticket_proto_rawDesc = nil
  768. file_ticket_proto_goTypes = nil
  769. file_ticket_proto_depIdxs = nil
  770. }