InstamadilloSupplementMessage.pb.go 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.10
  4. // protoc v3.21.12
  5. // source: instamadilloSupplementMessage/InstamadilloSupplementMessage.proto
  6. package instamadilloSupplementMessage
  7. import (
  8. reflect "reflect"
  9. sync "sync"
  10. unsafe "unsafe"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. instamadilloCoreTypeMedia "git.bobomao.top/joey/testwh/proto/instamadilloCoreTypeMedia"
  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 SupplementMessagePayload struct {
  22. state protoimpl.MessageState `protogen:"open.v1"`
  23. TargetMessageOtid *string `protobuf:"bytes,1,opt,name=targetMessageOtid" json:"targetMessageOtid,omitempty"`
  24. UniquingKeyForSupplementalData *string `protobuf:"bytes,2,opt,name=uniquingKeyForSupplementalData" json:"uniquingKeyForSupplementalData,omitempty"`
  25. Content *SupplementMessageContent `protobuf:"bytes,3,opt,name=content" json:"content,omitempty"`
  26. TargetMessageWaServerTimeSec *string `protobuf:"bytes,4,opt,name=targetMessageWaServerTimeSec" json:"targetMessageWaServerTimeSec,omitempty"`
  27. TargetWaThreadID *string `protobuf:"bytes,5,opt,name=targetWaThreadID" json:"targetWaThreadID,omitempty"`
  28. unknownFields protoimpl.UnknownFields
  29. sizeCache protoimpl.SizeCache
  30. }
  31. func (x *SupplementMessagePayload) Reset() {
  32. *x = SupplementMessagePayload{}
  33. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. func (x *SupplementMessagePayload) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*SupplementMessagePayload) ProtoMessage() {}
  41. func (x *SupplementMessagePayload) ProtoReflect() protoreflect.Message {
  42. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[0]
  43. if x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use SupplementMessagePayload.ProtoReflect.Descriptor instead.
  53. func (*SupplementMessagePayload) Descriptor() ([]byte, []int) {
  54. return file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *SupplementMessagePayload) GetTargetMessageOtid() string {
  57. if x != nil && x.TargetMessageOtid != nil {
  58. return *x.TargetMessageOtid
  59. }
  60. return ""
  61. }
  62. func (x *SupplementMessagePayload) GetUniquingKeyForSupplementalData() string {
  63. if x != nil && x.UniquingKeyForSupplementalData != nil {
  64. return *x.UniquingKeyForSupplementalData
  65. }
  66. return ""
  67. }
  68. func (x *SupplementMessagePayload) GetContent() *SupplementMessageContent {
  69. if x != nil {
  70. return x.Content
  71. }
  72. return nil
  73. }
  74. func (x *SupplementMessagePayload) GetTargetMessageWaServerTimeSec() string {
  75. if x != nil && x.TargetMessageWaServerTimeSec != nil {
  76. return *x.TargetMessageWaServerTimeSec
  77. }
  78. return ""
  79. }
  80. func (x *SupplementMessagePayload) GetTargetWaThreadID() string {
  81. if x != nil && x.TargetWaThreadID != nil {
  82. return *x.TargetWaThreadID
  83. }
  84. return ""
  85. }
  86. type SupplementMessageContent struct {
  87. state protoimpl.MessageState `protogen:"open.v1"`
  88. // Types that are valid to be assigned to SupplementMessageContent:
  89. //
  90. // *SupplementMessageContent_Reaction
  91. // *SupplementMessageContent_ContentView
  92. // *SupplementMessageContent_EditText
  93. // *SupplementMessageContent_MediaReaction
  94. // *SupplementMessageContent_OriginalTransportPayload
  95. // *SupplementMessageContent_MediaInterventions
  96. SupplementMessageContent isSupplementMessageContent_SupplementMessageContent `protobuf_oneof:"supplementMessageContent"`
  97. unknownFields protoimpl.UnknownFields
  98. sizeCache protoimpl.SizeCache
  99. }
  100. func (x *SupplementMessageContent) Reset() {
  101. *x = SupplementMessageContent{}
  102. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[1]
  103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  104. ms.StoreMessageInfo(mi)
  105. }
  106. func (x *SupplementMessageContent) String() string {
  107. return protoimpl.X.MessageStringOf(x)
  108. }
  109. func (*SupplementMessageContent) ProtoMessage() {}
  110. func (x *SupplementMessageContent) ProtoReflect() protoreflect.Message {
  111. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[1]
  112. if x != nil {
  113. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  114. if ms.LoadMessageInfo() == nil {
  115. ms.StoreMessageInfo(mi)
  116. }
  117. return ms
  118. }
  119. return mi.MessageOf(x)
  120. }
  121. // Deprecated: Use SupplementMessageContent.ProtoReflect.Descriptor instead.
  122. func (*SupplementMessageContent) Descriptor() ([]byte, []int) {
  123. return file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP(), []int{1}
  124. }
  125. func (x *SupplementMessageContent) GetSupplementMessageContent() isSupplementMessageContent_SupplementMessageContent {
  126. if x != nil {
  127. return x.SupplementMessageContent
  128. }
  129. return nil
  130. }
  131. func (x *SupplementMessageContent) GetReaction() *Reaction {
  132. if x != nil {
  133. if x, ok := x.SupplementMessageContent.(*SupplementMessageContent_Reaction); ok {
  134. return x.Reaction
  135. }
  136. }
  137. return nil
  138. }
  139. func (x *SupplementMessageContent) GetContentView() *ContentView {
  140. if x != nil {
  141. if x, ok := x.SupplementMessageContent.(*SupplementMessageContent_ContentView); ok {
  142. return x.ContentView
  143. }
  144. }
  145. return nil
  146. }
  147. func (x *SupplementMessageContent) GetEditText() *EditText {
  148. if x != nil {
  149. if x, ok := x.SupplementMessageContent.(*SupplementMessageContent_EditText); ok {
  150. return x.EditText
  151. }
  152. }
  153. return nil
  154. }
  155. func (x *SupplementMessageContent) GetMediaReaction() *MediaReaction {
  156. if x != nil {
  157. if x, ok := x.SupplementMessageContent.(*SupplementMessageContent_MediaReaction); ok {
  158. return x.MediaReaction
  159. }
  160. }
  161. return nil
  162. }
  163. func (x *SupplementMessageContent) GetOriginalTransportPayload() *OriginalTransportPayload {
  164. if x != nil {
  165. if x, ok := x.SupplementMessageContent.(*SupplementMessageContent_OriginalTransportPayload); ok {
  166. return x.OriginalTransportPayload
  167. }
  168. }
  169. return nil
  170. }
  171. func (x *SupplementMessageContent) GetMediaInterventions() *MediaInterventions {
  172. if x != nil {
  173. if x, ok := x.SupplementMessageContent.(*SupplementMessageContent_MediaInterventions); ok {
  174. return x.MediaInterventions
  175. }
  176. }
  177. return nil
  178. }
  179. type isSupplementMessageContent_SupplementMessageContent interface {
  180. isSupplementMessageContent_SupplementMessageContent()
  181. }
  182. type SupplementMessageContent_Reaction struct {
  183. Reaction *Reaction `protobuf:"bytes,1,opt,name=reaction,oneof"`
  184. }
  185. type SupplementMessageContent_ContentView struct {
  186. ContentView *ContentView `protobuf:"bytes,2,opt,name=contentView,oneof"`
  187. }
  188. type SupplementMessageContent_EditText struct {
  189. EditText *EditText `protobuf:"bytes,3,opt,name=editText,oneof"`
  190. }
  191. type SupplementMessageContent_MediaReaction struct {
  192. MediaReaction *MediaReaction `protobuf:"bytes,4,opt,name=mediaReaction,oneof"`
  193. }
  194. type SupplementMessageContent_OriginalTransportPayload struct {
  195. OriginalTransportPayload *OriginalTransportPayload `protobuf:"bytes,5,opt,name=originalTransportPayload,oneof"`
  196. }
  197. type SupplementMessageContent_MediaInterventions struct {
  198. MediaInterventions *MediaInterventions `protobuf:"bytes,6,opt,name=mediaInterventions,oneof"`
  199. }
  200. func (*SupplementMessageContent_Reaction) isSupplementMessageContent_SupplementMessageContent() {}
  201. func (*SupplementMessageContent_ContentView) isSupplementMessageContent_SupplementMessageContent() {}
  202. func (*SupplementMessageContent_EditText) isSupplementMessageContent_SupplementMessageContent() {}
  203. func (*SupplementMessageContent_MediaReaction) isSupplementMessageContent_SupplementMessageContent() {
  204. }
  205. func (*SupplementMessageContent_OriginalTransportPayload) isSupplementMessageContent_SupplementMessageContent() {
  206. }
  207. func (*SupplementMessageContent_MediaInterventions) isSupplementMessageContent_SupplementMessageContent() {
  208. }
  209. type MediaReaction struct {
  210. state protoimpl.MessageState `protogen:"open.v1"`
  211. MediaID *string `protobuf:"bytes,1,opt,name=mediaID" json:"mediaID,omitempty"`
  212. Reaction *Reaction `protobuf:"bytes,2,opt,name=reaction" json:"reaction,omitempty"`
  213. unknownFields protoimpl.UnknownFields
  214. sizeCache protoimpl.SizeCache
  215. }
  216. func (x *MediaReaction) Reset() {
  217. *x = MediaReaction{}
  218. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[2]
  219. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  220. ms.StoreMessageInfo(mi)
  221. }
  222. func (x *MediaReaction) String() string {
  223. return protoimpl.X.MessageStringOf(x)
  224. }
  225. func (*MediaReaction) ProtoMessage() {}
  226. func (x *MediaReaction) ProtoReflect() protoreflect.Message {
  227. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[2]
  228. if x != nil {
  229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  230. if ms.LoadMessageInfo() == nil {
  231. ms.StoreMessageInfo(mi)
  232. }
  233. return ms
  234. }
  235. return mi.MessageOf(x)
  236. }
  237. // Deprecated: Use MediaReaction.ProtoReflect.Descriptor instead.
  238. func (*MediaReaction) Descriptor() ([]byte, []int) {
  239. return file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP(), []int{2}
  240. }
  241. func (x *MediaReaction) GetMediaID() string {
  242. if x != nil && x.MediaID != nil {
  243. return *x.MediaID
  244. }
  245. return ""
  246. }
  247. func (x *MediaReaction) GetReaction() *Reaction {
  248. if x != nil {
  249. return x.Reaction
  250. }
  251. return nil
  252. }
  253. type Reaction struct {
  254. state protoimpl.MessageState `protogen:"open.v1"`
  255. ReactionType *string `protobuf:"bytes,1,opt,name=reactionType" json:"reactionType,omitempty"`
  256. ReactionStatus *string `protobuf:"bytes,2,opt,name=reactionStatus" json:"reactionStatus,omitempty"`
  257. Emoji *string `protobuf:"bytes,3,opt,name=emoji" json:"emoji,omitempty"`
  258. SuperReactType *string `protobuf:"bytes,4,opt,name=superReactType" json:"superReactType,omitempty"`
  259. ActionLogOtid *string `protobuf:"bytes,5,opt,name=actionLogOtid" json:"actionLogOtid,omitempty"`
  260. unknownFields protoimpl.UnknownFields
  261. sizeCache protoimpl.SizeCache
  262. }
  263. func (x *Reaction) Reset() {
  264. *x = Reaction{}
  265. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[3]
  266. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  267. ms.StoreMessageInfo(mi)
  268. }
  269. func (x *Reaction) String() string {
  270. return protoimpl.X.MessageStringOf(x)
  271. }
  272. func (*Reaction) ProtoMessage() {}
  273. func (x *Reaction) ProtoReflect() protoreflect.Message {
  274. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[3]
  275. if x != nil {
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. if ms.LoadMessageInfo() == nil {
  278. ms.StoreMessageInfo(mi)
  279. }
  280. return ms
  281. }
  282. return mi.MessageOf(x)
  283. }
  284. // Deprecated: Use Reaction.ProtoReflect.Descriptor instead.
  285. func (*Reaction) Descriptor() ([]byte, []int) {
  286. return file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP(), []int{3}
  287. }
  288. func (x *Reaction) GetReactionType() string {
  289. if x != nil && x.ReactionType != nil {
  290. return *x.ReactionType
  291. }
  292. return ""
  293. }
  294. func (x *Reaction) GetReactionStatus() string {
  295. if x != nil && x.ReactionStatus != nil {
  296. return *x.ReactionStatus
  297. }
  298. return ""
  299. }
  300. func (x *Reaction) GetEmoji() string {
  301. if x != nil && x.Emoji != nil {
  302. return *x.Emoji
  303. }
  304. return ""
  305. }
  306. func (x *Reaction) GetSuperReactType() string {
  307. if x != nil && x.SuperReactType != nil {
  308. return *x.SuperReactType
  309. }
  310. return ""
  311. }
  312. func (x *Reaction) GetActionLogOtid() string {
  313. if x != nil && x.ActionLogOtid != nil {
  314. return *x.ActionLogOtid
  315. }
  316. return ""
  317. }
  318. type ContentView struct {
  319. state protoimpl.MessageState `protogen:"open.v1"`
  320. Seen *bool `protobuf:"varint,1,opt,name=seen" json:"seen,omitempty"`
  321. Screenshotted *bool `protobuf:"varint,2,opt,name=screenshotted" json:"screenshotted,omitempty"`
  322. Replayed *bool `protobuf:"varint,3,opt,name=replayed" json:"replayed,omitempty"`
  323. Mimetype *string `protobuf:"bytes,4,opt,name=mimetype" json:"mimetype,omitempty"`
  324. ObjectID *string `protobuf:"bytes,5,opt,name=objectID" json:"objectID,omitempty"`
  325. unknownFields protoimpl.UnknownFields
  326. sizeCache protoimpl.SizeCache
  327. }
  328. func (x *ContentView) Reset() {
  329. *x = ContentView{}
  330. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[4]
  331. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  332. ms.StoreMessageInfo(mi)
  333. }
  334. func (x *ContentView) String() string {
  335. return protoimpl.X.MessageStringOf(x)
  336. }
  337. func (*ContentView) ProtoMessage() {}
  338. func (x *ContentView) ProtoReflect() protoreflect.Message {
  339. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[4]
  340. if x != nil {
  341. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  342. if ms.LoadMessageInfo() == nil {
  343. ms.StoreMessageInfo(mi)
  344. }
  345. return ms
  346. }
  347. return mi.MessageOf(x)
  348. }
  349. // Deprecated: Use ContentView.ProtoReflect.Descriptor instead.
  350. func (*ContentView) Descriptor() ([]byte, []int) {
  351. return file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP(), []int{4}
  352. }
  353. func (x *ContentView) GetSeen() bool {
  354. if x != nil && x.Seen != nil {
  355. return *x.Seen
  356. }
  357. return false
  358. }
  359. func (x *ContentView) GetScreenshotted() bool {
  360. if x != nil && x.Screenshotted != nil {
  361. return *x.Screenshotted
  362. }
  363. return false
  364. }
  365. func (x *ContentView) GetReplayed() bool {
  366. if x != nil && x.Replayed != nil {
  367. return *x.Replayed
  368. }
  369. return false
  370. }
  371. func (x *ContentView) GetMimetype() string {
  372. if x != nil && x.Mimetype != nil {
  373. return *x.Mimetype
  374. }
  375. return ""
  376. }
  377. func (x *ContentView) GetObjectID() string {
  378. if x != nil && x.ObjectID != nil {
  379. return *x.ObjectID
  380. }
  381. return ""
  382. }
  383. type EditText struct {
  384. state protoimpl.MessageState `protogen:"open.v1"`
  385. NewContent *string `protobuf:"bytes,1,opt,name=newContent" json:"newContent,omitempty"`
  386. EditCount *int32 `protobuf:"varint,2,opt,name=editCount" json:"editCount,omitempty"`
  387. unknownFields protoimpl.UnknownFields
  388. sizeCache protoimpl.SizeCache
  389. }
  390. func (x *EditText) Reset() {
  391. *x = EditText{}
  392. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[5]
  393. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  394. ms.StoreMessageInfo(mi)
  395. }
  396. func (x *EditText) String() string {
  397. return protoimpl.X.MessageStringOf(x)
  398. }
  399. func (*EditText) ProtoMessage() {}
  400. func (x *EditText) ProtoReflect() protoreflect.Message {
  401. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[5]
  402. if x != nil {
  403. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  404. if ms.LoadMessageInfo() == nil {
  405. ms.StoreMessageInfo(mi)
  406. }
  407. return ms
  408. }
  409. return mi.MessageOf(x)
  410. }
  411. // Deprecated: Use EditText.ProtoReflect.Descriptor instead.
  412. func (*EditText) Descriptor() ([]byte, []int) {
  413. return file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP(), []int{5}
  414. }
  415. func (x *EditText) GetNewContent() string {
  416. if x != nil && x.NewContent != nil {
  417. return *x.NewContent
  418. }
  419. return ""
  420. }
  421. func (x *EditText) GetEditCount() int32 {
  422. if x != nil && x.EditCount != nil {
  423. return *x.EditCount
  424. }
  425. return 0
  426. }
  427. type OriginalTransportPayload struct {
  428. state protoimpl.MessageState `protogen:"open.v1"`
  429. OriginalTransportPayload []byte `protobuf:"bytes,1,opt,name=originalTransportPayload" json:"originalTransportPayload,omitempty"`
  430. unknownFields protoimpl.UnknownFields
  431. sizeCache protoimpl.SizeCache
  432. }
  433. func (x *OriginalTransportPayload) Reset() {
  434. *x = OriginalTransportPayload{}
  435. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[6]
  436. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  437. ms.StoreMessageInfo(mi)
  438. }
  439. func (x *OriginalTransportPayload) String() string {
  440. return protoimpl.X.MessageStringOf(x)
  441. }
  442. func (*OriginalTransportPayload) ProtoMessage() {}
  443. func (x *OriginalTransportPayload) ProtoReflect() protoreflect.Message {
  444. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[6]
  445. if x != nil {
  446. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  447. if ms.LoadMessageInfo() == nil {
  448. ms.StoreMessageInfo(mi)
  449. }
  450. return ms
  451. }
  452. return mi.MessageOf(x)
  453. }
  454. // Deprecated: Use OriginalTransportPayload.ProtoReflect.Descriptor instead.
  455. func (*OriginalTransportPayload) Descriptor() ([]byte, []int) {
  456. return file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP(), []int{6}
  457. }
  458. func (x *OriginalTransportPayload) GetOriginalTransportPayload() []byte {
  459. if x != nil {
  460. return x.OriginalTransportPayload
  461. }
  462. return nil
  463. }
  464. type MediaInterventions struct {
  465. state protoimpl.MessageState `protogen:"open.v1"`
  466. MediaID *string `protobuf:"bytes,1,opt,name=mediaID" json:"mediaID,omitempty"`
  467. InterventionType *instamadilloCoreTypeMedia.Media_InterventionType `protobuf:"varint,2,opt,name=interventionType,enum=InstamadilloCoreTypeMedia.Media_InterventionType" json:"interventionType,omitempty"`
  468. unknownFields protoimpl.UnknownFields
  469. sizeCache protoimpl.SizeCache
  470. }
  471. func (x *MediaInterventions) Reset() {
  472. *x = MediaInterventions{}
  473. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[7]
  474. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  475. ms.StoreMessageInfo(mi)
  476. }
  477. func (x *MediaInterventions) String() string {
  478. return protoimpl.X.MessageStringOf(x)
  479. }
  480. func (*MediaInterventions) ProtoMessage() {}
  481. func (x *MediaInterventions) ProtoReflect() protoreflect.Message {
  482. mi := &file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[7]
  483. if x != nil {
  484. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  485. if ms.LoadMessageInfo() == nil {
  486. ms.StoreMessageInfo(mi)
  487. }
  488. return ms
  489. }
  490. return mi.MessageOf(x)
  491. }
  492. // Deprecated: Use MediaInterventions.ProtoReflect.Descriptor instead.
  493. func (*MediaInterventions) Descriptor() ([]byte, []int) {
  494. return file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP(), []int{7}
  495. }
  496. func (x *MediaInterventions) GetMediaID() string {
  497. if x != nil && x.MediaID != nil {
  498. return *x.MediaID
  499. }
  500. return ""
  501. }
  502. func (x *MediaInterventions) GetInterventionType() instamadilloCoreTypeMedia.Media_InterventionType {
  503. if x != nil && x.InterventionType != nil {
  504. return *x.InterventionType
  505. }
  506. return instamadilloCoreTypeMedia.Media_InterventionType(0)
  507. }
  508. var File_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto protoreflect.FileDescriptor
  509. const file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDesc = "" +
  510. "\n" +
  511. "AinstamadilloSupplementMessage/InstamadilloSupplementMessage.proto\x12\x1dInstamadilloSupplementMessage\x1a9instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto\"\xd3\x02\n" +
  512. "\x18SupplementMessagePayload\x12,\n" +
  513. "\x11targetMessageOtid\x18\x01 \x01(\tR\x11targetMessageOtid\x12F\n" +
  514. "\x1euniquingKeyForSupplementalData\x18\x02 \x01(\tR\x1euniquingKeyForSupplementalData\x12Q\n" +
  515. "\acontent\x18\x03 \x01(\v27.InstamadilloSupplementMessage.SupplementMessageContentR\acontent\x12B\n" +
  516. "\x1ctargetMessageWaServerTimeSec\x18\x04 \x01(\tR\x1ctargetMessageWaServerTimeSec\x12*\n" +
  517. "\x10targetWaThreadID\x18\x05 \x01(\tR\x10targetWaThreadID\"\xc6\x04\n" +
  518. "\x18SupplementMessageContent\x12E\n" +
  519. "\breaction\x18\x01 \x01(\v2'.InstamadilloSupplementMessage.ReactionH\x00R\breaction\x12N\n" +
  520. "\vcontentView\x18\x02 \x01(\v2*.InstamadilloSupplementMessage.ContentViewH\x00R\vcontentView\x12E\n" +
  521. "\beditText\x18\x03 \x01(\v2'.InstamadilloSupplementMessage.EditTextH\x00R\beditText\x12T\n" +
  522. "\rmediaReaction\x18\x04 \x01(\v2,.InstamadilloSupplementMessage.MediaReactionH\x00R\rmediaReaction\x12u\n" +
  523. "\x18originalTransportPayload\x18\x05 \x01(\v27.InstamadilloSupplementMessage.OriginalTransportPayloadH\x00R\x18originalTransportPayload\x12c\n" +
  524. "\x12mediaInterventions\x18\x06 \x01(\v21.InstamadilloSupplementMessage.MediaInterventionsH\x00R\x12mediaInterventionsB\x1a\n" +
  525. "\x18supplementMessageContent\"n\n" +
  526. "\rMediaReaction\x12\x18\n" +
  527. "\amediaID\x18\x01 \x01(\tR\amediaID\x12C\n" +
  528. "\breaction\x18\x02 \x01(\v2'.InstamadilloSupplementMessage.ReactionR\breaction\"\xba\x01\n" +
  529. "\bReaction\x12\"\n" +
  530. "\freactionType\x18\x01 \x01(\tR\freactionType\x12&\n" +
  531. "\x0ereactionStatus\x18\x02 \x01(\tR\x0ereactionStatus\x12\x14\n" +
  532. "\x05emoji\x18\x03 \x01(\tR\x05emoji\x12&\n" +
  533. "\x0esuperReactType\x18\x04 \x01(\tR\x0esuperReactType\x12$\n" +
  534. "\ractionLogOtid\x18\x05 \x01(\tR\ractionLogOtid\"\x9b\x01\n" +
  535. "\vContentView\x12\x12\n" +
  536. "\x04seen\x18\x01 \x01(\bR\x04seen\x12$\n" +
  537. "\rscreenshotted\x18\x02 \x01(\bR\rscreenshotted\x12\x1a\n" +
  538. "\breplayed\x18\x03 \x01(\bR\breplayed\x12\x1a\n" +
  539. "\bmimetype\x18\x04 \x01(\tR\bmimetype\x12\x1a\n" +
  540. "\bobjectID\x18\x05 \x01(\tR\bobjectID\"H\n" +
  541. "\bEditText\x12\x1e\n" +
  542. "\n" +
  543. "newContent\x18\x01 \x01(\tR\n" +
  544. "newContent\x12\x1c\n" +
  545. "\teditCount\x18\x02 \x01(\x05R\teditCount\"V\n" +
  546. "\x18OriginalTransportPayload\x12:\n" +
  547. "\x18originalTransportPayload\x18\x01 \x01(\fR\x18originalTransportPayload\"\x8d\x01\n" +
  548. "\x12MediaInterventions\x12\x18\n" +
  549. "\amediaID\x18\x01 \x01(\tR\amediaID\x12]\n" +
  550. "\x10interventionType\x18\x02 \x01(\x0e21.InstamadilloCoreTypeMedia.Media.InterventionTypeR\x10interventionTypeB9Z7git.bobomao.top/joey/testwh/proto/instamadilloSupplementMessage"
  551. var (
  552. file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescOnce sync.Once
  553. file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescData []byte
  554. )
  555. func file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescGZIP() []byte {
  556. file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescOnce.Do(func() {
  557. file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDesc), len(file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDesc)))
  558. })
  559. return file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDescData
  560. }
  561. var file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  562. var file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_goTypes = []any{
  563. (*SupplementMessagePayload)(nil), // 0: InstamadilloSupplementMessage.SupplementMessagePayload
  564. (*SupplementMessageContent)(nil), // 1: InstamadilloSupplementMessage.SupplementMessageContent
  565. (*MediaReaction)(nil), // 2: InstamadilloSupplementMessage.MediaReaction
  566. (*Reaction)(nil), // 3: InstamadilloSupplementMessage.Reaction
  567. (*ContentView)(nil), // 4: InstamadilloSupplementMessage.ContentView
  568. (*EditText)(nil), // 5: InstamadilloSupplementMessage.EditText
  569. (*OriginalTransportPayload)(nil), // 6: InstamadilloSupplementMessage.OriginalTransportPayload
  570. (*MediaInterventions)(nil), // 7: InstamadilloSupplementMessage.MediaInterventions
  571. (instamadilloCoreTypeMedia.Media_InterventionType)(0), // 8: InstamadilloCoreTypeMedia.Media.InterventionType
  572. }
  573. var file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_depIdxs = []int32{
  574. 1, // 0: InstamadilloSupplementMessage.SupplementMessagePayload.content:type_name -> InstamadilloSupplementMessage.SupplementMessageContent
  575. 3, // 1: InstamadilloSupplementMessage.SupplementMessageContent.reaction:type_name -> InstamadilloSupplementMessage.Reaction
  576. 4, // 2: InstamadilloSupplementMessage.SupplementMessageContent.contentView:type_name -> InstamadilloSupplementMessage.ContentView
  577. 5, // 3: InstamadilloSupplementMessage.SupplementMessageContent.editText:type_name -> InstamadilloSupplementMessage.EditText
  578. 2, // 4: InstamadilloSupplementMessage.SupplementMessageContent.mediaReaction:type_name -> InstamadilloSupplementMessage.MediaReaction
  579. 6, // 5: InstamadilloSupplementMessage.SupplementMessageContent.originalTransportPayload:type_name -> InstamadilloSupplementMessage.OriginalTransportPayload
  580. 7, // 6: InstamadilloSupplementMessage.SupplementMessageContent.mediaInterventions:type_name -> InstamadilloSupplementMessage.MediaInterventions
  581. 3, // 7: InstamadilloSupplementMessage.MediaReaction.reaction:type_name -> InstamadilloSupplementMessage.Reaction
  582. 8, // 8: InstamadilloSupplementMessage.MediaInterventions.interventionType:type_name -> InstamadilloCoreTypeMedia.Media.InterventionType
  583. 9, // [9:9] is the sub-list for method output_type
  584. 9, // [9:9] is the sub-list for method input_type
  585. 9, // [9:9] is the sub-list for extension type_name
  586. 9, // [9:9] is the sub-list for extension extendee
  587. 0, // [0:9] is the sub-list for field type_name
  588. }
  589. func init() { file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_init() }
  590. func file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_init() {
  591. if File_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto != nil {
  592. return
  593. }
  594. file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes[1].OneofWrappers = []any{
  595. (*SupplementMessageContent_Reaction)(nil),
  596. (*SupplementMessageContent_ContentView)(nil),
  597. (*SupplementMessageContent_EditText)(nil),
  598. (*SupplementMessageContent_MediaReaction)(nil),
  599. (*SupplementMessageContent_OriginalTransportPayload)(nil),
  600. (*SupplementMessageContent_MediaInterventions)(nil),
  601. }
  602. type x struct{}
  603. out := protoimpl.TypeBuilder{
  604. File: protoimpl.DescBuilder{
  605. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  606. RawDescriptor: unsafe.Slice(unsafe.StringData(file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDesc), len(file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_rawDesc)),
  607. NumEnums: 0,
  608. NumMessages: 8,
  609. NumExtensions: 0,
  610. NumServices: 0,
  611. },
  612. GoTypes: file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_goTypes,
  613. DependencyIndexes: file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_depIdxs,
  614. MessageInfos: file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_msgTypes,
  615. }.Build()
  616. File_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto = out.File
  617. file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_goTypes = nil
  618. file_instamadilloSupplementMessage_InstamadilloSupplementMessage_proto_depIdxs = nil
  619. }