// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 // protoc v3.21.12 // source: waConsumerApplication/WAConsumerApplication.proto package waConsumerApplication import ( reflect "reflect" sync "sync" waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "embed" ) 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_SPECIALTEXTSIZE_UNKNOWN ConsumerApplication_Metadata_SpecialTextSize = 0 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{ 0: "SPECIALTEXTSIZE_UNKNOWN", 1: "SMALL", 2: "MEDIUM", 3: "LARGE", } ConsumerApplication_Metadata_SpecialTextSize_value = map[string]int32{ "SPECIALTEXTSIZE_UNKNOWN": 0, "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: 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: 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: 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Payload *ConsumerApplication_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Metadata *ConsumerApplication_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *ConsumerApplication) Reset() { *x = ConsumerApplication{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Payload: // // *ConsumerApplication_Payload_Content // *ConsumerApplication_Payload_ApplicationData // *ConsumerApplication_Payload_Signal // *ConsumerApplication_Payload_SubProtocol Payload isConsumerApplication_Payload_Payload `protobuf_oneof:"payload"` } func (x *ConsumerApplication_Payload) Reset() { *x = ConsumerApplication_Payload{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 (m *ConsumerApplication_Payload) GetPayload() isConsumerApplication_Payload_Payload { if m != nil { return m.Payload } return nil } func (x *ConsumerApplication_Payload) GetContent() *ConsumerApplication_Content { if x, ok := x.GetPayload().(*ConsumerApplication_Payload_Content); ok { return x.Content } return nil } func (x *ConsumerApplication_Payload) GetApplicationData() *ConsumerApplication_ApplicationData { if x, ok := x.GetPayload().(*ConsumerApplication_Payload_ApplicationData); ok { return x.ApplicationData } return nil } func (x *ConsumerApplication_Payload) GetSignal() *ConsumerApplication_Signal { if x, ok := x.GetPayload().(*ConsumerApplication_Payload_Signal); ok { return x.Signal } return nil } func (x *ConsumerApplication_Payload) GetSubProtocol() *ConsumerApplication_SubProtocolPayload { if x, ok := x.GetPayload().(*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,proto3,oneof"` } type ConsumerApplication_Payload_ApplicationData struct { ApplicationData *ConsumerApplication_ApplicationData `protobuf:"bytes,2,opt,name=applicationData,proto3,oneof"` } type ConsumerApplication_Payload_Signal struct { Signal *ConsumerApplication_Signal `protobuf:"bytes,3,opt,name=signal,proto3,oneof"` } type ConsumerApplication_Payload_SubProtocol struct { SubProtocol *ConsumerApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,proto3,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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields FutureProof waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,proto3,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` } func (x *ConsumerApplication_SubProtocolPayload) Reset() { *x = ConsumerApplication_SubProtocolPayload{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.FutureProof } return waCommon.FutureProofBehavior(0) } type ConsumerApplication_Metadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SpecialTextSize ConsumerApplication_Metadata_SpecialTextSize `protobuf:"varint,1,opt,name=specialTextSize,proto3,enum=WAConsumerApplication.ConsumerApplication_Metadata_SpecialTextSize" json:"specialTextSize,omitempty"` } func (x *ConsumerApplication_Metadata) Reset() { *x = ConsumerApplication_Metadata{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.SpecialTextSize } return ConsumerApplication_Metadata_SPECIALTEXTSIZE_UNKNOWN } type ConsumerApplication_Signal struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *ConsumerApplication_Signal) Reset() { *x = ConsumerApplication_Signal{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to ApplicationContent: // // *ConsumerApplication_ApplicationData_Revoke ApplicationContent isConsumerApplication_ApplicationData_ApplicationContent `protobuf_oneof:"applicationContent"` } func (x *ConsumerApplication_ApplicationData) Reset() { *x = ConsumerApplication_ApplicationData{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 (m *ConsumerApplication_ApplicationData) GetApplicationContent() isConsumerApplication_ApplicationData_ApplicationContent { if m != nil { return m.ApplicationContent } return nil } func (x *ConsumerApplication_ApplicationData) GetRevoke() *ConsumerApplication_RevokeMessage { if x, ok := x.GetApplicationContent().(*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,proto3,oneof"` } func (*ConsumerApplication_ApplicationData_Revoke) isConsumerApplication_ApplicationData_ApplicationContent() { } type ConsumerApplication_Content struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable 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"` } func (x *ConsumerApplication_Content) Reset() { *x = ConsumerApplication_Content{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 (m *ConsumerApplication_Content) GetContent() isConsumerApplication_Content_Content { if m != nil { return m.Content } return nil } func (x *ConsumerApplication_Content) GetMessageText() *waCommon.MessageText { if x, ok := x.GetContent().(*ConsumerApplication_Content_MessageText); ok { return x.MessageText } return nil } func (x *ConsumerApplication_Content) GetImageMessage() *ConsumerApplication_ImageMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_ImageMessage); ok { return x.ImageMessage } return nil } func (x *ConsumerApplication_Content) GetContactMessage() *ConsumerApplication_ContactMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_ContactMessage); ok { return x.ContactMessage } return nil } func (x *ConsumerApplication_Content) GetLocationMessage() *ConsumerApplication_LocationMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_LocationMessage); ok { return x.LocationMessage } return nil } func (x *ConsumerApplication_Content) GetExtendedTextMessage() *ConsumerApplication_ExtendedTextMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_ExtendedTextMessage); ok { return x.ExtendedTextMessage } return nil } func (x *ConsumerApplication_Content) GetStatusTextMessage() *ConsumerApplication_StatusTextMesage { if x, ok := x.GetContent().(*ConsumerApplication_Content_StatusTextMessage); ok { return x.StatusTextMessage } return nil } func (x *ConsumerApplication_Content) GetDocumentMessage() *ConsumerApplication_DocumentMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_DocumentMessage); ok { return x.DocumentMessage } return nil } func (x *ConsumerApplication_Content) GetAudioMessage() *ConsumerApplication_AudioMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_AudioMessage); ok { return x.AudioMessage } return nil } func (x *ConsumerApplication_Content) GetVideoMessage() *ConsumerApplication_VideoMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_VideoMessage); ok { return x.VideoMessage } return nil } func (x *ConsumerApplication_Content) GetContactsArrayMessage() *ConsumerApplication_ContactsArrayMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_ContactsArrayMessage); ok { return x.ContactsArrayMessage } return nil } func (x *ConsumerApplication_Content) GetLiveLocationMessage() *ConsumerApplication_LiveLocationMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_LiveLocationMessage); ok { return x.LiveLocationMessage } return nil } func (x *ConsumerApplication_Content) GetStickerMessage() *ConsumerApplication_StickerMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_StickerMessage); ok { return x.StickerMessage } return nil } func (x *ConsumerApplication_Content) GetGroupInviteMessage() *ConsumerApplication_GroupInviteMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_GroupInviteMessage); ok { return x.GroupInviteMessage } return nil } func (x *ConsumerApplication_Content) GetViewOnceMessage() *ConsumerApplication_ViewOnceMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_ViewOnceMessage); ok { return x.ViewOnceMessage } return nil } func (x *ConsumerApplication_Content) GetReactionMessage() *ConsumerApplication_ReactionMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_ReactionMessage); ok { return x.ReactionMessage } return nil } func (x *ConsumerApplication_Content) GetPollCreationMessage() *ConsumerApplication_PollCreationMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_PollCreationMessage); ok { return x.PollCreationMessage } return nil } func (x *ConsumerApplication_Content) GetPollUpdateMessage() *ConsumerApplication_PollUpdateMessage { if x, ok := x.GetContent().(*ConsumerApplication_Content_PollUpdateMessage); ok { return x.PollUpdateMessage } return nil } func (x *ConsumerApplication_Content) GetEditMessage() *ConsumerApplication_EditMessage { if x, ok := x.GetContent().(*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,proto3,oneof"` } type ConsumerApplication_Content_ImageMessage struct { ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,2,opt,name=imageMessage,proto3,oneof"` } type ConsumerApplication_Content_ContactMessage struct { ContactMessage *ConsumerApplication_ContactMessage `protobuf:"bytes,3,opt,name=contactMessage,proto3,oneof"` } type ConsumerApplication_Content_LocationMessage struct { LocationMessage *ConsumerApplication_LocationMessage `protobuf:"bytes,4,opt,name=locationMessage,proto3,oneof"` } type ConsumerApplication_Content_ExtendedTextMessage struct { ExtendedTextMessage *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,5,opt,name=extendedTextMessage,proto3,oneof"` } type ConsumerApplication_Content_StatusTextMessage struct { StatusTextMessage *ConsumerApplication_StatusTextMesage `protobuf:"bytes,6,opt,name=statusTextMessage,proto3,oneof"` } type ConsumerApplication_Content_DocumentMessage struct { DocumentMessage *ConsumerApplication_DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage,proto3,oneof"` } type ConsumerApplication_Content_AudioMessage struct { AudioMessage *ConsumerApplication_AudioMessage `protobuf:"bytes,8,opt,name=audioMessage,proto3,oneof"` } type ConsumerApplication_Content_VideoMessage struct { VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,9,opt,name=videoMessage,proto3,oneof"` } type ConsumerApplication_Content_ContactsArrayMessage struct { ContactsArrayMessage *ConsumerApplication_ContactsArrayMessage `protobuf:"bytes,10,opt,name=contactsArrayMessage,proto3,oneof"` } type ConsumerApplication_Content_LiveLocationMessage struct { LiveLocationMessage *ConsumerApplication_LiveLocationMessage `protobuf:"bytes,11,opt,name=liveLocationMessage,proto3,oneof"` } type ConsumerApplication_Content_StickerMessage struct { StickerMessage *ConsumerApplication_StickerMessage `protobuf:"bytes,12,opt,name=stickerMessage,proto3,oneof"` } type ConsumerApplication_Content_GroupInviteMessage struct { GroupInviteMessage *ConsumerApplication_GroupInviteMessage `protobuf:"bytes,13,opt,name=groupInviteMessage,proto3,oneof"` } type ConsumerApplication_Content_ViewOnceMessage struct { ViewOnceMessage *ConsumerApplication_ViewOnceMessage `protobuf:"bytes,14,opt,name=viewOnceMessage,proto3,oneof"` } type ConsumerApplication_Content_ReactionMessage struct { ReactionMessage *ConsumerApplication_ReactionMessage `protobuf:"bytes,16,opt,name=reactionMessage,proto3,oneof"` } type ConsumerApplication_Content_PollCreationMessage struct { PollCreationMessage *ConsumerApplication_PollCreationMessage `protobuf:"bytes,17,opt,name=pollCreationMessage,proto3,oneof"` } type ConsumerApplication_Content_PollUpdateMessage struct { PollUpdateMessage *ConsumerApplication_PollUpdateMessage `protobuf:"bytes,18,opt,name=pollUpdateMessage,proto3,oneof"` } type ConsumerApplication_Content_EditMessage struct { EditMessage *ConsumerApplication_EditMessage `protobuf:"bytes,19,opt,name=editMessage,proto3,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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Message *waCommon.MessageText `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` TimestampMS int64 `protobuf:"varint,3,opt,name=timestampMS,proto3" json:"timestampMS,omitempty"` } func (x *ConsumerApplication_EditMessage) Reset() { *x = ConsumerApplication_EditMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.TimestampMS } return 0 } type ConsumerApplication_PollAddOptionMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields PollOption []*ConsumerApplication_Option `protobuf:"bytes,1,rep,name=pollOption,proto3" json:"pollOption,omitempty"` } func (x *ConsumerApplication_PollAddOptionMessage) Reset() { *x = ConsumerApplication_PollAddOptionMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions,proto3" json:"selectedOptions,omitempty"` SenderTimestampMS int64 `protobuf:"varint,2,opt,name=senderTimestampMS,proto3" json:"senderTimestampMS,omitempty"` } func (x *ConsumerApplication_PollVoteMessage) Reset() { *x = ConsumerApplication_PollVoteMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.SenderTimestampMS } return 0 } type ConsumerApplication_PollEncValue struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload,proto3" json:"encPayload,omitempty"` EncIV []byte `protobuf:"bytes,2,opt,name=encIV,proto3" json:"encIV,omitempty"` } func (x *ConsumerApplication_PollEncValue) Reset() { *x = ConsumerApplication_PollEncValue{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields PollCreationMessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey,proto3" json:"pollCreationMessageKey,omitempty"` Vote *ConsumerApplication_PollEncValue `protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty"` AddOption *ConsumerApplication_PollEncValue `protobuf:"bytes,3,opt,name=addOption,proto3" json:"addOption,omitempty"` } func (x *ConsumerApplication_PollUpdateMessage) Reset() { *x = ConsumerApplication_PollUpdateMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields EncKey []byte `protobuf:"bytes,1,opt,name=encKey,proto3" json:"encKey,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Options []*ConsumerApplication_Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` SelectableOptionsCount uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount,proto3" json:"selectableOptionsCount,omitempty"` } func (x *ConsumerApplication_PollCreationMessage) Reset() { *x = ConsumerApplication_PollCreationMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { 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 { return x.SelectableOptionsCount } return 0 } type ConsumerApplication_Option struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields OptionName string `protobuf:"bytes,1,opt,name=optionName,proto3" json:"optionName,omitempty"` } func (x *ConsumerApplication_Option) Reset() { *x = ConsumerApplication_Option{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.OptionName } return "" } type ConsumerApplication_ReactionMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` GroupingKey string `protobuf:"bytes,3,opt,name=groupingKey,proto3" json:"groupingKey,omitempty"` SenderTimestampMS int64 `protobuf:"varint,4,opt,name=senderTimestampMS,proto3" json:"senderTimestampMS,omitempty"` ReactionMetadataDataclassData string `protobuf:"bytes,5,opt,name=reactionMetadataDataclassData,proto3" json:"reactionMetadataDataclassData,omitempty"` Style int32 `protobuf:"varint,6,opt,name=style,proto3" json:"style,omitempty"` } func (x *ConsumerApplication_ReactionMessage) Reset() { *x = ConsumerApplication_ReactionMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.Text } return "" } func (x *ConsumerApplication_ReactionMessage) GetGroupingKey() string { if x != nil { return x.GroupingKey } return "" } func (x *ConsumerApplication_ReactionMessage) GetSenderTimestampMS() int64 { if x != nil { return x.SenderTimestampMS } return 0 } func (x *ConsumerApplication_ReactionMessage) GetReactionMetadataDataclassData() string { if x != nil { return x.ReactionMetadataDataclassData } return "" } func (x *ConsumerApplication_ReactionMessage) GetStyle() int32 { if x != nil { return x.Style } return 0 } type ConsumerApplication_RevokeMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` } func (x *ConsumerApplication_RevokeMessage) Reset() { *x = ConsumerApplication_RevokeMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to ViewOnceContent: // // *ConsumerApplication_ViewOnceMessage_ImageMessage // *ConsumerApplication_ViewOnceMessage_VideoMessage ViewOnceContent isConsumerApplication_ViewOnceMessage_ViewOnceContent `protobuf_oneof:"viewOnceContent"` } func (x *ConsumerApplication_ViewOnceMessage) Reset() { *x = ConsumerApplication_ViewOnceMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 (m *ConsumerApplication_ViewOnceMessage) GetViewOnceContent() isConsumerApplication_ViewOnceMessage_ViewOnceContent { if m != nil { return m.ViewOnceContent } return nil } func (x *ConsumerApplication_ViewOnceMessage) GetImageMessage() *ConsumerApplication_ImageMessage { if x, ok := x.GetViewOnceContent().(*ConsumerApplication_ViewOnceMessage_ImageMessage); ok { return x.ImageMessage } return nil } func (x *ConsumerApplication_ViewOnceMessage) GetVideoMessage() *ConsumerApplication_VideoMessage { if x, ok := x.GetViewOnceContent().(*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,proto3,oneof"` } type ConsumerApplication_ViewOnceMessage_VideoMessage struct { VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,2,opt,name=videoMessage,proto3,oneof"` } func (*ConsumerApplication_ViewOnceMessage_ImageMessage) isConsumerApplication_ViewOnceMessage_ViewOnceContent() { } func (*ConsumerApplication_ViewOnceMessage_VideoMessage) isConsumerApplication_ViewOnceMessage_ViewOnceContent() { } type ConsumerApplication_GroupInviteMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields GroupJID string `protobuf:"bytes,1,opt,name=groupJID,proto3" json:"groupJID,omitempty"` InviteCode string `protobuf:"bytes,2,opt,name=inviteCode,proto3" json:"inviteCode,omitempty"` InviteExpiration int64 `protobuf:"varint,3,opt,name=inviteExpiration,proto3" json:"inviteExpiration,omitempty"` GroupName string `protobuf:"bytes,4,opt,name=groupName,proto3" json:"groupName,omitempty"` JPEGThumbnail []byte `protobuf:"bytes,5,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` Caption *waCommon.MessageText `protobuf:"bytes,6,opt,name=caption,proto3" json:"caption,omitempty"` } func (x *ConsumerApplication_GroupInviteMessage) Reset() { *x = ConsumerApplication_GroupInviteMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.GroupJID } return "" } func (x *ConsumerApplication_GroupInviteMessage) GetInviteCode() string { if x != nil { return x.InviteCode } return "" } func (x *ConsumerApplication_GroupInviteMessage) GetInviteExpiration() int64 { if x != nil { return x.InviteExpiration } return 0 } func (x *ConsumerApplication_GroupInviteMessage) GetGroupName() string { if x != 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` AccuracyInMeters uint32 `protobuf:"varint,2,opt,name=accuracyInMeters,proto3" json:"accuracyInMeters,omitempty"` SpeedInMps float32 `protobuf:"fixed32,3,opt,name=speedInMps,proto3" json:"speedInMps,omitempty"` DegreesClockwiseFromMagneticNorth uint32 `protobuf:"varint,4,opt,name=degreesClockwiseFromMagneticNorth,proto3" json:"degreesClockwiseFromMagneticNorth,omitempty"` Caption *waCommon.MessageText `protobuf:"bytes,5,opt,name=caption,proto3" json:"caption,omitempty"` SequenceNumber int64 `protobuf:"varint,6,opt,name=sequenceNumber,proto3" json:"sequenceNumber,omitempty"` TimeOffset uint32 `protobuf:"varint,7,opt,name=timeOffset,proto3" json:"timeOffset,omitempty"` } func (x *ConsumerApplication_LiveLocationMessage) Reset() { *x = ConsumerApplication_LiveLocationMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.AccuracyInMeters } return 0 } func (x *ConsumerApplication_LiveLocationMessage) GetSpeedInMps() float32 { if x != nil { return x.SpeedInMps } return 0 } func (x *ConsumerApplication_LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { if x != 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 { return x.SequenceNumber } return 0 } func (x *ConsumerApplication_LiveLocationMessage) GetTimeOffset() uint32 { if x != nil { return x.TimeOffset } return 0 } type ConsumerApplication_ContactsArrayMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"` Contacts []*ConsumerApplication_ContactMessage `protobuf:"bytes,2,rep,name=contacts,proto3" json:"contacts,omitempty"` } func (x *ConsumerApplication_ContactsArrayMessage) Reset() { *x = ConsumerApplication_ContactsArrayMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Contact *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact,omitempty"` } func (x *ConsumerApplication_ContactMessage) Reset() { *x = ConsumerApplication_ContactMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Text *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` TextArgb uint32 `protobuf:"fixed32,6,opt,name=textArgb,proto3" json:"textArgb,omitempty"` BackgroundArgb uint32 `protobuf:"fixed32,7,opt,name=backgroundArgb,proto3" json:"backgroundArgb,omitempty"` Font ConsumerApplication_StatusTextMesage_FontType `protobuf:"varint,8,opt,name=font,proto3,enum=WAConsumerApplication.ConsumerApplication_StatusTextMesage_FontType" json:"font,omitempty"` } func (x *ConsumerApplication_StatusTextMesage) Reset() { *x = ConsumerApplication_StatusTextMesage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.TextArgb } return 0 } func (x *ConsumerApplication_StatusTextMesage) GetBackgroundArgb() uint32 { if x != nil { return x.BackgroundArgb } return 0 } func (x *ConsumerApplication_StatusTextMesage) GetFont() ConsumerApplication_StatusTextMesage_FontType { if x != nil { return x.Font } return ConsumerApplication_StatusTextMesage_SANS_SERIF } type ConsumerApplication_ExtendedTextMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Text *waCommon.MessageText `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` MatchedText string `protobuf:"bytes,2,opt,name=matchedText,proto3" json:"matchedText,omitempty"` CanonicalURL string `protobuf:"bytes,3,opt,name=canonicalURL,proto3" json:"canonicalURL,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Thumbnail *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` PreviewType ConsumerApplication_ExtendedTextMessage_PreviewType `protobuf:"varint,7,opt,name=previewType,proto3,enum=WAConsumerApplication.ConsumerApplication_ExtendedTextMessage_PreviewType" json:"previewType,omitempty"` } func (x *ConsumerApplication_ExtendedTextMessage) Reset() { *x = ConsumerApplication_ExtendedTextMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.MatchedText } return "" } func (x *ConsumerApplication_ExtendedTextMessage) GetCanonicalURL() string { if x != nil { return x.CanonicalURL } return "" } func (x *ConsumerApplication_ExtendedTextMessage) GetDescription() string { if x != nil { return x.Description } return "" } func (x *ConsumerApplication_ExtendedTextMessage) GetTitle() string { if x != 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 { return x.PreviewType } return ConsumerApplication_ExtendedTextMessage_NONE } type ConsumerApplication_LocationMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` } func (x *ConsumerApplication_LocationMessage) Reset() { *x = ConsumerApplication_LocationMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.Address } return "" } type ConsumerApplication_StickerMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Sticker *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=sticker,proto3" json:"sticker,omitempty"` } func (x *ConsumerApplication_StickerMessage) Reset() { *x = ConsumerApplication_StickerMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Document *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` FileName string `protobuf:"bytes,2,opt,name=fileName,proto3" json:"fileName,omitempty"` } func (x *ConsumerApplication_DocumentMessage) Reset() { *x = ConsumerApplication_DocumentMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.FileName } return "" } type ConsumerApplication_VideoMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Video *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption,proto3" json:"caption,omitempty"` } func (x *ConsumerApplication_VideoMessage) Reset() { *x = ConsumerApplication_VideoMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Audio *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=audio,proto3" json:"audio,omitempty"` PTT bool `protobuf:"varint,2,opt,name=PTT,proto3" json:"PTT,omitempty"` } func (x *ConsumerApplication_AudioMessage) Reset() { *x = ConsumerApplication_AudioMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.PTT } return false } type ConsumerApplication_ImageMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Image *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption,proto3" json:"caption,omitempty"` } func (x *ConsumerApplication_ImageMessage) Reset() { *x = ConsumerApplication_ImageMessage{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Action: // // *ConsumerApplication_InteractiveAnnotation_Location Action isConsumerApplication_InteractiveAnnotation_Action `protobuf_oneof:"action"` PolygonVertices []*ConsumerApplication_Point `protobuf:"bytes,1,rep,name=polygonVertices,proto3" json:"polygonVertices,omitempty"` } func (x *ConsumerApplication_InteractiveAnnotation) Reset() { *x = ConsumerApplication_InteractiveAnnotation{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 (m *ConsumerApplication_InteractiveAnnotation) GetAction() isConsumerApplication_InteractiveAnnotation_Action { if m != nil { return m.Action } return nil } func (x *ConsumerApplication_InteractiveAnnotation) GetLocation() *ConsumerApplication_Location { if x, ok := x.GetAction().(*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,proto3,oneof"` } func (*ConsumerApplication_InteractiveAnnotation_Location) isConsumerApplication_InteractiveAnnotation_Action() { } type ConsumerApplication_Point struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` } func (x *ConsumerApplication_Point) Reset() { *x = ConsumerApplication_Point{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.X } return 0 } func (x *ConsumerApplication_Point) GetY() float64 { if x != nil { return x.Y } return 0 } type ConsumerApplication_Location struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields DegreesLatitude float64 `protobuf:"fixed64,1,opt,name=degreesLatitude,proto3" json:"degreesLatitude,omitempty"` DegreesLongitude float64 `protobuf:"fixed64,2,opt,name=degreesLongitude,proto3" json:"degreesLongitude,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } func (x *ConsumerApplication_Location) Reset() { *x = ConsumerApplication_Location{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 { return x.DegreesLatitude } return 0 } func (x *ConsumerApplication_Location) GetDegreesLongitude() float64 { if x != nil { return x.DegreesLongitude } return 0 } func (x *ConsumerApplication_Location) GetName() string { if x != nil { return x.Name } return "" } type ConsumerApplication_MediaPayload struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Protocol *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` } func (x *ConsumerApplication_MediaPayload) Reset() { *x = ConsumerApplication_MediaPayload{} if protoimpl.UnsafeEnabled { 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 protoimpl.UnsafeEnabled && 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 //go:embed WAConsumerApplication.pb.raw var file_waConsumerApplication_WAConsumerApplication_proto_rawDesc []byte var ( file_waConsumerApplication_WAConsumerApplication_proto_rawDescOnce sync.Once file_waConsumerApplication_WAConsumerApplication_proto_rawDescData = file_waConsumerApplication_WAConsumerApplication_proto_rawDesc ) func file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP() []byte { file_waConsumerApplication_WAConsumerApplication_proto_rawDescOnce.Do(func() { file_waConsumerApplication_WAConsumerApplication_proto_rawDescData = protoimpl.X.CompressGZIP(file_waConsumerApplication_WAConsumerApplication_proto_rawDescData) }) 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 = []interface{}{ (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 } if !protoimpl.UnsafeEnabled { file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_Payload); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_SubProtocolPayload); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_Metadata); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_Signal); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_ApplicationData); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_Content); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_EditMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_PollAddOptionMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_PollVoteMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_PollEncValue); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_PollUpdateMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_PollCreationMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_Option); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_ReactionMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_RevokeMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_ViewOnceMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_GroupInviteMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_LiveLocationMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_ContactsArrayMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_ContactMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_StatusTextMesage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_ExtendedTextMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_LocationMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_StickerMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_DocumentMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_VideoMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_AudioMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_ImageMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_InteractiveAnnotation); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_Point); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_Location); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConsumerApplication_MediaPayload); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[1].OneofWrappers = []interface{}{ (*ConsumerApplication_Payload_Content)(nil), (*ConsumerApplication_Payload_ApplicationData)(nil), (*ConsumerApplication_Payload_Signal)(nil), (*ConsumerApplication_Payload_SubProtocol)(nil), } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[5].OneofWrappers = []interface{}{ (*ConsumerApplication_ApplicationData_Revoke)(nil), } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[6].OneofWrappers = []interface{}{ (*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 = []interface{}{ (*ConsumerApplication_ViewOnceMessage_ImageMessage)(nil), (*ConsumerApplication_ViewOnceMessage_VideoMessage)(nil), } file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[29].OneofWrappers = []interface{}{ (*ConsumerApplication_InteractiveAnnotation_Location)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: 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_rawDesc = nil file_waConsumerApplication_WAConsumerApplication_proto_goTypes = nil file_waConsumerApplication_WAConsumerApplication_proto_depIdxs = nil }