WAConsumerApplicationParameterised.pb.go 116 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817
  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: waConsumerApplicationParameterised/WAConsumerApplicationParameterised.proto
  6. package waConsumerApplicationParameterised
  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. waCommonParameterised "git.bobomao.top/joey/testwh/proto/waCommonParameterised"
  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 ConsumerApplication_Metadata_SpecialTextSize int32
  22. const (
  23. ConsumerApplication_Metadata_SMALL ConsumerApplication_Metadata_SpecialTextSize = 1
  24. ConsumerApplication_Metadata_MEDIUM ConsumerApplication_Metadata_SpecialTextSize = 2
  25. ConsumerApplication_Metadata_LARGE ConsumerApplication_Metadata_SpecialTextSize = 3
  26. )
  27. // Enum value maps for ConsumerApplication_Metadata_SpecialTextSize.
  28. var (
  29. ConsumerApplication_Metadata_SpecialTextSize_name = map[int32]string{
  30. 1: "SMALL",
  31. 2: "MEDIUM",
  32. 3: "LARGE",
  33. }
  34. ConsumerApplication_Metadata_SpecialTextSize_value = map[string]int32{
  35. "SMALL": 1,
  36. "MEDIUM": 2,
  37. "LARGE": 3,
  38. }
  39. )
  40. func (x ConsumerApplication_Metadata_SpecialTextSize) Enum() *ConsumerApplication_Metadata_SpecialTextSize {
  41. p := new(ConsumerApplication_Metadata_SpecialTextSize)
  42. *p = x
  43. return p
  44. }
  45. func (x ConsumerApplication_Metadata_SpecialTextSize) String() string {
  46. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  47. }
  48. func (ConsumerApplication_Metadata_SpecialTextSize) Descriptor() protoreflect.EnumDescriptor {
  49. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_enumTypes[0].Descriptor()
  50. }
  51. func (ConsumerApplication_Metadata_SpecialTextSize) Type() protoreflect.EnumType {
  52. return &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_enumTypes[0]
  53. }
  54. func (x ConsumerApplication_Metadata_SpecialTextSize) Number() protoreflect.EnumNumber {
  55. return protoreflect.EnumNumber(x)
  56. }
  57. // Deprecated: Do not use.
  58. func (x *ConsumerApplication_Metadata_SpecialTextSize) UnmarshalJSON(b []byte) error {
  59. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  60. if err != nil {
  61. return err
  62. }
  63. *x = ConsumerApplication_Metadata_SpecialTextSize(num)
  64. return nil
  65. }
  66. // Deprecated: Use ConsumerApplication_Metadata_SpecialTextSize.Descriptor instead.
  67. func (ConsumerApplication_Metadata_SpecialTextSize) EnumDescriptor() ([]byte, []int) {
  68. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 2, 0}
  69. }
  70. type ConsumerApplication_StatusTextMesage_FontType int32
  71. const (
  72. ConsumerApplication_StatusTextMesage_SANS_SERIF ConsumerApplication_StatusTextMesage_FontType = 0
  73. ConsumerApplication_StatusTextMesage_SERIF ConsumerApplication_StatusTextMesage_FontType = 1
  74. ConsumerApplication_StatusTextMesage_NORICAN_REGULAR ConsumerApplication_StatusTextMesage_FontType = 2
  75. ConsumerApplication_StatusTextMesage_BRYNDAN_WRITE ConsumerApplication_StatusTextMesage_FontType = 3
  76. ConsumerApplication_StatusTextMesage_BEBASNEUE_REGULAR ConsumerApplication_StatusTextMesage_FontType = 4
  77. ConsumerApplication_StatusTextMesage_OSWALD_HEAVY ConsumerApplication_StatusTextMesage_FontType = 5
  78. )
  79. // Enum value maps for ConsumerApplication_StatusTextMesage_FontType.
  80. var (
  81. ConsumerApplication_StatusTextMesage_FontType_name = map[int32]string{
  82. 0: "SANS_SERIF",
  83. 1: "SERIF",
  84. 2: "NORICAN_REGULAR",
  85. 3: "BRYNDAN_WRITE",
  86. 4: "BEBASNEUE_REGULAR",
  87. 5: "OSWALD_HEAVY",
  88. }
  89. ConsumerApplication_StatusTextMesage_FontType_value = map[string]int32{
  90. "SANS_SERIF": 0,
  91. "SERIF": 1,
  92. "NORICAN_REGULAR": 2,
  93. "BRYNDAN_WRITE": 3,
  94. "BEBASNEUE_REGULAR": 4,
  95. "OSWALD_HEAVY": 5,
  96. }
  97. )
  98. func (x ConsumerApplication_StatusTextMesage_FontType) Enum() *ConsumerApplication_StatusTextMesage_FontType {
  99. p := new(ConsumerApplication_StatusTextMesage_FontType)
  100. *p = x
  101. return p
  102. }
  103. func (x ConsumerApplication_StatusTextMesage_FontType) String() string {
  104. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  105. }
  106. func (ConsumerApplication_StatusTextMesage_FontType) Descriptor() protoreflect.EnumDescriptor {
  107. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_enumTypes[1].Descriptor()
  108. }
  109. func (ConsumerApplication_StatusTextMesage_FontType) Type() protoreflect.EnumType {
  110. return &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_enumTypes[1]
  111. }
  112. func (x ConsumerApplication_StatusTextMesage_FontType) Number() protoreflect.EnumNumber {
  113. return protoreflect.EnumNumber(x)
  114. }
  115. // Deprecated: Do not use.
  116. func (x *ConsumerApplication_StatusTextMesage_FontType) UnmarshalJSON(b []byte) error {
  117. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  118. if err != nil {
  119. return err
  120. }
  121. *x = ConsumerApplication_StatusTextMesage_FontType(num)
  122. return nil
  123. }
  124. // Deprecated: Use ConsumerApplication_StatusTextMesage_FontType.Descriptor instead.
  125. func (ConsumerApplication_StatusTextMesage_FontType) EnumDescriptor() ([]byte, []int) {
  126. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 20, 0}
  127. }
  128. type ConsumerApplication_ExtendedTextMessage_PreviewType int32
  129. const (
  130. ConsumerApplication_ExtendedTextMessage_NONE ConsumerApplication_ExtendedTextMessage_PreviewType = 0
  131. ConsumerApplication_ExtendedTextMessage_VIDEO ConsumerApplication_ExtendedTextMessage_PreviewType = 1
  132. )
  133. // Enum value maps for ConsumerApplication_ExtendedTextMessage_PreviewType.
  134. var (
  135. ConsumerApplication_ExtendedTextMessage_PreviewType_name = map[int32]string{
  136. 0: "NONE",
  137. 1: "VIDEO",
  138. }
  139. ConsumerApplication_ExtendedTextMessage_PreviewType_value = map[string]int32{
  140. "NONE": 0,
  141. "VIDEO": 1,
  142. }
  143. )
  144. func (x ConsumerApplication_ExtendedTextMessage_PreviewType) Enum() *ConsumerApplication_ExtendedTextMessage_PreviewType {
  145. p := new(ConsumerApplication_ExtendedTextMessage_PreviewType)
  146. *p = x
  147. return p
  148. }
  149. func (x ConsumerApplication_ExtendedTextMessage_PreviewType) String() string {
  150. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  151. }
  152. func (ConsumerApplication_ExtendedTextMessage_PreviewType) Descriptor() protoreflect.EnumDescriptor {
  153. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_enumTypes[2].Descriptor()
  154. }
  155. func (ConsumerApplication_ExtendedTextMessage_PreviewType) Type() protoreflect.EnumType {
  156. return &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_enumTypes[2]
  157. }
  158. func (x ConsumerApplication_ExtendedTextMessage_PreviewType) Number() protoreflect.EnumNumber {
  159. return protoreflect.EnumNumber(x)
  160. }
  161. // Deprecated: Do not use.
  162. func (x *ConsumerApplication_ExtendedTextMessage_PreviewType) UnmarshalJSON(b []byte) error {
  163. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  164. if err != nil {
  165. return err
  166. }
  167. *x = ConsumerApplication_ExtendedTextMessage_PreviewType(num)
  168. return nil
  169. }
  170. // Deprecated: Use ConsumerApplication_ExtendedTextMessage_PreviewType.Descriptor instead.
  171. func (ConsumerApplication_ExtendedTextMessage_PreviewType) EnumDescriptor() ([]byte, []int) {
  172. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 21, 0}
  173. }
  174. type ConsumerApplication struct {
  175. state protoimpl.MessageState `protogen:"open.v1"`
  176. Payload *ConsumerApplication_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
  177. Metadata *ConsumerApplication_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"`
  178. unknownFields protoimpl.UnknownFields
  179. sizeCache protoimpl.SizeCache
  180. }
  181. func (x *ConsumerApplication) Reset() {
  182. *x = ConsumerApplication{}
  183. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[0]
  184. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  185. ms.StoreMessageInfo(mi)
  186. }
  187. func (x *ConsumerApplication) String() string {
  188. return protoimpl.X.MessageStringOf(x)
  189. }
  190. func (*ConsumerApplication) ProtoMessage() {}
  191. func (x *ConsumerApplication) ProtoReflect() protoreflect.Message {
  192. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[0]
  193. if x != nil {
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. if ms.LoadMessageInfo() == nil {
  196. ms.StoreMessageInfo(mi)
  197. }
  198. return ms
  199. }
  200. return mi.MessageOf(x)
  201. }
  202. // Deprecated: Use ConsumerApplication.ProtoReflect.Descriptor instead.
  203. func (*ConsumerApplication) Descriptor() ([]byte, []int) {
  204. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0}
  205. }
  206. func (x *ConsumerApplication) GetPayload() *ConsumerApplication_Payload {
  207. if x != nil {
  208. return x.Payload
  209. }
  210. return nil
  211. }
  212. func (x *ConsumerApplication) GetMetadata() *ConsumerApplication_Metadata {
  213. if x != nil {
  214. return x.Metadata
  215. }
  216. return nil
  217. }
  218. type ConsumerApplication_Payload struct {
  219. state protoimpl.MessageState `protogen:"open.v1"`
  220. // Types that are valid to be assigned to Payload:
  221. //
  222. // *ConsumerApplication_Payload_Content
  223. // *ConsumerApplication_Payload_ApplicationData
  224. // *ConsumerApplication_Payload_Signal
  225. // *ConsumerApplication_Payload_SubProtocol
  226. Payload isConsumerApplication_Payload_Payload `protobuf_oneof:"payload"`
  227. unknownFields protoimpl.UnknownFields
  228. sizeCache protoimpl.SizeCache
  229. }
  230. func (x *ConsumerApplication_Payload) Reset() {
  231. *x = ConsumerApplication_Payload{}
  232. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[1]
  233. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  234. ms.StoreMessageInfo(mi)
  235. }
  236. func (x *ConsumerApplication_Payload) String() string {
  237. return protoimpl.X.MessageStringOf(x)
  238. }
  239. func (*ConsumerApplication_Payload) ProtoMessage() {}
  240. func (x *ConsumerApplication_Payload) ProtoReflect() protoreflect.Message {
  241. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[1]
  242. if x != nil {
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. if ms.LoadMessageInfo() == nil {
  245. ms.StoreMessageInfo(mi)
  246. }
  247. return ms
  248. }
  249. return mi.MessageOf(x)
  250. }
  251. // Deprecated: Use ConsumerApplication_Payload.ProtoReflect.Descriptor instead.
  252. func (*ConsumerApplication_Payload) Descriptor() ([]byte, []int) {
  253. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 0}
  254. }
  255. func (x *ConsumerApplication_Payload) GetPayload() isConsumerApplication_Payload_Payload {
  256. if x != nil {
  257. return x.Payload
  258. }
  259. return nil
  260. }
  261. func (x *ConsumerApplication_Payload) GetContent() *ConsumerApplication_Content {
  262. if x != nil {
  263. if x, ok := x.Payload.(*ConsumerApplication_Payload_Content); ok {
  264. return x.Content
  265. }
  266. }
  267. return nil
  268. }
  269. func (x *ConsumerApplication_Payload) GetApplicationData() *ConsumerApplication_ApplicationData {
  270. if x != nil {
  271. if x, ok := x.Payload.(*ConsumerApplication_Payload_ApplicationData); ok {
  272. return x.ApplicationData
  273. }
  274. }
  275. return nil
  276. }
  277. func (x *ConsumerApplication_Payload) GetSignal() *ConsumerApplication_Signal {
  278. if x != nil {
  279. if x, ok := x.Payload.(*ConsumerApplication_Payload_Signal); ok {
  280. return x.Signal
  281. }
  282. }
  283. return nil
  284. }
  285. func (x *ConsumerApplication_Payload) GetSubProtocol() *ConsumerApplication_SubProtocolPayload {
  286. if x != nil {
  287. if x, ok := x.Payload.(*ConsumerApplication_Payload_SubProtocol); ok {
  288. return x.SubProtocol
  289. }
  290. }
  291. return nil
  292. }
  293. type isConsumerApplication_Payload_Payload interface {
  294. isConsumerApplication_Payload_Payload()
  295. }
  296. type ConsumerApplication_Payload_Content struct {
  297. Content *ConsumerApplication_Content `protobuf:"bytes,1,opt,name=content,oneof"`
  298. }
  299. type ConsumerApplication_Payload_ApplicationData struct {
  300. ApplicationData *ConsumerApplication_ApplicationData `protobuf:"bytes,2,opt,name=applicationData,oneof"`
  301. }
  302. type ConsumerApplication_Payload_Signal struct {
  303. Signal *ConsumerApplication_Signal `protobuf:"bytes,3,opt,name=signal,oneof"`
  304. }
  305. type ConsumerApplication_Payload_SubProtocol struct {
  306. SubProtocol *ConsumerApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,oneof"`
  307. }
  308. func (*ConsumerApplication_Payload_Content) isConsumerApplication_Payload_Payload() {}
  309. func (*ConsumerApplication_Payload_ApplicationData) isConsumerApplication_Payload_Payload() {}
  310. func (*ConsumerApplication_Payload_Signal) isConsumerApplication_Payload_Payload() {}
  311. func (*ConsumerApplication_Payload_SubProtocol) isConsumerApplication_Payload_Payload() {}
  312. type ConsumerApplication_SubProtocolPayload struct {
  313. state protoimpl.MessageState `protogen:"open.v1"`
  314. FutureProof *waCommonParameterised.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,enum=WACommonParameterised.FutureProofBehavior" json:"futureProof,omitempty"`
  315. unknownFields protoimpl.UnknownFields
  316. sizeCache protoimpl.SizeCache
  317. }
  318. func (x *ConsumerApplication_SubProtocolPayload) Reset() {
  319. *x = ConsumerApplication_SubProtocolPayload{}
  320. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[2]
  321. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  322. ms.StoreMessageInfo(mi)
  323. }
  324. func (x *ConsumerApplication_SubProtocolPayload) String() string {
  325. return protoimpl.X.MessageStringOf(x)
  326. }
  327. func (*ConsumerApplication_SubProtocolPayload) ProtoMessage() {}
  328. func (x *ConsumerApplication_SubProtocolPayload) ProtoReflect() protoreflect.Message {
  329. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[2]
  330. if x != nil {
  331. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  332. if ms.LoadMessageInfo() == nil {
  333. ms.StoreMessageInfo(mi)
  334. }
  335. return ms
  336. }
  337. return mi.MessageOf(x)
  338. }
  339. // Deprecated: Use ConsumerApplication_SubProtocolPayload.ProtoReflect.Descriptor instead.
  340. func (*ConsumerApplication_SubProtocolPayload) Descriptor() ([]byte, []int) {
  341. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 1}
  342. }
  343. func (x *ConsumerApplication_SubProtocolPayload) GetFutureProof() waCommonParameterised.FutureProofBehavior {
  344. if x != nil && x.FutureProof != nil {
  345. return *x.FutureProof
  346. }
  347. return waCommonParameterised.FutureProofBehavior(0)
  348. }
  349. type ConsumerApplication_Metadata struct {
  350. state protoimpl.MessageState `protogen:"open.v1"`
  351. SpecialTextSize *ConsumerApplication_Metadata_SpecialTextSize `protobuf:"varint,1,opt,name=specialTextSize,enum=WAConsumerApplicationParameterised.ConsumerApplication_Metadata_SpecialTextSize" json:"specialTextSize,omitempty"`
  352. unknownFields protoimpl.UnknownFields
  353. sizeCache protoimpl.SizeCache
  354. }
  355. func (x *ConsumerApplication_Metadata) Reset() {
  356. *x = ConsumerApplication_Metadata{}
  357. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[3]
  358. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  359. ms.StoreMessageInfo(mi)
  360. }
  361. func (x *ConsumerApplication_Metadata) String() string {
  362. return protoimpl.X.MessageStringOf(x)
  363. }
  364. func (*ConsumerApplication_Metadata) ProtoMessage() {}
  365. func (x *ConsumerApplication_Metadata) ProtoReflect() protoreflect.Message {
  366. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[3]
  367. if 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 ConsumerApplication_Metadata.ProtoReflect.Descriptor instead.
  377. func (*ConsumerApplication_Metadata) Descriptor() ([]byte, []int) {
  378. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 2}
  379. }
  380. func (x *ConsumerApplication_Metadata) GetSpecialTextSize() ConsumerApplication_Metadata_SpecialTextSize {
  381. if x != nil && x.SpecialTextSize != nil {
  382. return *x.SpecialTextSize
  383. }
  384. return ConsumerApplication_Metadata_SMALL
  385. }
  386. type ConsumerApplication_Signal struct {
  387. state protoimpl.MessageState `protogen:"open.v1"`
  388. unknownFields protoimpl.UnknownFields
  389. sizeCache protoimpl.SizeCache
  390. }
  391. func (x *ConsumerApplication_Signal) Reset() {
  392. *x = ConsumerApplication_Signal{}
  393. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[4]
  394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  395. ms.StoreMessageInfo(mi)
  396. }
  397. func (x *ConsumerApplication_Signal) String() string {
  398. return protoimpl.X.MessageStringOf(x)
  399. }
  400. func (*ConsumerApplication_Signal) ProtoMessage() {}
  401. func (x *ConsumerApplication_Signal) ProtoReflect() protoreflect.Message {
  402. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[4]
  403. if x != nil {
  404. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  405. if ms.LoadMessageInfo() == nil {
  406. ms.StoreMessageInfo(mi)
  407. }
  408. return ms
  409. }
  410. return mi.MessageOf(x)
  411. }
  412. // Deprecated: Use ConsumerApplication_Signal.ProtoReflect.Descriptor instead.
  413. func (*ConsumerApplication_Signal) Descriptor() ([]byte, []int) {
  414. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 3}
  415. }
  416. type ConsumerApplication_ApplicationData struct {
  417. state protoimpl.MessageState `protogen:"open.v1"`
  418. // Types that are valid to be assigned to ApplicationContent:
  419. //
  420. // *ConsumerApplication_ApplicationData_Revoke
  421. ApplicationContent isConsumerApplication_ApplicationData_ApplicationContent `protobuf_oneof:"applicationContent"`
  422. unknownFields protoimpl.UnknownFields
  423. sizeCache protoimpl.SizeCache
  424. }
  425. func (x *ConsumerApplication_ApplicationData) Reset() {
  426. *x = ConsumerApplication_ApplicationData{}
  427. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[5]
  428. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  429. ms.StoreMessageInfo(mi)
  430. }
  431. func (x *ConsumerApplication_ApplicationData) String() string {
  432. return protoimpl.X.MessageStringOf(x)
  433. }
  434. func (*ConsumerApplication_ApplicationData) ProtoMessage() {}
  435. func (x *ConsumerApplication_ApplicationData) ProtoReflect() protoreflect.Message {
  436. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[5]
  437. if x != nil {
  438. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  439. if ms.LoadMessageInfo() == nil {
  440. ms.StoreMessageInfo(mi)
  441. }
  442. return ms
  443. }
  444. return mi.MessageOf(x)
  445. }
  446. // Deprecated: Use ConsumerApplication_ApplicationData.ProtoReflect.Descriptor instead.
  447. func (*ConsumerApplication_ApplicationData) Descriptor() ([]byte, []int) {
  448. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 4}
  449. }
  450. func (x *ConsumerApplication_ApplicationData) GetApplicationContent() isConsumerApplication_ApplicationData_ApplicationContent {
  451. if x != nil {
  452. return x.ApplicationContent
  453. }
  454. return nil
  455. }
  456. func (x *ConsumerApplication_ApplicationData) GetRevoke() *ConsumerApplication_RevokeMessage {
  457. if x != nil {
  458. if x, ok := x.ApplicationContent.(*ConsumerApplication_ApplicationData_Revoke); ok {
  459. return x.Revoke
  460. }
  461. }
  462. return nil
  463. }
  464. type isConsumerApplication_ApplicationData_ApplicationContent interface {
  465. isConsumerApplication_ApplicationData_ApplicationContent()
  466. }
  467. type ConsumerApplication_ApplicationData_Revoke struct {
  468. Revoke *ConsumerApplication_RevokeMessage `protobuf:"bytes,1,opt,name=revoke,oneof"`
  469. }
  470. func (*ConsumerApplication_ApplicationData_Revoke) isConsumerApplication_ApplicationData_ApplicationContent() {
  471. }
  472. type ConsumerApplication_Content struct {
  473. state protoimpl.MessageState `protogen:"open.v1"`
  474. // Types that are valid to be assigned to Content:
  475. //
  476. // *ConsumerApplication_Content_MessageText
  477. // *ConsumerApplication_Content_ImageMessage
  478. // *ConsumerApplication_Content_ContactMessage
  479. // *ConsumerApplication_Content_LocationMessage
  480. // *ConsumerApplication_Content_ExtendedTextMessage
  481. // *ConsumerApplication_Content_StatusTextMessage
  482. // *ConsumerApplication_Content_DocumentMessage
  483. // *ConsumerApplication_Content_AudioMessage
  484. // *ConsumerApplication_Content_VideoMessage
  485. // *ConsumerApplication_Content_ContactsArrayMessage
  486. // *ConsumerApplication_Content_LiveLocationMessage
  487. // *ConsumerApplication_Content_StickerMessage
  488. // *ConsumerApplication_Content_GroupInviteMessage
  489. // *ConsumerApplication_Content_ViewOnceMessage
  490. // *ConsumerApplication_Content_ReactionMessage
  491. // *ConsumerApplication_Content_PollCreationMessage
  492. // *ConsumerApplication_Content_PollUpdateMessage
  493. // *ConsumerApplication_Content_EditMessage
  494. Content isConsumerApplication_Content_Content `protobuf_oneof:"content"`
  495. unknownFields protoimpl.UnknownFields
  496. sizeCache protoimpl.SizeCache
  497. }
  498. func (x *ConsumerApplication_Content) Reset() {
  499. *x = ConsumerApplication_Content{}
  500. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[6]
  501. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  502. ms.StoreMessageInfo(mi)
  503. }
  504. func (x *ConsumerApplication_Content) String() string {
  505. return protoimpl.X.MessageStringOf(x)
  506. }
  507. func (*ConsumerApplication_Content) ProtoMessage() {}
  508. func (x *ConsumerApplication_Content) ProtoReflect() protoreflect.Message {
  509. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[6]
  510. if x != nil {
  511. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  512. if ms.LoadMessageInfo() == nil {
  513. ms.StoreMessageInfo(mi)
  514. }
  515. return ms
  516. }
  517. return mi.MessageOf(x)
  518. }
  519. // Deprecated: Use ConsumerApplication_Content.ProtoReflect.Descriptor instead.
  520. func (*ConsumerApplication_Content) Descriptor() ([]byte, []int) {
  521. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 5}
  522. }
  523. func (x *ConsumerApplication_Content) GetContent() isConsumerApplication_Content_Content {
  524. if x != nil {
  525. return x.Content
  526. }
  527. return nil
  528. }
  529. func (x *ConsumerApplication_Content) GetMessageText() *waCommonParameterised.MessageText {
  530. if x != nil {
  531. if x, ok := x.Content.(*ConsumerApplication_Content_MessageText); ok {
  532. return x.MessageText
  533. }
  534. }
  535. return nil
  536. }
  537. func (x *ConsumerApplication_Content) GetImageMessage() *ConsumerApplication_ImageMessage {
  538. if x != nil {
  539. if x, ok := x.Content.(*ConsumerApplication_Content_ImageMessage); ok {
  540. return x.ImageMessage
  541. }
  542. }
  543. return nil
  544. }
  545. func (x *ConsumerApplication_Content) GetContactMessage() *ConsumerApplication_ContactMessage {
  546. if x != nil {
  547. if x, ok := x.Content.(*ConsumerApplication_Content_ContactMessage); ok {
  548. return x.ContactMessage
  549. }
  550. }
  551. return nil
  552. }
  553. func (x *ConsumerApplication_Content) GetLocationMessage() *ConsumerApplication_LocationMessage {
  554. if x != nil {
  555. if x, ok := x.Content.(*ConsumerApplication_Content_LocationMessage); ok {
  556. return x.LocationMessage
  557. }
  558. }
  559. return nil
  560. }
  561. func (x *ConsumerApplication_Content) GetExtendedTextMessage() *ConsumerApplication_ExtendedTextMessage {
  562. if x != nil {
  563. if x, ok := x.Content.(*ConsumerApplication_Content_ExtendedTextMessage); ok {
  564. return x.ExtendedTextMessage
  565. }
  566. }
  567. return nil
  568. }
  569. func (x *ConsumerApplication_Content) GetStatusTextMessage() *ConsumerApplication_StatusTextMesage {
  570. if x != nil {
  571. if x, ok := x.Content.(*ConsumerApplication_Content_StatusTextMessage); ok {
  572. return x.StatusTextMessage
  573. }
  574. }
  575. return nil
  576. }
  577. func (x *ConsumerApplication_Content) GetDocumentMessage() *ConsumerApplication_DocumentMessage {
  578. if x != nil {
  579. if x, ok := x.Content.(*ConsumerApplication_Content_DocumentMessage); ok {
  580. return x.DocumentMessage
  581. }
  582. }
  583. return nil
  584. }
  585. func (x *ConsumerApplication_Content) GetAudioMessage() *ConsumerApplication_AudioMessage {
  586. if x != nil {
  587. if x, ok := x.Content.(*ConsumerApplication_Content_AudioMessage); ok {
  588. return x.AudioMessage
  589. }
  590. }
  591. return nil
  592. }
  593. func (x *ConsumerApplication_Content) GetVideoMessage() *ConsumerApplication_VideoMessage {
  594. if x != nil {
  595. if x, ok := x.Content.(*ConsumerApplication_Content_VideoMessage); ok {
  596. return x.VideoMessage
  597. }
  598. }
  599. return nil
  600. }
  601. func (x *ConsumerApplication_Content) GetContactsArrayMessage() *ConsumerApplication_ContactsArrayMessage {
  602. if x != nil {
  603. if x, ok := x.Content.(*ConsumerApplication_Content_ContactsArrayMessage); ok {
  604. return x.ContactsArrayMessage
  605. }
  606. }
  607. return nil
  608. }
  609. func (x *ConsumerApplication_Content) GetLiveLocationMessage() *ConsumerApplication_LiveLocationMessage {
  610. if x != nil {
  611. if x, ok := x.Content.(*ConsumerApplication_Content_LiveLocationMessage); ok {
  612. return x.LiveLocationMessage
  613. }
  614. }
  615. return nil
  616. }
  617. func (x *ConsumerApplication_Content) GetStickerMessage() *ConsumerApplication_StickerMessage {
  618. if x != nil {
  619. if x, ok := x.Content.(*ConsumerApplication_Content_StickerMessage); ok {
  620. return x.StickerMessage
  621. }
  622. }
  623. return nil
  624. }
  625. func (x *ConsumerApplication_Content) GetGroupInviteMessage() *ConsumerApplication_GroupInviteMessage {
  626. if x != nil {
  627. if x, ok := x.Content.(*ConsumerApplication_Content_GroupInviteMessage); ok {
  628. return x.GroupInviteMessage
  629. }
  630. }
  631. return nil
  632. }
  633. func (x *ConsumerApplication_Content) GetViewOnceMessage() *ConsumerApplication_ViewOnceMessage {
  634. if x != nil {
  635. if x, ok := x.Content.(*ConsumerApplication_Content_ViewOnceMessage); ok {
  636. return x.ViewOnceMessage
  637. }
  638. }
  639. return nil
  640. }
  641. func (x *ConsumerApplication_Content) GetReactionMessage() *ConsumerApplication_ReactionMessage {
  642. if x != nil {
  643. if x, ok := x.Content.(*ConsumerApplication_Content_ReactionMessage); ok {
  644. return x.ReactionMessage
  645. }
  646. }
  647. return nil
  648. }
  649. func (x *ConsumerApplication_Content) GetPollCreationMessage() *ConsumerApplication_PollCreationMessage {
  650. if x != nil {
  651. if x, ok := x.Content.(*ConsumerApplication_Content_PollCreationMessage); ok {
  652. return x.PollCreationMessage
  653. }
  654. }
  655. return nil
  656. }
  657. func (x *ConsumerApplication_Content) GetPollUpdateMessage() *ConsumerApplication_PollUpdateMessage {
  658. if x != nil {
  659. if x, ok := x.Content.(*ConsumerApplication_Content_PollUpdateMessage); ok {
  660. return x.PollUpdateMessage
  661. }
  662. }
  663. return nil
  664. }
  665. func (x *ConsumerApplication_Content) GetEditMessage() *ConsumerApplication_EditMessage {
  666. if x != nil {
  667. if x, ok := x.Content.(*ConsumerApplication_Content_EditMessage); ok {
  668. return x.EditMessage
  669. }
  670. }
  671. return nil
  672. }
  673. type isConsumerApplication_Content_Content interface {
  674. isConsumerApplication_Content_Content()
  675. }
  676. type ConsumerApplication_Content_MessageText struct {
  677. MessageText *waCommonParameterised.MessageText `protobuf:"bytes,1,opt,name=messageText,oneof"`
  678. }
  679. type ConsumerApplication_Content_ImageMessage struct {
  680. ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,2,opt,name=imageMessage,oneof"`
  681. }
  682. type ConsumerApplication_Content_ContactMessage struct {
  683. ContactMessage *ConsumerApplication_ContactMessage `protobuf:"bytes,3,opt,name=contactMessage,oneof"`
  684. }
  685. type ConsumerApplication_Content_LocationMessage struct {
  686. LocationMessage *ConsumerApplication_LocationMessage `protobuf:"bytes,4,opt,name=locationMessage,oneof"`
  687. }
  688. type ConsumerApplication_Content_ExtendedTextMessage struct {
  689. ExtendedTextMessage *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,5,opt,name=extendedTextMessage,oneof"`
  690. }
  691. type ConsumerApplication_Content_StatusTextMessage struct {
  692. StatusTextMessage *ConsumerApplication_StatusTextMesage `protobuf:"bytes,6,opt,name=statusTextMessage,oneof"`
  693. }
  694. type ConsumerApplication_Content_DocumentMessage struct {
  695. DocumentMessage *ConsumerApplication_DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage,oneof"`
  696. }
  697. type ConsumerApplication_Content_AudioMessage struct {
  698. AudioMessage *ConsumerApplication_AudioMessage `protobuf:"bytes,8,opt,name=audioMessage,oneof"`
  699. }
  700. type ConsumerApplication_Content_VideoMessage struct {
  701. VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,9,opt,name=videoMessage,oneof"`
  702. }
  703. type ConsumerApplication_Content_ContactsArrayMessage struct {
  704. ContactsArrayMessage *ConsumerApplication_ContactsArrayMessage `protobuf:"bytes,10,opt,name=contactsArrayMessage,oneof"`
  705. }
  706. type ConsumerApplication_Content_LiveLocationMessage struct {
  707. LiveLocationMessage *ConsumerApplication_LiveLocationMessage `protobuf:"bytes,11,opt,name=liveLocationMessage,oneof"`
  708. }
  709. type ConsumerApplication_Content_StickerMessage struct {
  710. StickerMessage *ConsumerApplication_StickerMessage `protobuf:"bytes,12,opt,name=stickerMessage,oneof"`
  711. }
  712. type ConsumerApplication_Content_GroupInviteMessage struct {
  713. GroupInviteMessage *ConsumerApplication_GroupInviteMessage `protobuf:"bytes,13,opt,name=groupInviteMessage,oneof"`
  714. }
  715. type ConsumerApplication_Content_ViewOnceMessage struct {
  716. ViewOnceMessage *ConsumerApplication_ViewOnceMessage `protobuf:"bytes,14,opt,name=viewOnceMessage,oneof"`
  717. }
  718. type ConsumerApplication_Content_ReactionMessage struct {
  719. ReactionMessage *ConsumerApplication_ReactionMessage `protobuf:"bytes,16,opt,name=reactionMessage,oneof"`
  720. }
  721. type ConsumerApplication_Content_PollCreationMessage struct {
  722. PollCreationMessage *ConsumerApplication_PollCreationMessage `protobuf:"bytes,17,opt,name=pollCreationMessage,oneof"`
  723. }
  724. type ConsumerApplication_Content_PollUpdateMessage struct {
  725. PollUpdateMessage *ConsumerApplication_PollUpdateMessage `protobuf:"bytes,18,opt,name=pollUpdateMessage,oneof"`
  726. }
  727. type ConsumerApplication_Content_EditMessage struct {
  728. EditMessage *ConsumerApplication_EditMessage `protobuf:"bytes,19,opt,name=editMessage,oneof"`
  729. }
  730. func (*ConsumerApplication_Content_MessageText) isConsumerApplication_Content_Content() {}
  731. func (*ConsumerApplication_Content_ImageMessage) isConsumerApplication_Content_Content() {}
  732. func (*ConsumerApplication_Content_ContactMessage) isConsumerApplication_Content_Content() {}
  733. func (*ConsumerApplication_Content_LocationMessage) isConsumerApplication_Content_Content() {}
  734. func (*ConsumerApplication_Content_ExtendedTextMessage) isConsumerApplication_Content_Content() {}
  735. func (*ConsumerApplication_Content_StatusTextMessage) isConsumerApplication_Content_Content() {}
  736. func (*ConsumerApplication_Content_DocumentMessage) isConsumerApplication_Content_Content() {}
  737. func (*ConsumerApplication_Content_AudioMessage) isConsumerApplication_Content_Content() {}
  738. func (*ConsumerApplication_Content_VideoMessage) isConsumerApplication_Content_Content() {}
  739. func (*ConsumerApplication_Content_ContactsArrayMessage) isConsumerApplication_Content_Content() {}
  740. func (*ConsumerApplication_Content_LiveLocationMessage) isConsumerApplication_Content_Content() {}
  741. func (*ConsumerApplication_Content_StickerMessage) isConsumerApplication_Content_Content() {}
  742. func (*ConsumerApplication_Content_GroupInviteMessage) isConsumerApplication_Content_Content() {}
  743. func (*ConsumerApplication_Content_ViewOnceMessage) isConsumerApplication_Content_Content() {}
  744. func (*ConsumerApplication_Content_ReactionMessage) isConsumerApplication_Content_Content() {}
  745. func (*ConsumerApplication_Content_PollCreationMessage) isConsumerApplication_Content_Content() {}
  746. func (*ConsumerApplication_Content_PollUpdateMessage) isConsumerApplication_Content_Content() {}
  747. func (*ConsumerApplication_Content_EditMessage) isConsumerApplication_Content_Content() {}
  748. type ConsumerApplication_EditMessage struct {
  749. state protoimpl.MessageState `protogen:"open.v1"`
  750. Key *waCommonParameterised.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
  751. Message *waCommonParameterised.MessageText `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
  752. TimestampMS *int64 `protobuf:"varint,3,opt,name=timestampMS" json:"timestampMS,omitempty"`
  753. unknownFields protoimpl.UnknownFields
  754. sizeCache protoimpl.SizeCache
  755. }
  756. func (x *ConsumerApplication_EditMessage) Reset() {
  757. *x = ConsumerApplication_EditMessage{}
  758. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[7]
  759. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  760. ms.StoreMessageInfo(mi)
  761. }
  762. func (x *ConsumerApplication_EditMessage) String() string {
  763. return protoimpl.X.MessageStringOf(x)
  764. }
  765. func (*ConsumerApplication_EditMessage) ProtoMessage() {}
  766. func (x *ConsumerApplication_EditMessage) ProtoReflect() protoreflect.Message {
  767. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[7]
  768. if x != nil {
  769. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  770. if ms.LoadMessageInfo() == nil {
  771. ms.StoreMessageInfo(mi)
  772. }
  773. return ms
  774. }
  775. return mi.MessageOf(x)
  776. }
  777. // Deprecated: Use ConsumerApplication_EditMessage.ProtoReflect.Descriptor instead.
  778. func (*ConsumerApplication_EditMessage) Descriptor() ([]byte, []int) {
  779. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 6}
  780. }
  781. func (x *ConsumerApplication_EditMessage) GetKey() *waCommonParameterised.MessageKey {
  782. if x != nil {
  783. return x.Key
  784. }
  785. return nil
  786. }
  787. func (x *ConsumerApplication_EditMessage) GetMessage() *waCommonParameterised.MessageText {
  788. if x != nil {
  789. return x.Message
  790. }
  791. return nil
  792. }
  793. func (x *ConsumerApplication_EditMessage) GetTimestampMS() int64 {
  794. if x != nil && x.TimestampMS != nil {
  795. return *x.TimestampMS
  796. }
  797. return 0
  798. }
  799. type ConsumerApplication_PollAddOptionMessage struct {
  800. state protoimpl.MessageState `protogen:"open.v1"`
  801. PollOption []*ConsumerApplication_Option `protobuf:"bytes,1,rep,name=pollOption" json:"pollOption,omitempty"`
  802. unknownFields protoimpl.UnknownFields
  803. sizeCache protoimpl.SizeCache
  804. }
  805. func (x *ConsumerApplication_PollAddOptionMessage) Reset() {
  806. *x = ConsumerApplication_PollAddOptionMessage{}
  807. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[8]
  808. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  809. ms.StoreMessageInfo(mi)
  810. }
  811. func (x *ConsumerApplication_PollAddOptionMessage) String() string {
  812. return protoimpl.X.MessageStringOf(x)
  813. }
  814. func (*ConsumerApplication_PollAddOptionMessage) ProtoMessage() {}
  815. func (x *ConsumerApplication_PollAddOptionMessage) ProtoReflect() protoreflect.Message {
  816. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[8]
  817. if x != nil {
  818. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  819. if ms.LoadMessageInfo() == nil {
  820. ms.StoreMessageInfo(mi)
  821. }
  822. return ms
  823. }
  824. return mi.MessageOf(x)
  825. }
  826. // Deprecated: Use ConsumerApplication_PollAddOptionMessage.ProtoReflect.Descriptor instead.
  827. func (*ConsumerApplication_PollAddOptionMessage) Descriptor() ([]byte, []int) {
  828. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 7}
  829. }
  830. func (x *ConsumerApplication_PollAddOptionMessage) GetPollOption() []*ConsumerApplication_Option {
  831. if x != nil {
  832. return x.PollOption
  833. }
  834. return nil
  835. }
  836. type ConsumerApplication_PollVoteMessage struct {
  837. state protoimpl.MessageState `protogen:"open.v1"`
  838. SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions" json:"selectedOptions,omitempty"`
  839. SenderTimestampMS *int64 `protobuf:"varint,2,opt,name=senderTimestampMS" json:"senderTimestampMS,omitempty"`
  840. unknownFields protoimpl.UnknownFields
  841. sizeCache protoimpl.SizeCache
  842. }
  843. func (x *ConsumerApplication_PollVoteMessage) Reset() {
  844. *x = ConsumerApplication_PollVoteMessage{}
  845. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[9]
  846. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  847. ms.StoreMessageInfo(mi)
  848. }
  849. func (x *ConsumerApplication_PollVoteMessage) String() string {
  850. return protoimpl.X.MessageStringOf(x)
  851. }
  852. func (*ConsumerApplication_PollVoteMessage) ProtoMessage() {}
  853. func (x *ConsumerApplication_PollVoteMessage) ProtoReflect() protoreflect.Message {
  854. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[9]
  855. if x != nil {
  856. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  857. if ms.LoadMessageInfo() == nil {
  858. ms.StoreMessageInfo(mi)
  859. }
  860. return ms
  861. }
  862. return mi.MessageOf(x)
  863. }
  864. // Deprecated: Use ConsumerApplication_PollVoteMessage.ProtoReflect.Descriptor instead.
  865. func (*ConsumerApplication_PollVoteMessage) Descriptor() ([]byte, []int) {
  866. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 8}
  867. }
  868. func (x *ConsumerApplication_PollVoteMessage) GetSelectedOptions() [][]byte {
  869. if x != nil {
  870. return x.SelectedOptions
  871. }
  872. return nil
  873. }
  874. func (x *ConsumerApplication_PollVoteMessage) GetSenderTimestampMS() int64 {
  875. if x != nil && x.SenderTimestampMS != nil {
  876. return *x.SenderTimestampMS
  877. }
  878. return 0
  879. }
  880. type ConsumerApplication_PollEncValue struct {
  881. state protoimpl.MessageState `protogen:"open.v1"`
  882. EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload" json:"encPayload,omitempty"`
  883. EncIV []byte `protobuf:"bytes,2,opt,name=encIV" json:"encIV,omitempty"`
  884. unknownFields protoimpl.UnknownFields
  885. sizeCache protoimpl.SizeCache
  886. }
  887. func (x *ConsumerApplication_PollEncValue) Reset() {
  888. *x = ConsumerApplication_PollEncValue{}
  889. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[10]
  890. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  891. ms.StoreMessageInfo(mi)
  892. }
  893. func (x *ConsumerApplication_PollEncValue) String() string {
  894. return protoimpl.X.MessageStringOf(x)
  895. }
  896. func (*ConsumerApplication_PollEncValue) ProtoMessage() {}
  897. func (x *ConsumerApplication_PollEncValue) ProtoReflect() protoreflect.Message {
  898. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[10]
  899. if x != nil {
  900. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  901. if ms.LoadMessageInfo() == nil {
  902. ms.StoreMessageInfo(mi)
  903. }
  904. return ms
  905. }
  906. return mi.MessageOf(x)
  907. }
  908. // Deprecated: Use ConsumerApplication_PollEncValue.ProtoReflect.Descriptor instead.
  909. func (*ConsumerApplication_PollEncValue) Descriptor() ([]byte, []int) {
  910. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 9}
  911. }
  912. func (x *ConsumerApplication_PollEncValue) GetEncPayload() []byte {
  913. if x != nil {
  914. return x.EncPayload
  915. }
  916. return nil
  917. }
  918. func (x *ConsumerApplication_PollEncValue) GetEncIV() []byte {
  919. if x != nil {
  920. return x.EncIV
  921. }
  922. return nil
  923. }
  924. type ConsumerApplication_PollUpdateMessage struct {
  925. state protoimpl.MessageState `protogen:"open.v1"`
  926. PollCreationMessageKey *waCommonParameterised.MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey" json:"pollCreationMessageKey,omitempty"`
  927. Vote *ConsumerApplication_PollEncValue `protobuf:"bytes,2,opt,name=vote" json:"vote,omitempty"`
  928. AddOption *ConsumerApplication_PollEncValue `protobuf:"bytes,3,opt,name=addOption" json:"addOption,omitempty"`
  929. unknownFields protoimpl.UnknownFields
  930. sizeCache protoimpl.SizeCache
  931. }
  932. func (x *ConsumerApplication_PollUpdateMessage) Reset() {
  933. *x = ConsumerApplication_PollUpdateMessage{}
  934. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[11]
  935. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  936. ms.StoreMessageInfo(mi)
  937. }
  938. func (x *ConsumerApplication_PollUpdateMessage) String() string {
  939. return protoimpl.X.MessageStringOf(x)
  940. }
  941. func (*ConsumerApplication_PollUpdateMessage) ProtoMessage() {}
  942. func (x *ConsumerApplication_PollUpdateMessage) ProtoReflect() protoreflect.Message {
  943. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[11]
  944. if x != nil {
  945. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  946. if ms.LoadMessageInfo() == nil {
  947. ms.StoreMessageInfo(mi)
  948. }
  949. return ms
  950. }
  951. return mi.MessageOf(x)
  952. }
  953. // Deprecated: Use ConsumerApplication_PollUpdateMessage.ProtoReflect.Descriptor instead.
  954. func (*ConsumerApplication_PollUpdateMessage) Descriptor() ([]byte, []int) {
  955. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 10}
  956. }
  957. func (x *ConsumerApplication_PollUpdateMessage) GetPollCreationMessageKey() *waCommonParameterised.MessageKey {
  958. if x != nil {
  959. return x.PollCreationMessageKey
  960. }
  961. return nil
  962. }
  963. func (x *ConsumerApplication_PollUpdateMessage) GetVote() *ConsumerApplication_PollEncValue {
  964. if x != nil {
  965. return x.Vote
  966. }
  967. return nil
  968. }
  969. func (x *ConsumerApplication_PollUpdateMessage) GetAddOption() *ConsumerApplication_PollEncValue {
  970. if x != nil {
  971. return x.AddOption
  972. }
  973. return nil
  974. }
  975. type ConsumerApplication_PollCreationMessage struct {
  976. state protoimpl.MessageState `protogen:"open.v1"`
  977. EncKey []byte `protobuf:"bytes,1,opt,name=encKey" json:"encKey,omitempty"`
  978. Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
  979. Options []*ConsumerApplication_Option `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"`
  980. SelectableOptionsCount *uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount" json:"selectableOptionsCount,omitempty"`
  981. unknownFields protoimpl.UnknownFields
  982. sizeCache protoimpl.SizeCache
  983. }
  984. func (x *ConsumerApplication_PollCreationMessage) Reset() {
  985. *x = ConsumerApplication_PollCreationMessage{}
  986. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[12]
  987. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  988. ms.StoreMessageInfo(mi)
  989. }
  990. func (x *ConsumerApplication_PollCreationMessage) String() string {
  991. return protoimpl.X.MessageStringOf(x)
  992. }
  993. func (*ConsumerApplication_PollCreationMessage) ProtoMessage() {}
  994. func (x *ConsumerApplication_PollCreationMessage) ProtoReflect() protoreflect.Message {
  995. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[12]
  996. if x != nil {
  997. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  998. if ms.LoadMessageInfo() == nil {
  999. ms.StoreMessageInfo(mi)
  1000. }
  1001. return ms
  1002. }
  1003. return mi.MessageOf(x)
  1004. }
  1005. // Deprecated: Use ConsumerApplication_PollCreationMessage.ProtoReflect.Descriptor instead.
  1006. func (*ConsumerApplication_PollCreationMessage) Descriptor() ([]byte, []int) {
  1007. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 11}
  1008. }
  1009. func (x *ConsumerApplication_PollCreationMessage) GetEncKey() []byte {
  1010. if x != nil {
  1011. return x.EncKey
  1012. }
  1013. return nil
  1014. }
  1015. func (x *ConsumerApplication_PollCreationMessage) GetName() string {
  1016. if x != nil && x.Name != nil {
  1017. return *x.Name
  1018. }
  1019. return ""
  1020. }
  1021. func (x *ConsumerApplication_PollCreationMessage) GetOptions() []*ConsumerApplication_Option {
  1022. if x != nil {
  1023. return x.Options
  1024. }
  1025. return nil
  1026. }
  1027. func (x *ConsumerApplication_PollCreationMessage) GetSelectableOptionsCount() uint32 {
  1028. if x != nil && x.SelectableOptionsCount != nil {
  1029. return *x.SelectableOptionsCount
  1030. }
  1031. return 0
  1032. }
  1033. type ConsumerApplication_Option struct {
  1034. state protoimpl.MessageState `protogen:"open.v1"`
  1035. OptionName *string `protobuf:"bytes,1,opt,name=optionName" json:"optionName,omitempty"`
  1036. unknownFields protoimpl.UnknownFields
  1037. sizeCache protoimpl.SizeCache
  1038. }
  1039. func (x *ConsumerApplication_Option) Reset() {
  1040. *x = ConsumerApplication_Option{}
  1041. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[13]
  1042. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1043. ms.StoreMessageInfo(mi)
  1044. }
  1045. func (x *ConsumerApplication_Option) String() string {
  1046. return protoimpl.X.MessageStringOf(x)
  1047. }
  1048. func (*ConsumerApplication_Option) ProtoMessage() {}
  1049. func (x *ConsumerApplication_Option) ProtoReflect() protoreflect.Message {
  1050. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[13]
  1051. if x != nil {
  1052. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1053. if ms.LoadMessageInfo() == nil {
  1054. ms.StoreMessageInfo(mi)
  1055. }
  1056. return ms
  1057. }
  1058. return mi.MessageOf(x)
  1059. }
  1060. // Deprecated: Use ConsumerApplication_Option.ProtoReflect.Descriptor instead.
  1061. func (*ConsumerApplication_Option) Descriptor() ([]byte, []int) {
  1062. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 12}
  1063. }
  1064. func (x *ConsumerApplication_Option) GetOptionName() string {
  1065. if x != nil && x.OptionName != nil {
  1066. return *x.OptionName
  1067. }
  1068. return ""
  1069. }
  1070. type ConsumerApplication_ReactionMessage struct {
  1071. state protoimpl.MessageState `protogen:"open.v1"`
  1072. Key *waCommonParameterised.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
  1073. Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
  1074. GroupingKey *string `protobuf:"bytes,3,opt,name=groupingKey" json:"groupingKey,omitempty"`
  1075. SenderTimestampMS *int64 `protobuf:"varint,4,opt,name=senderTimestampMS" json:"senderTimestampMS,omitempty"`
  1076. ReactionMetadataDataclassData *string `protobuf:"bytes,5,opt,name=reactionMetadataDataclassData" json:"reactionMetadataDataclassData,omitempty"`
  1077. Style *int32 `protobuf:"varint,6,opt,name=style" json:"style,omitempty"`
  1078. unknownFields protoimpl.UnknownFields
  1079. sizeCache protoimpl.SizeCache
  1080. }
  1081. func (x *ConsumerApplication_ReactionMessage) Reset() {
  1082. *x = ConsumerApplication_ReactionMessage{}
  1083. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[14]
  1084. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1085. ms.StoreMessageInfo(mi)
  1086. }
  1087. func (x *ConsumerApplication_ReactionMessage) String() string {
  1088. return protoimpl.X.MessageStringOf(x)
  1089. }
  1090. func (*ConsumerApplication_ReactionMessage) ProtoMessage() {}
  1091. func (x *ConsumerApplication_ReactionMessage) ProtoReflect() protoreflect.Message {
  1092. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[14]
  1093. if x != nil {
  1094. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1095. if ms.LoadMessageInfo() == nil {
  1096. ms.StoreMessageInfo(mi)
  1097. }
  1098. return ms
  1099. }
  1100. return mi.MessageOf(x)
  1101. }
  1102. // Deprecated: Use ConsumerApplication_ReactionMessage.ProtoReflect.Descriptor instead.
  1103. func (*ConsumerApplication_ReactionMessage) Descriptor() ([]byte, []int) {
  1104. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 13}
  1105. }
  1106. func (x *ConsumerApplication_ReactionMessage) GetKey() *waCommonParameterised.MessageKey {
  1107. if x != nil {
  1108. return x.Key
  1109. }
  1110. return nil
  1111. }
  1112. func (x *ConsumerApplication_ReactionMessage) GetText() string {
  1113. if x != nil && x.Text != nil {
  1114. return *x.Text
  1115. }
  1116. return ""
  1117. }
  1118. func (x *ConsumerApplication_ReactionMessage) GetGroupingKey() string {
  1119. if x != nil && x.GroupingKey != nil {
  1120. return *x.GroupingKey
  1121. }
  1122. return ""
  1123. }
  1124. func (x *ConsumerApplication_ReactionMessage) GetSenderTimestampMS() int64 {
  1125. if x != nil && x.SenderTimestampMS != nil {
  1126. return *x.SenderTimestampMS
  1127. }
  1128. return 0
  1129. }
  1130. func (x *ConsumerApplication_ReactionMessage) GetReactionMetadataDataclassData() string {
  1131. if x != nil && x.ReactionMetadataDataclassData != nil {
  1132. return *x.ReactionMetadataDataclassData
  1133. }
  1134. return ""
  1135. }
  1136. func (x *ConsumerApplication_ReactionMessage) GetStyle() int32 {
  1137. if x != nil && x.Style != nil {
  1138. return *x.Style
  1139. }
  1140. return 0
  1141. }
  1142. type ConsumerApplication_RevokeMessage struct {
  1143. state protoimpl.MessageState `protogen:"open.v1"`
  1144. Key *waCommonParameterised.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
  1145. unknownFields protoimpl.UnknownFields
  1146. sizeCache protoimpl.SizeCache
  1147. }
  1148. func (x *ConsumerApplication_RevokeMessage) Reset() {
  1149. *x = ConsumerApplication_RevokeMessage{}
  1150. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[15]
  1151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1152. ms.StoreMessageInfo(mi)
  1153. }
  1154. func (x *ConsumerApplication_RevokeMessage) String() string {
  1155. return protoimpl.X.MessageStringOf(x)
  1156. }
  1157. func (*ConsumerApplication_RevokeMessage) ProtoMessage() {}
  1158. func (x *ConsumerApplication_RevokeMessage) ProtoReflect() protoreflect.Message {
  1159. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[15]
  1160. if x != nil {
  1161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1162. if ms.LoadMessageInfo() == nil {
  1163. ms.StoreMessageInfo(mi)
  1164. }
  1165. return ms
  1166. }
  1167. return mi.MessageOf(x)
  1168. }
  1169. // Deprecated: Use ConsumerApplication_RevokeMessage.ProtoReflect.Descriptor instead.
  1170. func (*ConsumerApplication_RevokeMessage) Descriptor() ([]byte, []int) {
  1171. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 14}
  1172. }
  1173. func (x *ConsumerApplication_RevokeMessage) GetKey() *waCommonParameterised.MessageKey {
  1174. if x != nil {
  1175. return x.Key
  1176. }
  1177. return nil
  1178. }
  1179. type ConsumerApplication_ViewOnceMessage struct {
  1180. state protoimpl.MessageState `protogen:"open.v1"`
  1181. // Types that are valid to be assigned to ViewOnceContent:
  1182. //
  1183. // *ConsumerApplication_ViewOnceMessage_ImageMessage
  1184. // *ConsumerApplication_ViewOnceMessage_VideoMessage
  1185. ViewOnceContent isConsumerApplication_ViewOnceMessage_ViewOnceContent `protobuf_oneof:"viewOnceContent"`
  1186. unknownFields protoimpl.UnknownFields
  1187. sizeCache protoimpl.SizeCache
  1188. }
  1189. func (x *ConsumerApplication_ViewOnceMessage) Reset() {
  1190. *x = ConsumerApplication_ViewOnceMessage{}
  1191. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[16]
  1192. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1193. ms.StoreMessageInfo(mi)
  1194. }
  1195. func (x *ConsumerApplication_ViewOnceMessage) String() string {
  1196. return protoimpl.X.MessageStringOf(x)
  1197. }
  1198. func (*ConsumerApplication_ViewOnceMessage) ProtoMessage() {}
  1199. func (x *ConsumerApplication_ViewOnceMessage) ProtoReflect() protoreflect.Message {
  1200. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[16]
  1201. if x != nil {
  1202. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1203. if ms.LoadMessageInfo() == nil {
  1204. ms.StoreMessageInfo(mi)
  1205. }
  1206. return ms
  1207. }
  1208. return mi.MessageOf(x)
  1209. }
  1210. // Deprecated: Use ConsumerApplication_ViewOnceMessage.ProtoReflect.Descriptor instead.
  1211. func (*ConsumerApplication_ViewOnceMessage) Descriptor() ([]byte, []int) {
  1212. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 15}
  1213. }
  1214. func (x *ConsumerApplication_ViewOnceMessage) GetViewOnceContent() isConsumerApplication_ViewOnceMessage_ViewOnceContent {
  1215. if x != nil {
  1216. return x.ViewOnceContent
  1217. }
  1218. return nil
  1219. }
  1220. func (x *ConsumerApplication_ViewOnceMessage) GetImageMessage() *ConsumerApplication_ImageMessage {
  1221. if x != nil {
  1222. if x, ok := x.ViewOnceContent.(*ConsumerApplication_ViewOnceMessage_ImageMessage); ok {
  1223. return x.ImageMessage
  1224. }
  1225. }
  1226. return nil
  1227. }
  1228. func (x *ConsumerApplication_ViewOnceMessage) GetVideoMessage() *ConsumerApplication_VideoMessage {
  1229. if x != nil {
  1230. if x, ok := x.ViewOnceContent.(*ConsumerApplication_ViewOnceMessage_VideoMessage); ok {
  1231. return x.VideoMessage
  1232. }
  1233. }
  1234. return nil
  1235. }
  1236. type isConsumerApplication_ViewOnceMessage_ViewOnceContent interface {
  1237. isConsumerApplication_ViewOnceMessage_ViewOnceContent()
  1238. }
  1239. type ConsumerApplication_ViewOnceMessage_ImageMessage struct {
  1240. ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,1,opt,name=imageMessage,oneof"`
  1241. }
  1242. type ConsumerApplication_ViewOnceMessage_VideoMessage struct {
  1243. VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,2,opt,name=videoMessage,oneof"`
  1244. }
  1245. func (*ConsumerApplication_ViewOnceMessage_ImageMessage) isConsumerApplication_ViewOnceMessage_ViewOnceContent() {
  1246. }
  1247. func (*ConsumerApplication_ViewOnceMessage_VideoMessage) isConsumerApplication_ViewOnceMessage_ViewOnceContent() {
  1248. }
  1249. type ConsumerApplication_GroupInviteMessage struct {
  1250. state protoimpl.MessageState `protogen:"open.v1"`
  1251. GroupJID *string `protobuf:"bytes,1,opt,name=groupJID" json:"groupJID,omitempty"`
  1252. InviteCode *string `protobuf:"bytes,2,opt,name=inviteCode" json:"inviteCode,omitempty"`
  1253. InviteExpiration *int64 `protobuf:"varint,3,opt,name=inviteExpiration" json:"inviteExpiration,omitempty"`
  1254. GroupName *string `protobuf:"bytes,4,opt,name=groupName" json:"groupName,omitempty"`
  1255. JPEGThumbnail []byte `protobuf:"bytes,5,opt,name=JPEGThumbnail" json:"JPEGThumbnail,omitempty"`
  1256. Caption *waCommonParameterised.MessageText `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"`
  1257. unknownFields protoimpl.UnknownFields
  1258. sizeCache protoimpl.SizeCache
  1259. }
  1260. func (x *ConsumerApplication_GroupInviteMessage) Reset() {
  1261. *x = ConsumerApplication_GroupInviteMessage{}
  1262. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[17]
  1263. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1264. ms.StoreMessageInfo(mi)
  1265. }
  1266. func (x *ConsumerApplication_GroupInviteMessage) String() string {
  1267. return protoimpl.X.MessageStringOf(x)
  1268. }
  1269. func (*ConsumerApplication_GroupInviteMessage) ProtoMessage() {}
  1270. func (x *ConsumerApplication_GroupInviteMessage) ProtoReflect() protoreflect.Message {
  1271. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[17]
  1272. if x != nil {
  1273. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1274. if ms.LoadMessageInfo() == nil {
  1275. ms.StoreMessageInfo(mi)
  1276. }
  1277. return ms
  1278. }
  1279. return mi.MessageOf(x)
  1280. }
  1281. // Deprecated: Use ConsumerApplication_GroupInviteMessage.ProtoReflect.Descriptor instead.
  1282. func (*ConsumerApplication_GroupInviteMessage) Descriptor() ([]byte, []int) {
  1283. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 16}
  1284. }
  1285. func (x *ConsumerApplication_GroupInviteMessage) GetGroupJID() string {
  1286. if x != nil && x.GroupJID != nil {
  1287. return *x.GroupJID
  1288. }
  1289. return ""
  1290. }
  1291. func (x *ConsumerApplication_GroupInviteMessage) GetInviteCode() string {
  1292. if x != nil && x.InviteCode != nil {
  1293. return *x.InviteCode
  1294. }
  1295. return ""
  1296. }
  1297. func (x *ConsumerApplication_GroupInviteMessage) GetInviteExpiration() int64 {
  1298. if x != nil && x.InviteExpiration != nil {
  1299. return *x.InviteExpiration
  1300. }
  1301. return 0
  1302. }
  1303. func (x *ConsumerApplication_GroupInviteMessage) GetGroupName() string {
  1304. if x != nil && x.GroupName != nil {
  1305. return *x.GroupName
  1306. }
  1307. return ""
  1308. }
  1309. func (x *ConsumerApplication_GroupInviteMessage) GetJPEGThumbnail() []byte {
  1310. if x != nil {
  1311. return x.JPEGThumbnail
  1312. }
  1313. return nil
  1314. }
  1315. func (x *ConsumerApplication_GroupInviteMessage) GetCaption() *waCommonParameterised.MessageText {
  1316. if x != nil {
  1317. return x.Caption
  1318. }
  1319. return nil
  1320. }
  1321. type ConsumerApplication_LiveLocationMessage struct {
  1322. state protoimpl.MessageState `protogen:"open.v1"`
  1323. Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
  1324. AccuracyInMeters *uint32 `protobuf:"varint,2,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"`
  1325. SpeedInMps *float32 `protobuf:"fixed32,3,opt,name=speedInMps" json:"speedInMps,omitempty"`
  1326. DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,4,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"`
  1327. Caption *waCommonParameterised.MessageText `protobuf:"bytes,5,opt,name=caption" json:"caption,omitempty"`
  1328. SequenceNumber *int64 `protobuf:"varint,6,opt,name=sequenceNumber" json:"sequenceNumber,omitempty"`
  1329. TimeOffset *uint32 `protobuf:"varint,7,opt,name=timeOffset" json:"timeOffset,omitempty"`
  1330. unknownFields protoimpl.UnknownFields
  1331. sizeCache protoimpl.SizeCache
  1332. }
  1333. func (x *ConsumerApplication_LiveLocationMessage) Reset() {
  1334. *x = ConsumerApplication_LiveLocationMessage{}
  1335. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[18]
  1336. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1337. ms.StoreMessageInfo(mi)
  1338. }
  1339. func (x *ConsumerApplication_LiveLocationMessage) String() string {
  1340. return protoimpl.X.MessageStringOf(x)
  1341. }
  1342. func (*ConsumerApplication_LiveLocationMessage) ProtoMessage() {}
  1343. func (x *ConsumerApplication_LiveLocationMessage) ProtoReflect() protoreflect.Message {
  1344. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[18]
  1345. if x != nil {
  1346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1347. if ms.LoadMessageInfo() == nil {
  1348. ms.StoreMessageInfo(mi)
  1349. }
  1350. return ms
  1351. }
  1352. return mi.MessageOf(x)
  1353. }
  1354. // Deprecated: Use ConsumerApplication_LiveLocationMessage.ProtoReflect.Descriptor instead.
  1355. func (*ConsumerApplication_LiveLocationMessage) Descriptor() ([]byte, []int) {
  1356. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 17}
  1357. }
  1358. func (x *ConsumerApplication_LiveLocationMessage) GetLocation() *ConsumerApplication_Location {
  1359. if x != nil {
  1360. return x.Location
  1361. }
  1362. return nil
  1363. }
  1364. func (x *ConsumerApplication_LiveLocationMessage) GetAccuracyInMeters() uint32 {
  1365. if x != nil && x.AccuracyInMeters != nil {
  1366. return *x.AccuracyInMeters
  1367. }
  1368. return 0
  1369. }
  1370. func (x *ConsumerApplication_LiveLocationMessage) GetSpeedInMps() float32 {
  1371. if x != nil && x.SpeedInMps != nil {
  1372. return *x.SpeedInMps
  1373. }
  1374. return 0
  1375. }
  1376. func (x *ConsumerApplication_LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 {
  1377. if x != nil && x.DegreesClockwiseFromMagneticNorth != nil {
  1378. return *x.DegreesClockwiseFromMagneticNorth
  1379. }
  1380. return 0
  1381. }
  1382. func (x *ConsumerApplication_LiveLocationMessage) GetCaption() *waCommonParameterised.MessageText {
  1383. if x != nil {
  1384. return x.Caption
  1385. }
  1386. return nil
  1387. }
  1388. func (x *ConsumerApplication_LiveLocationMessage) GetSequenceNumber() int64 {
  1389. if x != nil && x.SequenceNumber != nil {
  1390. return *x.SequenceNumber
  1391. }
  1392. return 0
  1393. }
  1394. func (x *ConsumerApplication_LiveLocationMessage) GetTimeOffset() uint32 {
  1395. if x != nil && x.TimeOffset != nil {
  1396. return *x.TimeOffset
  1397. }
  1398. return 0
  1399. }
  1400. type ConsumerApplication_ContactsArrayMessage struct {
  1401. state protoimpl.MessageState `protogen:"open.v1"`
  1402. DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"`
  1403. Contacts []*ConsumerApplication_ContactMessage `protobuf:"bytes,2,rep,name=contacts" json:"contacts,omitempty"`
  1404. unknownFields protoimpl.UnknownFields
  1405. sizeCache protoimpl.SizeCache
  1406. }
  1407. func (x *ConsumerApplication_ContactsArrayMessage) Reset() {
  1408. *x = ConsumerApplication_ContactsArrayMessage{}
  1409. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[19]
  1410. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1411. ms.StoreMessageInfo(mi)
  1412. }
  1413. func (x *ConsumerApplication_ContactsArrayMessage) String() string {
  1414. return protoimpl.X.MessageStringOf(x)
  1415. }
  1416. func (*ConsumerApplication_ContactsArrayMessage) ProtoMessage() {}
  1417. func (x *ConsumerApplication_ContactsArrayMessage) ProtoReflect() protoreflect.Message {
  1418. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[19]
  1419. if x != nil {
  1420. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1421. if ms.LoadMessageInfo() == nil {
  1422. ms.StoreMessageInfo(mi)
  1423. }
  1424. return ms
  1425. }
  1426. return mi.MessageOf(x)
  1427. }
  1428. // Deprecated: Use ConsumerApplication_ContactsArrayMessage.ProtoReflect.Descriptor instead.
  1429. func (*ConsumerApplication_ContactsArrayMessage) Descriptor() ([]byte, []int) {
  1430. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 18}
  1431. }
  1432. func (x *ConsumerApplication_ContactsArrayMessage) GetDisplayName() string {
  1433. if x != nil && x.DisplayName != nil {
  1434. return *x.DisplayName
  1435. }
  1436. return ""
  1437. }
  1438. func (x *ConsumerApplication_ContactsArrayMessage) GetContacts() []*ConsumerApplication_ContactMessage {
  1439. if x != nil {
  1440. return x.Contacts
  1441. }
  1442. return nil
  1443. }
  1444. type ConsumerApplication_ContactMessage struct {
  1445. state protoimpl.MessageState `protogen:"open.v1"`
  1446. Contact *waCommonParameterised.SubProtocol `protobuf:"bytes,1,opt,name=contact" json:"contact,omitempty"`
  1447. unknownFields protoimpl.UnknownFields
  1448. sizeCache protoimpl.SizeCache
  1449. }
  1450. func (x *ConsumerApplication_ContactMessage) Reset() {
  1451. *x = ConsumerApplication_ContactMessage{}
  1452. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[20]
  1453. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1454. ms.StoreMessageInfo(mi)
  1455. }
  1456. func (x *ConsumerApplication_ContactMessage) String() string {
  1457. return protoimpl.X.MessageStringOf(x)
  1458. }
  1459. func (*ConsumerApplication_ContactMessage) ProtoMessage() {}
  1460. func (x *ConsumerApplication_ContactMessage) ProtoReflect() protoreflect.Message {
  1461. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[20]
  1462. if x != nil {
  1463. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1464. if ms.LoadMessageInfo() == nil {
  1465. ms.StoreMessageInfo(mi)
  1466. }
  1467. return ms
  1468. }
  1469. return mi.MessageOf(x)
  1470. }
  1471. // Deprecated: Use ConsumerApplication_ContactMessage.ProtoReflect.Descriptor instead.
  1472. func (*ConsumerApplication_ContactMessage) Descriptor() ([]byte, []int) {
  1473. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 19}
  1474. }
  1475. func (x *ConsumerApplication_ContactMessage) GetContact() *waCommonParameterised.SubProtocol {
  1476. if x != nil {
  1477. return x.Contact
  1478. }
  1479. return nil
  1480. }
  1481. type ConsumerApplication_StatusTextMesage struct {
  1482. state protoimpl.MessageState `protogen:"open.v1"`
  1483. Text *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
  1484. TextArgb *uint32 `protobuf:"fixed32,6,opt,name=textArgb" json:"textArgb,omitempty"`
  1485. BackgroundArgb *uint32 `protobuf:"fixed32,7,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"`
  1486. Font *ConsumerApplication_StatusTextMesage_FontType `protobuf:"varint,8,opt,name=font,enum=WAConsumerApplicationParameterised.ConsumerApplication_StatusTextMesage_FontType" json:"font,omitempty"`
  1487. unknownFields protoimpl.UnknownFields
  1488. sizeCache protoimpl.SizeCache
  1489. }
  1490. func (x *ConsumerApplication_StatusTextMesage) Reset() {
  1491. *x = ConsumerApplication_StatusTextMesage{}
  1492. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[21]
  1493. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1494. ms.StoreMessageInfo(mi)
  1495. }
  1496. func (x *ConsumerApplication_StatusTextMesage) String() string {
  1497. return protoimpl.X.MessageStringOf(x)
  1498. }
  1499. func (*ConsumerApplication_StatusTextMesage) ProtoMessage() {}
  1500. func (x *ConsumerApplication_StatusTextMesage) ProtoReflect() protoreflect.Message {
  1501. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[21]
  1502. if x != nil {
  1503. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1504. if ms.LoadMessageInfo() == nil {
  1505. ms.StoreMessageInfo(mi)
  1506. }
  1507. return ms
  1508. }
  1509. return mi.MessageOf(x)
  1510. }
  1511. // Deprecated: Use ConsumerApplication_StatusTextMesage.ProtoReflect.Descriptor instead.
  1512. func (*ConsumerApplication_StatusTextMesage) Descriptor() ([]byte, []int) {
  1513. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 20}
  1514. }
  1515. func (x *ConsumerApplication_StatusTextMesage) GetText() *ConsumerApplication_ExtendedTextMessage {
  1516. if x != nil {
  1517. return x.Text
  1518. }
  1519. return nil
  1520. }
  1521. func (x *ConsumerApplication_StatusTextMesage) GetTextArgb() uint32 {
  1522. if x != nil && x.TextArgb != nil {
  1523. return *x.TextArgb
  1524. }
  1525. return 0
  1526. }
  1527. func (x *ConsumerApplication_StatusTextMesage) GetBackgroundArgb() uint32 {
  1528. if x != nil && x.BackgroundArgb != nil {
  1529. return *x.BackgroundArgb
  1530. }
  1531. return 0
  1532. }
  1533. func (x *ConsumerApplication_StatusTextMesage) GetFont() ConsumerApplication_StatusTextMesage_FontType {
  1534. if x != nil && x.Font != nil {
  1535. return *x.Font
  1536. }
  1537. return ConsumerApplication_StatusTextMesage_SANS_SERIF
  1538. }
  1539. type ConsumerApplication_ExtendedTextMessage struct {
  1540. state protoimpl.MessageState `protogen:"open.v1"`
  1541. Text *waCommonParameterised.MessageText `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
  1542. MatchedText *string `protobuf:"bytes,2,opt,name=matchedText" json:"matchedText,omitempty"`
  1543. CanonicalURL *string `protobuf:"bytes,3,opt,name=canonicalURL" json:"canonicalURL,omitempty"`
  1544. Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
  1545. Title *string `protobuf:"bytes,5,opt,name=title" json:"title,omitempty"`
  1546. Thumbnail *waCommonParameterised.SubProtocol `protobuf:"bytes,6,opt,name=thumbnail" json:"thumbnail,omitempty"`
  1547. PreviewType *ConsumerApplication_ExtendedTextMessage_PreviewType `protobuf:"varint,7,opt,name=previewType,enum=WAConsumerApplicationParameterised.ConsumerApplication_ExtendedTextMessage_PreviewType" json:"previewType,omitempty"`
  1548. unknownFields protoimpl.UnknownFields
  1549. sizeCache protoimpl.SizeCache
  1550. }
  1551. func (x *ConsumerApplication_ExtendedTextMessage) Reset() {
  1552. *x = ConsumerApplication_ExtendedTextMessage{}
  1553. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[22]
  1554. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1555. ms.StoreMessageInfo(mi)
  1556. }
  1557. func (x *ConsumerApplication_ExtendedTextMessage) String() string {
  1558. return protoimpl.X.MessageStringOf(x)
  1559. }
  1560. func (*ConsumerApplication_ExtendedTextMessage) ProtoMessage() {}
  1561. func (x *ConsumerApplication_ExtendedTextMessage) ProtoReflect() protoreflect.Message {
  1562. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[22]
  1563. if x != nil {
  1564. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1565. if ms.LoadMessageInfo() == nil {
  1566. ms.StoreMessageInfo(mi)
  1567. }
  1568. return ms
  1569. }
  1570. return mi.MessageOf(x)
  1571. }
  1572. // Deprecated: Use ConsumerApplication_ExtendedTextMessage.ProtoReflect.Descriptor instead.
  1573. func (*ConsumerApplication_ExtendedTextMessage) Descriptor() ([]byte, []int) {
  1574. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 21}
  1575. }
  1576. func (x *ConsumerApplication_ExtendedTextMessage) GetText() *waCommonParameterised.MessageText {
  1577. if x != nil {
  1578. return x.Text
  1579. }
  1580. return nil
  1581. }
  1582. func (x *ConsumerApplication_ExtendedTextMessage) GetMatchedText() string {
  1583. if x != nil && x.MatchedText != nil {
  1584. return *x.MatchedText
  1585. }
  1586. return ""
  1587. }
  1588. func (x *ConsumerApplication_ExtendedTextMessage) GetCanonicalURL() string {
  1589. if x != nil && x.CanonicalURL != nil {
  1590. return *x.CanonicalURL
  1591. }
  1592. return ""
  1593. }
  1594. func (x *ConsumerApplication_ExtendedTextMessage) GetDescription() string {
  1595. if x != nil && x.Description != nil {
  1596. return *x.Description
  1597. }
  1598. return ""
  1599. }
  1600. func (x *ConsumerApplication_ExtendedTextMessage) GetTitle() string {
  1601. if x != nil && x.Title != nil {
  1602. return *x.Title
  1603. }
  1604. return ""
  1605. }
  1606. func (x *ConsumerApplication_ExtendedTextMessage) GetThumbnail() *waCommonParameterised.SubProtocol {
  1607. if x != nil {
  1608. return x.Thumbnail
  1609. }
  1610. return nil
  1611. }
  1612. func (x *ConsumerApplication_ExtendedTextMessage) GetPreviewType() ConsumerApplication_ExtendedTextMessage_PreviewType {
  1613. if x != nil && x.PreviewType != nil {
  1614. return *x.PreviewType
  1615. }
  1616. return ConsumerApplication_ExtendedTextMessage_NONE
  1617. }
  1618. type ConsumerApplication_LocationMessage struct {
  1619. state protoimpl.MessageState `protogen:"open.v1"`
  1620. Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
  1621. Address *string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
  1622. unknownFields protoimpl.UnknownFields
  1623. sizeCache protoimpl.SizeCache
  1624. }
  1625. func (x *ConsumerApplication_LocationMessage) Reset() {
  1626. *x = ConsumerApplication_LocationMessage{}
  1627. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[23]
  1628. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1629. ms.StoreMessageInfo(mi)
  1630. }
  1631. func (x *ConsumerApplication_LocationMessage) String() string {
  1632. return protoimpl.X.MessageStringOf(x)
  1633. }
  1634. func (*ConsumerApplication_LocationMessage) ProtoMessage() {}
  1635. func (x *ConsumerApplication_LocationMessage) ProtoReflect() protoreflect.Message {
  1636. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[23]
  1637. if x != nil {
  1638. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1639. if ms.LoadMessageInfo() == nil {
  1640. ms.StoreMessageInfo(mi)
  1641. }
  1642. return ms
  1643. }
  1644. return mi.MessageOf(x)
  1645. }
  1646. // Deprecated: Use ConsumerApplication_LocationMessage.ProtoReflect.Descriptor instead.
  1647. func (*ConsumerApplication_LocationMessage) Descriptor() ([]byte, []int) {
  1648. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 22}
  1649. }
  1650. func (x *ConsumerApplication_LocationMessage) GetLocation() *ConsumerApplication_Location {
  1651. if x != nil {
  1652. return x.Location
  1653. }
  1654. return nil
  1655. }
  1656. func (x *ConsumerApplication_LocationMessage) GetAddress() string {
  1657. if x != nil && x.Address != nil {
  1658. return *x.Address
  1659. }
  1660. return ""
  1661. }
  1662. type ConsumerApplication_StickerMessage struct {
  1663. state protoimpl.MessageState `protogen:"open.v1"`
  1664. Sticker *waCommonParameterised.SubProtocol `protobuf:"bytes,1,opt,name=sticker" json:"sticker,omitempty"`
  1665. unknownFields protoimpl.UnknownFields
  1666. sizeCache protoimpl.SizeCache
  1667. }
  1668. func (x *ConsumerApplication_StickerMessage) Reset() {
  1669. *x = ConsumerApplication_StickerMessage{}
  1670. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[24]
  1671. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1672. ms.StoreMessageInfo(mi)
  1673. }
  1674. func (x *ConsumerApplication_StickerMessage) String() string {
  1675. return protoimpl.X.MessageStringOf(x)
  1676. }
  1677. func (*ConsumerApplication_StickerMessage) ProtoMessage() {}
  1678. func (x *ConsumerApplication_StickerMessage) ProtoReflect() protoreflect.Message {
  1679. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[24]
  1680. if x != nil {
  1681. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1682. if ms.LoadMessageInfo() == nil {
  1683. ms.StoreMessageInfo(mi)
  1684. }
  1685. return ms
  1686. }
  1687. return mi.MessageOf(x)
  1688. }
  1689. // Deprecated: Use ConsumerApplication_StickerMessage.ProtoReflect.Descriptor instead.
  1690. func (*ConsumerApplication_StickerMessage) Descriptor() ([]byte, []int) {
  1691. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 23}
  1692. }
  1693. func (x *ConsumerApplication_StickerMessage) GetSticker() *waCommonParameterised.SubProtocol {
  1694. if x != nil {
  1695. return x.Sticker
  1696. }
  1697. return nil
  1698. }
  1699. type ConsumerApplication_DocumentMessage struct {
  1700. state protoimpl.MessageState `protogen:"open.v1"`
  1701. Document *waCommonParameterised.SubProtocol `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
  1702. FileName *string `protobuf:"bytes,2,opt,name=fileName" json:"fileName,omitempty"`
  1703. unknownFields protoimpl.UnknownFields
  1704. sizeCache protoimpl.SizeCache
  1705. }
  1706. func (x *ConsumerApplication_DocumentMessage) Reset() {
  1707. *x = ConsumerApplication_DocumentMessage{}
  1708. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[25]
  1709. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1710. ms.StoreMessageInfo(mi)
  1711. }
  1712. func (x *ConsumerApplication_DocumentMessage) String() string {
  1713. return protoimpl.X.MessageStringOf(x)
  1714. }
  1715. func (*ConsumerApplication_DocumentMessage) ProtoMessage() {}
  1716. func (x *ConsumerApplication_DocumentMessage) ProtoReflect() protoreflect.Message {
  1717. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[25]
  1718. if x != nil {
  1719. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1720. if ms.LoadMessageInfo() == nil {
  1721. ms.StoreMessageInfo(mi)
  1722. }
  1723. return ms
  1724. }
  1725. return mi.MessageOf(x)
  1726. }
  1727. // Deprecated: Use ConsumerApplication_DocumentMessage.ProtoReflect.Descriptor instead.
  1728. func (*ConsumerApplication_DocumentMessage) Descriptor() ([]byte, []int) {
  1729. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 24}
  1730. }
  1731. func (x *ConsumerApplication_DocumentMessage) GetDocument() *waCommonParameterised.SubProtocol {
  1732. if x != nil {
  1733. return x.Document
  1734. }
  1735. return nil
  1736. }
  1737. func (x *ConsumerApplication_DocumentMessage) GetFileName() string {
  1738. if x != nil && x.FileName != nil {
  1739. return *x.FileName
  1740. }
  1741. return ""
  1742. }
  1743. type ConsumerApplication_VideoMessage struct {
  1744. state protoimpl.MessageState `protogen:"open.v1"`
  1745. Video *waCommonParameterised.SubProtocol `protobuf:"bytes,1,opt,name=video" json:"video,omitempty"`
  1746. Caption *waCommonParameterised.MessageText `protobuf:"bytes,2,opt,name=caption" json:"caption,omitempty"`
  1747. unknownFields protoimpl.UnknownFields
  1748. sizeCache protoimpl.SizeCache
  1749. }
  1750. func (x *ConsumerApplication_VideoMessage) Reset() {
  1751. *x = ConsumerApplication_VideoMessage{}
  1752. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[26]
  1753. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1754. ms.StoreMessageInfo(mi)
  1755. }
  1756. func (x *ConsumerApplication_VideoMessage) String() string {
  1757. return protoimpl.X.MessageStringOf(x)
  1758. }
  1759. func (*ConsumerApplication_VideoMessage) ProtoMessage() {}
  1760. func (x *ConsumerApplication_VideoMessage) ProtoReflect() protoreflect.Message {
  1761. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[26]
  1762. if x != nil {
  1763. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1764. if ms.LoadMessageInfo() == nil {
  1765. ms.StoreMessageInfo(mi)
  1766. }
  1767. return ms
  1768. }
  1769. return mi.MessageOf(x)
  1770. }
  1771. // Deprecated: Use ConsumerApplication_VideoMessage.ProtoReflect.Descriptor instead.
  1772. func (*ConsumerApplication_VideoMessage) Descriptor() ([]byte, []int) {
  1773. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 25}
  1774. }
  1775. func (x *ConsumerApplication_VideoMessage) GetVideo() *waCommonParameterised.SubProtocol {
  1776. if x != nil {
  1777. return x.Video
  1778. }
  1779. return nil
  1780. }
  1781. func (x *ConsumerApplication_VideoMessage) GetCaption() *waCommonParameterised.MessageText {
  1782. if x != nil {
  1783. return x.Caption
  1784. }
  1785. return nil
  1786. }
  1787. type ConsumerApplication_AudioMessage struct {
  1788. state protoimpl.MessageState `protogen:"open.v1"`
  1789. Audio *waCommonParameterised.SubProtocol `protobuf:"bytes,1,opt,name=audio" json:"audio,omitempty"`
  1790. PTT *bool `protobuf:"varint,2,opt,name=PTT" json:"PTT,omitempty"`
  1791. unknownFields protoimpl.UnknownFields
  1792. sizeCache protoimpl.SizeCache
  1793. }
  1794. func (x *ConsumerApplication_AudioMessage) Reset() {
  1795. *x = ConsumerApplication_AudioMessage{}
  1796. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[27]
  1797. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1798. ms.StoreMessageInfo(mi)
  1799. }
  1800. func (x *ConsumerApplication_AudioMessage) String() string {
  1801. return protoimpl.X.MessageStringOf(x)
  1802. }
  1803. func (*ConsumerApplication_AudioMessage) ProtoMessage() {}
  1804. func (x *ConsumerApplication_AudioMessage) ProtoReflect() protoreflect.Message {
  1805. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[27]
  1806. if x != nil {
  1807. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1808. if ms.LoadMessageInfo() == nil {
  1809. ms.StoreMessageInfo(mi)
  1810. }
  1811. return ms
  1812. }
  1813. return mi.MessageOf(x)
  1814. }
  1815. // Deprecated: Use ConsumerApplication_AudioMessage.ProtoReflect.Descriptor instead.
  1816. func (*ConsumerApplication_AudioMessage) Descriptor() ([]byte, []int) {
  1817. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 26}
  1818. }
  1819. func (x *ConsumerApplication_AudioMessage) GetAudio() *waCommonParameterised.SubProtocol {
  1820. if x != nil {
  1821. return x.Audio
  1822. }
  1823. return nil
  1824. }
  1825. func (x *ConsumerApplication_AudioMessage) GetPTT() bool {
  1826. if x != nil && x.PTT != nil {
  1827. return *x.PTT
  1828. }
  1829. return false
  1830. }
  1831. type ConsumerApplication_ImageMessage struct {
  1832. state protoimpl.MessageState `protogen:"open.v1"`
  1833. Image *waCommonParameterised.SubProtocol `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
  1834. Caption *waCommonParameterised.MessageText `protobuf:"bytes,2,opt,name=caption" json:"caption,omitempty"`
  1835. unknownFields protoimpl.UnknownFields
  1836. sizeCache protoimpl.SizeCache
  1837. }
  1838. func (x *ConsumerApplication_ImageMessage) Reset() {
  1839. *x = ConsumerApplication_ImageMessage{}
  1840. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[28]
  1841. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1842. ms.StoreMessageInfo(mi)
  1843. }
  1844. func (x *ConsumerApplication_ImageMessage) String() string {
  1845. return protoimpl.X.MessageStringOf(x)
  1846. }
  1847. func (*ConsumerApplication_ImageMessage) ProtoMessage() {}
  1848. func (x *ConsumerApplication_ImageMessage) ProtoReflect() protoreflect.Message {
  1849. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[28]
  1850. if x != nil {
  1851. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1852. if ms.LoadMessageInfo() == nil {
  1853. ms.StoreMessageInfo(mi)
  1854. }
  1855. return ms
  1856. }
  1857. return mi.MessageOf(x)
  1858. }
  1859. // Deprecated: Use ConsumerApplication_ImageMessage.ProtoReflect.Descriptor instead.
  1860. func (*ConsumerApplication_ImageMessage) Descriptor() ([]byte, []int) {
  1861. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 27}
  1862. }
  1863. func (x *ConsumerApplication_ImageMessage) GetImage() *waCommonParameterised.SubProtocol {
  1864. if x != nil {
  1865. return x.Image
  1866. }
  1867. return nil
  1868. }
  1869. func (x *ConsumerApplication_ImageMessage) GetCaption() *waCommonParameterised.MessageText {
  1870. if x != nil {
  1871. return x.Caption
  1872. }
  1873. return nil
  1874. }
  1875. type ConsumerApplication_InteractiveAnnotation struct {
  1876. state protoimpl.MessageState `protogen:"open.v1"`
  1877. // Types that are valid to be assigned to Action:
  1878. //
  1879. // *ConsumerApplication_InteractiveAnnotation_Location
  1880. Action isConsumerApplication_InteractiveAnnotation_Action `protobuf_oneof:"action"`
  1881. PolygonVertices []*ConsumerApplication_Point `protobuf:"bytes,1,rep,name=polygonVertices" json:"polygonVertices,omitempty"`
  1882. unknownFields protoimpl.UnknownFields
  1883. sizeCache protoimpl.SizeCache
  1884. }
  1885. func (x *ConsumerApplication_InteractiveAnnotation) Reset() {
  1886. *x = ConsumerApplication_InteractiveAnnotation{}
  1887. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[29]
  1888. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1889. ms.StoreMessageInfo(mi)
  1890. }
  1891. func (x *ConsumerApplication_InteractiveAnnotation) String() string {
  1892. return protoimpl.X.MessageStringOf(x)
  1893. }
  1894. func (*ConsumerApplication_InteractiveAnnotation) ProtoMessage() {}
  1895. func (x *ConsumerApplication_InteractiveAnnotation) ProtoReflect() protoreflect.Message {
  1896. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[29]
  1897. if x != nil {
  1898. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1899. if ms.LoadMessageInfo() == nil {
  1900. ms.StoreMessageInfo(mi)
  1901. }
  1902. return ms
  1903. }
  1904. return mi.MessageOf(x)
  1905. }
  1906. // Deprecated: Use ConsumerApplication_InteractiveAnnotation.ProtoReflect.Descriptor instead.
  1907. func (*ConsumerApplication_InteractiveAnnotation) Descriptor() ([]byte, []int) {
  1908. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 28}
  1909. }
  1910. func (x *ConsumerApplication_InteractiveAnnotation) GetAction() isConsumerApplication_InteractiveAnnotation_Action {
  1911. if x != nil {
  1912. return x.Action
  1913. }
  1914. return nil
  1915. }
  1916. func (x *ConsumerApplication_InteractiveAnnotation) GetLocation() *ConsumerApplication_Location {
  1917. if x != nil {
  1918. if x, ok := x.Action.(*ConsumerApplication_InteractiveAnnotation_Location); ok {
  1919. return x.Location
  1920. }
  1921. }
  1922. return nil
  1923. }
  1924. func (x *ConsumerApplication_InteractiveAnnotation) GetPolygonVertices() []*ConsumerApplication_Point {
  1925. if x != nil {
  1926. return x.PolygonVertices
  1927. }
  1928. return nil
  1929. }
  1930. type isConsumerApplication_InteractiveAnnotation_Action interface {
  1931. isConsumerApplication_InteractiveAnnotation_Action()
  1932. }
  1933. type ConsumerApplication_InteractiveAnnotation_Location struct {
  1934. Location *ConsumerApplication_Location `protobuf:"bytes,2,opt,name=location,oneof"`
  1935. }
  1936. func (*ConsumerApplication_InteractiveAnnotation_Location) isConsumerApplication_InteractiveAnnotation_Action() {
  1937. }
  1938. type ConsumerApplication_Point struct {
  1939. state protoimpl.MessageState `protogen:"open.v1"`
  1940. X *float64 `protobuf:"fixed64,1,opt,name=x" json:"x,omitempty"`
  1941. Y *float64 `protobuf:"fixed64,2,opt,name=y" json:"y,omitempty"`
  1942. unknownFields protoimpl.UnknownFields
  1943. sizeCache protoimpl.SizeCache
  1944. }
  1945. func (x *ConsumerApplication_Point) Reset() {
  1946. *x = ConsumerApplication_Point{}
  1947. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[30]
  1948. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1949. ms.StoreMessageInfo(mi)
  1950. }
  1951. func (x *ConsumerApplication_Point) String() string {
  1952. return protoimpl.X.MessageStringOf(x)
  1953. }
  1954. func (*ConsumerApplication_Point) ProtoMessage() {}
  1955. func (x *ConsumerApplication_Point) ProtoReflect() protoreflect.Message {
  1956. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[30]
  1957. if x != nil {
  1958. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1959. if ms.LoadMessageInfo() == nil {
  1960. ms.StoreMessageInfo(mi)
  1961. }
  1962. return ms
  1963. }
  1964. return mi.MessageOf(x)
  1965. }
  1966. // Deprecated: Use ConsumerApplication_Point.ProtoReflect.Descriptor instead.
  1967. func (*ConsumerApplication_Point) Descriptor() ([]byte, []int) {
  1968. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 29}
  1969. }
  1970. func (x *ConsumerApplication_Point) GetX() float64 {
  1971. if x != nil && x.X != nil {
  1972. return *x.X
  1973. }
  1974. return 0
  1975. }
  1976. func (x *ConsumerApplication_Point) GetY() float64 {
  1977. if x != nil && x.Y != nil {
  1978. return *x.Y
  1979. }
  1980. return 0
  1981. }
  1982. type ConsumerApplication_Location struct {
  1983. state protoimpl.MessageState `protogen:"open.v1"`
  1984. DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"`
  1985. DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"`
  1986. Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
  1987. unknownFields protoimpl.UnknownFields
  1988. sizeCache protoimpl.SizeCache
  1989. }
  1990. func (x *ConsumerApplication_Location) Reset() {
  1991. *x = ConsumerApplication_Location{}
  1992. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[31]
  1993. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1994. ms.StoreMessageInfo(mi)
  1995. }
  1996. func (x *ConsumerApplication_Location) String() string {
  1997. return protoimpl.X.MessageStringOf(x)
  1998. }
  1999. func (*ConsumerApplication_Location) ProtoMessage() {}
  2000. func (x *ConsumerApplication_Location) ProtoReflect() protoreflect.Message {
  2001. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[31]
  2002. if x != nil {
  2003. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2004. if ms.LoadMessageInfo() == nil {
  2005. ms.StoreMessageInfo(mi)
  2006. }
  2007. return ms
  2008. }
  2009. return mi.MessageOf(x)
  2010. }
  2011. // Deprecated: Use ConsumerApplication_Location.ProtoReflect.Descriptor instead.
  2012. func (*ConsumerApplication_Location) Descriptor() ([]byte, []int) {
  2013. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 30}
  2014. }
  2015. func (x *ConsumerApplication_Location) GetDegreesLatitude() float64 {
  2016. if x != nil && x.DegreesLatitude != nil {
  2017. return *x.DegreesLatitude
  2018. }
  2019. return 0
  2020. }
  2021. func (x *ConsumerApplication_Location) GetDegreesLongitude() float64 {
  2022. if x != nil && x.DegreesLongitude != nil {
  2023. return *x.DegreesLongitude
  2024. }
  2025. return 0
  2026. }
  2027. func (x *ConsumerApplication_Location) GetName() string {
  2028. if x != nil && x.Name != nil {
  2029. return *x.Name
  2030. }
  2031. return ""
  2032. }
  2033. type ConsumerApplication_MediaPayload struct {
  2034. state protoimpl.MessageState `protogen:"open.v1"`
  2035. Protocol *waCommonParameterised.SubProtocol `protobuf:"bytes,1,opt,name=protocol" json:"protocol,omitempty"`
  2036. unknownFields protoimpl.UnknownFields
  2037. sizeCache protoimpl.SizeCache
  2038. }
  2039. func (x *ConsumerApplication_MediaPayload) Reset() {
  2040. *x = ConsumerApplication_MediaPayload{}
  2041. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[32]
  2042. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2043. ms.StoreMessageInfo(mi)
  2044. }
  2045. func (x *ConsumerApplication_MediaPayload) String() string {
  2046. return protoimpl.X.MessageStringOf(x)
  2047. }
  2048. func (*ConsumerApplication_MediaPayload) ProtoMessage() {}
  2049. func (x *ConsumerApplication_MediaPayload) ProtoReflect() protoreflect.Message {
  2050. mi := &file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[32]
  2051. if x != nil {
  2052. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2053. if ms.LoadMessageInfo() == nil {
  2054. ms.StoreMessageInfo(mi)
  2055. }
  2056. return ms
  2057. }
  2058. return mi.MessageOf(x)
  2059. }
  2060. // Deprecated: Use ConsumerApplication_MediaPayload.ProtoReflect.Descriptor instead.
  2061. func (*ConsumerApplication_MediaPayload) Descriptor() ([]byte, []int) {
  2062. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP(), []int{0, 31}
  2063. }
  2064. func (x *ConsumerApplication_MediaPayload) GetProtocol() *waCommonParameterised.SubProtocol {
  2065. if x != nil {
  2066. return x.Protocol
  2067. }
  2068. return nil
  2069. }
  2070. var File_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto protoreflect.FileDescriptor
  2071. const file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDesc = "" +
  2072. "\n" +
  2073. "KwaConsumerApplicationParameterised/WAConsumerApplicationParameterised.proto\x12\"WAConsumerApplicationParameterised\x1a1waCommonParameterised/WACommonParameterised.proto\"\xa1<\n" +
  2074. "\x13ConsumerApplication\x12Y\n" +
  2075. "\apayload\x18\x01 \x01(\v2?.WAConsumerApplicationParameterised.ConsumerApplication.PayloadR\apayload\x12\\\n" +
  2076. "\bmetadata\x18\x02 \x01(\v2@.WAConsumerApplicationParameterised.ConsumerApplication.MetadataR\bmetadata\x1a\xb0\x03\n" +
  2077. "\aPayload\x12[\n" +
  2078. "\acontent\x18\x01 \x01(\v2?.WAConsumerApplicationParameterised.ConsumerApplication.ContentH\x00R\acontent\x12s\n" +
  2079. "\x0fapplicationData\x18\x02 \x01(\v2G.WAConsumerApplicationParameterised.ConsumerApplication.ApplicationDataH\x00R\x0fapplicationData\x12X\n" +
  2080. "\x06signal\x18\x03 \x01(\v2>.WAConsumerApplicationParameterised.ConsumerApplication.SignalH\x00R\x06signal\x12n\n" +
  2081. "\vsubProtocol\x18\x04 \x01(\v2J.WAConsumerApplicationParameterised.ConsumerApplication.SubProtocolPayloadH\x00R\vsubProtocolB\t\n" +
  2082. "\apayload\x1ab\n" +
  2083. "\x12SubProtocolPayload\x12L\n" +
  2084. "\vfutureProof\x18\x01 \x01(\x0e2*.WACommonParameterised.FutureProofBehaviorR\vfutureProof\x1a\xbb\x01\n" +
  2085. "\bMetadata\x12z\n" +
  2086. "\x0fspecialTextSize\x18\x01 \x01(\x0e2P.WAConsumerApplicationParameterised.ConsumerApplication.Metadata.SpecialTextSizeR\x0fspecialTextSize\"3\n" +
  2087. "\x0fSpecialTextSize\x12\t\n" +
  2088. "\x05SMALL\x10\x01\x12\n" +
  2089. "\n" +
  2090. "\x06MEDIUM\x10\x02\x12\t\n" +
  2091. "\x05LARGE\x10\x03\x1a\b\n" +
  2092. "\x06Signal\x1a\x88\x01\n" +
  2093. "\x0fApplicationData\x12_\n" +
  2094. "\x06revoke\x18\x01 \x01(\v2E.WAConsumerApplicationParameterised.ConsumerApplication.RevokeMessageH\x00R\x06revokeB\x14\n" +
  2095. "\x12applicationContent\x1a\xbc\x10\n" +
  2096. "\aContent\x12F\n" +
  2097. "\vmessageText\x18\x01 \x01(\v2\".WACommonParameterised.MessageTextH\x00R\vmessageText\x12j\n" +
  2098. "\fimageMessage\x18\x02 \x01(\v2D.WAConsumerApplicationParameterised.ConsumerApplication.ImageMessageH\x00R\fimageMessage\x12p\n" +
  2099. "\x0econtactMessage\x18\x03 \x01(\v2F.WAConsumerApplicationParameterised.ConsumerApplication.ContactMessageH\x00R\x0econtactMessage\x12s\n" +
  2100. "\x0flocationMessage\x18\x04 \x01(\v2G.WAConsumerApplicationParameterised.ConsumerApplication.LocationMessageH\x00R\x0flocationMessage\x12\x7f\n" +
  2101. "\x13extendedTextMessage\x18\x05 \x01(\v2K.WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessageH\x00R\x13extendedTextMessage\x12x\n" +
  2102. "\x11statusTextMessage\x18\x06 \x01(\v2H.WAConsumerApplicationParameterised.ConsumerApplication.StatusTextMesageH\x00R\x11statusTextMessage\x12s\n" +
  2103. "\x0fdocumentMessage\x18\a \x01(\v2G.WAConsumerApplicationParameterised.ConsumerApplication.DocumentMessageH\x00R\x0fdocumentMessage\x12j\n" +
  2104. "\faudioMessage\x18\b \x01(\v2D.WAConsumerApplicationParameterised.ConsumerApplication.AudioMessageH\x00R\faudioMessage\x12j\n" +
  2105. "\fvideoMessage\x18\t \x01(\v2D.WAConsumerApplicationParameterised.ConsumerApplication.VideoMessageH\x00R\fvideoMessage\x12\x82\x01\n" +
  2106. "\x14contactsArrayMessage\x18\n" +
  2107. " \x01(\v2L.WAConsumerApplicationParameterised.ConsumerApplication.ContactsArrayMessageH\x00R\x14contactsArrayMessage\x12\x7f\n" +
  2108. "\x13liveLocationMessage\x18\v \x01(\v2K.WAConsumerApplicationParameterised.ConsumerApplication.LiveLocationMessageH\x00R\x13liveLocationMessage\x12p\n" +
  2109. "\x0estickerMessage\x18\f \x01(\v2F.WAConsumerApplicationParameterised.ConsumerApplication.StickerMessageH\x00R\x0estickerMessage\x12|\n" +
  2110. "\x12groupInviteMessage\x18\r \x01(\v2J.WAConsumerApplicationParameterised.ConsumerApplication.GroupInviteMessageH\x00R\x12groupInviteMessage\x12s\n" +
  2111. "\x0fviewOnceMessage\x18\x0e \x01(\v2G.WAConsumerApplicationParameterised.ConsumerApplication.ViewOnceMessageH\x00R\x0fviewOnceMessage\x12s\n" +
  2112. "\x0freactionMessage\x18\x10 \x01(\v2G.WAConsumerApplicationParameterised.ConsumerApplication.ReactionMessageH\x00R\x0freactionMessage\x12\x7f\n" +
  2113. "\x13pollCreationMessage\x18\x11 \x01(\v2K.WAConsumerApplicationParameterised.ConsumerApplication.PollCreationMessageH\x00R\x13pollCreationMessage\x12y\n" +
  2114. "\x11pollUpdateMessage\x18\x12 \x01(\v2I.WAConsumerApplicationParameterised.ConsumerApplication.PollUpdateMessageH\x00R\x11pollUpdateMessage\x12g\n" +
  2115. "\veditMessage\x18\x13 \x01(\v2C.WAConsumerApplicationParameterised.ConsumerApplication.EditMessageH\x00R\veditMessageB\t\n" +
  2116. "\acontent\x1a\xa2\x01\n" +
  2117. "\vEditMessage\x123\n" +
  2118. "\x03key\x18\x01 \x01(\v2!.WACommonParameterised.MessageKeyR\x03key\x12<\n" +
  2119. "\amessage\x18\x02 \x01(\v2\".WACommonParameterised.MessageTextR\amessage\x12 \n" +
  2120. "\vtimestampMS\x18\x03 \x01(\x03R\vtimestampMS\x1av\n" +
  2121. "\x14PollAddOptionMessage\x12^\n" +
  2122. "\n" +
  2123. "pollOption\x18\x01 \x03(\v2>.WAConsumerApplicationParameterised.ConsumerApplication.OptionR\n" +
  2124. "pollOption\x1ai\n" +
  2125. "\x0fPollVoteMessage\x12(\n" +
  2126. "\x0fselectedOptions\x18\x01 \x03(\fR\x0fselectedOptions\x12,\n" +
  2127. "\x11senderTimestampMS\x18\x02 \x01(\x03R\x11senderTimestampMS\x1aD\n" +
  2128. "\fPollEncValue\x12\x1e\n" +
  2129. "\n" +
  2130. "encPayload\x18\x01 \x01(\fR\n" +
  2131. "encPayload\x12\x14\n" +
  2132. "\x05encIV\x18\x02 \x01(\fR\x05encIV\x1a\xac\x02\n" +
  2133. "\x11PollUpdateMessage\x12Y\n" +
  2134. "\x16pollCreationMessageKey\x18\x01 \x01(\v2!.WACommonParameterised.MessageKeyR\x16pollCreationMessageKey\x12X\n" +
  2135. "\x04vote\x18\x02 \x01(\v2D.WAConsumerApplicationParameterised.ConsumerApplication.PollEncValueR\x04vote\x12b\n" +
  2136. "\taddOption\x18\x03 \x01(\v2D.WAConsumerApplicationParameterised.ConsumerApplication.PollEncValueR\taddOption\x1a\xd3\x01\n" +
  2137. "\x13PollCreationMessage\x12\x16\n" +
  2138. "\x06encKey\x18\x01 \x01(\fR\x06encKey\x12\x12\n" +
  2139. "\x04name\x18\x02 \x01(\tR\x04name\x12X\n" +
  2140. "\aoptions\x18\x03 \x03(\v2>.WAConsumerApplicationParameterised.ConsumerApplication.OptionR\aoptions\x126\n" +
  2141. "\x16selectableOptionsCount\x18\x04 \x01(\rR\x16selectableOptionsCount\x1a(\n" +
  2142. "\x06Option\x12\x1e\n" +
  2143. "\n" +
  2144. "optionName\x18\x01 \x01(\tR\n" +
  2145. "optionName\x1a\x86\x02\n" +
  2146. "\x0fReactionMessage\x123\n" +
  2147. "\x03key\x18\x01 \x01(\v2!.WACommonParameterised.MessageKeyR\x03key\x12\x12\n" +
  2148. "\x04text\x18\x02 \x01(\tR\x04text\x12 \n" +
  2149. "\vgroupingKey\x18\x03 \x01(\tR\vgroupingKey\x12,\n" +
  2150. "\x11senderTimestampMS\x18\x04 \x01(\x03R\x11senderTimestampMS\x12D\n" +
  2151. "\x1dreactionMetadataDataclassData\x18\x05 \x01(\tR\x1dreactionMetadataDataclassData\x12\x14\n" +
  2152. "\x05style\x18\x06 \x01(\x05R\x05style\x1aD\n" +
  2153. "\rRevokeMessage\x123\n" +
  2154. "\x03key\x18\x01 \x01(\v2!.WACommonParameterised.MessageKeyR\x03key\x1a\xfc\x01\n" +
  2155. "\x0fViewOnceMessage\x12j\n" +
  2156. "\fimageMessage\x18\x01 \x01(\v2D.WAConsumerApplicationParameterised.ConsumerApplication.ImageMessageH\x00R\fimageMessage\x12j\n" +
  2157. "\fvideoMessage\x18\x02 \x01(\v2D.WAConsumerApplicationParameterised.ConsumerApplication.VideoMessageH\x00R\fvideoMessageB\x11\n" +
  2158. "\x0fviewOnceContent\x1a\xfe\x01\n" +
  2159. "\x12GroupInviteMessage\x12\x1a\n" +
  2160. "\bgroupJID\x18\x01 \x01(\tR\bgroupJID\x12\x1e\n" +
  2161. "\n" +
  2162. "inviteCode\x18\x02 \x01(\tR\n" +
  2163. "inviteCode\x12*\n" +
  2164. "\x10inviteExpiration\x18\x03 \x01(\x03R\x10inviteExpiration\x12\x1c\n" +
  2165. "\tgroupName\x18\x04 \x01(\tR\tgroupName\x12$\n" +
  2166. "\rJPEGThumbnail\x18\x05 \x01(\fR\rJPEGThumbnail\x12<\n" +
  2167. "\acaption\x18\x06 \x01(\v2\".WACommonParameterised.MessageTextR\acaption\x1a\x93\x03\n" +
  2168. "\x13LiveLocationMessage\x12\\\n" +
  2169. "\blocation\x18\x01 \x01(\v2@.WAConsumerApplicationParameterised.ConsumerApplication.LocationR\blocation\x12*\n" +
  2170. "\x10accuracyInMeters\x18\x02 \x01(\rR\x10accuracyInMeters\x12\x1e\n" +
  2171. "\n" +
  2172. "speedInMps\x18\x03 \x01(\x02R\n" +
  2173. "speedInMps\x12L\n" +
  2174. "!degreesClockwiseFromMagneticNorth\x18\x04 \x01(\rR!degreesClockwiseFromMagneticNorth\x12<\n" +
  2175. "\acaption\x18\x05 \x01(\v2\".WACommonParameterised.MessageTextR\acaption\x12&\n" +
  2176. "\x0esequenceNumber\x18\x06 \x01(\x03R\x0esequenceNumber\x12\x1e\n" +
  2177. "\n" +
  2178. "timeOffset\x18\a \x01(\rR\n" +
  2179. "timeOffset\x1a\x9c\x01\n" +
  2180. "\x14ContactsArrayMessage\x12 \n" +
  2181. "\vdisplayName\x18\x01 \x01(\tR\vdisplayName\x12b\n" +
  2182. "\bcontacts\x18\x02 \x03(\v2F.WAConsumerApplicationParameterised.ConsumerApplication.ContactMessageR\bcontacts\x1aN\n" +
  2183. "\x0eContactMessage\x12<\n" +
  2184. "\acontact\x18\x01 \x01(\v2\".WACommonParameterised.SubProtocolR\acontact\x1a\x96\x03\n" +
  2185. "\x10StatusTextMesage\x12_\n" +
  2186. "\x04text\x18\x01 \x01(\v2K.WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessageR\x04text\x12\x1a\n" +
  2187. "\btextArgb\x18\x06 \x01(\aR\btextArgb\x12&\n" +
  2188. "\x0ebackgroundArgb\x18\a \x01(\aR\x0ebackgroundArgb\x12e\n" +
  2189. "\x04font\x18\b \x01(\x0e2Q.WAConsumerApplicationParameterised.ConsumerApplication.StatusTextMesage.FontTypeR\x04font\"v\n" +
  2190. "\bFontType\x12\x0e\n" +
  2191. "\n" +
  2192. "SANS_SERIF\x10\x00\x12\t\n" +
  2193. "\x05SERIF\x10\x01\x12\x13\n" +
  2194. "\x0fNORICAN_REGULAR\x10\x02\x12\x11\n" +
  2195. "\rBRYNDAN_WRITE\x10\x03\x12\x15\n" +
  2196. "\x11BEBASNEUE_REGULAR\x10\x04\x12\x10\n" +
  2197. "\fOSWALD_HEAVY\x10\x05\x1a\xac\x03\n" +
  2198. "\x13ExtendedTextMessage\x126\n" +
  2199. "\x04text\x18\x01 \x01(\v2\".WACommonParameterised.MessageTextR\x04text\x12 \n" +
  2200. "\vmatchedText\x18\x02 \x01(\tR\vmatchedText\x12\"\n" +
  2201. "\fcanonicalURL\x18\x03 \x01(\tR\fcanonicalURL\x12 \n" +
  2202. "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x14\n" +
  2203. "\x05title\x18\x05 \x01(\tR\x05title\x12@\n" +
  2204. "\tthumbnail\x18\x06 \x01(\v2\".WACommonParameterised.SubProtocolR\tthumbnail\x12y\n" +
  2205. "\vpreviewType\x18\a \x01(\x0e2W.WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessage.PreviewTypeR\vpreviewType\"\"\n" +
  2206. "\vPreviewType\x12\b\n" +
  2207. "\x04NONE\x10\x00\x12\t\n" +
  2208. "\x05VIDEO\x10\x01\x1a\x89\x01\n" +
  2209. "\x0fLocationMessage\x12\\\n" +
  2210. "\blocation\x18\x01 \x01(\v2@.WAConsumerApplicationParameterised.ConsumerApplication.LocationR\blocation\x12\x18\n" +
  2211. "\aaddress\x18\x02 \x01(\tR\aaddress\x1aN\n" +
  2212. "\x0eStickerMessage\x12<\n" +
  2213. "\asticker\x18\x01 \x01(\v2\".WACommonParameterised.SubProtocolR\asticker\x1am\n" +
  2214. "\x0fDocumentMessage\x12>\n" +
  2215. "\bdocument\x18\x01 \x01(\v2\".WACommonParameterised.SubProtocolR\bdocument\x12\x1a\n" +
  2216. "\bfileName\x18\x02 \x01(\tR\bfileName\x1a\x86\x01\n" +
  2217. "\fVideoMessage\x128\n" +
  2218. "\x05video\x18\x01 \x01(\v2\".WACommonParameterised.SubProtocolR\x05video\x12<\n" +
  2219. "\acaption\x18\x02 \x01(\v2\".WACommonParameterised.MessageTextR\acaption\x1aZ\n" +
  2220. "\fAudioMessage\x128\n" +
  2221. "\x05audio\x18\x01 \x01(\v2\".WACommonParameterised.SubProtocolR\x05audio\x12\x10\n" +
  2222. "\x03PTT\x18\x02 \x01(\bR\x03PTT\x1a\x86\x01\n" +
  2223. "\fImageMessage\x128\n" +
  2224. "\x05image\x18\x01 \x01(\v2\".WACommonParameterised.SubProtocolR\x05image\x12<\n" +
  2225. "\acaption\x18\x02 \x01(\v2\".WACommonParameterised.MessageTextR\acaption\x1a\xea\x01\n" +
  2226. "\x15InteractiveAnnotation\x12^\n" +
  2227. "\blocation\x18\x02 \x01(\v2@.WAConsumerApplicationParameterised.ConsumerApplication.LocationH\x00R\blocation\x12g\n" +
  2228. "\x0fpolygonVertices\x18\x01 \x03(\v2=.WAConsumerApplicationParameterised.ConsumerApplication.PointR\x0fpolygonVerticesB\b\n" +
  2229. "\x06action\x1a#\n" +
  2230. "\x05Point\x12\f\n" +
  2231. "\x01x\x18\x01 \x01(\x01R\x01x\x12\f\n" +
  2232. "\x01y\x18\x02 \x01(\x01R\x01y\x1at\n" +
  2233. "\bLocation\x12(\n" +
  2234. "\x0fdegreesLatitude\x18\x01 \x01(\x01R\x0fdegreesLatitude\x12*\n" +
  2235. "\x10degreesLongitude\x18\x02 \x01(\x01R\x10degreesLongitude\x12\x12\n" +
  2236. "\x04name\x18\x03 \x01(\tR\x04name\x1aN\n" +
  2237. "\fMediaPayload\x12>\n" +
  2238. "\bprotocol\x18\x01 \x01(\v2\".WACommonParameterised.SubProtocolR\bprotocolB>Z<git.bobomao.top/joey/testwh/proto/waConsumerApplicationParameterised"
  2239. var (
  2240. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescOnce sync.Once
  2241. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescData []byte
  2242. )
  2243. func file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescGZIP() []byte {
  2244. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescOnce.Do(func() {
  2245. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDesc), len(file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDesc)))
  2246. })
  2247. return file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDescData
  2248. }
  2249. var file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
  2250. var file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes = make([]protoimpl.MessageInfo, 33)
  2251. var file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_goTypes = []any{
  2252. (ConsumerApplication_Metadata_SpecialTextSize)(0), // 0: WAConsumerApplicationParameterised.ConsumerApplication.Metadata.SpecialTextSize
  2253. (ConsumerApplication_StatusTextMesage_FontType)(0), // 1: WAConsumerApplicationParameterised.ConsumerApplication.StatusTextMesage.FontType
  2254. (ConsumerApplication_ExtendedTextMessage_PreviewType)(0), // 2: WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessage.PreviewType
  2255. (*ConsumerApplication)(nil), // 3: WAConsumerApplicationParameterised.ConsumerApplication
  2256. (*ConsumerApplication_Payload)(nil), // 4: WAConsumerApplicationParameterised.ConsumerApplication.Payload
  2257. (*ConsumerApplication_SubProtocolPayload)(nil), // 5: WAConsumerApplicationParameterised.ConsumerApplication.SubProtocolPayload
  2258. (*ConsumerApplication_Metadata)(nil), // 6: WAConsumerApplicationParameterised.ConsumerApplication.Metadata
  2259. (*ConsumerApplication_Signal)(nil), // 7: WAConsumerApplicationParameterised.ConsumerApplication.Signal
  2260. (*ConsumerApplication_ApplicationData)(nil), // 8: WAConsumerApplicationParameterised.ConsumerApplication.ApplicationData
  2261. (*ConsumerApplication_Content)(nil), // 9: WAConsumerApplicationParameterised.ConsumerApplication.Content
  2262. (*ConsumerApplication_EditMessage)(nil), // 10: WAConsumerApplicationParameterised.ConsumerApplication.EditMessage
  2263. (*ConsumerApplication_PollAddOptionMessage)(nil), // 11: WAConsumerApplicationParameterised.ConsumerApplication.PollAddOptionMessage
  2264. (*ConsumerApplication_PollVoteMessage)(nil), // 12: WAConsumerApplicationParameterised.ConsumerApplication.PollVoteMessage
  2265. (*ConsumerApplication_PollEncValue)(nil), // 13: WAConsumerApplicationParameterised.ConsumerApplication.PollEncValue
  2266. (*ConsumerApplication_PollUpdateMessage)(nil), // 14: WAConsumerApplicationParameterised.ConsumerApplication.PollUpdateMessage
  2267. (*ConsumerApplication_PollCreationMessage)(nil), // 15: WAConsumerApplicationParameterised.ConsumerApplication.PollCreationMessage
  2268. (*ConsumerApplication_Option)(nil), // 16: WAConsumerApplicationParameterised.ConsumerApplication.Option
  2269. (*ConsumerApplication_ReactionMessage)(nil), // 17: WAConsumerApplicationParameterised.ConsumerApplication.ReactionMessage
  2270. (*ConsumerApplication_RevokeMessage)(nil), // 18: WAConsumerApplicationParameterised.ConsumerApplication.RevokeMessage
  2271. (*ConsumerApplication_ViewOnceMessage)(nil), // 19: WAConsumerApplicationParameterised.ConsumerApplication.ViewOnceMessage
  2272. (*ConsumerApplication_GroupInviteMessage)(nil), // 20: WAConsumerApplicationParameterised.ConsumerApplication.GroupInviteMessage
  2273. (*ConsumerApplication_LiveLocationMessage)(nil), // 21: WAConsumerApplicationParameterised.ConsumerApplication.LiveLocationMessage
  2274. (*ConsumerApplication_ContactsArrayMessage)(nil), // 22: WAConsumerApplicationParameterised.ConsumerApplication.ContactsArrayMessage
  2275. (*ConsumerApplication_ContactMessage)(nil), // 23: WAConsumerApplicationParameterised.ConsumerApplication.ContactMessage
  2276. (*ConsumerApplication_StatusTextMesage)(nil), // 24: WAConsumerApplicationParameterised.ConsumerApplication.StatusTextMesage
  2277. (*ConsumerApplication_ExtendedTextMessage)(nil), // 25: WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessage
  2278. (*ConsumerApplication_LocationMessage)(nil), // 26: WAConsumerApplicationParameterised.ConsumerApplication.LocationMessage
  2279. (*ConsumerApplication_StickerMessage)(nil), // 27: WAConsumerApplicationParameterised.ConsumerApplication.StickerMessage
  2280. (*ConsumerApplication_DocumentMessage)(nil), // 28: WAConsumerApplicationParameterised.ConsumerApplication.DocumentMessage
  2281. (*ConsumerApplication_VideoMessage)(nil), // 29: WAConsumerApplicationParameterised.ConsumerApplication.VideoMessage
  2282. (*ConsumerApplication_AudioMessage)(nil), // 30: WAConsumerApplicationParameterised.ConsumerApplication.AudioMessage
  2283. (*ConsumerApplication_ImageMessage)(nil), // 31: WAConsumerApplicationParameterised.ConsumerApplication.ImageMessage
  2284. (*ConsumerApplication_InteractiveAnnotation)(nil), // 32: WAConsumerApplicationParameterised.ConsumerApplication.InteractiveAnnotation
  2285. (*ConsumerApplication_Point)(nil), // 33: WAConsumerApplicationParameterised.ConsumerApplication.Point
  2286. (*ConsumerApplication_Location)(nil), // 34: WAConsumerApplicationParameterised.ConsumerApplication.Location
  2287. (*ConsumerApplication_MediaPayload)(nil), // 35: WAConsumerApplicationParameterised.ConsumerApplication.MediaPayload
  2288. (waCommonParameterised.FutureProofBehavior)(0), // 36: WACommonParameterised.FutureProofBehavior
  2289. (*waCommonParameterised.MessageText)(nil), // 37: WACommonParameterised.MessageText
  2290. (*waCommonParameterised.MessageKey)(nil), // 38: WACommonParameterised.MessageKey
  2291. (*waCommonParameterised.SubProtocol)(nil), // 39: WACommonParameterised.SubProtocol
  2292. }
  2293. var file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_depIdxs = []int32{
  2294. 4, // 0: WAConsumerApplicationParameterised.ConsumerApplication.payload:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Payload
  2295. 6, // 1: WAConsumerApplicationParameterised.ConsumerApplication.metadata:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Metadata
  2296. 9, // 2: WAConsumerApplicationParameterised.ConsumerApplication.Payload.content:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Content
  2297. 8, // 3: WAConsumerApplicationParameterised.ConsumerApplication.Payload.applicationData:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ApplicationData
  2298. 7, // 4: WAConsumerApplicationParameterised.ConsumerApplication.Payload.signal:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Signal
  2299. 5, // 5: WAConsumerApplicationParameterised.ConsumerApplication.Payload.subProtocol:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.SubProtocolPayload
  2300. 36, // 6: WAConsumerApplicationParameterised.ConsumerApplication.SubProtocolPayload.futureProof:type_name -> WACommonParameterised.FutureProofBehavior
  2301. 0, // 7: WAConsumerApplicationParameterised.ConsumerApplication.Metadata.specialTextSize:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Metadata.SpecialTextSize
  2302. 18, // 8: WAConsumerApplicationParameterised.ConsumerApplication.ApplicationData.revoke:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.RevokeMessage
  2303. 37, // 9: WAConsumerApplicationParameterised.ConsumerApplication.Content.messageText:type_name -> WACommonParameterised.MessageText
  2304. 31, // 10: WAConsumerApplicationParameterised.ConsumerApplication.Content.imageMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ImageMessage
  2305. 23, // 11: WAConsumerApplicationParameterised.ConsumerApplication.Content.contactMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ContactMessage
  2306. 26, // 12: WAConsumerApplicationParameterised.ConsumerApplication.Content.locationMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.LocationMessage
  2307. 25, // 13: WAConsumerApplicationParameterised.ConsumerApplication.Content.extendedTextMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessage
  2308. 24, // 14: WAConsumerApplicationParameterised.ConsumerApplication.Content.statusTextMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.StatusTextMesage
  2309. 28, // 15: WAConsumerApplicationParameterised.ConsumerApplication.Content.documentMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.DocumentMessage
  2310. 30, // 16: WAConsumerApplicationParameterised.ConsumerApplication.Content.audioMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.AudioMessage
  2311. 29, // 17: WAConsumerApplicationParameterised.ConsumerApplication.Content.videoMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.VideoMessage
  2312. 22, // 18: WAConsumerApplicationParameterised.ConsumerApplication.Content.contactsArrayMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ContactsArrayMessage
  2313. 21, // 19: WAConsumerApplicationParameterised.ConsumerApplication.Content.liveLocationMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.LiveLocationMessage
  2314. 27, // 20: WAConsumerApplicationParameterised.ConsumerApplication.Content.stickerMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.StickerMessage
  2315. 20, // 21: WAConsumerApplicationParameterised.ConsumerApplication.Content.groupInviteMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.GroupInviteMessage
  2316. 19, // 22: WAConsumerApplicationParameterised.ConsumerApplication.Content.viewOnceMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ViewOnceMessage
  2317. 17, // 23: WAConsumerApplicationParameterised.ConsumerApplication.Content.reactionMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ReactionMessage
  2318. 15, // 24: WAConsumerApplicationParameterised.ConsumerApplication.Content.pollCreationMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.PollCreationMessage
  2319. 14, // 25: WAConsumerApplicationParameterised.ConsumerApplication.Content.pollUpdateMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.PollUpdateMessage
  2320. 10, // 26: WAConsumerApplicationParameterised.ConsumerApplication.Content.editMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.EditMessage
  2321. 38, // 27: WAConsumerApplicationParameterised.ConsumerApplication.EditMessage.key:type_name -> WACommonParameterised.MessageKey
  2322. 37, // 28: WAConsumerApplicationParameterised.ConsumerApplication.EditMessage.message:type_name -> WACommonParameterised.MessageText
  2323. 16, // 29: WAConsumerApplicationParameterised.ConsumerApplication.PollAddOptionMessage.pollOption:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Option
  2324. 38, // 30: WAConsumerApplicationParameterised.ConsumerApplication.PollUpdateMessage.pollCreationMessageKey:type_name -> WACommonParameterised.MessageKey
  2325. 13, // 31: WAConsumerApplicationParameterised.ConsumerApplication.PollUpdateMessage.vote:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.PollEncValue
  2326. 13, // 32: WAConsumerApplicationParameterised.ConsumerApplication.PollUpdateMessage.addOption:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.PollEncValue
  2327. 16, // 33: WAConsumerApplicationParameterised.ConsumerApplication.PollCreationMessage.options:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Option
  2328. 38, // 34: WAConsumerApplicationParameterised.ConsumerApplication.ReactionMessage.key:type_name -> WACommonParameterised.MessageKey
  2329. 38, // 35: WAConsumerApplicationParameterised.ConsumerApplication.RevokeMessage.key:type_name -> WACommonParameterised.MessageKey
  2330. 31, // 36: WAConsumerApplicationParameterised.ConsumerApplication.ViewOnceMessage.imageMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ImageMessage
  2331. 29, // 37: WAConsumerApplicationParameterised.ConsumerApplication.ViewOnceMessage.videoMessage:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.VideoMessage
  2332. 37, // 38: WAConsumerApplicationParameterised.ConsumerApplication.GroupInviteMessage.caption:type_name -> WACommonParameterised.MessageText
  2333. 34, // 39: WAConsumerApplicationParameterised.ConsumerApplication.LiveLocationMessage.location:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Location
  2334. 37, // 40: WAConsumerApplicationParameterised.ConsumerApplication.LiveLocationMessage.caption:type_name -> WACommonParameterised.MessageText
  2335. 23, // 41: WAConsumerApplicationParameterised.ConsumerApplication.ContactsArrayMessage.contacts:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ContactMessage
  2336. 39, // 42: WAConsumerApplicationParameterised.ConsumerApplication.ContactMessage.contact:type_name -> WACommonParameterised.SubProtocol
  2337. 25, // 43: WAConsumerApplicationParameterised.ConsumerApplication.StatusTextMesage.text:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessage
  2338. 1, // 44: WAConsumerApplicationParameterised.ConsumerApplication.StatusTextMesage.font:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.StatusTextMesage.FontType
  2339. 37, // 45: WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessage.text:type_name -> WACommonParameterised.MessageText
  2340. 39, // 46: WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessage.thumbnail:type_name -> WACommonParameterised.SubProtocol
  2341. 2, // 47: WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessage.previewType:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.ExtendedTextMessage.PreviewType
  2342. 34, // 48: WAConsumerApplicationParameterised.ConsumerApplication.LocationMessage.location:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Location
  2343. 39, // 49: WAConsumerApplicationParameterised.ConsumerApplication.StickerMessage.sticker:type_name -> WACommonParameterised.SubProtocol
  2344. 39, // 50: WAConsumerApplicationParameterised.ConsumerApplication.DocumentMessage.document:type_name -> WACommonParameterised.SubProtocol
  2345. 39, // 51: WAConsumerApplicationParameterised.ConsumerApplication.VideoMessage.video:type_name -> WACommonParameterised.SubProtocol
  2346. 37, // 52: WAConsumerApplicationParameterised.ConsumerApplication.VideoMessage.caption:type_name -> WACommonParameterised.MessageText
  2347. 39, // 53: WAConsumerApplicationParameterised.ConsumerApplication.AudioMessage.audio:type_name -> WACommonParameterised.SubProtocol
  2348. 39, // 54: WAConsumerApplicationParameterised.ConsumerApplication.ImageMessage.image:type_name -> WACommonParameterised.SubProtocol
  2349. 37, // 55: WAConsumerApplicationParameterised.ConsumerApplication.ImageMessage.caption:type_name -> WACommonParameterised.MessageText
  2350. 34, // 56: WAConsumerApplicationParameterised.ConsumerApplication.InteractiveAnnotation.location:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Location
  2351. 33, // 57: WAConsumerApplicationParameterised.ConsumerApplication.InteractiveAnnotation.polygonVertices:type_name -> WAConsumerApplicationParameterised.ConsumerApplication.Point
  2352. 39, // 58: WAConsumerApplicationParameterised.ConsumerApplication.MediaPayload.protocol:type_name -> WACommonParameterised.SubProtocol
  2353. 59, // [59:59] is the sub-list for method output_type
  2354. 59, // [59:59] is the sub-list for method input_type
  2355. 59, // [59:59] is the sub-list for extension type_name
  2356. 59, // [59:59] is the sub-list for extension extendee
  2357. 0, // [0:59] is the sub-list for field type_name
  2358. }
  2359. func init() { file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_init() }
  2360. func file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_init() {
  2361. if File_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto != nil {
  2362. return
  2363. }
  2364. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[1].OneofWrappers = []any{
  2365. (*ConsumerApplication_Payload_Content)(nil),
  2366. (*ConsumerApplication_Payload_ApplicationData)(nil),
  2367. (*ConsumerApplication_Payload_Signal)(nil),
  2368. (*ConsumerApplication_Payload_SubProtocol)(nil),
  2369. }
  2370. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[5].OneofWrappers = []any{
  2371. (*ConsumerApplication_ApplicationData_Revoke)(nil),
  2372. }
  2373. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[6].OneofWrappers = []any{
  2374. (*ConsumerApplication_Content_MessageText)(nil),
  2375. (*ConsumerApplication_Content_ImageMessage)(nil),
  2376. (*ConsumerApplication_Content_ContactMessage)(nil),
  2377. (*ConsumerApplication_Content_LocationMessage)(nil),
  2378. (*ConsumerApplication_Content_ExtendedTextMessage)(nil),
  2379. (*ConsumerApplication_Content_StatusTextMessage)(nil),
  2380. (*ConsumerApplication_Content_DocumentMessage)(nil),
  2381. (*ConsumerApplication_Content_AudioMessage)(nil),
  2382. (*ConsumerApplication_Content_VideoMessage)(nil),
  2383. (*ConsumerApplication_Content_ContactsArrayMessage)(nil),
  2384. (*ConsumerApplication_Content_LiveLocationMessage)(nil),
  2385. (*ConsumerApplication_Content_StickerMessage)(nil),
  2386. (*ConsumerApplication_Content_GroupInviteMessage)(nil),
  2387. (*ConsumerApplication_Content_ViewOnceMessage)(nil),
  2388. (*ConsumerApplication_Content_ReactionMessage)(nil),
  2389. (*ConsumerApplication_Content_PollCreationMessage)(nil),
  2390. (*ConsumerApplication_Content_PollUpdateMessage)(nil),
  2391. (*ConsumerApplication_Content_EditMessage)(nil),
  2392. }
  2393. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[16].OneofWrappers = []any{
  2394. (*ConsumerApplication_ViewOnceMessage_ImageMessage)(nil),
  2395. (*ConsumerApplication_ViewOnceMessage_VideoMessage)(nil),
  2396. }
  2397. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes[29].OneofWrappers = []any{
  2398. (*ConsumerApplication_InteractiveAnnotation_Location)(nil),
  2399. }
  2400. type x struct{}
  2401. out := protoimpl.TypeBuilder{
  2402. File: protoimpl.DescBuilder{
  2403. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2404. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDesc), len(file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_rawDesc)),
  2405. NumEnums: 3,
  2406. NumMessages: 33,
  2407. NumExtensions: 0,
  2408. NumServices: 0,
  2409. },
  2410. GoTypes: file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_goTypes,
  2411. DependencyIndexes: file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_depIdxs,
  2412. EnumInfos: file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_enumTypes,
  2413. MessageInfos: file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_msgTypes,
  2414. }.Build()
  2415. File_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto = out.File
  2416. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_goTypes = nil
  2417. file_waConsumerApplicationParameterised_WAConsumerApplicationParameterised_proto_depIdxs = nil
  2418. }