| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.10
- // protoc v3.21.12
- // source: waConsumerApplication/WAConsumerApplication.proto
- package waConsumerApplication
- import (
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- waCommon "git.bobomao.top/joey/testwh/proto/waCommon"
- )
- 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\bprotocolB1Z/git.bobomao.top/joey/testwh/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
- }
|