| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v6.31.1
- // source: waConsumerApplication/WAConsumerApplication.proto
- package waConsumerApplication
- import (
- waCommon "git.bobomao.top/joey/whatsmeow/proto/waCommon"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type ConsumerApplication_Metadata_SpecialTextSize int32
- const (
- ConsumerApplication_Metadata_SMALL ConsumerApplication_Metadata_SpecialTextSize = 1
- ConsumerApplication_Metadata_MEDIUM ConsumerApplication_Metadata_SpecialTextSize = 2
- ConsumerApplication_Metadata_LARGE ConsumerApplication_Metadata_SpecialTextSize = 3
- )
- // Enum value maps for ConsumerApplication_Metadata_SpecialTextSize.
- var (
- ConsumerApplication_Metadata_SpecialTextSize_name = map[int32]string{
- 1: "SMALL",
- 2: "MEDIUM",
- 3: "LARGE",
- }
- ConsumerApplication_Metadata_SpecialTextSize_value = map[string]int32{
- "SMALL": 1,
- "MEDIUM": 2,
- "LARGE": 3,
- }
- )
- func (x ConsumerApplication_Metadata_SpecialTextSize) Enum() *ConsumerApplication_Metadata_SpecialTextSize {
- p := new(ConsumerApplication_Metadata_SpecialTextSize)
- *p = x
- return p
- }
- func (x ConsumerApplication_Metadata_SpecialTextSize) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ConsumerApplication_Metadata_SpecialTextSize) Descriptor() protoreflect.EnumDescriptor {
- return file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[0].Descriptor()
- }
- func (ConsumerApplication_Metadata_SpecialTextSize) Type() protoreflect.EnumType {
- return &file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[0]
- }
- func (x ConsumerApplication_Metadata_SpecialTextSize) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Do not use.
- func (x *ConsumerApplication_Metadata_SpecialTextSize) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = ConsumerApplication_Metadata_SpecialTextSize(num)
- return nil
- }
- // Deprecated: Use ConsumerApplication_Metadata_SpecialTextSize.Descriptor instead.
- func (ConsumerApplication_Metadata_SpecialTextSize) EnumDescriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 2, 0}
- }
- type ConsumerApplication_StatusTextMesage_FontType int32
- const (
- ConsumerApplication_StatusTextMesage_SANS_SERIF ConsumerApplication_StatusTextMesage_FontType = 0
- ConsumerApplication_StatusTextMesage_SERIF ConsumerApplication_StatusTextMesage_FontType = 1
- ConsumerApplication_StatusTextMesage_NORICAN_REGULAR ConsumerApplication_StatusTextMesage_FontType = 2
- ConsumerApplication_StatusTextMesage_BRYNDAN_WRITE ConsumerApplication_StatusTextMesage_FontType = 3
- ConsumerApplication_StatusTextMesage_BEBASNEUE_REGULAR ConsumerApplication_StatusTextMesage_FontType = 4
- ConsumerApplication_StatusTextMesage_OSWALD_HEAVY ConsumerApplication_StatusTextMesage_FontType = 5
- )
- // Enum value maps for ConsumerApplication_StatusTextMesage_FontType.
- var (
- ConsumerApplication_StatusTextMesage_FontType_name = map[int32]string{
- 0: "SANS_SERIF",
- 1: "SERIF",
- 2: "NORICAN_REGULAR",
- 3: "BRYNDAN_WRITE",
- 4: "BEBASNEUE_REGULAR",
- 5: "OSWALD_HEAVY",
- }
- ConsumerApplication_StatusTextMesage_FontType_value = map[string]int32{
- "SANS_SERIF": 0,
- "SERIF": 1,
- "NORICAN_REGULAR": 2,
- "BRYNDAN_WRITE": 3,
- "BEBASNEUE_REGULAR": 4,
- "OSWALD_HEAVY": 5,
- }
- )
- func (x ConsumerApplication_StatusTextMesage_FontType) Enum() *ConsumerApplication_StatusTextMesage_FontType {
- p := new(ConsumerApplication_StatusTextMesage_FontType)
- *p = x
- return p
- }
- func (x ConsumerApplication_StatusTextMesage_FontType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ConsumerApplication_StatusTextMesage_FontType) Descriptor() protoreflect.EnumDescriptor {
- return file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[1].Descriptor()
- }
- func (ConsumerApplication_StatusTextMesage_FontType) Type() protoreflect.EnumType {
- return &file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[1]
- }
- func (x ConsumerApplication_StatusTextMesage_FontType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Do not use.
- func (x *ConsumerApplication_StatusTextMesage_FontType) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = ConsumerApplication_StatusTextMesage_FontType(num)
- return nil
- }
- // Deprecated: Use ConsumerApplication_StatusTextMesage_FontType.Descriptor instead.
- func (ConsumerApplication_StatusTextMesage_FontType) EnumDescriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 20, 0}
- }
- type ConsumerApplication_ExtendedTextMessage_PreviewType int32
- const (
- ConsumerApplication_ExtendedTextMessage_NONE ConsumerApplication_ExtendedTextMessage_PreviewType = 0
- ConsumerApplication_ExtendedTextMessage_VIDEO ConsumerApplication_ExtendedTextMessage_PreviewType = 1
- )
- // Enum value maps for ConsumerApplication_ExtendedTextMessage_PreviewType.
- var (
- ConsumerApplication_ExtendedTextMessage_PreviewType_name = map[int32]string{
- 0: "NONE",
- 1: "VIDEO",
- }
- ConsumerApplication_ExtendedTextMessage_PreviewType_value = map[string]int32{
- "NONE": 0,
- "VIDEO": 1,
- }
- )
- func (x ConsumerApplication_ExtendedTextMessage_PreviewType) Enum() *ConsumerApplication_ExtendedTextMessage_PreviewType {
- p := new(ConsumerApplication_ExtendedTextMessage_PreviewType)
- *p = x
- return p
- }
- func (x ConsumerApplication_ExtendedTextMessage_PreviewType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ConsumerApplication_ExtendedTextMessage_PreviewType) Descriptor() protoreflect.EnumDescriptor {
- return file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[2].Descriptor()
- }
- func (ConsumerApplication_ExtendedTextMessage_PreviewType) Type() protoreflect.EnumType {
- return &file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[2]
- }
- func (x ConsumerApplication_ExtendedTextMessage_PreviewType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Do not use.
- func (x *ConsumerApplication_ExtendedTextMessage_PreviewType) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = ConsumerApplication_ExtendedTextMessage_PreviewType(num)
- return nil
- }
- // Deprecated: Use ConsumerApplication_ExtendedTextMessage_PreviewType.Descriptor instead.
- func (ConsumerApplication_ExtendedTextMessage_PreviewType) EnumDescriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 21, 0}
- }
- type ConsumerApplication struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Payload *ConsumerApplication_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
- Metadata *ConsumerApplication_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication) Reset() {
- *x = ConsumerApplication{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication) ProtoMessage() {}
- func (x *ConsumerApplication) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0}
- }
- func (x *ConsumerApplication) GetPayload() *ConsumerApplication_Payload {
- if x != nil {
- return x.Payload
- }
- return nil
- }
- func (x *ConsumerApplication) GetMetadata() *ConsumerApplication_Metadata {
- if x != nil {
- return x.Metadata
- }
- return nil
- }
- type ConsumerApplication_Payload struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // Types that are valid to be assigned to Payload:
- //
- // *ConsumerApplication_Payload_Content
- // *ConsumerApplication_Payload_ApplicationData
- // *ConsumerApplication_Payload_Signal
- // *ConsumerApplication_Payload_SubProtocol
- Payload isConsumerApplication_Payload_Payload `protobuf_oneof:"payload"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_Payload) Reset() {
- *x = ConsumerApplication_Payload{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_Payload) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_Payload) ProtoMessage() {}
- func (x *ConsumerApplication_Payload) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_Payload.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_Payload) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 0}
- }
- func (x *ConsumerApplication_Payload) GetPayload() isConsumerApplication_Payload_Payload {
- if x != nil {
- return x.Payload
- }
- return nil
- }
- func (x *ConsumerApplication_Payload) GetContent() *ConsumerApplication_Content {
- if x != nil {
- if x, ok := x.Payload.(*ConsumerApplication_Payload_Content); ok {
- return x.Content
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Payload) GetApplicationData() *ConsumerApplication_ApplicationData {
- if x != nil {
- if x, ok := x.Payload.(*ConsumerApplication_Payload_ApplicationData); ok {
- return x.ApplicationData
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Payload) GetSignal() *ConsumerApplication_Signal {
- if x != nil {
- if x, ok := x.Payload.(*ConsumerApplication_Payload_Signal); ok {
- return x.Signal
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Payload) GetSubProtocol() *ConsumerApplication_SubProtocolPayload {
- if x != nil {
- if x, ok := x.Payload.(*ConsumerApplication_Payload_SubProtocol); ok {
- return x.SubProtocol
- }
- }
- return nil
- }
- type isConsumerApplication_Payload_Payload interface {
- isConsumerApplication_Payload_Payload()
- }
- type ConsumerApplication_Payload_Content struct {
- Content *ConsumerApplication_Content `protobuf:"bytes,1,opt,name=content,oneof"`
- }
- type ConsumerApplication_Payload_ApplicationData struct {
- ApplicationData *ConsumerApplication_ApplicationData `protobuf:"bytes,2,opt,name=applicationData,oneof"`
- }
- type ConsumerApplication_Payload_Signal struct {
- Signal *ConsumerApplication_Signal `protobuf:"bytes,3,opt,name=signal,oneof"`
- }
- type ConsumerApplication_Payload_SubProtocol struct {
- SubProtocol *ConsumerApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,oneof"`
- }
- func (*ConsumerApplication_Payload_Content) isConsumerApplication_Payload_Payload() {}
- func (*ConsumerApplication_Payload_ApplicationData) isConsumerApplication_Payload_Payload() {}
- func (*ConsumerApplication_Payload_Signal) isConsumerApplication_Payload_Payload() {}
- func (*ConsumerApplication_Payload_SubProtocol) isConsumerApplication_Payload_Payload() {}
- type ConsumerApplication_SubProtocolPayload struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- FutureProof *waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_SubProtocolPayload) Reset() {
- *x = ConsumerApplication_SubProtocolPayload{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_SubProtocolPayload) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_SubProtocolPayload) ProtoMessage() {}
- func (x *ConsumerApplication_SubProtocolPayload) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_SubProtocolPayload.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_SubProtocolPayload) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 1}
- }
- func (x *ConsumerApplication_SubProtocolPayload) GetFutureProof() waCommon.FutureProofBehavior {
- if x != nil && x.FutureProof != nil {
- return *x.FutureProof
- }
- return waCommon.FutureProofBehavior(0)
- }
- type ConsumerApplication_Metadata struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- SpecialTextSize *ConsumerApplication_Metadata_SpecialTextSize `protobuf:"varint,1,opt,name=specialTextSize,enum=WAConsumerApplication.ConsumerApplication_Metadata_SpecialTextSize" json:"specialTextSize,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_Metadata) Reset() {
- *x = ConsumerApplication_Metadata{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_Metadata) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_Metadata) ProtoMessage() {}
- func (x *ConsumerApplication_Metadata) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_Metadata.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_Metadata) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 2}
- }
- func (x *ConsumerApplication_Metadata) GetSpecialTextSize() ConsumerApplication_Metadata_SpecialTextSize {
- if x != nil && x.SpecialTextSize != nil {
- return *x.SpecialTextSize
- }
- return ConsumerApplication_Metadata_SMALL
- }
- type ConsumerApplication_Signal struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_Signal) Reset() {
- *x = ConsumerApplication_Signal{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_Signal) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_Signal) ProtoMessage() {}
- func (x *ConsumerApplication_Signal) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_Signal.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_Signal) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 3}
- }
- type ConsumerApplication_ApplicationData struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // Types that are valid to be assigned to ApplicationContent:
- //
- // *ConsumerApplication_ApplicationData_Revoke
- ApplicationContent isConsumerApplication_ApplicationData_ApplicationContent `protobuf_oneof:"applicationContent"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_ApplicationData) Reset() {
- *x = ConsumerApplication_ApplicationData{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_ApplicationData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_ApplicationData) ProtoMessage() {}
- func (x *ConsumerApplication_ApplicationData) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_ApplicationData.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_ApplicationData) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 4}
- }
- func (x *ConsumerApplication_ApplicationData) GetApplicationContent() isConsumerApplication_ApplicationData_ApplicationContent {
- if x != nil {
- return x.ApplicationContent
- }
- return nil
- }
- func (x *ConsumerApplication_ApplicationData) GetRevoke() *ConsumerApplication_RevokeMessage {
- if x != nil {
- if x, ok := x.ApplicationContent.(*ConsumerApplication_ApplicationData_Revoke); ok {
- return x.Revoke
- }
- }
- return nil
- }
- type isConsumerApplication_ApplicationData_ApplicationContent interface {
- isConsumerApplication_ApplicationData_ApplicationContent()
- }
- type ConsumerApplication_ApplicationData_Revoke struct {
- Revoke *ConsumerApplication_RevokeMessage `protobuf:"bytes,1,opt,name=revoke,oneof"`
- }
- func (*ConsumerApplication_ApplicationData_Revoke) isConsumerApplication_ApplicationData_ApplicationContent() {
- }
- type ConsumerApplication_Content struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // Types that are valid to be assigned to Content:
- //
- // *ConsumerApplication_Content_MessageText
- // *ConsumerApplication_Content_ImageMessage
- // *ConsumerApplication_Content_ContactMessage
- // *ConsumerApplication_Content_LocationMessage
- // *ConsumerApplication_Content_ExtendedTextMessage
- // *ConsumerApplication_Content_StatusTextMessage
- // *ConsumerApplication_Content_DocumentMessage
- // *ConsumerApplication_Content_AudioMessage
- // *ConsumerApplication_Content_VideoMessage
- // *ConsumerApplication_Content_ContactsArrayMessage
- // *ConsumerApplication_Content_LiveLocationMessage
- // *ConsumerApplication_Content_StickerMessage
- // *ConsumerApplication_Content_GroupInviteMessage
- // *ConsumerApplication_Content_ViewOnceMessage
- // *ConsumerApplication_Content_ReactionMessage
- // *ConsumerApplication_Content_PollCreationMessage
- // *ConsumerApplication_Content_PollUpdateMessage
- // *ConsumerApplication_Content_EditMessage
- Content isConsumerApplication_Content_Content `protobuf_oneof:"content"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_Content) Reset() {
- *x = ConsumerApplication_Content{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_Content) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_Content) ProtoMessage() {}
- func (x *ConsumerApplication_Content) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_Content.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_Content) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 5}
- }
- func (x *ConsumerApplication_Content) GetContent() isConsumerApplication_Content_Content {
- if x != nil {
- return x.Content
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetMessageText() *waCommon.MessageText {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_MessageText); ok {
- return x.MessageText
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetImageMessage() *ConsumerApplication_ImageMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_ImageMessage); ok {
- return x.ImageMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetContactMessage() *ConsumerApplication_ContactMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_ContactMessage); ok {
- return x.ContactMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetLocationMessage() *ConsumerApplication_LocationMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_LocationMessage); ok {
- return x.LocationMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetExtendedTextMessage() *ConsumerApplication_ExtendedTextMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_ExtendedTextMessage); ok {
- return x.ExtendedTextMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetStatusTextMessage() *ConsumerApplication_StatusTextMesage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_StatusTextMessage); ok {
- return x.StatusTextMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetDocumentMessage() *ConsumerApplication_DocumentMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_DocumentMessage); ok {
- return x.DocumentMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetAudioMessage() *ConsumerApplication_AudioMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_AudioMessage); ok {
- return x.AudioMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetVideoMessage() *ConsumerApplication_VideoMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_VideoMessage); ok {
- return x.VideoMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetContactsArrayMessage() *ConsumerApplication_ContactsArrayMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_ContactsArrayMessage); ok {
- return x.ContactsArrayMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetLiveLocationMessage() *ConsumerApplication_LiveLocationMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_LiveLocationMessage); ok {
- return x.LiveLocationMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetStickerMessage() *ConsumerApplication_StickerMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_StickerMessage); ok {
- return x.StickerMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetGroupInviteMessage() *ConsumerApplication_GroupInviteMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_GroupInviteMessage); ok {
- return x.GroupInviteMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetViewOnceMessage() *ConsumerApplication_ViewOnceMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_ViewOnceMessage); ok {
- return x.ViewOnceMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetReactionMessage() *ConsumerApplication_ReactionMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_ReactionMessage); ok {
- return x.ReactionMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetPollCreationMessage() *ConsumerApplication_PollCreationMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_PollCreationMessage); ok {
- return x.PollCreationMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetPollUpdateMessage() *ConsumerApplication_PollUpdateMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_PollUpdateMessage); ok {
- return x.PollUpdateMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_Content) GetEditMessage() *ConsumerApplication_EditMessage {
- if x != nil {
- if x, ok := x.Content.(*ConsumerApplication_Content_EditMessage); ok {
- return x.EditMessage
- }
- }
- return nil
- }
- type isConsumerApplication_Content_Content interface {
- isConsumerApplication_Content_Content()
- }
- type ConsumerApplication_Content_MessageText struct {
- MessageText *waCommon.MessageText `protobuf:"bytes,1,opt,name=messageText,oneof"`
- }
- type ConsumerApplication_Content_ImageMessage struct {
- ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,2,opt,name=imageMessage,oneof"`
- }
- type ConsumerApplication_Content_ContactMessage struct {
- ContactMessage *ConsumerApplication_ContactMessage `protobuf:"bytes,3,opt,name=contactMessage,oneof"`
- }
- type ConsumerApplication_Content_LocationMessage struct {
- LocationMessage *ConsumerApplication_LocationMessage `protobuf:"bytes,4,opt,name=locationMessage,oneof"`
- }
- type ConsumerApplication_Content_ExtendedTextMessage struct {
- ExtendedTextMessage *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,5,opt,name=extendedTextMessage,oneof"`
- }
- type ConsumerApplication_Content_StatusTextMessage struct {
- StatusTextMessage *ConsumerApplication_StatusTextMesage `protobuf:"bytes,6,opt,name=statusTextMessage,oneof"`
- }
- type ConsumerApplication_Content_DocumentMessage struct {
- DocumentMessage *ConsumerApplication_DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage,oneof"`
- }
- type ConsumerApplication_Content_AudioMessage struct {
- AudioMessage *ConsumerApplication_AudioMessage `protobuf:"bytes,8,opt,name=audioMessage,oneof"`
- }
- type ConsumerApplication_Content_VideoMessage struct {
- VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,9,opt,name=videoMessage,oneof"`
- }
- type ConsumerApplication_Content_ContactsArrayMessage struct {
- ContactsArrayMessage *ConsumerApplication_ContactsArrayMessage `protobuf:"bytes,10,opt,name=contactsArrayMessage,oneof"`
- }
- type ConsumerApplication_Content_LiveLocationMessage struct {
- LiveLocationMessage *ConsumerApplication_LiveLocationMessage `protobuf:"bytes,11,opt,name=liveLocationMessage,oneof"`
- }
- type ConsumerApplication_Content_StickerMessage struct {
- StickerMessage *ConsumerApplication_StickerMessage `protobuf:"bytes,12,opt,name=stickerMessage,oneof"`
- }
- type ConsumerApplication_Content_GroupInviteMessage struct {
- GroupInviteMessage *ConsumerApplication_GroupInviteMessage `protobuf:"bytes,13,opt,name=groupInviteMessage,oneof"`
- }
- type ConsumerApplication_Content_ViewOnceMessage struct {
- ViewOnceMessage *ConsumerApplication_ViewOnceMessage `protobuf:"bytes,14,opt,name=viewOnceMessage,oneof"`
- }
- type ConsumerApplication_Content_ReactionMessage struct {
- ReactionMessage *ConsumerApplication_ReactionMessage `protobuf:"bytes,16,opt,name=reactionMessage,oneof"`
- }
- type ConsumerApplication_Content_PollCreationMessage struct {
- PollCreationMessage *ConsumerApplication_PollCreationMessage `protobuf:"bytes,17,opt,name=pollCreationMessage,oneof"`
- }
- type ConsumerApplication_Content_PollUpdateMessage struct {
- PollUpdateMessage *ConsumerApplication_PollUpdateMessage `protobuf:"bytes,18,opt,name=pollUpdateMessage,oneof"`
- }
- type ConsumerApplication_Content_EditMessage struct {
- EditMessage *ConsumerApplication_EditMessage `protobuf:"bytes,19,opt,name=editMessage,oneof"`
- }
- func (*ConsumerApplication_Content_MessageText) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_ImageMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_ContactMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_LocationMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_ExtendedTextMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_StatusTextMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_DocumentMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_AudioMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_VideoMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_ContactsArrayMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_LiveLocationMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_StickerMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_GroupInviteMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_ViewOnceMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_ReactionMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_PollCreationMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_PollUpdateMessage) isConsumerApplication_Content_Content() {}
- func (*ConsumerApplication_Content_EditMessage) isConsumerApplication_Content_Content() {}
- type ConsumerApplication_EditMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
- Message *waCommon.MessageText `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
- TimestampMS *int64 `protobuf:"varint,3,opt,name=timestampMS" json:"timestampMS,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_EditMessage) Reset() {
- *x = ConsumerApplication_EditMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_EditMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_EditMessage) ProtoMessage() {}
- func (x *ConsumerApplication_EditMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_EditMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_EditMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 6}
- }
- func (x *ConsumerApplication_EditMessage) GetKey() *waCommon.MessageKey {
- if x != nil {
- return x.Key
- }
- return nil
- }
- func (x *ConsumerApplication_EditMessage) GetMessage() *waCommon.MessageText {
- if x != nil {
- return x.Message
- }
- return nil
- }
- func (x *ConsumerApplication_EditMessage) GetTimestampMS() int64 {
- if x != nil && x.TimestampMS != nil {
- return *x.TimestampMS
- }
- return 0
- }
- type ConsumerApplication_PollAddOptionMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- PollOption []*ConsumerApplication_Option `protobuf:"bytes,1,rep,name=pollOption" json:"pollOption,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_PollAddOptionMessage) Reset() {
- *x = ConsumerApplication_PollAddOptionMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_PollAddOptionMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_PollAddOptionMessage) ProtoMessage() {}
- func (x *ConsumerApplication_PollAddOptionMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_PollAddOptionMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_PollAddOptionMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 7}
- }
- func (x *ConsumerApplication_PollAddOptionMessage) GetPollOption() []*ConsumerApplication_Option {
- if x != nil {
- return x.PollOption
- }
- return nil
- }
- type ConsumerApplication_PollVoteMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions" json:"selectedOptions,omitempty"`
- SenderTimestampMS *int64 `protobuf:"varint,2,opt,name=senderTimestampMS" json:"senderTimestampMS,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_PollVoteMessage) Reset() {
- *x = ConsumerApplication_PollVoteMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_PollVoteMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_PollVoteMessage) ProtoMessage() {}
- func (x *ConsumerApplication_PollVoteMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_PollVoteMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_PollVoteMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 8}
- }
- func (x *ConsumerApplication_PollVoteMessage) GetSelectedOptions() [][]byte {
- if x != nil {
- return x.SelectedOptions
- }
- return nil
- }
- func (x *ConsumerApplication_PollVoteMessage) GetSenderTimestampMS() int64 {
- if x != nil && x.SenderTimestampMS != nil {
- return *x.SenderTimestampMS
- }
- return 0
- }
- type ConsumerApplication_PollEncValue struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload" json:"encPayload,omitempty"`
- EncIV []byte `protobuf:"bytes,2,opt,name=encIV" json:"encIV,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_PollEncValue) Reset() {
- *x = ConsumerApplication_PollEncValue{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_PollEncValue) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_PollEncValue) ProtoMessage() {}
- func (x *ConsumerApplication_PollEncValue) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_PollEncValue.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_PollEncValue) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 9}
- }
- func (x *ConsumerApplication_PollEncValue) GetEncPayload() []byte {
- if x != nil {
- return x.EncPayload
- }
- return nil
- }
- func (x *ConsumerApplication_PollEncValue) GetEncIV() []byte {
- if x != nil {
- return x.EncIV
- }
- return nil
- }
- type ConsumerApplication_PollUpdateMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- PollCreationMessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey" json:"pollCreationMessageKey,omitempty"`
- Vote *ConsumerApplication_PollEncValue `protobuf:"bytes,2,opt,name=vote" json:"vote,omitempty"`
- AddOption *ConsumerApplication_PollEncValue `protobuf:"bytes,3,opt,name=addOption" json:"addOption,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_PollUpdateMessage) Reset() {
- *x = ConsumerApplication_PollUpdateMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_PollUpdateMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_PollUpdateMessage) ProtoMessage() {}
- func (x *ConsumerApplication_PollUpdateMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[11]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_PollUpdateMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_PollUpdateMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 10}
- }
- func (x *ConsumerApplication_PollUpdateMessage) GetPollCreationMessageKey() *waCommon.MessageKey {
- if x != nil {
- return x.PollCreationMessageKey
- }
- return nil
- }
- func (x *ConsumerApplication_PollUpdateMessage) GetVote() *ConsumerApplication_PollEncValue {
- if x != nil {
- return x.Vote
- }
- return nil
- }
- func (x *ConsumerApplication_PollUpdateMessage) GetAddOption() *ConsumerApplication_PollEncValue {
- if x != nil {
- return x.AddOption
- }
- return nil
- }
- type ConsumerApplication_PollCreationMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- EncKey []byte `protobuf:"bytes,1,opt,name=encKey" json:"encKey,omitempty"`
- Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
- Options []*ConsumerApplication_Option `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"`
- SelectableOptionsCount *uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount" json:"selectableOptionsCount,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_PollCreationMessage) Reset() {
- *x = ConsumerApplication_PollCreationMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_PollCreationMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_PollCreationMessage) ProtoMessage() {}
- func (x *ConsumerApplication_PollCreationMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[12]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_PollCreationMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_PollCreationMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 11}
- }
- func (x *ConsumerApplication_PollCreationMessage) GetEncKey() []byte {
- if x != nil {
- return x.EncKey
- }
- return nil
- }
- func (x *ConsumerApplication_PollCreationMessage) GetName() string {
- if x != nil && x.Name != nil {
- return *x.Name
- }
- return ""
- }
- func (x *ConsumerApplication_PollCreationMessage) GetOptions() []*ConsumerApplication_Option {
- if x != nil {
- return x.Options
- }
- return nil
- }
- func (x *ConsumerApplication_PollCreationMessage) GetSelectableOptionsCount() uint32 {
- if x != nil && x.SelectableOptionsCount != nil {
- return *x.SelectableOptionsCount
- }
- return 0
- }
- type ConsumerApplication_Option struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- OptionName *string `protobuf:"bytes,1,opt,name=optionName" json:"optionName,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_Option) Reset() {
- *x = ConsumerApplication_Option{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_Option) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_Option) ProtoMessage() {}
- func (x *ConsumerApplication_Option) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[13]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_Option.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_Option) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 12}
- }
- func (x *ConsumerApplication_Option) GetOptionName() string {
- if x != nil && x.OptionName != nil {
- return *x.OptionName
- }
- return ""
- }
- type ConsumerApplication_ReactionMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
- Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
- GroupingKey *string `protobuf:"bytes,3,opt,name=groupingKey" json:"groupingKey,omitempty"`
- SenderTimestampMS *int64 `protobuf:"varint,4,opt,name=senderTimestampMS" json:"senderTimestampMS,omitempty"`
- ReactionMetadataDataclassData *string `protobuf:"bytes,5,opt,name=reactionMetadataDataclassData" json:"reactionMetadataDataclassData,omitempty"`
- Style *int32 `protobuf:"varint,6,opt,name=style" json:"style,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_ReactionMessage) Reset() {
- *x = ConsumerApplication_ReactionMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_ReactionMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_ReactionMessage) ProtoMessage() {}
- func (x *ConsumerApplication_ReactionMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[14]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_ReactionMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_ReactionMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 13}
- }
- func (x *ConsumerApplication_ReactionMessage) GetKey() *waCommon.MessageKey {
- if x != nil {
- return x.Key
- }
- return nil
- }
- func (x *ConsumerApplication_ReactionMessage) GetText() string {
- if x != nil && x.Text != nil {
- return *x.Text
- }
- return ""
- }
- func (x *ConsumerApplication_ReactionMessage) GetGroupingKey() string {
- if x != nil && x.GroupingKey != nil {
- return *x.GroupingKey
- }
- return ""
- }
- func (x *ConsumerApplication_ReactionMessage) GetSenderTimestampMS() int64 {
- if x != nil && x.SenderTimestampMS != nil {
- return *x.SenderTimestampMS
- }
- return 0
- }
- func (x *ConsumerApplication_ReactionMessage) GetReactionMetadataDataclassData() string {
- if x != nil && x.ReactionMetadataDataclassData != nil {
- return *x.ReactionMetadataDataclassData
- }
- return ""
- }
- func (x *ConsumerApplication_ReactionMessage) GetStyle() int32 {
- if x != nil && x.Style != nil {
- return *x.Style
- }
- return 0
- }
- type ConsumerApplication_RevokeMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_RevokeMessage) Reset() {
- *x = ConsumerApplication_RevokeMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_RevokeMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_RevokeMessage) ProtoMessage() {}
- func (x *ConsumerApplication_RevokeMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[15]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_RevokeMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_RevokeMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 14}
- }
- func (x *ConsumerApplication_RevokeMessage) GetKey() *waCommon.MessageKey {
- if x != nil {
- return x.Key
- }
- return nil
- }
- type ConsumerApplication_ViewOnceMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // Types that are valid to be assigned to ViewOnceContent:
- //
- // *ConsumerApplication_ViewOnceMessage_ImageMessage
- // *ConsumerApplication_ViewOnceMessage_VideoMessage
- ViewOnceContent isConsumerApplication_ViewOnceMessage_ViewOnceContent `protobuf_oneof:"viewOnceContent"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_ViewOnceMessage) Reset() {
- *x = ConsumerApplication_ViewOnceMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_ViewOnceMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_ViewOnceMessage) ProtoMessage() {}
- func (x *ConsumerApplication_ViewOnceMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[16]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_ViewOnceMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_ViewOnceMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 15}
- }
- func (x *ConsumerApplication_ViewOnceMessage) GetViewOnceContent() isConsumerApplication_ViewOnceMessage_ViewOnceContent {
- if x != nil {
- return x.ViewOnceContent
- }
- return nil
- }
- func (x *ConsumerApplication_ViewOnceMessage) GetImageMessage() *ConsumerApplication_ImageMessage {
- if x != nil {
- if x, ok := x.ViewOnceContent.(*ConsumerApplication_ViewOnceMessage_ImageMessage); ok {
- return x.ImageMessage
- }
- }
- return nil
- }
- func (x *ConsumerApplication_ViewOnceMessage) GetVideoMessage() *ConsumerApplication_VideoMessage {
- if x != nil {
- if x, ok := x.ViewOnceContent.(*ConsumerApplication_ViewOnceMessage_VideoMessage); ok {
- return x.VideoMessage
- }
- }
- return nil
- }
- type isConsumerApplication_ViewOnceMessage_ViewOnceContent interface {
- isConsumerApplication_ViewOnceMessage_ViewOnceContent()
- }
- type ConsumerApplication_ViewOnceMessage_ImageMessage struct {
- ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,1,opt,name=imageMessage,oneof"`
- }
- type ConsumerApplication_ViewOnceMessage_VideoMessage struct {
- VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,2,opt,name=videoMessage,oneof"`
- }
- func (*ConsumerApplication_ViewOnceMessage_ImageMessage) isConsumerApplication_ViewOnceMessage_ViewOnceContent() {
- }
- func (*ConsumerApplication_ViewOnceMessage_VideoMessage) isConsumerApplication_ViewOnceMessage_ViewOnceContent() {
- }
- type ConsumerApplication_GroupInviteMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- GroupJID *string `protobuf:"bytes,1,opt,name=groupJID" json:"groupJID,omitempty"`
- InviteCode *string `protobuf:"bytes,2,opt,name=inviteCode" json:"inviteCode,omitempty"`
- InviteExpiration *int64 `protobuf:"varint,3,opt,name=inviteExpiration" json:"inviteExpiration,omitempty"`
- GroupName *string `protobuf:"bytes,4,opt,name=groupName" json:"groupName,omitempty"`
- JPEGThumbnail []byte `protobuf:"bytes,5,opt,name=JPEGThumbnail" json:"JPEGThumbnail,omitempty"`
- Caption *waCommon.MessageText `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_GroupInviteMessage) Reset() {
- *x = ConsumerApplication_GroupInviteMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_GroupInviteMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_GroupInviteMessage) ProtoMessage() {}
- func (x *ConsumerApplication_GroupInviteMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[17]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_GroupInviteMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_GroupInviteMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 16}
- }
- func (x *ConsumerApplication_GroupInviteMessage) GetGroupJID() string {
- if x != nil && x.GroupJID != nil {
- return *x.GroupJID
- }
- return ""
- }
- func (x *ConsumerApplication_GroupInviteMessage) GetInviteCode() string {
- if x != nil && x.InviteCode != nil {
- return *x.InviteCode
- }
- return ""
- }
- func (x *ConsumerApplication_GroupInviteMessage) GetInviteExpiration() int64 {
- if x != nil && x.InviteExpiration != nil {
- return *x.InviteExpiration
- }
- return 0
- }
- func (x *ConsumerApplication_GroupInviteMessage) GetGroupName() string {
- if x != nil && x.GroupName != nil {
- return *x.GroupName
- }
- return ""
- }
- func (x *ConsumerApplication_GroupInviteMessage) GetJPEGThumbnail() []byte {
- if x != nil {
- return x.JPEGThumbnail
- }
- return nil
- }
- func (x *ConsumerApplication_GroupInviteMessage) GetCaption() *waCommon.MessageText {
- if x != nil {
- return x.Caption
- }
- return nil
- }
- type ConsumerApplication_LiveLocationMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
- AccuracyInMeters *uint32 `protobuf:"varint,2,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"`
- SpeedInMps *float32 `protobuf:"fixed32,3,opt,name=speedInMps" json:"speedInMps,omitempty"`
- DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,4,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"`
- Caption *waCommon.MessageText `protobuf:"bytes,5,opt,name=caption" json:"caption,omitempty"`
- SequenceNumber *int64 `protobuf:"varint,6,opt,name=sequenceNumber" json:"sequenceNumber,omitempty"`
- TimeOffset *uint32 `protobuf:"varint,7,opt,name=timeOffset" json:"timeOffset,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_LiveLocationMessage) Reset() {
- *x = ConsumerApplication_LiveLocationMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_LiveLocationMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_LiveLocationMessage) ProtoMessage() {}
- func (x *ConsumerApplication_LiveLocationMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[18]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_LiveLocationMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_LiveLocationMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 17}
- }
- func (x *ConsumerApplication_LiveLocationMessage) GetLocation() *ConsumerApplication_Location {
- if x != nil {
- return x.Location
- }
- return nil
- }
- func (x *ConsumerApplication_LiveLocationMessage) GetAccuracyInMeters() uint32 {
- if x != nil && x.AccuracyInMeters != nil {
- return *x.AccuracyInMeters
- }
- return 0
- }
- func (x *ConsumerApplication_LiveLocationMessage) GetSpeedInMps() float32 {
- if x != nil && x.SpeedInMps != nil {
- return *x.SpeedInMps
- }
- return 0
- }
- func (x *ConsumerApplication_LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 {
- if x != nil && x.DegreesClockwiseFromMagneticNorth != nil {
- return *x.DegreesClockwiseFromMagneticNorth
- }
- return 0
- }
- func (x *ConsumerApplication_LiveLocationMessage) GetCaption() *waCommon.MessageText {
- if x != nil {
- return x.Caption
- }
- return nil
- }
- func (x *ConsumerApplication_LiveLocationMessage) GetSequenceNumber() int64 {
- if x != nil && x.SequenceNumber != nil {
- return *x.SequenceNumber
- }
- return 0
- }
- func (x *ConsumerApplication_LiveLocationMessage) GetTimeOffset() uint32 {
- if x != nil && x.TimeOffset != nil {
- return *x.TimeOffset
- }
- return 0
- }
- type ConsumerApplication_ContactsArrayMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"`
- Contacts []*ConsumerApplication_ContactMessage `protobuf:"bytes,2,rep,name=contacts" json:"contacts,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_ContactsArrayMessage) Reset() {
- *x = ConsumerApplication_ContactsArrayMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_ContactsArrayMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_ContactsArrayMessage) ProtoMessage() {}
- func (x *ConsumerApplication_ContactsArrayMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[19]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_ContactsArrayMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_ContactsArrayMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 18}
- }
- func (x *ConsumerApplication_ContactsArrayMessage) GetDisplayName() string {
- if x != nil && x.DisplayName != nil {
- return *x.DisplayName
- }
- return ""
- }
- func (x *ConsumerApplication_ContactsArrayMessage) GetContacts() []*ConsumerApplication_ContactMessage {
- if x != nil {
- return x.Contacts
- }
- return nil
- }
- type ConsumerApplication_ContactMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Contact *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=contact" json:"contact,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_ContactMessage) Reset() {
- *x = ConsumerApplication_ContactMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_ContactMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_ContactMessage) ProtoMessage() {}
- func (x *ConsumerApplication_ContactMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[20]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_ContactMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_ContactMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 19}
- }
- func (x *ConsumerApplication_ContactMessage) GetContact() *waCommon.SubProtocol {
- if x != nil {
- return x.Contact
- }
- return nil
- }
- type ConsumerApplication_StatusTextMesage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Text *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
- TextArgb *uint32 `protobuf:"fixed32,6,opt,name=textArgb" json:"textArgb,omitempty"`
- BackgroundArgb *uint32 `protobuf:"fixed32,7,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"`
- Font *ConsumerApplication_StatusTextMesage_FontType `protobuf:"varint,8,opt,name=font,enum=WAConsumerApplication.ConsumerApplication_StatusTextMesage_FontType" json:"font,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_StatusTextMesage) Reset() {
- *x = ConsumerApplication_StatusTextMesage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_StatusTextMesage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_StatusTextMesage) ProtoMessage() {}
- func (x *ConsumerApplication_StatusTextMesage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[21]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_StatusTextMesage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_StatusTextMesage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 20}
- }
- func (x *ConsumerApplication_StatusTextMesage) GetText() *ConsumerApplication_ExtendedTextMessage {
- if x != nil {
- return x.Text
- }
- return nil
- }
- func (x *ConsumerApplication_StatusTextMesage) GetTextArgb() uint32 {
- if x != nil && x.TextArgb != nil {
- return *x.TextArgb
- }
- return 0
- }
- func (x *ConsumerApplication_StatusTextMesage) GetBackgroundArgb() uint32 {
- if x != nil && x.BackgroundArgb != nil {
- return *x.BackgroundArgb
- }
- return 0
- }
- func (x *ConsumerApplication_StatusTextMesage) GetFont() ConsumerApplication_StatusTextMesage_FontType {
- if x != nil && x.Font != nil {
- return *x.Font
- }
- return ConsumerApplication_StatusTextMesage_SANS_SERIF
- }
- type ConsumerApplication_ExtendedTextMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Text *waCommon.MessageText `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
- MatchedText *string `protobuf:"bytes,2,opt,name=matchedText" json:"matchedText,omitempty"`
- CanonicalURL *string `protobuf:"bytes,3,opt,name=canonicalURL" json:"canonicalURL,omitempty"`
- Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
- Title *string `protobuf:"bytes,5,opt,name=title" json:"title,omitempty"`
- Thumbnail *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=thumbnail" json:"thumbnail,omitempty"`
- PreviewType *ConsumerApplication_ExtendedTextMessage_PreviewType `protobuf:"varint,7,opt,name=previewType,enum=WAConsumerApplication.ConsumerApplication_ExtendedTextMessage_PreviewType" json:"previewType,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_ExtendedTextMessage) Reset() {
- *x = ConsumerApplication_ExtendedTextMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_ExtendedTextMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_ExtendedTextMessage) ProtoMessage() {}
- func (x *ConsumerApplication_ExtendedTextMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[22]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_ExtendedTextMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_ExtendedTextMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 21}
- }
- func (x *ConsumerApplication_ExtendedTextMessage) GetText() *waCommon.MessageText {
- if x != nil {
- return x.Text
- }
- return nil
- }
- func (x *ConsumerApplication_ExtendedTextMessage) GetMatchedText() string {
- if x != nil && x.MatchedText != nil {
- return *x.MatchedText
- }
- return ""
- }
- func (x *ConsumerApplication_ExtendedTextMessage) GetCanonicalURL() string {
- if x != nil && x.CanonicalURL != nil {
- return *x.CanonicalURL
- }
- return ""
- }
- func (x *ConsumerApplication_ExtendedTextMessage) GetDescription() string {
- if x != nil && x.Description != nil {
- return *x.Description
- }
- return ""
- }
- func (x *ConsumerApplication_ExtendedTextMessage) GetTitle() string {
- if x != nil && x.Title != nil {
- return *x.Title
- }
- return ""
- }
- func (x *ConsumerApplication_ExtendedTextMessage) GetThumbnail() *waCommon.SubProtocol {
- if x != nil {
- return x.Thumbnail
- }
- return nil
- }
- func (x *ConsumerApplication_ExtendedTextMessage) GetPreviewType() ConsumerApplication_ExtendedTextMessage_PreviewType {
- if x != nil && x.PreviewType != nil {
- return *x.PreviewType
- }
- return ConsumerApplication_ExtendedTextMessage_NONE
- }
- type ConsumerApplication_LocationMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
- Address *string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_LocationMessage) Reset() {
- *x = ConsumerApplication_LocationMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_LocationMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_LocationMessage) ProtoMessage() {}
- func (x *ConsumerApplication_LocationMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[23]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_LocationMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_LocationMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 22}
- }
- func (x *ConsumerApplication_LocationMessage) GetLocation() *ConsumerApplication_Location {
- if x != nil {
- return x.Location
- }
- return nil
- }
- func (x *ConsumerApplication_LocationMessage) GetAddress() string {
- if x != nil && x.Address != nil {
- return *x.Address
- }
- return ""
- }
- type ConsumerApplication_StickerMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Sticker *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=sticker" json:"sticker,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_StickerMessage) Reset() {
- *x = ConsumerApplication_StickerMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_StickerMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_StickerMessage) ProtoMessage() {}
- func (x *ConsumerApplication_StickerMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[24]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_StickerMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_StickerMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 23}
- }
- func (x *ConsumerApplication_StickerMessage) GetSticker() *waCommon.SubProtocol {
- if x != nil {
- return x.Sticker
- }
- return nil
- }
- type ConsumerApplication_DocumentMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Document *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
- FileName *string `protobuf:"bytes,2,opt,name=fileName" json:"fileName,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_DocumentMessage) Reset() {
- *x = ConsumerApplication_DocumentMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_DocumentMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_DocumentMessage) ProtoMessage() {}
- func (x *ConsumerApplication_DocumentMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[25]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_DocumentMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_DocumentMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 24}
- }
- func (x *ConsumerApplication_DocumentMessage) GetDocument() *waCommon.SubProtocol {
- if x != nil {
- return x.Document
- }
- return nil
- }
- func (x *ConsumerApplication_DocumentMessage) GetFileName() string {
- if x != nil && x.FileName != nil {
- return *x.FileName
- }
- return ""
- }
- type ConsumerApplication_VideoMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Video *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=video" json:"video,omitempty"`
- Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption" json:"caption,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_VideoMessage) Reset() {
- *x = ConsumerApplication_VideoMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_VideoMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_VideoMessage) ProtoMessage() {}
- func (x *ConsumerApplication_VideoMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[26]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_VideoMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_VideoMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 25}
- }
- func (x *ConsumerApplication_VideoMessage) GetVideo() *waCommon.SubProtocol {
- if x != nil {
- return x.Video
- }
- return nil
- }
- func (x *ConsumerApplication_VideoMessage) GetCaption() *waCommon.MessageText {
- if x != nil {
- return x.Caption
- }
- return nil
- }
- type ConsumerApplication_AudioMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Audio *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=audio" json:"audio,omitempty"`
- PTT *bool `protobuf:"varint,2,opt,name=PTT" json:"PTT,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_AudioMessage) Reset() {
- *x = ConsumerApplication_AudioMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_AudioMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_AudioMessage) ProtoMessage() {}
- func (x *ConsumerApplication_AudioMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[27]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_AudioMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_AudioMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 26}
- }
- func (x *ConsumerApplication_AudioMessage) GetAudio() *waCommon.SubProtocol {
- if x != nil {
- return x.Audio
- }
- return nil
- }
- func (x *ConsumerApplication_AudioMessage) GetPTT() bool {
- if x != nil && x.PTT != nil {
- return *x.PTT
- }
- return false
- }
- type ConsumerApplication_ImageMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Image *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
- Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption" json:"caption,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_ImageMessage) Reset() {
- *x = ConsumerApplication_ImageMessage{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_ImageMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_ImageMessage) ProtoMessage() {}
- func (x *ConsumerApplication_ImageMessage) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[28]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_ImageMessage.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_ImageMessage) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 27}
- }
- func (x *ConsumerApplication_ImageMessage) GetImage() *waCommon.SubProtocol {
- if x != nil {
- return x.Image
- }
- return nil
- }
- func (x *ConsumerApplication_ImageMessage) GetCaption() *waCommon.MessageText {
- if x != nil {
- return x.Caption
- }
- return nil
- }
- type ConsumerApplication_InteractiveAnnotation struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // Types that are valid to be assigned to Action:
- //
- // *ConsumerApplication_InteractiveAnnotation_Location
- Action isConsumerApplication_InteractiveAnnotation_Action `protobuf_oneof:"action"`
- PolygonVertices []*ConsumerApplication_Point `protobuf:"bytes,1,rep,name=polygonVertices" json:"polygonVertices,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_InteractiveAnnotation) Reset() {
- *x = ConsumerApplication_InteractiveAnnotation{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_InteractiveAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_InteractiveAnnotation) ProtoMessage() {}
- func (x *ConsumerApplication_InteractiveAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[29]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_InteractiveAnnotation.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_InteractiveAnnotation) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 28}
- }
- func (x *ConsumerApplication_InteractiveAnnotation) GetAction() isConsumerApplication_InteractiveAnnotation_Action {
- if x != nil {
- return x.Action
- }
- return nil
- }
- func (x *ConsumerApplication_InteractiveAnnotation) GetLocation() *ConsumerApplication_Location {
- if x != nil {
- if x, ok := x.Action.(*ConsumerApplication_InteractiveAnnotation_Location); ok {
- return x.Location
- }
- }
- return nil
- }
- func (x *ConsumerApplication_InteractiveAnnotation) GetPolygonVertices() []*ConsumerApplication_Point {
- if x != nil {
- return x.PolygonVertices
- }
- return nil
- }
- type isConsumerApplication_InteractiveAnnotation_Action interface {
- isConsumerApplication_InteractiveAnnotation_Action()
- }
- type ConsumerApplication_InteractiveAnnotation_Location struct {
- Location *ConsumerApplication_Location `protobuf:"bytes,2,opt,name=location,oneof"`
- }
- func (*ConsumerApplication_InteractiveAnnotation_Location) isConsumerApplication_InteractiveAnnotation_Action() {
- }
- type ConsumerApplication_Point struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- X *float64 `protobuf:"fixed64,1,opt,name=x" json:"x,omitempty"`
- Y *float64 `protobuf:"fixed64,2,opt,name=y" json:"y,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_Point) Reset() {
- *x = ConsumerApplication_Point{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_Point) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_Point) ProtoMessage() {}
- func (x *ConsumerApplication_Point) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[30]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_Point.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_Point) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 29}
- }
- func (x *ConsumerApplication_Point) GetX() float64 {
- if x != nil && x.X != nil {
- return *x.X
- }
- return 0
- }
- func (x *ConsumerApplication_Point) GetY() float64 {
- if x != nil && x.Y != nil {
- return *x.Y
- }
- return 0
- }
- type ConsumerApplication_Location struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"`
- DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"`
- Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_Location) Reset() {
- *x = ConsumerApplication_Location{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_Location) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_Location) ProtoMessage() {}
- func (x *ConsumerApplication_Location) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[31]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_Location.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_Location) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 30}
- }
- func (x *ConsumerApplication_Location) GetDegreesLatitude() float64 {
- if x != nil && x.DegreesLatitude != nil {
- return *x.DegreesLatitude
- }
- return 0
- }
- func (x *ConsumerApplication_Location) GetDegreesLongitude() float64 {
- if x != nil && x.DegreesLongitude != nil {
- return *x.DegreesLongitude
- }
- return 0
- }
- func (x *ConsumerApplication_Location) GetName() string {
- if x != nil && x.Name != nil {
- return *x.Name
- }
- return ""
- }
- type ConsumerApplication_MediaPayload struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Protocol *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=protocol" json:"protocol,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConsumerApplication_MediaPayload) Reset() {
- *x = ConsumerApplication_MediaPayload{}
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[32]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConsumerApplication_MediaPayload) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConsumerApplication_MediaPayload) ProtoMessage() {}
- func (x *ConsumerApplication_MediaPayload) ProtoReflect() protoreflect.Message {
- mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[32]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConsumerApplication_MediaPayload.ProtoReflect.Descriptor instead.
- func (*ConsumerApplication_MediaPayload) Descriptor() ([]byte, []int) {
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 31}
- }
- func (x *ConsumerApplication_MediaPayload) GetProtocol() *waCommon.SubProtocol {
- if x != nil {
- return x.Protocol
- }
- return nil
- }
- var File_waConsumerApplication_WAConsumerApplication_proto protoreflect.FileDescriptor
- const file_waConsumerApplication_WAConsumerApplication_proto_rawDesc = "" +
- "\n" +
- "1waConsumerApplication/WAConsumerApplication.proto\x12\x15WAConsumerApplication\x1a\x17waCommon/WACommon.proto\"\x9d6\n" +
- "\x13ConsumerApplication\x12L\n" +
- "\apayload\x18\x01 \x01(\v22.WAConsumerApplication.ConsumerApplication.PayloadR\apayload\x12O\n" +
- "\bmetadata\x18\x02 \x01(\v23.WAConsumerApplication.ConsumerApplication.MetadataR\bmetadata\x1a\xfc\x02\n" +
- "\aPayload\x12N\n" +
- "\acontent\x18\x01 \x01(\v22.WAConsumerApplication.ConsumerApplication.ContentH\x00R\acontent\x12f\n" +
- "\x0fapplicationData\x18\x02 \x01(\v2:.WAConsumerApplication.ConsumerApplication.ApplicationDataH\x00R\x0fapplicationData\x12K\n" +
- "\x06signal\x18\x03 \x01(\v21.WAConsumerApplication.ConsumerApplication.SignalH\x00R\x06signal\x12a\n" +
- "\vsubProtocol\x18\x04 \x01(\v2=.WAConsumerApplication.ConsumerApplication.SubProtocolPayloadH\x00R\vsubProtocolB\t\n" +
- "\apayload\x1aU\n" +
- "\x12SubProtocolPayload\x12?\n" +
- "\vfutureProof\x18\x01 \x01(\x0e2\x1d.WACommon.FutureProofBehaviorR\vfutureProof\x1a\xae\x01\n" +
- "\bMetadata\x12m\n" +
- "\x0fspecialTextSize\x18\x01 \x01(\x0e2C.WAConsumerApplication.ConsumerApplication.Metadata.SpecialTextSizeR\x0fspecialTextSize\"3\n" +
- "\x0fSpecialTextSize\x12\t\n" +
- "\x05SMALL\x10\x01\x12\n" +
- "\n" +
- "\x06MEDIUM\x10\x02\x12\t\n" +
- "\x05LARGE\x10\x03\x1a\b\n" +
- "\x06Signal\x1a{\n" +
- "\x0fApplicationData\x12R\n" +
- "\x06revoke\x18\x01 \x01(\v28.WAConsumerApplication.ConsumerApplication.RevokeMessageH\x00R\x06revokeB\x14\n" +
- "\x12applicationContent\x1a\xd1\x0e\n" +
- "\aContent\x129\n" +
- "\vmessageText\x18\x01 \x01(\v2\x15.WACommon.MessageTextH\x00R\vmessageText\x12]\n" +
- "\fimageMessage\x18\x02 \x01(\v27.WAConsumerApplication.ConsumerApplication.ImageMessageH\x00R\fimageMessage\x12c\n" +
- "\x0econtactMessage\x18\x03 \x01(\v29.WAConsumerApplication.ConsumerApplication.ContactMessageH\x00R\x0econtactMessage\x12f\n" +
- "\x0flocationMessage\x18\x04 \x01(\v2:.WAConsumerApplication.ConsumerApplication.LocationMessageH\x00R\x0flocationMessage\x12r\n" +
- "\x13extendedTextMessage\x18\x05 \x01(\v2>.WAConsumerApplication.ConsumerApplication.ExtendedTextMessageH\x00R\x13extendedTextMessage\x12k\n" +
- "\x11statusTextMessage\x18\x06 \x01(\v2;.WAConsumerApplication.ConsumerApplication.StatusTextMesageH\x00R\x11statusTextMessage\x12f\n" +
- "\x0fdocumentMessage\x18\a \x01(\v2:.WAConsumerApplication.ConsumerApplication.DocumentMessageH\x00R\x0fdocumentMessage\x12]\n" +
- "\faudioMessage\x18\b \x01(\v27.WAConsumerApplication.ConsumerApplication.AudioMessageH\x00R\faudioMessage\x12]\n" +
- "\fvideoMessage\x18\t \x01(\v27.WAConsumerApplication.ConsumerApplication.VideoMessageH\x00R\fvideoMessage\x12u\n" +
- "\x14contactsArrayMessage\x18\n" +
- " \x01(\v2?.WAConsumerApplication.ConsumerApplication.ContactsArrayMessageH\x00R\x14contactsArrayMessage\x12r\n" +
- "\x13liveLocationMessage\x18\v \x01(\v2>.WAConsumerApplication.ConsumerApplication.LiveLocationMessageH\x00R\x13liveLocationMessage\x12c\n" +
- "\x0estickerMessage\x18\f \x01(\v29.WAConsumerApplication.ConsumerApplication.StickerMessageH\x00R\x0estickerMessage\x12o\n" +
- "\x12groupInviteMessage\x18\r \x01(\v2=.WAConsumerApplication.ConsumerApplication.GroupInviteMessageH\x00R\x12groupInviteMessage\x12f\n" +
- "\x0fviewOnceMessage\x18\x0e \x01(\v2:.WAConsumerApplication.ConsumerApplication.ViewOnceMessageH\x00R\x0fviewOnceMessage\x12f\n" +
- "\x0freactionMessage\x18\x10 \x01(\v2:.WAConsumerApplication.ConsumerApplication.ReactionMessageH\x00R\x0freactionMessage\x12r\n" +
- "\x13pollCreationMessage\x18\x11 \x01(\v2>.WAConsumerApplication.ConsumerApplication.PollCreationMessageH\x00R\x13pollCreationMessage\x12l\n" +
- "\x11pollUpdateMessage\x18\x12 \x01(\v2<.WAConsumerApplication.ConsumerApplication.PollUpdateMessageH\x00R\x11pollUpdateMessage\x12Z\n" +
- "\veditMessage\x18\x13 \x01(\v26.WAConsumerApplication.ConsumerApplication.EditMessageH\x00R\veditMessageB\t\n" +
- "\acontent\x1a\x88\x01\n" +
- "\vEditMessage\x12&\n" +
- "\x03key\x18\x01 \x01(\v2\x14.WACommon.MessageKeyR\x03key\x12/\n" +
- "\amessage\x18\x02 \x01(\v2\x15.WACommon.MessageTextR\amessage\x12 \n" +
- "\vtimestampMS\x18\x03 \x01(\x03R\vtimestampMS\x1ai\n" +
- "\x14PollAddOptionMessage\x12Q\n" +
- "\n" +
- "pollOption\x18\x01 \x03(\v21.WAConsumerApplication.ConsumerApplication.OptionR\n" +
- "pollOption\x1ai\n" +
- "\x0fPollVoteMessage\x12(\n" +
- "\x0fselectedOptions\x18\x01 \x03(\fR\x0fselectedOptions\x12,\n" +
- "\x11senderTimestampMS\x18\x02 \x01(\x03R\x11senderTimestampMS\x1aD\n" +
- "\fPollEncValue\x12\x1e\n" +
- "\n" +
- "encPayload\x18\x01 \x01(\fR\n" +
- "encPayload\x12\x14\n" +
- "\x05encIV\x18\x02 \x01(\fR\x05encIV\x1a\x85\x02\n" +
- "\x11PollUpdateMessage\x12L\n" +
- "\x16pollCreationMessageKey\x18\x01 \x01(\v2\x14.WACommon.MessageKeyR\x16pollCreationMessageKey\x12K\n" +
- "\x04vote\x18\x02 \x01(\v27.WAConsumerApplication.ConsumerApplication.PollEncValueR\x04vote\x12U\n" +
- "\taddOption\x18\x03 \x01(\v27.WAConsumerApplication.ConsumerApplication.PollEncValueR\taddOption\x1a\xc6\x01\n" +
- "\x13PollCreationMessage\x12\x16\n" +
- "\x06encKey\x18\x01 \x01(\fR\x06encKey\x12\x12\n" +
- "\x04name\x18\x02 \x01(\tR\x04name\x12K\n" +
- "\aoptions\x18\x03 \x03(\v21.WAConsumerApplication.ConsumerApplication.OptionR\aoptions\x126\n" +
- "\x16selectableOptionsCount\x18\x04 \x01(\rR\x16selectableOptionsCount\x1a(\n" +
- "\x06Option\x12\x1e\n" +
- "\n" +
- "optionName\x18\x01 \x01(\tR\n" +
- "optionName\x1a\xf9\x01\n" +
- "\x0fReactionMessage\x12&\n" +
- "\x03key\x18\x01 \x01(\v2\x14.WACommon.MessageKeyR\x03key\x12\x12\n" +
- "\x04text\x18\x02 \x01(\tR\x04text\x12 \n" +
- "\vgroupingKey\x18\x03 \x01(\tR\vgroupingKey\x12,\n" +
- "\x11senderTimestampMS\x18\x04 \x01(\x03R\x11senderTimestampMS\x12D\n" +
- "\x1dreactionMetadataDataclassData\x18\x05 \x01(\tR\x1dreactionMetadataDataclassData\x12\x14\n" +
- "\x05style\x18\x06 \x01(\x05R\x05style\x1a7\n" +
- "\rRevokeMessage\x12&\n" +
- "\x03key\x18\x01 \x01(\v2\x14.WACommon.MessageKeyR\x03key\x1a\xe2\x01\n" +
- "\x0fViewOnceMessage\x12]\n" +
- "\fimageMessage\x18\x01 \x01(\v27.WAConsumerApplication.ConsumerApplication.ImageMessageH\x00R\fimageMessage\x12]\n" +
- "\fvideoMessage\x18\x02 \x01(\v27.WAConsumerApplication.ConsumerApplication.VideoMessageH\x00R\fvideoMessageB\x11\n" +
- "\x0fviewOnceContent\x1a\xf1\x01\n" +
- "\x12GroupInviteMessage\x12\x1a\n" +
- "\bgroupJID\x18\x01 \x01(\tR\bgroupJID\x12\x1e\n" +
- "\n" +
- "inviteCode\x18\x02 \x01(\tR\n" +
- "inviteCode\x12*\n" +
- "\x10inviteExpiration\x18\x03 \x01(\x03R\x10inviteExpiration\x12\x1c\n" +
- "\tgroupName\x18\x04 \x01(\tR\tgroupName\x12$\n" +
- "\rJPEGThumbnail\x18\x05 \x01(\fR\rJPEGThumbnail\x12/\n" +
- "\acaption\x18\x06 \x01(\v2\x15.WACommon.MessageTextR\acaption\x1a\xf9\x02\n" +
- "\x13LiveLocationMessage\x12O\n" +
- "\blocation\x18\x01 \x01(\v23.WAConsumerApplication.ConsumerApplication.LocationR\blocation\x12*\n" +
- "\x10accuracyInMeters\x18\x02 \x01(\rR\x10accuracyInMeters\x12\x1e\n" +
- "\n" +
- "speedInMps\x18\x03 \x01(\x02R\n" +
- "speedInMps\x12L\n" +
- "!degreesClockwiseFromMagneticNorth\x18\x04 \x01(\rR!degreesClockwiseFromMagneticNorth\x12/\n" +
- "\acaption\x18\x05 \x01(\v2\x15.WACommon.MessageTextR\acaption\x12&\n" +
- "\x0esequenceNumber\x18\x06 \x01(\x03R\x0esequenceNumber\x12\x1e\n" +
- "\n" +
- "timeOffset\x18\a \x01(\rR\n" +
- "timeOffset\x1a\x8f\x01\n" +
- "\x14ContactsArrayMessage\x12 \n" +
- "\vdisplayName\x18\x01 \x01(\tR\vdisplayName\x12U\n" +
- "\bcontacts\x18\x02 \x03(\v29.WAConsumerApplication.ConsumerApplication.ContactMessageR\bcontacts\x1aA\n" +
- "\x0eContactMessage\x12/\n" +
- "\acontact\x18\x01 \x01(\v2\x15.WACommon.SubProtocolR\acontact\x1a\xfc\x02\n" +
- "\x10StatusTextMesage\x12R\n" +
- "\x04text\x18\x01 \x01(\v2>.WAConsumerApplication.ConsumerApplication.ExtendedTextMessageR\x04text\x12\x1a\n" +
- "\btextArgb\x18\x06 \x01(\aR\btextArgb\x12&\n" +
- "\x0ebackgroundArgb\x18\a \x01(\aR\x0ebackgroundArgb\x12X\n" +
- "\x04font\x18\b \x01(\x0e2D.WAConsumerApplication.ConsumerApplication.StatusTextMesage.FontTypeR\x04font\"v\n" +
- "\bFontType\x12\x0e\n" +
- "\n" +
- "SANS_SERIF\x10\x00\x12\t\n" +
- "\x05SERIF\x10\x01\x12\x13\n" +
- "\x0fNORICAN_REGULAR\x10\x02\x12\x11\n" +
- "\rBRYNDAN_WRITE\x10\x03\x12\x15\n" +
- "\x11BEBASNEUE_REGULAR\x10\x04\x12\x10\n" +
- "\fOSWALD_HEAVY\x10\x05\x1a\x85\x03\n" +
- "\x13ExtendedTextMessage\x12)\n" +
- "\x04text\x18\x01 \x01(\v2\x15.WACommon.MessageTextR\x04text\x12 \n" +
- "\vmatchedText\x18\x02 \x01(\tR\vmatchedText\x12\"\n" +
- "\fcanonicalURL\x18\x03 \x01(\tR\fcanonicalURL\x12 \n" +
- "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x14\n" +
- "\x05title\x18\x05 \x01(\tR\x05title\x123\n" +
- "\tthumbnail\x18\x06 \x01(\v2\x15.WACommon.SubProtocolR\tthumbnail\x12l\n" +
- "\vpreviewType\x18\a \x01(\x0e2J.WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.PreviewTypeR\vpreviewType\"\"\n" +
- "\vPreviewType\x12\b\n" +
- "\x04NONE\x10\x00\x12\t\n" +
- "\x05VIDEO\x10\x01\x1a|\n" +
- "\x0fLocationMessage\x12O\n" +
- "\blocation\x18\x01 \x01(\v23.WAConsumerApplication.ConsumerApplication.LocationR\blocation\x12\x18\n" +
- "\aaddress\x18\x02 \x01(\tR\aaddress\x1aA\n" +
- "\x0eStickerMessage\x12/\n" +
- "\asticker\x18\x01 \x01(\v2\x15.WACommon.SubProtocolR\asticker\x1a`\n" +
- "\x0fDocumentMessage\x121\n" +
- "\bdocument\x18\x01 \x01(\v2\x15.WACommon.SubProtocolR\bdocument\x12\x1a\n" +
- "\bfileName\x18\x02 \x01(\tR\bfileName\x1al\n" +
- "\fVideoMessage\x12+\n" +
- "\x05video\x18\x01 \x01(\v2\x15.WACommon.SubProtocolR\x05video\x12/\n" +
- "\acaption\x18\x02 \x01(\v2\x15.WACommon.MessageTextR\acaption\x1aM\n" +
- "\fAudioMessage\x12+\n" +
- "\x05audio\x18\x01 \x01(\v2\x15.WACommon.SubProtocolR\x05audio\x12\x10\n" +
- "\x03PTT\x18\x02 \x01(\bR\x03PTT\x1al\n" +
- "\fImageMessage\x12+\n" +
- "\x05image\x18\x01 \x01(\v2\x15.WACommon.SubProtocolR\x05image\x12/\n" +
- "\acaption\x18\x02 \x01(\v2\x15.WACommon.MessageTextR\acaption\x1a\xd0\x01\n" +
- "\x15InteractiveAnnotation\x12Q\n" +
- "\blocation\x18\x02 \x01(\v23.WAConsumerApplication.ConsumerApplication.LocationH\x00R\blocation\x12Z\n" +
- "\x0fpolygonVertices\x18\x01 \x03(\v20.WAConsumerApplication.ConsumerApplication.PointR\x0fpolygonVerticesB\b\n" +
- "\x06action\x1a#\n" +
- "\x05Point\x12\f\n" +
- "\x01x\x18\x01 \x01(\x01R\x01x\x12\f\n" +
- "\x01y\x18\x02 \x01(\x01R\x01y\x1at\n" +
- "\bLocation\x12(\n" +
- "\x0fdegreesLatitude\x18\x01 \x01(\x01R\x0fdegreesLatitude\x12*\n" +
- "\x10degreesLongitude\x18\x02 \x01(\x01R\x10degreesLongitude\x12\x12\n" +
- "\x04name\x18\x03 \x01(\tR\x04name\x1aA\n" +
- "\fMediaPayload\x121\n" +
- "\bprotocol\x18\x01 \x01(\v2\x15.WACommon.SubProtocolR\bprotocolB<Z:git.bobomao.top/joey/whatsmeow/proto/waConsumerApplication"
- var (
- file_waConsumerApplication_WAConsumerApplication_proto_rawDescOnce sync.Once
- file_waConsumerApplication_WAConsumerApplication_proto_rawDescData []byte
- )
- func file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP() []byte {
- file_waConsumerApplication_WAConsumerApplication_proto_rawDescOnce.Do(func() {
- file_waConsumerApplication_WAConsumerApplication_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waConsumerApplication_WAConsumerApplication_proto_rawDesc), len(file_waConsumerApplication_WAConsumerApplication_proto_rawDesc)))
- })
- return file_waConsumerApplication_WAConsumerApplication_proto_rawDescData
- }
- var file_waConsumerApplication_WAConsumerApplication_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
- var file_waConsumerApplication_WAConsumerApplication_proto_msgTypes = make([]protoimpl.MessageInfo, 33)
- var file_waConsumerApplication_WAConsumerApplication_proto_goTypes = []any{
- (ConsumerApplication_Metadata_SpecialTextSize)(0), // 0: WAConsumerApplication.ConsumerApplication.Metadata.SpecialTextSize
- (ConsumerApplication_StatusTextMesage_FontType)(0), // 1: WAConsumerApplication.ConsumerApplication.StatusTextMesage.FontType
- (ConsumerApplication_ExtendedTextMessage_PreviewType)(0), // 2: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.PreviewType
- (*ConsumerApplication)(nil), // 3: WAConsumerApplication.ConsumerApplication
- (*ConsumerApplication_Payload)(nil), // 4: WAConsumerApplication.ConsumerApplication.Payload
- (*ConsumerApplication_SubProtocolPayload)(nil), // 5: WAConsumerApplication.ConsumerApplication.SubProtocolPayload
- (*ConsumerApplication_Metadata)(nil), // 6: WAConsumerApplication.ConsumerApplication.Metadata
- (*ConsumerApplication_Signal)(nil), // 7: WAConsumerApplication.ConsumerApplication.Signal
- (*ConsumerApplication_ApplicationData)(nil), // 8: WAConsumerApplication.ConsumerApplication.ApplicationData
- (*ConsumerApplication_Content)(nil), // 9: WAConsumerApplication.ConsumerApplication.Content
- (*ConsumerApplication_EditMessage)(nil), // 10: WAConsumerApplication.ConsumerApplication.EditMessage
- (*ConsumerApplication_PollAddOptionMessage)(nil), // 11: WAConsumerApplication.ConsumerApplication.PollAddOptionMessage
- (*ConsumerApplication_PollVoteMessage)(nil), // 12: WAConsumerApplication.ConsumerApplication.PollVoteMessage
- (*ConsumerApplication_PollEncValue)(nil), // 13: WAConsumerApplication.ConsumerApplication.PollEncValue
- (*ConsumerApplication_PollUpdateMessage)(nil), // 14: WAConsumerApplication.ConsumerApplication.PollUpdateMessage
- (*ConsumerApplication_PollCreationMessage)(nil), // 15: WAConsumerApplication.ConsumerApplication.PollCreationMessage
- (*ConsumerApplication_Option)(nil), // 16: WAConsumerApplication.ConsumerApplication.Option
- (*ConsumerApplication_ReactionMessage)(nil), // 17: WAConsumerApplication.ConsumerApplication.ReactionMessage
- (*ConsumerApplication_RevokeMessage)(nil), // 18: WAConsumerApplication.ConsumerApplication.RevokeMessage
- (*ConsumerApplication_ViewOnceMessage)(nil), // 19: WAConsumerApplication.ConsumerApplication.ViewOnceMessage
- (*ConsumerApplication_GroupInviteMessage)(nil), // 20: WAConsumerApplication.ConsumerApplication.GroupInviteMessage
- (*ConsumerApplication_LiveLocationMessage)(nil), // 21: WAConsumerApplication.ConsumerApplication.LiveLocationMessage
- (*ConsumerApplication_ContactsArrayMessage)(nil), // 22: WAConsumerApplication.ConsumerApplication.ContactsArrayMessage
- (*ConsumerApplication_ContactMessage)(nil), // 23: WAConsumerApplication.ConsumerApplication.ContactMessage
- (*ConsumerApplication_StatusTextMesage)(nil), // 24: WAConsumerApplication.ConsumerApplication.StatusTextMesage
- (*ConsumerApplication_ExtendedTextMessage)(nil), // 25: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage
- (*ConsumerApplication_LocationMessage)(nil), // 26: WAConsumerApplication.ConsumerApplication.LocationMessage
- (*ConsumerApplication_StickerMessage)(nil), // 27: WAConsumerApplication.ConsumerApplication.StickerMessage
- (*ConsumerApplication_DocumentMessage)(nil), // 28: WAConsumerApplication.ConsumerApplication.DocumentMessage
- (*ConsumerApplication_VideoMessage)(nil), // 29: WAConsumerApplication.ConsumerApplication.VideoMessage
- (*ConsumerApplication_AudioMessage)(nil), // 30: WAConsumerApplication.ConsumerApplication.AudioMessage
- (*ConsumerApplication_ImageMessage)(nil), // 31: WAConsumerApplication.ConsumerApplication.ImageMessage
- (*ConsumerApplication_InteractiveAnnotation)(nil), // 32: WAConsumerApplication.ConsumerApplication.InteractiveAnnotation
- (*ConsumerApplication_Point)(nil), // 33: WAConsumerApplication.ConsumerApplication.Point
- (*ConsumerApplication_Location)(nil), // 34: WAConsumerApplication.ConsumerApplication.Location
- (*ConsumerApplication_MediaPayload)(nil), // 35: WAConsumerApplication.ConsumerApplication.MediaPayload
- (waCommon.FutureProofBehavior)(0), // 36: WACommon.FutureProofBehavior
- (*waCommon.MessageText)(nil), // 37: WACommon.MessageText
- (*waCommon.MessageKey)(nil), // 38: WACommon.MessageKey
- (*waCommon.SubProtocol)(nil), // 39: WACommon.SubProtocol
- }
- var file_waConsumerApplication_WAConsumerApplication_proto_depIdxs = []int32{
- 4, // 0: WAConsumerApplication.ConsumerApplication.payload:type_name -> WAConsumerApplication.ConsumerApplication.Payload
- 6, // 1: WAConsumerApplication.ConsumerApplication.metadata:type_name -> WAConsumerApplication.ConsumerApplication.Metadata
- 9, // 2: WAConsumerApplication.ConsumerApplication.Payload.content:type_name -> WAConsumerApplication.ConsumerApplication.Content
- 8, // 3: WAConsumerApplication.ConsumerApplication.Payload.applicationData:type_name -> WAConsumerApplication.ConsumerApplication.ApplicationData
- 7, // 4: WAConsumerApplication.ConsumerApplication.Payload.signal:type_name -> WAConsumerApplication.ConsumerApplication.Signal
- 5, // 5: WAConsumerApplication.ConsumerApplication.Payload.subProtocol:type_name -> WAConsumerApplication.ConsumerApplication.SubProtocolPayload
- 36, // 6: WAConsumerApplication.ConsumerApplication.SubProtocolPayload.futureProof:type_name -> WACommon.FutureProofBehavior
- 0, // 7: WAConsumerApplication.ConsumerApplication.Metadata.specialTextSize:type_name -> WAConsumerApplication.ConsumerApplication.Metadata.SpecialTextSize
- 18, // 8: WAConsumerApplication.ConsumerApplication.ApplicationData.revoke:type_name -> WAConsumerApplication.ConsumerApplication.RevokeMessage
- 37, // 9: WAConsumerApplication.ConsumerApplication.Content.messageText:type_name -> WACommon.MessageText
- 31, // 10: WAConsumerApplication.ConsumerApplication.Content.imageMessage:type_name -> WAConsumerApplication.ConsumerApplication.ImageMessage
- 23, // 11: WAConsumerApplication.ConsumerApplication.Content.contactMessage:type_name -> WAConsumerApplication.ConsumerApplication.ContactMessage
- 26, // 12: WAConsumerApplication.ConsumerApplication.Content.locationMessage:type_name -> WAConsumerApplication.ConsumerApplication.LocationMessage
- 25, // 13: WAConsumerApplication.ConsumerApplication.Content.extendedTextMessage:type_name -> WAConsumerApplication.ConsumerApplication.ExtendedTextMessage
- 24, // 14: WAConsumerApplication.ConsumerApplication.Content.statusTextMessage:type_name -> WAConsumerApplication.ConsumerApplication.StatusTextMesage
- 28, // 15: WAConsumerApplication.ConsumerApplication.Content.documentMessage:type_name -> WAConsumerApplication.ConsumerApplication.DocumentMessage
- 30, // 16: WAConsumerApplication.ConsumerApplication.Content.audioMessage:type_name -> WAConsumerApplication.ConsumerApplication.AudioMessage
- 29, // 17: WAConsumerApplication.ConsumerApplication.Content.videoMessage:type_name -> WAConsumerApplication.ConsumerApplication.VideoMessage
- 22, // 18: WAConsumerApplication.ConsumerApplication.Content.contactsArrayMessage:type_name -> WAConsumerApplication.ConsumerApplication.ContactsArrayMessage
- 21, // 19: WAConsumerApplication.ConsumerApplication.Content.liveLocationMessage:type_name -> WAConsumerApplication.ConsumerApplication.LiveLocationMessage
- 27, // 20: WAConsumerApplication.ConsumerApplication.Content.stickerMessage:type_name -> WAConsumerApplication.ConsumerApplication.StickerMessage
- 20, // 21: WAConsumerApplication.ConsumerApplication.Content.groupInviteMessage:type_name -> WAConsumerApplication.ConsumerApplication.GroupInviteMessage
- 19, // 22: WAConsumerApplication.ConsumerApplication.Content.viewOnceMessage:type_name -> WAConsumerApplication.ConsumerApplication.ViewOnceMessage
- 17, // 23: WAConsumerApplication.ConsumerApplication.Content.reactionMessage:type_name -> WAConsumerApplication.ConsumerApplication.ReactionMessage
- 15, // 24: WAConsumerApplication.ConsumerApplication.Content.pollCreationMessage:type_name -> WAConsumerApplication.ConsumerApplication.PollCreationMessage
- 14, // 25: WAConsumerApplication.ConsumerApplication.Content.pollUpdateMessage:type_name -> WAConsumerApplication.ConsumerApplication.PollUpdateMessage
- 10, // 26: WAConsumerApplication.ConsumerApplication.Content.editMessage:type_name -> WAConsumerApplication.ConsumerApplication.EditMessage
- 38, // 27: WAConsumerApplication.ConsumerApplication.EditMessage.key:type_name -> WACommon.MessageKey
- 37, // 28: WAConsumerApplication.ConsumerApplication.EditMessage.message:type_name -> WACommon.MessageText
- 16, // 29: WAConsumerApplication.ConsumerApplication.PollAddOptionMessage.pollOption:type_name -> WAConsumerApplication.ConsumerApplication.Option
- 38, // 30: WAConsumerApplication.ConsumerApplication.PollUpdateMessage.pollCreationMessageKey:type_name -> WACommon.MessageKey
- 13, // 31: WAConsumerApplication.ConsumerApplication.PollUpdateMessage.vote:type_name -> WAConsumerApplication.ConsumerApplication.PollEncValue
- 13, // 32: WAConsumerApplication.ConsumerApplication.PollUpdateMessage.addOption:type_name -> WAConsumerApplication.ConsumerApplication.PollEncValue
- 16, // 33: WAConsumerApplication.ConsumerApplication.PollCreationMessage.options:type_name -> WAConsumerApplication.ConsumerApplication.Option
- 38, // 34: WAConsumerApplication.ConsumerApplication.ReactionMessage.key:type_name -> WACommon.MessageKey
- 38, // 35: WAConsumerApplication.ConsumerApplication.RevokeMessage.key:type_name -> WACommon.MessageKey
- 31, // 36: WAConsumerApplication.ConsumerApplication.ViewOnceMessage.imageMessage:type_name -> WAConsumerApplication.ConsumerApplication.ImageMessage
- 29, // 37: WAConsumerApplication.ConsumerApplication.ViewOnceMessage.videoMessage:type_name -> WAConsumerApplication.ConsumerApplication.VideoMessage
- 37, // 38: WAConsumerApplication.ConsumerApplication.GroupInviteMessage.caption:type_name -> WACommon.MessageText
- 34, // 39: WAConsumerApplication.ConsumerApplication.LiveLocationMessage.location:type_name -> WAConsumerApplication.ConsumerApplication.Location
- 37, // 40: WAConsumerApplication.ConsumerApplication.LiveLocationMessage.caption:type_name -> WACommon.MessageText
- 23, // 41: WAConsumerApplication.ConsumerApplication.ContactsArrayMessage.contacts:type_name -> WAConsumerApplication.ConsumerApplication.ContactMessage
- 39, // 42: WAConsumerApplication.ConsumerApplication.ContactMessage.contact:type_name -> WACommon.SubProtocol
- 25, // 43: WAConsumerApplication.ConsumerApplication.StatusTextMesage.text:type_name -> WAConsumerApplication.ConsumerApplication.ExtendedTextMessage
- 1, // 44: WAConsumerApplication.ConsumerApplication.StatusTextMesage.font:type_name -> WAConsumerApplication.ConsumerApplication.StatusTextMesage.FontType
- 37, // 45: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.text:type_name -> WACommon.MessageText
- 39, // 46: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.thumbnail:type_name -> WACommon.SubProtocol
- 2, // 47: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.previewType:type_name -> WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.PreviewType
- 34, // 48: WAConsumerApplication.ConsumerApplication.LocationMessage.location:type_name -> WAConsumerApplication.ConsumerApplication.Location
- 39, // 49: WAConsumerApplication.ConsumerApplication.StickerMessage.sticker:type_name -> WACommon.SubProtocol
- 39, // 50: WAConsumerApplication.ConsumerApplication.DocumentMessage.document:type_name -> WACommon.SubProtocol
- 39, // 51: WAConsumerApplication.ConsumerApplication.VideoMessage.video:type_name -> WACommon.SubProtocol
- 37, // 52: WAConsumerApplication.ConsumerApplication.VideoMessage.caption:type_name -> WACommon.MessageText
- 39, // 53: WAConsumerApplication.ConsumerApplication.AudioMessage.audio:type_name -> WACommon.SubProtocol
- 39, // 54: WAConsumerApplication.ConsumerApplication.ImageMessage.image:type_name -> WACommon.SubProtocol
- 37, // 55: WAConsumerApplication.ConsumerApplication.ImageMessage.caption:type_name -> WACommon.MessageText
- 34, // 56: WAConsumerApplication.ConsumerApplication.InteractiveAnnotation.location:type_name -> WAConsumerApplication.ConsumerApplication.Location
- 33, // 57: WAConsumerApplication.ConsumerApplication.InteractiveAnnotation.polygonVertices:type_name -> WAConsumerApplication.ConsumerApplication.Point
- 39, // 58: WAConsumerApplication.ConsumerApplication.MediaPayload.protocol:type_name -> WACommon.SubProtocol
- 59, // [59:59] is the sub-list for method output_type
- 59, // [59:59] is the sub-list for method input_type
- 59, // [59:59] is the sub-list for extension type_name
- 59, // [59:59] is the sub-list for extension extendee
- 0, // [0:59] is the sub-list for field type_name
- }
- func init() { file_waConsumerApplication_WAConsumerApplication_proto_init() }
- func file_waConsumerApplication_WAConsumerApplication_proto_init() {
- if File_waConsumerApplication_WAConsumerApplication_proto != nil {
- return
- }
- file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[1].OneofWrappers = []any{
- (*ConsumerApplication_Payload_Content)(nil),
- (*ConsumerApplication_Payload_ApplicationData)(nil),
- (*ConsumerApplication_Payload_Signal)(nil),
- (*ConsumerApplication_Payload_SubProtocol)(nil),
- }
- file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[5].OneofWrappers = []any{
- (*ConsumerApplication_ApplicationData_Revoke)(nil),
- }
- file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[6].OneofWrappers = []any{
- (*ConsumerApplication_Content_MessageText)(nil),
- (*ConsumerApplication_Content_ImageMessage)(nil),
- (*ConsumerApplication_Content_ContactMessage)(nil),
- (*ConsumerApplication_Content_LocationMessage)(nil),
- (*ConsumerApplication_Content_ExtendedTextMessage)(nil),
- (*ConsumerApplication_Content_StatusTextMessage)(nil),
- (*ConsumerApplication_Content_DocumentMessage)(nil),
- (*ConsumerApplication_Content_AudioMessage)(nil),
- (*ConsumerApplication_Content_VideoMessage)(nil),
- (*ConsumerApplication_Content_ContactsArrayMessage)(nil),
- (*ConsumerApplication_Content_LiveLocationMessage)(nil),
- (*ConsumerApplication_Content_StickerMessage)(nil),
- (*ConsumerApplication_Content_GroupInviteMessage)(nil),
- (*ConsumerApplication_Content_ViewOnceMessage)(nil),
- (*ConsumerApplication_Content_ReactionMessage)(nil),
- (*ConsumerApplication_Content_PollCreationMessage)(nil),
- (*ConsumerApplication_Content_PollUpdateMessage)(nil),
- (*ConsumerApplication_Content_EditMessage)(nil),
- }
- file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[16].OneofWrappers = []any{
- (*ConsumerApplication_ViewOnceMessage_ImageMessage)(nil),
- (*ConsumerApplication_ViewOnceMessage_VideoMessage)(nil),
- }
- file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[29].OneofWrappers = []any{
- (*ConsumerApplication_InteractiveAnnotation_Location)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_waConsumerApplication_WAConsumerApplication_proto_rawDesc), len(file_waConsumerApplication_WAConsumerApplication_proto_rawDesc)),
- NumEnums: 3,
- NumMessages: 33,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_waConsumerApplication_WAConsumerApplication_proto_goTypes,
- DependencyIndexes: file_waConsumerApplication_WAConsumerApplication_proto_depIdxs,
- EnumInfos: file_waConsumerApplication_WAConsumerApplication_proto_enumTypes,
- MessageInfos: file_waConsumerApplication_WAConsumerApplication_proto_msgTypes,
- }.Build()
- File_waConsumerApplication_WAConsumerApplication_proto = out.File
- file_waConsumerApplication_WAConsumerApplication_proto_goTypes = nil
- file_waConsumerApplication_WAConsumerApplication_proto_depIdxs = nil
- }
|