ticket.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652
  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{2, 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 AssistantCallback struct {
  153. state protoimpl.MessageState
  154. sizeCache protoimpl.SizeCache
  155. unknownFields protoimpl.UnknownFields
  156. To *EmailAddress `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
  157. Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
  158. Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
  159. }
  160. func (x *AssistantCallback) Reset() {
  161. *x = AssistantCallback{}
  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 *AssistantCallback) String() string {
  169. return protoimpl.X.MessageStringOf(x)
  170. }
  171. func (*AssistantCallback) ProtoMessage() {}
  172. func (x *AssistantCallback) 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 AssistantCallback.ProtoReflect.Descriptor instead.
  184. func (*AssistantCallback) Descriptor() ([]byte, []int) {
  185. return file_ticket_proto_rawDescGZIP(), []int{1}
  186. }
  187. func (x *AssistantCallback) GetTo() *EmailAddress {
  188. if x != nil {
  189. return x.To
  190. }
  191. return nil
  192. }
  193. func (x *AssistantCallback) GetSubject() string {
  194. if x != nil {
  195. return x.Subject
  196. }
  197. return ""
  198. }
  199. func (x *AssistantCallback) GetBody() string {
  200. if x != nil {
  201. return x.Body
  202. }
  203. return ""
  204. }
  205. type Message struct {
  206. state protoimpl.MessageState
  207. sizeCache protoimpl.SizeCache
  208. unknownFields protoimpl.UnknownFields
  209. MessageId string `protobuf:"bytes,1,opt,name=message_id,proto3" json:"message_id,omitempty"`
  210. TicketId string `protobuf:"bytes,2,opt,name=ticket_id,proto3" json:"ticket_id,omitempty"`
  211. Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
  212. Type Message_Type `protobuf:"varint,4,opt,name=type,proto3,enum=ticket.Message_Type" json:"type,omitempty"`
  213. Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
  214. Date *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"`
  215. Raw []byte `protobuf:"bytes,7,opt,name=raw,proto3" json:"raw,omitempty"`
  216. Flags []byte `protobuf:"bytes,8,opt,name=flags,proto3" json:"flags,omitempty"`
  217. 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"`
  218. 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"`
  219. }
  220. func (x *Message) Reset() {
  221. *x = Message{}
  222. if protoimpl.UnsafeEnabled {
  223. mi := &file_ticket_proto_msgTypes[2]
  224. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  225. ms.StoreMessageInfo(mi)
  226. }
  227. }
  228. func (x *Message) String() string {
  229. return protoimpl.X.MessageStringOf(x)
  230. }
  231. func (*Message) ProtoMessage() {}
  232. func (x *Message) ProtoReflect() protoreflect.Message {
  233. mi := &file_ticket_proto_msgTypes[2]
  234. if protoimpl.UnsafeEnabled && x != nil {
  235. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  236. if ms.LoadMessageInfo() == nil {
  237. ms.StoreMessageInfo(mi)
  238. }
  239. return ms
  240. }
  241. return mi.MessageOf(x)
  242. }
  243. // Deprecated: Use Message.ProtoReflect.Descriptor instead.
  244. func (*Message) Descriptor() ([]byte, []int) {
  245. return file_ticket_proto_rawDescGZIP(), []int{2}
  246. }
  247. func (x *Message) GetMessageId() string {
  248. if x != nil {
  249. return x.MessageId
  250. }
  251. return ""
  252. }
  253. func (x *Message) GetTicketId() string {
  254. if x != nil {
  255. return x.TicketId
  256. }
  257. return ""
  258. }
  259. func (x *Message) GetRole() string {
  260. if x != nil {
  261. return x.Role
  262. }
  263. return ""
  264. }
  265. func (x *Message) GetType() Message_Type {
  266. if x != nil {
  267. return x.Type
  268. }
  269. return Message_unknown
  270. }
  271. func (x *Message) GetContent() string {
  272. if x != nil {
  273. return x.Content
  274. }
  275. return ""
  276. }
  277. func (x *Message) GetDate() *timestamppb.Timestamp {
  278. if x != nil {
  279. return x.Date
  280. }
  281. return nil
  282. }
  283. func (x *Message) GetRaw() []byte {
  284. if x != nil {
  285. return x.Raw
  286. }
  287. return nil
  288. }
  289. func (x *Message) GetFlags() []byte {
  290. if x != nil {
  291. return x.Flags
  292. }
  293. return nil
  294. }
  295. func (x *Message) GetHeaders() map[string]string {
  296. if x != nil {
  297. return x.Headers
  298. }
  299. return nil
  300. }
  301. func (x *Message) GetMeta() map[string]*structpb.Value {
  302. if x != nil {
  303. return x.Meta
  304. }
  305. return nil
  306. }
  307. type Ticket struct {
  308. state protoimpl.MessageState
  309. sizeCache protoimpl.SizeCache
  310. unknownFields protoimpl.UnknownFields
  311. TicketId string `protobuf:"bytes,1,opt,name=ticket_id,proto3" json:"ticket_id,omitempty"`
  312. To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
  313. From *EmailAddress `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
  314. Flags []byte `protobuf:"bytes,4,opt,name=flags,proto3" json:"flags,omitempty"`
  315. Messages []*Message `protobuf:"bytes,10,rep,name=messages,proto3" json:"messages,omitempty"`
  316. 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"`
  317. }
  318. func (x *Ticket) Reset() {
  319. *x = Ticket{}
  320. if protoimpl.UnsafeEnabled {
  321. mi := &file_ticket_proto_msgTypes[3]
  322. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  323. ms.StoreMessageInfo(mi)
  324. }
  325. }
  326. func (x *Ticket) String() string {
  327. return protoimpl.X.MessageStringOf(x)
  328. }
  329. func (*Ticket) ProtoMessage() {}
  330. func (x *Ticket) ProtoReflect() protoreflect.Message {
  331. mi := &file_ticket_proto_msgTypes[3]
  332. if protoimpl.UnsafeEnabled && x != nil {
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. if ms.LoadMessageInfo() == nil {
  335. ms.StoreMessageInfo(mi)
  336. }
  337. return ms
  338. }
  339. return mi.MessageOf(x)
  340. }
  341. // Deprecated: Use Ticket.ProtoReflect.Descriptor instead.
  342. func (*Ticket) Descriptor() ([]byte, []int) {
  343. return file_ticket_proto_rawDescGZIP(), []int{3}
  344. }
  345. func (x *Ticket) GetTicketId() string {
  346. if x != nil {
  347. return x.TicketId
  348. }
  349. return ""
  350. }
  351. func (x *Ticket) GetTo() string {
  352. if x != nil {
  353. return x.To
  354. }
  355. return ""
  356. }
  357. func (x *Ticket) GetFrom() *EmailAddress {
  358. if x != nil {
  359. return x.From
  360. }
  361. return nil
  362. }
  363. func (x *Ticket) GetFlags() []byte {
  364. if x != nil {
  365. return x.Flags
  366. }
  367. return nil
  368. }
  369. func (x *Ticket) GetMessages() []*Message {
  370. if x != nil {
  371. return x.Messages
  372. }
  373. return nil
  374. }
  375. func (x *Ticket) GetMeta() map[string]*structpb.Value {
  376. if x != nil {
  377. return x.Meta
  378. }
  379. return nil
  380. }
  381. var File_ticket_proto protoreflect.FileDescriptor
  382. var file_ticket_proto_rawDesc = []byte{
  383. 0x0a, 0x0c, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
  384. 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
  385. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
  386. 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  387. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e,
  388. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64,
  389. 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  390. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
  391. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  392. 0x61, 0x6d, 0x65, 0x22, 0x67, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74,
  393. 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01,
  394. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d,
  395. 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x18,
  396. 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  397. 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
  398. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xb1, 0x04, 0x0a,
  399. 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73,
  400. 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65,
  401. 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63, 0x6b,
  402. 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x63,
  403. 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03,
  404. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79,
  405. 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65,
  406. 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
  407. 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
  408. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x2e,
  409. 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  410. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  411. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x10,
  412. 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77,
  413. 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52,
  414. 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
  415. 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74,
  416. 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
  417. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x2d,
  418. 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74,
  419. 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65,
  420. 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x3a, 0x0a,
  421. 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  422. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  423. 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  424. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4f, 0x0a, 0x09, 0x4d, 0x65, 0x74,
  425. 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  426. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  427. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  428. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
  429. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x44, 0x0a, 0x04, 0x54, 0x79,
  430. 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x1a,
  431. 0x02, 0x08, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a,
  432. 0x05, 0x45, 0x4d, 0x41, 0x49, 0x4c, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x53, 0x53, 0x49,
  433. 0x53, 0x54, 0x41, 0x4e, 0x54, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x03,
  434. 0x22, 0xa2, 0x02, 0x0a, 0x06, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74,
  435. 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  436. 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18,
  437. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x28, 0x0a, 0x04, 0x66, 0x72, 0x6f,
  438. 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74,
  439. 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x66,
  440. 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01,
  441. 0x28, 0x0c, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x73,
  442. 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x69,
  443. 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65,
  444. 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b,
  445. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x54, 0x69,
  446. 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04,
  447. 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x4f, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72,
  448. 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  449. 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
  450. 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  451. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
  452. 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x2f, 0x0a, 0x04, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x0f, 0x0a,
  453. 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x08,
  454. 0x0a, 0x04, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f, 0x44, 0x49,
  455. 0x46, 0x49, 0x45, 0x44, 0x10, 0x02, 0x42, 0x2d, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x73,
  456. 0x68, 0x6f, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x63, 0x72, 0x6d, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65,
  457. 0x74, 0x2e, 0x76, 0x32, 0x42, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x08, 0x2e, 0x2f, 0x74,
  458. 0x69, 0x63, 0x6b, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  459. }
  460. var (
  461. file_ticket_proto_rawDescOnce sync.Once
  462. file_ticket_proto_rawDescData = file_ticket_proto_rawDesc
  463. )
  464. func file_ticket_proto_rawDescGZIP() []byte {
  465. file_ticket_proto_rawDescOnce.Do(func() {
  466. file_ticket_proto_rawDescData = protoimpl.X.CompressGZIP(file_ticket_proto_rawDescData)
  467. })
  468. return file_ticket_proto_rawDescData
  469. }
  470. var file_ticket_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  471. var file_ticket_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  472. var file_ticket_proto_goTypes = []interface{}{
  473. (Flag)(0), // 0: ticket.Flag
  474. (Message_Type)(0), // 1: ticket.Message.Type
  475. (*EmailAddress)(nil), // 2: ticket.EmailAddress
  476. (*AssistantCallback)(nil), // 3: ticket.AssistantCallback
  477. (*Message)(nil), // 4: ticket.Message
  478. (*Ticket)(nil), // 5: ticket.Ticket
  479. nil, // 6: ticket.Message.HeadersEntry
  480. nil, // 7: ticket.Message.MetaEntry
  481. nil, // 8: ticket.Ticket.MetaEntry
  482. (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
  483. (*structpb.Value)(nil), // 10: google.protobuf.Value
  484. }
  485. var file_ticket_proto_depIdxs = []int32{
  486. 2, // 0: ticket.AssistantCallback.to:type_name -> ticket.EmailAddress
  487. 1, // 1: ticket.Message.type:type_name -> ticket.Message.Type
  488. 9, // 2: ticket.Message.date:type_name -> google.protobuf.Timestamp
  489. 6, // 3: ticket.Message.headers:type_name -> ticket.Message.HeadersEntry
  490. 7, // 4: ticket.Message.meta:type_name -> ticket.Message.MetaEntry
  491. 2, // 5: ticket.Ticket.from:type_name -> ticket.EmailAddress
  492. 4, // 6: ticket.Ticket.messages:type_name -> ticket.Message
  493. 8, // 7: ticket.Ticket.meta:type_name -> ticket.Ticket.MetaEntry
  494. 10, // 8: ticket.Message.MetaEntry.value:type_name -> google.protobuf.Value
  495. 10, // 9: ticket.Ticket.MetaEntry.value:type_name -> google.protobuf.Value
  496. 10, // [10:10] is the sub-list for method output_type
  497. 10, // [10:10] is the sub-list for method input_type
  498. 10, // [10:10] is the sub-list for extension type_name
  499. 10, // [10:10] is the sub-list for extension extendee
  500. 0, // [0:10] is the sub-list for field type_name
  501. }
  502. func init() { file_ticket_proto_init() }
  503. func file_ticket_proto_init() {
  504. if File_ticket_proto != nil {
  505. return
  506. }
  507. if !protoimpl.UnsafeEnabled {
  508. file_ticket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  509. switch v := v.(*EmailAddress); i {
  510. case 0:
  511. return &v.state
  512. case 1:
  513. return &v.sizeCache
  514. case 2:
  515. return &v.unknownFields
  516. default:
  517. return nil
  518. }
  519. }
  520. file_ticket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  521. switch v := v.(*AssistantCallback); i {
  522. case 0:
  523. return &v.state
  524. case 1:
  525. return &v.sizeCache
  526. case 2:
  527. return &v.unknownFields
  528. default:
  529. return nil
  530. }
  531. }
  532. file_ticket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  533. switch v := v.(*Message); i {
  534. case 0:
  535. return &v.state
  536. case 1:
  537. return &v.sizeCache
  538. case 2:
  539. return &v.unknownFields
  540. default:
  541. return nil
  542. }
  543. }
  544. file_ticket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  545. switch v := v.(*Ticket); i {
  546. case 0:
  547. return &v.state
  548. case 1:
  549. return &v.sizeCache
  550. case 2:
  551. return &v.unknownFields
  552. default:
  553. return nil
  554. }
  555. }
  556. }
  557. type x struct{}
  558. out := protoimpl.TypeBuilder{
  559. File: protoimpl.DescBuilder{
  560. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  561. RawDescriptor: file_ticket_proto_rawDesc,
  562. NumEnums: 2,
  563. NumMessages: 7,
  564. NumExtensions: 0,
  565. NumServices: 0,
  566. },
  567. GoTypes: file_ticket_proto_goTypes,
  568. DependencyIndexes: file_ticket_proto_depIdxs,
  569. EnumInfos: file_ticket_proto_enumTypes,
  570. MessageInfos: file_ticket_proto_msgTypes,
  571. }.Build()
  572. File_ticket_proto = out.File
  573. file_ticket_proto_rawDesc = nil
  574. file_ticket_proto_goTypes = nil
  575. file_ticket_proto_depIdxs = nil
  576. }