matterbridge/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go

28341 lines
892 KiB
Go
Raw Normal View History

2022-01-30 15:27:37 -08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
2023-01-28 13:57:53 -08:00
// protoc v3.21.12
2022-01-30 15:27:37 -08:00
// source: binary/proto/def.proto
package proto
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
import _ "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 ADVEncryptionType int32
const (
ADVEncryptionType_E2EE ADVEncryptionType = 0
ADVEncryptionType_HOSTED ADVEncryptionType = 1
)
// Enum value maps for ADVEncryptionType.
var (
ADVEncryptionType_name = map[int32]string{
0: "E2EE",
1: "HOSTED",
}
ADVEncryptionType_value = map[string]int32{
"E2EE": 0,
"HOSTED": 1,
}
)
func (x ADVEncryptionType) Enum() *ADVEncryptionType {
p := new(ADVEncryptionType)
*p = x
return p
}
func (x ADVEncryptionType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ADVEncryptionType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[0].Descriptor()
}
func (ADVEncryptionType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[0]
}
func (x ADVEncryptionType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ADVEncryptionType) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ADVEncryptionType(num)
return nil
}
// Deprecated: Use ADVEncryptionType.Descriptor instead.
func (ADVEncryptionType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{0}
}
type KeepType int32
2022-06-24 15:36:16 -07:00
const (
KeepType_UNKNOWN KeepType = 0
KeepType_KEEP_FOR_ALL KeepType = 1
KeepType_UNDO_KEEP_FOR_ALL KeepType = 2
2022-06-24 15:36:16 -07:00
)
// Enum value maps for KeepType.
2022-06-24 15:36:16 -07:00
var (
KeepType_name = map[int32]string{
0: "UNKNOWN",
1: "KEEP_FOR_ALL",
2: "UNDO_KEEP_FOR_ALL",
2022-06-24 15:36:16 -07:00
}
KeepType_value = map[string]int32{
"UNKNOWN": 0,
"KEEP_FOR_ALL": 1,
"UNDO_KEEP_FOR_ALL": 2,
2022-06-24 15:36:16 -07:00
}
)
func (x KeepType) Enum() *KeepType {
p := new(KeepType)
2022-06-24 15:36:16 -07:00
*p = x
return p
}
func (x KeepType) String() string {
2022-06-24 15:36:16 -07:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (KeepType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[1].Descriptor()
2022-06-24 15:36:16 -07:00
}
func (KeepType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[1]
2022-06-24 15:36:16 -07:00
}
func (x KeepType) Number() protoreflect.EnumNumber {
2022-06-24 15:36:16 -07:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *KeepType) UnmarshalJSON(b []byte) error {
2022-06-24 15:36:16 -07:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = KeepType(num)
2022-06-24 15:36:16 -07:00
return nil
}
// Deprecated: Use KeepType.Descriptor instead.
func (KeepType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{1}
2022-06-24 15:36:16 -07:00
}
type PeerDataOperationRequestType int32
const (
PeerDataOperationRequestType_UPLOAD_STICKER PeerDataOperationRequestType = 0
PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP PeerDataOperationRequestType = 1
PeerDataOperationRequestType_GENERATE_LINK_PREVIEW PeerDataOperationRequestType = 2
PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND PeerDataOperationRequestType = 3
PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND PeerDataOperationRequestType = 4
)
// Enum value maps for PeerDataOperationRequestType.
var (
PeerDataOperationRequestType_name = map[int32]string{
0: "UPLOAD_STICKER",
1: "SEND_RECENT_STICKER_BOOTSTRAP",
2: "GENERATE_LINK_PREVIEW",
3: "HISTORY_SYNC_ON_DEMAND",
4: "PLACEHOLDER_MESSAGE_RESEND",
}
PeerDataOperationRequestType_value = map[string]int32{
"UPLOAD_STICKER": 0,
"SEND_RECENT_STICKER_BOOTSTRAP": 1,
"GENERATE_LINK_PREVIEW": 2,
"HISTORY_SYNC_ON_DEMAND": 3,
"PLACEHOLDER_MESSAGE_RESEND": 4,
}
)
func (x PeerDataOperationRequestType) Enum() *PeerDataOperationRequestType {
p := new(PeerDataOperationRequestType)
*p = x
return p
}
func (x PeerDataOperationRequestType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PeerDataOperationRequestType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[2].Descriptor()
}
func (PeerDataOperationRequestType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[2]
}
func (x PeerDataOperationRequestType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PeerDataOperationRequestType) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PeerDataOperationRequestType(num)
return nil
}
// Deprecated: Use PeerDataOperationRequestType.Descriptor instead.
func (PeerDataOperationRequestType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{2}
}
2022-01-30 15:27:37 -08:00
type MediaVisibility int32
const (
MediaVisibility_DEFAULT MediaVisibility = 0
MediaVisibility_OFF MediaVisibility = 1
MediaVisibility_ON MediaVisibility = 2
)
// Enum value maps for MediaVisibility.
var (
MediaVisibility_name = map[int32]string{
0: "DEFAULT",
1: "OFF",
2: "ON",
}
MediaVisibility_value = map[string]int32{
"DEFAULT": 0,
"OFF": 1,
"ON": 2,
}
)
func (x MediaVisibility) Enum() *MediaVisibility {
p := new(MediaVisibility)
*p = x
return p
}
func (x MediaVisibility) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MediaVisibility) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[3].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (MediaVisibility) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[3]
2022-01-30 15:27:37 -08:00
}
func (x MediaVisibility) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *MediaVisibility) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = MediaVisibility(num)
return nil
}
// Deprecated: Use MediaVisibility.Descriptor instead.
func (MediaVisibility) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{3}
2022-01-30 15:27:37 -08:00
}
type DeviceProps_PlatformType int32
2022-01-30 15:27:37 -08:00
const (
DeviceProps_UNKNOWN DeviceProps_PlatformType = 0
DeviceProps_CHROME DeviceProps_PlatformType = 1
DeviceProps_FIREFOX DeviceProps_PlatformType = 2
DeviceProps_IE DeviceProps_PlatformType = 3
DeviceProps_OPERA DeviceProps_PlatformType = 4
DeviceProps_SAFARI DeviceProps_PlatformType = 5
DeviceProps_EDGE DeviceProps_PlatformType = 6
DeviceProps_DESKTOP DeviceProps_PlatformType = 7
DeviceProps_IPAD DeviceProps_PlatformType = 8
DeviceProps_ANDROID_TABLET DeviceProps_PlatformType = 9
DeviceProps_OHANA DeviceProps_PlatformType = 10
DeviceProps_ALOHA DeviceProps_PlatformType = 11
DeviceProps_CATALINA DeviceProps_PlatformType = 12
DeviceProps_TCL_TV DeviceProps_PlatformType = 13
DeviceProps_IOS_PHONE DeviceProps_PlatformType = 14
DeviceProps_IOS_CATALYST DeviceProps_PlatformType = 15
DeviceProps_ANDROID_PHONE DeviceProps_PlatformType = 16
DeviceProps_ANDROID_AMBIGUOUS DeviceProps_PlatformType = 17
DeviceProps_WEAR_OS DeviceProps_PlatformType = 18
DeviceProps_AR_WRIST DeviceProps_PlatformType = 19
DeviceProps_AR_DEVICE DeviceProps_PlatformType = 20
DeviceProps_UWP DeviceProps_PlatformType = 21
DeviceProps_VR DeviceProps_PlatformType = 22
2022-01-30 15:27:37 -08:00
)
// Enum value maps for DeviceProps_PlatformType.
2022-01-30 15:27:37 -08:00
var (
DeviceProps_PlatformType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "UNKNOWN",
1: "CHROME",
2: "FIREFOX",
3: "IE",
4: "OPERA",
5: "SAFARI",
6: "EDGE",
7: "DESKTOP",
8: "IPAD",
9: "ANDROID_TABLET",
10: "OHANA",
11: "ALOHA",
12: "CATALINA",
2022-04-25 14:50:10 -07:00
13: "TCL_TV",
14: "IOS_PHONE",
15: "IOS_CATALYST",
16: "ANDROID_PHONE",
17: "ANDROID_AMBIGUOUS",
18: "WEAR_OS",
19: "AR_WRIST",
20: "AR_DEVICE",
21: "UWP",
22: "VR",
2022-01-30 15:27:37 -08:00
}
DeviceProps_PlatformType_value = map[string]int32{
"UNKNOWN": 0,
"CHROME": 1,
"FIREFOX": 2,
"IE": 3,
"OPERA": 4,
"SAFARI": 5,
"EDGE": 6,
"DESKTOP": 7,
"IPAD": 8,
"ANDROID_TABLET": 9,
"OHANA": 10,
"ALOHA": 11,
"CATALINA": 12,
"TCL_TV": 13,
"IOS_PHONE": 14,
"IOS_CATALYST": 15,
"ANDROID_PHONE": 16,
"ANDROID_AMBIGUOUS": 17,
"WEAR_OS": 18,
"AR_WRIST": 19,
"AR_DEVICE": 20,
"UWP": 21,
"VR": 22,
2022-01-30 15:27:37 -08:00
}
)
func (x DeviceProps_PlatformType) Enum() *DeviceProps_PlatformType {
p := new(DeviceProps_PlatformType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x DeviceProps_PlatformType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DeviceProps_PlatformType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[4].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (DeviceProps_PlatformType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[4]
2022-01-30 15:27:37 -08:00
}
func (x DeviceProps_PlatformType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DeviceProps_PlatformType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DeviceProps_PlatformType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use DeviceProps_PlatformType.Descriptor instead.
func (DeviceProps_PlatformType) EnumDescriptor() ([]byte, []int) {
2022-06-24 15:36:16 -07:00
return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 0}
2022-01-30 15:27:37 -08:00
}
type ListResponseMessage_ListType int32
2022-01-30 15:27:37 -08:00
const (
ListResponseMessage_UNKNOWN ListResponseMessage_ListType = 0
ListResponseMessage_SINGLE_SELECT ListResponseMessage_ListType = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ListResponseMessage_ListType.
2022-01-30 15:27:37 -08:00
var (
ListResponseMessage_ListType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "UNKNOWN",
1: "SINGLE_SELECT",
2022-01-30 15:27:37 -08:00
}
ListResponseMessage_ListType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"UNKNOWN": 0,
"SINGLE_SELECT": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x ListResponseMessage_ListType) Enum() *ListResponseMessage_ListType {
p := new(ListResponseMessage_ListType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ListResponseMessage_ListType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ListResponseMessage_ListType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[5].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ListResponseMessage_ListType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[5]
2022-01-30 15:27:37 -08:00
}
func (x ListResponseMessage_ListType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ListResponseMessage_ListType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ListResponseMessage_ListType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ListResponseMessage_ListType.Descriptor instead.
func (ListResponseMessage_ListType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0}
2022-01-30 15:27:37 -08:00
}
type ListMessage_ListType int32
2022-01-30 15:27:37 -08:00
const (
ListMessage_UNKNOWN ListMessage_ListType = 0
ListMessage_SINGLE_SELECT ListMessage_ListType = 1
ListMessage_PRODUCT_LIST ListMessage_ListType = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ListMessage_ListType.
2022-01-30 15:27:37 -08:00
var (
ListMessage_ListType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "UNKNOWN",
1: "SINGLE_SELECT",
2: "PRODUCT_LIST",
2022-01-30 15:27:37 -08:00
}
ListMessage_ListType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"UNKNOWN": 0,
"SINGLE_SELECT": 1,
"PRODUCT_LIST": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x ListMessage_ListType) Enum() *ListMessage_ListType {
p := new(ListMessage_ListType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ListMessage_ListType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ListMessage_ListType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[6].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ListMessage_ListType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[6]
2022-01-30 15:27:37 -08:00
}
func (x ListMessage_ListType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ListMessage_ListType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ListMessage_ListType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ListMessage_ListType.Descriptor instead.
func (ListMessage_ListType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0}
2022-01-30 15:27:37 -08:00
}
type InvoiceMessage_AttachmentType int32
2022-01-30 15:27:37 -08:00
const (
InvoiceMessage_IMAGE InvoiceMessage_AttachmentType = 0
InvoiceMessage_PDF InvoiceMessage_AttachmentType = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for InvoiceMessage_AttachmentType.
2022-01-30 15:27:37 -08:00
var (
InvoiceMessage_AttachmentType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "IMAGE",
1: "PDF",
2022-01-30 15:27:37 -08:00
}
InvoiceMessage_AttachmentType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"IMAGE": 0,
"PDF": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x InvoiceMessage_AttachmentType) Enum() *InvoiceMessage_AttachmentType {
p := new(InvoiceMessage_AttachmentType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x InvoiceMessage_AttachmentType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (InvoiceMessage_AttachmentType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[7].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (InvoiceMessage_AttachmentType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[7]
2022-01-30 15:27:37 -08:00
}
func (x InvoiceMessage_AttachmentType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *InvoiceMessage_AttachmentType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = InvoiceMessage_AttachmentType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use InvoiceMessage_AttachmentType.Descriptor instead.
func (InvoiceMessage_AttachmentType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{10, 0}
2022-01-30 15:27:37 -08:00
}
type InteractiveResponseMessage_Body_Format int32
2022-01-30 15:27:37 -08:00
const (
InteractiveResponseMessage_Body_DEFAULT InteractiveResponseMessage_Body_Format = 0
InteractiveResponseMessage_Body_EXTENSIONS_1 InteractiveResponseMessage_Body_Format = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for InteractiveResponseMessage_Body_Format.
2022-01-30 15:27:37 -08:00
var (
InteractiveResponseMessage_Body_Format_name = map[int32]string{
0: "DEFAULT",
1: "EXTENSIONS_1",
2022-01-30 15:27:37 -08:00
}
InteractiveResponseMessage_Body_Format_value = map[string]int32{
"DEFAULT": 0,
"EXTENSIONS_1": 1,
}
)
func (x InteractiveResponseMessage_Body_Format) Enum() *InteractiveResponseMessage_Body_Format {
p := new(InteractiveResponseMessage_Body_Format)
*p = x
return p
}
func (x InteractiveResponseMessage_Body_Format) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (InteractiveResponseMessage_Body_Format) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[8].Descriptor()
}
func (InteractiveResponseMessage_Body_Format) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[8]
}
func (x InteractiveResponseMessage_Body_Format) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *InteractiveResponseMessage_Body_Format) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = InteractiveResponseMessage_Body_Format(num)
return nil
}
// Deprecated: Use InteractiveResponseMessage_Body_Format.Descriptor instead.
func (InteractiveResponseMessage_Body_Format) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 1, 0}
}
type InteractiveMessage_ShopMessage_Surface int32
const (
InteractiveMessage_ShopMessage_UNKNOWN_SURFACE InteractiveMessage_ShopMessage_Surface = 0
InteractiveMessage_ShopMessage_FB InteractiveMessage_ShopMessage_Surface = 1
InteractiveMessage_ShopMessage_IG InteractiveMessage_ShopMessage_Surface = 2
InteractiveMessage_ShopMessage_WA InteractiveMessage_ShopMessage_Surface = 3
)
// Enum value maps for InteractiveMessage_ShopMessage_Surface.
var (
InteractiveMessage_ShopMessage_Surface_name = map[int32]string{
0: "UNKNOWN_SURFACE",
1: "FB",
2: "IG",
3: "WA",
}
InteractiveMessage_ShopMessage_Surface_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"UNKNOWN_SURFACE": 0,
"FB": 1,
"IG": 2,
"WA": 3,
2022-01-30 15:27:37 -08:00
}
)
func (x InteractiveMessage_ShopMessage_Surface) Enum() *InteractiveMessage_ShopMessage_Surface {
p := new(InteractiveMessage_ShopMessage_Surface)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x InteractiveMessage_ShopMessage_Surface) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (InteractiveMessage_ShopMessage_Surface) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[9].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (InteractiveMessage_ShopMessage_Surface) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[9]
2022-01-30 15:27:37 -08:00
}
func (x InteractiveMessage_ShopMessage_Surface) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *InteractiveMessage_ShopMessage_Surface) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = InteractiveMessage_ShopMessage_Surface(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use InteractiveMessage_ShopMessage_Surface.Descriptor instead.
func (InteractiveMessage_ShopMessage_Surface) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0, 0}
2022-01-30 15:27:37 -08:00
}
type HistorySyncNotification_HistorySyncType int32
2022-01-30 15:27:37 -08:00
const (
HistorySyncNotification_INITIAL_BOOTSTRAP HistorySyncNotification_HistorySyncType = 0
HistorySyncNotification_INITIAL_STATUS_V3 HistorySyncNotification_HistorySyncType = 1
HistorySyncNotification_FULL HistorySyncNotification_HistorySyncType = 2
HistorySyncNotification_RECENT HistorySyncNotification_HistorySyncType = 3
HistorySyncNotification_PUSH_NAME HistorySyncNotification_HistorySyncType = 4
HistorySyncNotification_NON_BLOCKING_DATA HistorySyncNotification_HistorySyncType = 5
HistorySyncNotification_ON_DEMAND HistorySyncNotification_HistorySyncType = 6
2022-01-30 15:27:37 -08:00
)
// Enum value maps for HistorySyncNotification_HistorySyncType.
2022-01-30 15:27:37 -08:00
var (
HistorySyncNotification_HistorySyncType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "INITIAL_BOOTSTRAP",
1: "INITIAL_STATUS_V3",
2: "FULL",
3: "RECENT",
4: "PUSH_NAME",
5: "NON_BLOCKING_DATA",
6: "ON_DEMAND",
2022-01-30 15:27:37 -08:00
}
HistorySyncNotification_HistorySyncType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"INITIAL_BOOTSTRAP": 0,
"INITIAL_STATUS_V3": 1,
"FULL": 2,
"RECENT": 3,
"PUSH_NAME": 4,
"NON_BLOCKING_DATA": 5,
"ON_DEMAND": 6,
2022-01-30 15:27:37 -08:00
}
)
func (x HistorySyncNotification_HistorySyncType) Enum() *HistorySyncNotification_HistorySyncType {
p := new(HistorySyncNotification_HistorySyncType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x HistorySyncNotification_HistorySyncType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (HistorySyncNotification_HistorySyncType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[10].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (HistorySyncNotification_HistorySyncType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[10]
2022-01-30 15:27:37 -08:00
}
func (x HistorySyncNotification_HistorySyncType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *HistorySyncNotification_HistorySyncType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = HistorySyncNotification_HistorySyncType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use HistorySyncNotification_HistorySyncType.Descriptor instead.
func (HistorySyncNotification_HistorySyncType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{15, 0}
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType int32
2022-01-30 15:27:37 -08:00
const (
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_MONDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 1
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_TUESDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 2
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_WEDNESDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 3
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_THURSDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 4
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_FRIDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 5
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SATURDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 6
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SUNDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 7
2022-01-30 15:27:37 -08:00
)
// Enum value maps for HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType.
2022-01-30 15:27:37 -08:00
var (
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
1: "MONDAY",
2: "TUESDAY",
3: "WEDNESDAY",
4: "THURSDAY",
5: "FRIDAY",
6: "SATURDAY",
7: "SUNDAY",
2022-01-30 15:27:37 -08:00
}
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"MONDAY": 1,
"TUESDAY": 2,
"WEDNESDAY": 3,
"THURSDAY": 4,
"FRIDAY": 5,
"SATURDAY": 6,
"SUNDAY": 7,
2022-01-30 15:27:37 -08:00
}
)
func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Enum() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType {
p := new(HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[11].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[11]
2022-01-30 15:27:37 -08:00
}
func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType.Descriptor instead.
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1, 0}
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType int32
2022-01-30 15:27:37 -08:00
const (
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_GREGORIAN HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType = 1
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SOLAR_HIJRI HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType.
2022-01-30 15:27:37 -08:00
var (
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
1: "GREGORIAN",
2: "SOLAR_HIJRI",
2022-01-30 15:27:37 -08:00
}
HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"GREGORIAN": 1,
"SOLAR_HIJRI": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Enum() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType {
p := new(HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[12].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[12]
2022-01-30 15:27:37 -08:00
}
func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType.Descriptor instead.
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1, 1}
2022-01-30 15:27:37 -08:00
}
type GroupInviteMessage_GroupType int32
2022-01-30 15:27:37 -08:00
const (
GroupInviteMessage_DEFAULT GroupInviteMessage_GroupType = 0
GroupInviteMessage_PARENT GroupInviteMessage_GroupType = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for GroupInviteMessage_GroupType.
2022-01-30 15:27:37 -08:00
var (
GroupInviteMessage_GroupType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "DEFAULT",
1: "PARENT",
2022-01-30 15:27:37 -08:00
}
GroupInviteMessage_GroupType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"DEFAULT": 0,
"PARENT": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x GroupInviteMessage_GroupType) Enum() *GroupInviteMessage_GroupType {
p := new(GroupInviteMessage_GroupType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x GroupInviteMessage_GroupType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GroupInviteMessage_GroupType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[13].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (GroupInviteMessage_GroupType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[13]
2022-01-30 15:27:37 -08:00
}
func (x GroupInviteMessage_GroupType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *GroupInviteMessage_GroupType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = GroupInviteMessage_GroupType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use GroupInviteMessage_GroupType.Descriptor instead.
func (GroupInviteMessage_GroupType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 0}
2022-01-30 15:27:37 -08:00
}
type ExtendedTextMessage_PreviewType int32
2022-01-30 15:27:37 -08:00
const (
ExtendedTextMessage_NONE ExtendedTextMessage_PreviewType = 0
ExtendedTextMessage_VIDEO ExtendedTextMessage_PreviewType = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ExtendedTextMessage_PreviewType.
2022-01-30 15:27:37 -08:00
var (
ExtendedTextMessage_PreviewType_name = map[int32]string{
0: "NONE",
1: "VIDEO",
2022-01-30 15:27:37 -08:00
}
ExtendedTextMessage_PreviewType_value = map[string]int32{
"NONE": 0,
"VIDEO": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x ExtendedTextMessage_PreviewType) Enum() *ExtendedTextMessage_PreviewType {
p := new(ExtendedTextMessage_PreviewType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ExtendedTextMessage_PreviewType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ExtendedTextMessage_PreviewType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[14].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ExtendedTextMessage_PreviewType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[14]
2022-01-30 15:27:37 -08:00
}
func (x ExtendedTextMessage_PreviewType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ExtendedTextMessage_PreviewType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ExtendedTextMessage_PreviewType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ExtendedTextMessage_PreviewType.Descriptor instead.
func (ExtendedTextMessage_PreviewType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 0}
2022-01-30 15:27:37 -08:00
}
type ExtendedTextMessage_InviteLinkGroupType int32
2022-01-30 15:27:37 -08:00
const (
ExtendedTextMessage_DEFAULT ExtendedTextMessage_InviteLinkGroupType = 0
ExtendedTextMessage_PARENT ExtendedTextMessage_InviteLinkGroupType = 1
ExtendedTextMessage_SUB ExtendedTextMessage_InviteLinkGroupType = 2
ExtendedTextMessage_DEFAULT_SUB ExtendedTextMessage_InviteLinkGroupType = 3
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ExtendedTextMessage_InviteLinkGroupType.
2022-01-30 15:27:37 -08:00
var (
ExtendedTextMessage_InviteLinkGroupType_name = map[int32]string{
0: "DEFAULT",
1: "PARENT",
2: "SUB",
3: "DEFAULT_SUB",
2022-01-30 15:27:37 -08:00
}
ExtendedTextMessage_InviteLinkGroupType_value = map[string]int32{
"DEFAULT": 0,
"PARENT": 1,
"SUB": 2,
"DEFAULT_SUB": 3,
2022-01-30 15:27:37 -08:00
}
)
func (x ExtendedTextMessage_InviteLinkGroupType) Enum() *ExtendedTextMessage_InviteLinkGroupType {
p := new(ExtendedTextMessage_InviteLinkGroupType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ExtendedTextMessage_InviteLinkGroupType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ExtendedTextMessage_InviteLinkGroupType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[15].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ExtendedTextMessage_InviteLinkGroupType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[15]
2022-01-30 15:27:37 -08:00
}
func (x ExtendedTextMessage_InviteLinkGroupType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ExtendedTextMessage_InviteLinkGroupType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ExtendedTextMessage_InviteLinkGroupType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ExtendedTextMessage_InviteLinkGroupType.Descriptor instead.
func (ExtendedTextMessage_InviteLinkGroupType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 1}
2022-01-30 15:27:37 -08:00
}
type ExtendedTextMessage_FontType int32
2022-01-30 15:27:37 -08:00
const (
ExtendedTextMessage_SYSTEM ExtendedTextMessage_FontType = 0
ExtendedTextMessage_SYSTEM_TEXT ExtendedTextMessage_FontType = 1
ExtendedTextMessage_FB_SCRIPT ExtendedTextMessage_FontType = 2
ExtendedTextMessage_SYSTEM_BOLD ExtendedTextMessage_FontType = 6
ExtendedTextMessage_MORNINGBREEZE_REGULAR ExtendedTextMessage_FontType = 7
ExtendedTextMessage_CALISTOGA_REGULAR ExtendedTextMessage_FontType = 8
ExtendedTextMessage_EXO2_EXTRABOLD ExtendedTextMessage_FontType = 9
ExtendedTextMessage_COURIERPRIME_BOLD ExtendedTextMessage_FontType = 10
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ExtendedTextMessage_FontType.
2022-01-30 15:27:37 -08:00
var (
ExtendedTextMessage_FontType_name = map[int32]string{
0: "SYSTEM",
1: "SYSTEM_TEXT",
2: "FB_SCRIPT",
6: "SYSTEM_BOLD",
7: "MORNINGBREEZE_REGULAR",
8: "CALISTOGA_REGULAR",
9: "EXO2_EXTRABOLD",
10: "COURIERPRIME_BOLD",
2022-01-30 15:27:37 -08:00
}
ExtendedTextMessage_FontType_value = map[string]int32{
"SYSTEM": 0,
"SYSTEM_TEXT": 1,
"FB_SCRIPT": 2,
"SYSTEM_BOLD": 6,
"MORNINGBREEZE_REGULAR": 7,
"CALISTOGA_REGULAR": 8,
"EXO2_EXTRABOLD": 9,
"COURIERPRIME_BOLD": 10,
2022-01-30 15:27:37 -08:00
}
)
func (x ExtendedTextMessage_FontType) Enum() *ExtendedTextMessage_FontType {
p := new(ExtendedTextMessage_FontType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ExtendedTextMessage_FontType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ExtendedTextMessage_FontType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[16].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ExtendedTextMessage_FontType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[16]
2022-01-30 15:27:37 -08:00
}
func (x ExtendedTextMessage_FontType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ExtendedTextMessage_FontType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ExtendedTextMessage_FontType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ExtendedTextMessage_FontType.Descriptor instead.
func (ExtendedTextMessage_FontType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 2}
2022-01-30 15:27:37 -08:00
}
type ButtonsResponseMessage_Type int32
2022-01-30 15:27:37 -08:00
const (
ButtonsResponseMessage_UNKNOWN ButtonsResponseMessage_Type = 0
ButtonsResponseMessage_DISPLAY_TEXT ButtonsResponseMessage_Type = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ButtonsResponseMessage_Type.
2022-01-30 15:27:37 -08:00
var (
ButtonsResponseMessage_Type_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "UNKNOWN",
1: "DISPLAY_TEXT",
2022-01-30 15:27:37 -08:00
}
ButtonsResponseMessage_Type_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"UNKNOWN": 0,
"DISPLAY_TEXT": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x ButtonsResponseMessage_Type) Enum() *ButtonsResponseMessage_Type {
p := new(ButtonsResponseMessage_Type)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ButtonsResponseMessage_Type) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ButtonsResponseMessage_Type) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[17].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ButtonsResponseMessage_Type) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[17]
2022-01-30 15:27:37 -08:00
}
func (x ButtonsResponseMessage_Type) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ButtonsResponseMessage_Type) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ButtonsResponseMessage_Type(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ButtonsResponseMessage_Type.Descriptor instead.
func (ButtonsResponseMessage_Type) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 0}
2022-01-30 15:27:37 -08:00
}
type ButtonsMessage_HeaderType int32
2022-01-30 15:27:37 -08:00
const (
ButtonsMessage_UNKNOWN ButtonsMessage_HeaderType = 0
ButtonsMessage_EMPTY ButtonsMessage_HeaderType = 1
ButtonsMessage_TEXT ButtonsMessage_HeaderType = 2
ButtonsMessage_DOCUMENT ButtonsMessage_HeaderType = 3
ButtonsMessage_IMAGE ButtonsMessage_HeaderType = 4
ButtonsMessage_VIDEO ButtonsMessage_HeaderType = 5
ButtonsMessage_LOCATION ButtonsMessage_HeaderType = 6
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ButtonsMessage_HeaderType.
2022-01-30 15:27:37 -08:00
var (
ButtonsMessage_HeaderType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "UNKNOWN",
1: "EMPTY",
2: "TEXT",
3: "DOCUMENT",
4: "IMAGE",
5: "VIDEO",
6: "LOCATION",
2022-01-30 15:27:37 -08:00
}
ButtonsMessage_HeaderType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"UNKNOWN": 0,
"EMPTY": 1,
"TEXT": 2,
"DOCUMENT": 3,
"IMAGE": 4,
"VIDEO": 5,
"LOCATION": 6,
2022-01-30 15:27:37 -08:00
}
)
func (x ButtonsMessage_HeaderType) Enum() *ButtonsMessage_HeaderType {
p := new(ButtonsMessage_HeaderType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ButtonsMessage_HeaderType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ButtonsMessage_HeaderType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[18].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ButtonsMessage_HeaderType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[18]
2022-01-30 15:27:37 -08:00
}
func (x ButtonsMessage_HeaderType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ButtonsMessage_HeaderType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ButtonsMessage_HeaderType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ButtonsMessage_HeaderType.Descriptor instead.
func (ButtonsMessage_HeaderType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0}
2022-01-30 15:27:37 -08:00
}
type ButtonsMessage_Button_Type int32
2022-01-30 15:27:37 -08:00
const (
ButtonsMessage_Button_UNKNOWN ButtonsMessage_Button_Type = 0
ButtonsMessage_Button_RESPONSE ButtonsMessage_Button_Type = 1
ButtonsMessage_Button_NATIVE_FLOW ButtonsMessage_Button_Type = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ButtonsMessage_Button_Type.
2022-01-30 15:27:37 -08:00
var (
ButtonsMessage_Button_Type_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "UNKNOWN",
1: "RESPONSE",
2: "NATIVE_FLOW",
2022-01-30 15:27:37 -08:00
}
ButtonsMessage_Button_Type_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"UNKNOWN": 0,
"RESPONSE": 1,
"NATIVE_FLOW": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x ButtonsMessage_Button_Type) Enum() *ButtonsMessage_Button_Type {
p := new(ButtonsMessage_Button_Type)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ButtonsMessage_Button_Type) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ButtonsMessage_Button_Type) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[19].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ButtonsMessage_Button_Type) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[19]
2022-01-30 15:27:37 -08:00
}
func (x ButtonsMessage_Button_Type) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ButtonsMessage_Button_Type) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ButtonsMessage_Button_Type(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ButtonsMessage_Button_Type.Descriptor instead.
func (ButtonsMessage_Button_Type) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 0}
}
type BotFeedbackMessage_BotFeedbackKind int32
const (
BotFeedbackMessage_BOT_FEEDBACK_POSITIVE BotFeedbackMessage_BotFeedbackKind = 0
BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC BotFeedbackMessage_BotFeedbackKind = 1
BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL BotFeedbackMessage_BotFeedbackKind = 2
BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING BotFeedbackMessage_BotFeedbackKind = 3
BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE BotFeedbackMessage_BotFeedbackKind = 4
BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE BotFeedbackMessage_BotFeedbackKind = 5
BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER BotFeedbackMessage_BotFeedbackKind = 6
)
// Enum value maps for BotFeedbackMessage_BotFeedbackKind.
var (
BotFeedbackMessage_BotFeedbackKind_name = map[int32]string{
0: "BOT_FEEDBACK_POSITIVE",
1: "BOT_FEEDBACK_NEGATIVE_GENERIC",
2: "BOT_FEEDBACK_NEGATIVE_HELPFUL",
3: "BOT_FEEDBACK_NEGATIVE_INTERESTING",
4: "BOT_FEEDBACK_NEGATIVE_ACCURATE",
5: "BOT_FEEDBACK_NEGATIVE_SAFE",
6: "BOT_FEEDBACK_NEGATIVE_OTHER",
}
BotFeedbackMessage_BotFeedbackKind_value = map[string]int32{
"BOT_FEEDBACK_POSITIVE": 0,
"BOT_FEEDBACK_NEGATIVE_GENERIC": 1,
"BOT_FEEDBACK_NEGATIVE_HELPFUL": 2,
"BOT_FEEDBACK_NEGATIVE_INTERESTING": 3,
"BOT_FEEDBACK_NEGATIVE_ACCURATE": 4,
"BOT_FEEDBACK_NEGATIVE_SAFE": 5,
"BOT_FEEDBACK_NEGATIVE_OTHER": 6,
}
)
func (x BotFeedbackMessage_BotFeedbackKind) Enum() *BotFeedbackMessage_BotFeedbackKind {
p := new(BotFeedbackMessage_BotFeedbackKind)
*p = x
return p
}
func (x BotFeedbackMessage_BotFeedbackKind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BotFeedbackMessage_BotFeedbackKind) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[20].Descriptor()
}
func (BotFeedbackMessage_BotFeedbackKind) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[20]
}
func (x BotFeedbackMessage_BotFeedbackKind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *BotFeedbackMessage_BotFeedbackKind) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = BotFeedbackMessage_BotFeedbackKind(num)
return nil
}
// Deprecated: Use BotFeedbackMessage_BotFeedbackKind.Descriptor instead.
func (BotFeedbackMessage_BotFeedbackKind) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{32, 0}
}
type DisappearingMode_Trigger int32
const (
DisappearingMode_UNKNOWN DisappearingMode_Trigger = 0
DisappearingMode_CHAT_SETTING DisappearingMode_Trigger = 1
DisappearingMode_ACCOUNT_SETTING DisappearingMode_Trigger = 2
DisappearingMode_BULK_CHANGE DisappearingMode_Trigger = 3
)
// Enum value maps for DisappearingMode_Trigger.
var (
DisappearingMode_Trigger_name = map[int32]string{
0: "UNKNOWN",
1: "CHAT_SETTING",
2: "ACCOUNT_SETTING",
3: "BULK_CHANGE",
}
DisappearingMode_Trigger_value = map[string]int32{
"UNKNOWN": 0,
"CHAT_SETTING": 1,
"ACCOUNT_SETTING": 2,
"BULK_CHANGE": 3,
}
)
func (x DisappearingMode_Trigger) Enum() *DisappearingMode_Trigger {
p := new(DisappearingMode_Trigger)
*p = x
return p
}
func (x DisappearingMode_Trigger) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DisappearingMode_Trigger) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[21].Descriptor()
}
func (DisappearingMode_Trigger) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[21]
}
func (x DisappearingMode_Trigger) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DisappearingMode_Trigger) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DisappearingMode_Trigger(num)
return nil
}
// Deprecated: Use DisappearingMode_Trigger.Descriptor instead.
func (DisappearingMode_Trigger) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 0}
2022-01-30 15:27:37 -08:00
}
type DisappearingMode_Initiator int32
2022-01-30 15:27:37 -08:00
const (
DisappearingMode_CHANGED_IN_CHAT DisappearingMode_Initiator = 0
DisappearingMode_INITIATED_BY_ME DisappearingMode_Initiator = 1
DisappearingMode_INITIATED_BY_OTHER DisappearingMode_Initiator = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for DisappearingMode_Initiator.
2022-01-30 15:27:37 -08:00
var (
DisappearingMode_Initiator_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "CHANGED_IN_CHAT",
1: "INITIATED_BY_ME",
2: "INITIATED_BY_OTHER",
2022-01-30 15:27:37 -08:00
}
DisappearingMode_Initiator_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"CHANGED_IN_CHAT": 0,
"INITIATED_BY_ME": 1,
"INITIATED_BY_OTHER": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x DisappearingMode_Initiator) Enum() *DisappearingMode_Initiator {
p := new(DisappearingMode_Initiator)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x DisappearingMode_Initiator) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DisappearingMode_Initiator) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[22].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (DisappearingMode_Initiator) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[22]
2022-01-30 15:27:37 -08:00
}
func (x DisappearingMode_Initiator) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *DisappearingMode_Initiator) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = DisappearingMode_Initiator(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use DisappearingMode_Initiator.Descriptor instead.
func (DisappearingMode_Initiator) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 1}
2022-01-30 15:27:37 -08:00
}
type ContextInfo_ExternalAdReplyInfo_MediaType int32
2022-01-30 15:27:37 -08:00
const (
ContextInfo_ExternalAdReplyInfo_NONE ContextInfo_ExternalAdReplyInfo_MediaType = 0
ContextInfo_ExternalAdReplyInfo_IMAGE ContextInfo_ExternalAdReplyInfo_MediaType = 1
ContextInfo_ExternalAdReplyInfo_VIDEO ContextInfo_ExternalAdReplyInfo_MediaType = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ContextInfo_ExternalAdReplyInfo_MediaType.
2022-01-30 15:27:37 -08:00
var (
ContextInfo_ExternalAdReplyInfo_MediaType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "NONE",
1: "IMAGE",
2: "VIDEO",
2022-01-30 15:27:37 -08:00
}
ContextInfo_ExternalAdReplyInfo_MediaType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"NONE": 0,
"IMAGE": 1,
"VIDEO": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x ContextInfo_ExternalAdReplyInfo_MediaType) Enum() *ContextInfo_ExternalAdReplyInfo_MediaType {
p := new(ContextInfo_ExternalAdReplyInfo_MediaType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ContextInfo_ExternalAdReplyInfo_MediaType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ContextInfo_ExternalAdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[23].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ContextInfo_ExternalAdReplyInfo_MediaType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[23]
2022-01-30 15:27:37 -08:00
}
func (x ContextInfo_ExternalAdReplyInfo_MediaType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ContextInfo_ExternalAdReplyInfo_MediaType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ContextInfo_ExternalAdReplyInfo_MediaType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ContextInfo_ExternalAdReplyInfo_MediaType.Descriptor instead.
func (ContextInfo_ExternalAdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2, 0}
2022-01-30 15:27:37 -08:00
}
type ContextInfo_AdReplyInfo_MediaType int32
2022-01-30 15:27:37 -08:00
const (
ContextInfo_AdReplyInfo_NONE ContextInfo_AdReplyInfo_MediaType = 0
ContextInfo_AdReplyInfo_IMAGE ContextInfo_AdReplyInfo_MediaType = 1
ContextInfo_AdReplyInfo_VIDEO ContextInfo_AdReplyInfo_MediaType = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ContextInfo_AdReplyInfo_MediaType.
2022-01-30 15:27:37 -08:00
var (
ContextInfo_AdReplyInfo_MediaType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "NONE",
1: "IMAGE",
2: "VIDEO",
2022-01-30 15:27:37 -08:00
}
ContextInfo_AdReplyInfo_MediaType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"NONE": 0,
"IMAGE": 1,
"VIDEO": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x ContextInfo_AdReplyInfo_MediaType) Enum() *ContextInfo_AdReplyInfo_MediaType {
p := new(ContextInfo_AdReplyInfo_MediaType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ContextInfo_AdReplyInfo_MediaType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ContextInfo_AdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[24].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ContextInfo_AdReplyInfo_MediaType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[24]
2022-01-30 15:27:37 -08:00
}
func (x ContextInfo_AdReplyInfo_MediaType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ContextInfo_AdReplyInfo_MediaType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ContextInfo_AdReplyInfo_MediaType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ContextInfo_AdReplyInfo_MediaType.Descriptor instead.
func (ContextInfo_AdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 4, 0}
2022-01-30 15:27:37 -08:00
}
type PaymentBackground_Type int32
2022-01-30 15:27:37 -08:00
const (
PaymentBackground_UNKNOWN PaymentBackground_Type = 0
PaymentBackground_DEFAULT PaymentBackground_Type = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for PaymentBackground_Type.
2022-01-30 15:27:37 -08:00
var (
PaymentBackground_Type_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "UNKNOWN",
1: "DEFAULT",
2022-01-30 15:27:37 -08:00
}
PaymentBackground_Type_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"UNKNOWN": 0,
"DEFAULT": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x PaymentBackground_Type) Enum() *PaymentBackground_Type {
p := new(PaymentBackground_Type)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x PaymentBackground_Type) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PaymentBackground_Type) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[25].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (PaymentBackground_Type) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[25]
2022-01-30 15:27:37 -08:00
}
func (x PaymentBackground_Type) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PaymentBackground_Type) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PaymentBackground_Type(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use PaymentBackground_Type.Descriptor instead.
func (PaymentBackground_Type) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{54, 0}
2022-01-30 15:27:37 -08:00
}
type VideoMessage_Attribution int32
2022-01-30 15:27:37 -08:00
const (
VideoMessage_NONE VideoMessage_Attribution = 0
VideoMessage_GIPHY VideoMessage_Attribution = 1
VideoMessage_TENOR VideoMessage_Attribution = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for VideoMessage_Attribution.
2022-01-30 15:27:37 -08:00
var (
VideoMessage_Attribution_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "NONE",
1: "GIPHY",
2: "TENOR",
2022-01-30 15:27:37 -08:00
}
VideoMessage_Attribution_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"NONE": 0,
"GIPHY": 1,
"TENOR": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x VideoMessage_Attribution) Enum() *VideoMessage_Attribution {
p := new(VideoMessage_Attribution)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x VideoMessage_Attribution) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (VideoMessage_Attribution) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[26].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (VideoMessage_Attribution) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[26]
2022-01-30 15:27:37 -08:00
}
func (x VideoMessage_Attribution) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *VideoMessage_Attribution) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = VideoMessage_Attribution(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use VideoMessage_Attribution.Descriptor instead.
func (VideoMessage_Attribution) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{59, 0}
2022-01-30 15:27:37 -08:00
}
type ScheduledCallEditMessage_EditType int32
const (
ScheduledCallEditMessage_UNKNOWN ScheduledCallEditMessage_EditType = 0
ScheduledCallEditMessage_CANCEL ScheduledCallEditMessage_EditType = 1
)
// Enum value maps for ScheduledCallEditMessage_EditType.
var (
ScheduledCallEditMessage_EditType_name = map[int32]string{
0: "UNKNOWN",
1: "CANCEL",
}
ScheduledCallEditMessage_EditType_value = map[string]int32{
"UNKNOWN": 0,
"CANCEL": 1,
}
)
func (x ScheduledCallEditMessage_EditType) Enum() *ScheduledCallEditMessage_EditType {
p := new(ScheduledCallEditMessage_EditType)
*p = x
return p
}
func (x ScheduledCallEditMessage_EditType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ScheduledCallEditMessage_EditType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[27].Descriptor()
}
func (ScheduledCallEditMessage_EditType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[27]
}
func (x ScheduledCallEditMessage_EditType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ScheduledCallEditMessage_EditType) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ScheduledCallEditMessage_EditType(num)
return nil
}
// Deprecated: Use ScheduledCallEditMessage_EditType.Descriptor instead.
func (ScheduledCallEditMessage_EditType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{66, 0}
}
type ScheduledCallCreationMessage_CallType int32
const (
ScheduledCallCreationMessage_UNKNOWN ScheduledCallCreationMessage_CallType = 0
ScheduledCallCreationMessage_VOICE ScheduledCallCreationMessage_CallType = 1
ScheduledCallCreationMessage_VIDEO ScheduledCallCreationMessage_CallType = 2
)
// Enum value maps for ScheduledCallCreationMessage_CallType.
var (
ScheduledCallCreationMessage_CallType_name = map[int32]string{
0: "UNKNOWN",
1: "VOICE",
2: "VIDEO",
}
ScheduledCallCreationMessage_CallType_value = map[string]int32{
"UNKNOWN": 0,
"VOICE": 1,
"VIDEO": 2,
}
)
func (x ScheduledCallCreationMessage_CallType) Enum() *ScheduledCallCreationMessage_CallType {
p := new(ScheduledCallCreationMessage_CallType)
*p = x
return p
}
func (x ScheduledCallCreationMessage_CallType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ScheduledCallCreationMessage_CallType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[28].Descriptor()
}
func (ScheduledCallCreationMessage_CallType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[28]
}
func (x ScheduledCallCreationMessage_CallType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ScheduledCallCreationMessage_CallType) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ScheduledCallCreationMessage_CallType(num)
return nil
}
// Deprecated: Use ScheduledCallCreationMessage_CallType.Descriptor instead.
func (ScheduledCallCreationMessage_CallType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{67, 0}
}
type ProtocolMessage_Type int32
2022-06-24 15:36:16 -07:00
const (
2022-11-26 15:42:16 -08:00
ProtocolMessage_REVOKE ProtocolMessage_Type = 0
ProtocolMessage_EPHEMERAL_SETTING ProtocolMessage_Type = 3
ProtocolMessage_EPHEMERAL_SYNC_RESPONSE ProtocolMessage_Type = 4
ProtocolMessage_HISTORY_SYNC_NOTIFICATION ProtocolMessage_Type = 5
ProtocolMessage_APP_STATE_SYNC_KEY_SHARE ProtocolMessage_Type = 6
ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST ProtocolMessage_Type = 7
ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST ProtocolMessage_Type = 8
ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC ProtocolMessage_Type = 9
ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION ProtocolMessage_Type = 10
ProtocolMessage_SHARE_PHONE_NUMBER ProtocolMessage_Type = 11
ProtocolMessage_MESSAGE_EDIT ProtocolMessage_Type = 14
ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE ProtocolMessage_Type = 16
ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE ProtocolMessage_Type = 17
ProtocolMessage_REQUEST_WELCOME_MESSAGE ProtocolMessage_Type = 18
ProtocolMessage_BOT_FEEDBACK_MESSAGE ProtocolMessage_Type = 19
2022-06-24 15:36:16 -07:00
)
// Enum value maps for ProtocolMessage_Type.
2022-06-24 15:36:16 -07:00
var (
ProtocolMessage_Type_name = map[int32]string{
2022-06-24 15:36:16 -07:00
0: "REVOKE",
3: "EPHEMERAL_SETTING",
4: "EPHEMERAL_SYNC_RESPONSE",
5: "HISTORY_SYNC_NOTIFICATION",
6: "APP_STATE_SYNC_KEY_SHARE",
7: "APP_STATE_SYNC_KEY_REQUEST",
8: "MSG_FANOUT_BACKFILL_REQUEST",
9: "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC",
10: "APP_STATE_FATAL_EXCEPTION_NOTIFICATION",
11: "SHARE_PHONE_NUMBER",
2022-11-26 15:42:16 -08:00
14: "MESSAGE_EDIT",
16: "PEER_DATA_OPERATION_REQUEST_MESSAGE",
17: "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE",
18: "REQUEST_WELCOME_MESSAGE",
19: "BOT_FEEDBACK_MESSAGE",
2022-06-24 15:36:16 -07:00
}
ProtocolMessage_Type_value = map[string]int32{
2022-11-26 15:42:16 -08:00
"REVOKE": 0,
"EPHEMERAL_SETTING": 3,
"EPHEMERAL_SYNC_RESPONSE": 4,
"HISTORY_SYNC_NOTIFICATION": 5,
"APP_STATE_SYNC_KEY_SHARE": 6,
"APP_STATE_SYNC_KEY_REQUEST": 7,
"MSG_FANOUT_BACKFILL_REQUEST": 8,
"INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC": 9,
"APP_STATE_FATAL_EXCEPTION_NOTIFICATION": 10,
"SHARE_PHONE_NUMBER": 11,
"MESSAGE_EDIT": 14,
"PEER_DATA_OPERATION_REQUEST_MESSAGE": 16,
"PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE": 17,
"REQUEST_WELCOME_MESSAGE": 18,
"BOT_FEEDBACK_MESSAGE": 19,
2022-06-24 15:36:16 -07:00
}
)
func (x ProtocolMessage_Type) Enum() *ProtocolMessage_Type {
p := new(ProtocolMessage_Type)
2022-06-24 15:36:16 -07:00
*p = x
return p
}
func (x ProtocolMessage_Type) String() string {
2022-06-24 15:36:16 -07:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ProtocolMessage_Type) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[29].Descriptor()
2022-06-24 15:36:16 -07:00
}
func (ProtocolMessage_Type) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[29]
}
func (x ProtocolMessage_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ProtocolMessage_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ProtocolMessage_Type(num)
return nil
}
// Deprecated: Use ProtocolMessage_Type.Descriptor instead.
func (ProtocolMessage_Type) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{71, 0}
}
type PinInChatMessage_Type int32
const (
PinInChatMessage_UNKNOWN_TYPE PinInChatMessage_Type = 0
PinInChatMessage_PIN_FOR_ALL PinInChatMessage_Type = 1
PinInChatMessage_UNPIN_FOR_ALL PinInChatMessage_Type = 2
)
// Enum value maps for PinInChatMessage_Type.
var (
PinInChatMessage_Type_name = map[int32]string{
0: "UNKNOWN_TYPE",
1: "PIN_FOR_ALL",
2: "UNPIN_FOR_ALL",
}
PinInChatMessage_Type_value = map[string]int32{
"UNKNOWN_TYPE": 0,
"PIN_FOR_ALL": 1,
"UNPIN_FOR_ALL": 2,
}
)
func (x PinInChatMessage_Type) Enum() *PinInChatMessage_Type {
p := new(PinInChatMessage_Type)
*p = x
return p
}
func (x PinInChatMessage_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PinInChatMessage_Type) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[30].Descriptor()
}
func (PinInChatMessage_Type) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[30]
}
func (x PinInChatMessage_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PinInChatMessage_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PinInChatMessage_Type(num)
return nil
}
// Deprecated: Use PinInChatMessage_Type.Descriptor instead.
func (PinInChatMessage_Type) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{78, 0}
}
type PaymentInviteMessage_ServiceType int32
const (
PaymentInviteMessage_UNKNOWN PaymentInviteMessage_ServiceType = 0
PaymentInviteMessage_FBPAY PaymentInviteMessage_ServiceType = 1
PaymentInviteMessage_NOVI PaymentInviteMessage_ServiceType = 2
PaymentInviteMessage_UPI PaymentInviteMessage_ServiceType = 3
)
// Enum value maps for PaymentInviteMessage_ServiceType.
var (
PaymentInviteMessage_ServiceType_name = map[int32]string{
0: "UNKNOWN",
1: "FBPAY",
2: "NOVI",
3: "UPI",
}
PaymentInviteMessage_ServiceType_value = map[string]int32{
"UNKNOWN": 0,
"FBPAY": 1,
"NOVI": 2,
"UPI": 3,
}
)
func (x PaymentInviteMessage_ServiceType) Enum() *PaymentInviteMessage_ServiceType {
p := new(PaymentInviteMessage_ServiceType)
*p = x
return p
}
func (x PaymentInviteMessage_ServiceType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PaymentInviteMessage_ServiceType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[31].Descriptor()
}
func (PaymentInviteMessage_ServiceType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[31]
2022-06-24 15:36:16 -07:00
}
func (x PaymentInviteMessage_ServiceType) Number() protoreflect.EnumNumber {
2022-06-24 15:36:16 -07:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PaymentInviteMessage_ServiceType) UnmarshalJSON(b []byte) error {
2022-06-24 15:36:16 -07:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PaymentInviteMessage_ServiceType(num)
2022-06-24 15:36:16 -07:00
return nil
}
// Deprecated: Use PaymentInviteMessage_ServiceType.Descriptor instead.
func (PaymentInviteMessage_ServiceType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{81, 0}
2022-06-24 15:36:16 -07:00
}
type OrderMessage_OrderSurface int32
const (
OrderMessage_CATALOG OrderMessage_OrderSurface = 1
)
// Enum value maps for OrderMessage_OrderSurface.
var (
OrderMessage_OrderSurface_name = map[int32]string{
1: "CATALOG",
}
OrderMessage_OrderSurface_value = map[string]int32{
"CATALOG": 1,
}
)
func (x OrderMessage_OrderSurface) Enum() *OrderMessage_OrderSurface {
p := new(OrderMessage_OrderSurface)
*p = x
return p
}
func (x OrderMessage_OrderSurface) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (OrderMessage_OrderSurface) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[32].Descriptor()
}
func (OrderMessage_OrderSurface) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[32]
}
func (x OrderMessage_OrderSurface) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *OrderMessage_OrderSurface) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = OrderMessage_OrderSurface(num)
return nil
}
// Deprecated: Use OrderMessage_OrderSurface.Descriptor instead.
func (OrderMessage_OrderSurface) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 0}
}
type OrderMessage_OrderStatus int32
const (
OrderMessage_INQUIRY OrderMessage_OrderStatus = 1
)
// Enum value maps for OrderMessage_OrderStatus.
var (
OrderMessage_OrderStatus_name = map[int32]string{
1: "INQUIRY",
}
OrderMessage_OrderStatus_value = map[string]int32{
"INQUIRY": 1,
}
)
func (x OrderMessage_OrderStatus) Enum() *OrderMessage_OrderStatus {
p := new(OrderMessage_OrderStatus)
*p = x
return p
}
func (x OrderMessage_OrderStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (OrderMessage_OrderStatus) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[33].Descriptor()
}
func (OrderMessage_OrderStatus) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[33]
}
func (x OrderMessage_OrderStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *OrderMessage_OrderStatus) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = OrderMessage_OrderStatus(num)
return nil
}
// Deprecated: Use OrderMessage_OrderStatus.Descriptor instead.
func (OrderMessage_OrderStatus) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 1}
}
type PastParticipant_LeaveReason int32
const (
PastParticipant_LEFT PastParticipant_LeaveReason = 0
PastParticipant_REMOVED PastParticipant_LeaveReason = 1
)
// Enum value maps for PastParticipant_LeaveReason.
var (
PastParticipant_LeaveReason_name = map[int32]string{
0: "LEFT",
1: "REMOVED",
}
PastParticipant_LeaveReason_value = map[string]int32{
"LEFT": 0,
"REMOVED": 1,
}
)
func (x PastParticipant_LeaveReason) Enum() *PastParticipant_LeaveReason {
p := new(PastParticipant_LeaveReason)
*p = x
return p
}
func (x PastParticipant_LeaveReason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PastParticipant_LeaveReason) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[34].Descriptor()
}
func (PastParticipant_LeaveReason) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[34]
}
func (x PastParticipant_LeaveReason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PastParticipant_LeaveReason) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PastParticipant_LeaveReason(num)
return nil
}
// Deprecated: Use PastParticipant_LeaveReason.Descriptor instead.
func (PastParticipant_LeaveReason) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{89, 0}
}
type HistorySync_HistorySyncType int32
2022-01-30 15:27:37 -08:00
const (
HistorySync_INITIAL_BOOTSTRAP HistorySync_HistorySyncType = 0
HistorySync_INITIAL_STATUS_V3 HistorySync_HistorySyncType = 1
HistorySync_FULL HistorySync_HistorySyncType = 2
HistorySync_RECENT HistorySync_HistorySyncType = 3
HistorySync_PUSH_NAME HistorySync_HistorySyncType = 4
HistorySync_NON_BLOCKING_DATA HistorySync_HistorySyncType = 5
HistorySync_ON_DEMAND HistorySync_HistorySyncType = 6
2022-01-30 15:27:37 -08:00
)
// Enum value maps for HistorySync_HistorySyncType.
2022-01-30 15:27:37 -08:00
var (
HistorySync_HistorySyncType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "INITIAL_BOOTSTRAP",
1: "INITIAL_STATUS_V3",
2: "FULL",
3: "RECENT",
4: "PUSH_NAME",
5: "NON_BLOCKING_DATA",
6: "ON_DEMAND",
2022-01-30 15:27:37 -08:00
}
HistorySync_HistorySyncType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"INITIAL_BOOTSTRAP": 0,
"INITIAL_STATUS_V3": 1,
"FULL": 2,
"RECENT": 3,
"PUSH_NAME": 4,
"NON_BLOCKING_DATA": 5,
"ON_DEMAND": 6,
2022-01-30 15:27:37 -08:00
}
)
func (x HistorySync_HistorySyncType) Enum() *HistorySync_HistorySyncType {
p := new(HistorySync_HistorySyncType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x HistorySync_HistorySyncType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (HistorySync_HistorySyncType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[35].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (HistorySync_HistorySyncType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[35]
2022-01-30 15:27:37 -08:00
}
func (x HistorySync_HistorySyncType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *HistorySync_HistorySyncType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = HistorySync_HistorySyncType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use HistorySync_HistorySyncType.Descriptor instead.
func (HistorySync_HistorySyncType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{91, 0}
2022-01-30 15:27:37 -08:00
}
type GroupParticipant_Rank int32
2022-01-30 15:27:37 -08:00
const (
GroupParticipant_REGULAR GroupParticipant_Rank = 0
GroupParticipant_ADMIN GroupParticipant_Rank = 1
GroupParticipant_SUPERADMIN GroupParticipant_Rank = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for GroupParticipant_Rank.
2022-01-30 15:27:37 -08:00
var (
GroupParticipant_Rank_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "REGULAR",
1: "ADMIN",
2: "SUPERADMIN",
2022-01-30 15:27:37 -08:00
}
GroupParticipant_Rank_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"REGULAR": 0,
"ADMIN": 1,
"SUPERADMIN": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x GroupParticipant_Rank) Enum() *GroupParticipant_Rank {
p := new(GroupParticipant_Rank)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x GroupParticipant_Rank) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GroupParticipant_Rank) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[36].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (GroupParticipant_Rank) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[36]
2022-01-30 15:27:37 -08:00
}
func (x GroupParticipant_Rank) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *GroupParticipant_Rank) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = GroupParticipant_Rank(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use GroupParticipant_Rank.Descriptor instead.
func (GroupParticipant_Rank) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{93, 0}
2022-01-30 15:27:37 -08:00
}
type Conversation_EndOfHistoryTransferType int32
2022-01-30 15:27:37 -08:00
const (
Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 0
Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 1
Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for Conversation_EndOfHistoryTransferType.
2022-01-30 15:27:37 -08:00
var (
Conversation_EndOfHistoryTransferType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY",
1: "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY",
2: "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY",
2022-01-30 15:27:37 -08:00
}
Conversation_EndOfHistoryTransferType_value = map[string]int32{
"COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY": 0,
"COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY": 1,
"COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x Conversation_EndOfHistoryTransferType) Enum() *Conversation_EndOfHistoryTransferType {
p := new(Conversation_EndOfHistoryTransferType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x Conversation_EndOfHistoryTransferType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Conversation_EndOfHistoryTransferType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[37].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (Conversation_EndOfHistoryTransferType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[37]
2022-01-30 15:27:37 -08:00
}
func (x Conversation_EndOfHistoryTransferType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *Conversation_EndOfHistoryTransferType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = Conversation_EndOfHistoryTransferType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use Conversation_EndOfHistoryTransferType.Descriptor instead.
func (Conversation_EndOfHistoryTransferType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{95, 0}
2022-01-30 15:27:37 -08:00
}
type MediaRetryNotification_ResultType int32
2022-01-30 15:27:37 -08:00
const (
MediaRetryNotification_GENERAL_ERROR MediaRetryNotification_ResultType = 0
MediaRetryNotification_SUCCESS MediaRetryNotification_ResultType = 1
MediaRetryNotification_NOT_FOUND MediaRetryNotification_ResultType = 2
MediaRetryNotification_DECRYPTION_ERROR MediaRetryNotification_ResultType = 3
2022-01-30 15:27:37 -08:00
)
// Enum value maps for MediaRetryNotification_ResultType.
2022-01-30 15:27:37 -08:00
var (
MediaRetryNotification_ResultType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "GENERAL_ERROR",
1: "SUCCESS",
2: "NOT_FOUND",
3: "DECRYPTION_ERROR",
2022-01-30 15:27:37 -08:00
}
MediaRetryNotification_ResultType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"GENERAL_ERROR": 0,
"SUCCESS": 1,
"NOT_FOUND": 2,
"DECRYPTION_ERROR": 3,
2022-01-30 15:27:37 -08:00
}
)
func (x MediaRetryNotification_ResultType) Enum() *MediaRetryNotification_ResultType {
p := new(MediaRetryNotification_ResultType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x MediaRetryNotification_ResultType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MediaRetryNotification_ResultType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[38].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (MediaRetryNotification_ResultType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[38]
2022-01-30 15:27:37 -08:00
}
func (x MediaRetryNotification_ResultType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *MediaRetryNotification_ResultType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = MediaRetryNotification_ResultType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use MediaRetryNotification_ResultType.Descriptor instead.
func (MediaRetryNotification_ResultType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{99, 0}
2022-01-30 15:27:37 -08:00
}
type SyncdMutation_SyncdOperation int32
2022-01-30 15:27:37 -08:00
const (
SyncdMutation_SET SyncdMutation_SyncdOperation = 0
SyncdMutation_REMOVE SyncdMutation_SyncdOperation = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for SyncdMutation_SyncdOperation.
2022-01-30 15:27:37 -08:00
var (
SyncdMutation_SyncdOperation_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "SET",
1: "REMOVE",
2022-01-30 15:27:37 -08:00
}
SyncdMutation_SyncdOperation_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"SET": 0,
"REMOVE": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x SyncdMutation_SyncdOperation) Enum() *SyncdMutation_SyncdOperation {
p := new(SyncdMutation_SyncdOperation)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x SyncdMutation_SyncdOperation) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[39].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[39]
2022-01-30 15:27:37 -08:00
}
func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *SyncdMutation_SyncdOperation) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = SyncdMutation_SyncdOperation(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead.
func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{107, 0}
}
type MarketingMessageAction_MarketingMessagePrototypeType int32
const (
MarketingMessageAction_PERSONALIZED MarketingMessageAction_MarketingMessagePrototypeType = 0
)
// Enum value maps for MarketingMessageAction_MarketingMessagePrototypeType.
var (
MarketingMessageAction_MarketingMessagePrototypeType_name = map[int32]string{
0: "PERSONALIZED",
}
MarketingMessageAction_MarketingMessagePrototypeType_value = map[string]int32{
"PERSONALIZED": 0,
}
)
func (x MarketingMessageAction_MarketingMessagePrototypeType) Enum() *MarketingMessageAction_MarketingMessagePrototypeType {
p := new(MarketingMessageAction_MarketingMessagePrototypeType)
*p = x
return p
}
func (x MarketingMessageAction_MarketingMessagePrototypeType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MarketingMessageAction_MarketingMessagePrototypeType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[40].Descriptor()
}
func (MarketingMessageAction_MarketingMessagePrototypeType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[40]
}
func (x MarketingMessageAction_MarketingMessagePrototypeType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *MarketingMessageAction_MarketingMessagePrototypeType) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = MarketingMessageAction_MarketingMessagePrototypeType(num)
return nil
}
// Deprecated: Use MarketingMessageAction_MarketingMessagePrototypeType.Descriptor instead.
func (MarketingMessageAction_MarketingMessagePrototypeType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{134, 0}
2022-01-30 15:27:37 -08:00
}
type BizIdentityInfo_VerifiedLevelValue int32
2022-01-30 15:27:37 -08:00
const (
BizIdentityInfo_UNKNOWN BizIdentityInfo_VerifiedLevelValue = 0
BizIdentityInfo_LOW BizIdentityInfo_VerifiedLevelValue = 1
BizIdentityInfo_HIGH BizIdentityInfo_VerifiedLevelValue = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for BizIdentityInfo_VerifiedLevelValue.
2022-01-30 15:27:37 -08:00
var (
BizIdentityInfo_VerifiedLevelValue_name = map[int32]string{
2022-01-30 15:27:37 -08:00
0: "UNKNOWN",
2022-03-12 14:02:04 -08:00
1: "LOW",
2: "HIGH",
2022-01-30 15:27:37 -08:00
}
BizIdentityInfo_VerifiedLevelValue_value = map[string]int32{
2022-01-30 15:27:37 -08:00
"UNKNOWN": 0,
2022-03-12 14:02:04 -08:00
"LOW": 1,
"HIGH": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x BizIdentityInfo_VerifiedLevelValue) Enum() *BizIdentityInfo_VerifiedLevelValue {
p := new(BizIdentityInfo_VerifiedLevelValue)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x BizIdentityInfo_VerifiedLevelValue) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BizIdentityInfo_VerifiedLevelValue) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[41].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (BizIdentityInfo_VerifiedLevelValue) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[41]
2022-01-30 15:27:37 -08:00
}
func (x BizIdentityInfo_VerifiedLevelValue) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *BizIdentityInfo_VerifiedLevelValue) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = BizIdentityInfo_VerifiedLevelValue(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use BizIdentityInfo_VerifiedLevelValue.Descriptor instead.
func (BizIdentityInfo_VerifiedLevelValue) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 0}
2022-01-30 15:27:37 -08:00
}
type BizIdentityInfo_HostStorageType int32
2022-01-30 15:27:37 -08:00
const (
BizIdentityInfo_ON_PREMISE BizIdentityInfo_HostStorageType = 0
BizIdentityInfo_FACEBOOK BizIdentityInfo_HostStorageType = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for BizIdentityInfo_HostStorageType.
2022-01-30 15:27:37 -08:00
var (
BizIdentityInfo_HostStorageType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "ON_PREMISE",
1: "FACEBOOK",
2022-01-30 15:27:37 -08:00
}
BizIdentityInfo_HostStorageType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"ON_PREMISE": 0,
"FACEBOOK": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x BizIdentityInfo_HostStorageType) Enum() *BizIdentityInfo_HostStorageType {
p := new(BizIdentityInfo_HostStorageType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x BizIdentityInfo_HostStorageType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BizIdentityInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[42].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (BizIdentityInfo_HostStorageType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[42]
2022-01-30 15:27:37 -08:00
}
func (x BizIdentityInfo_HostStorageType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *BizIdentityInfo_HostStorageType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = BizIdentityInfo_HostStorageType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use BizIdentityInfo_HostStorageType.Descriptor instead.
func (BizIdentityInfo_HostStorageType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 1}
2022-01-30 15:27:37 -08:00
}
type BizIdentityInfo_ActualActorsType int32
2022-01-30 15:27:37 -08:00
const (
BizIdentityInfo_SELF BizIdentityInfo_ActualActorsType = 0
BizIdentityInfo_BSP BizIdentityInfo_ActualActorsType = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for BizIdentityInfo_ActualActorsType.
2022-01-30 15:27:37 -08:00
var (
BizIdentityInfo_ActualActorsType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "SELF",
1: "BSP",
2022-01-30 15:27:37 -08:00
}
BizIdentityInfo_ActualActorsType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"SELF": 0,
"BSP": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x BizIdentityInfo_ActualActorsType) Enum() *BizIdentityInfo_ActualActorsType {
p := new(BizIdentityInfo_ActualActorsType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x BizIdentityInfo_ActualActorsType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BizIdentityInfo_ActualActorsType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[43].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (BizIdentityInfo_ActualActorsType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[43]
2022-01-30 15:27:37 -08:00
}
func (x BizIdentityInfo_ActualActorsType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *BizIdentityInfo_ActualActorsType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = BizIdentityInfo_ActualActorsType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use BizIdentityInfo_ActualActorsType.Descriptor instead.
func (BizIdentityInfo_ActualActorsType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 2}
2022-01-30 15:27:37 -08:00
}
type BizAccountLinkInfo_HostStorageType int32
2022-01-30 15:27:37 -08:00
const (
BizAccountLinkInfo_ON_PREMISE BizAccountLinkInfo_HostStorageType = 0
BizAccountLinkInfo_FACEBOOK BizAccountLinkInfo_HostStorageType = 1
2022-01-30 15:27:37 -08:00
)
// Enum value maps for BizAccountLinkInfo_HostStorageType.
2022-01-30 15:27:37 -08:00
var (
BizAccountLinkInfo_HostStorageType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "ON_PREMISE",
1: "FACEBOOK",
2022-01-30 15:27:37 -08:00
}
BizAccountLinkInfo_HostStorageType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"ON_PREMISE": 0,
"FACEBOOK": 1,
2022-01-30 15:27:37 -08:00
}
)
func (x BizAccountLinkInfo_HostStorageType) Enum() *BizAccountLinkInfo_HostStorageType {
p := new(BizAccountLinkInfo_HostStorageType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x BizAccountLinkInfo_HostStorageType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BizAccountLinkInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[44].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (BizAccountLinkInfo_HostStorageType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[44]
2022-01-30 15:27:37 -08:00
}
func (x BizAccountLinkInfo_HostStorageType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *BizAccountLinkInfo_HostStorageType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = BizAccountLinkInfo_HostStorageType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use BizAccountLinkInfo_HostStorageType.Descriptor instead.
func (BizAccountLinkInfo_HostStorageType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{156, 0}
2022-01-30 15:27:37 -08:00
}
type BizAccountLinkInfo_AccountType int32
2022-01-30 15:27:37 -08:00
const (
BizAccountLinkInfo_ENTERPRISE BizAccountLinkInfo_AccountType = 0
2022-01-30 15:27:37 -08:00
)
// Enum value maps for BizAccountLinkInfo_AccountType.
2022-01-30 15:27:37 -08:00
var (
BizAccountLinkInfo_AccountType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "ENTERPRISE",
2022-01-30 15:27:37 -08:00
}
BizAccountLinkInfo_AccountType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"ENTERPRISE": 0,
2022-01-30 15:27:37 -08:00
}
)
func (x BizAccountLinkInfo_AccountType) Enum() *BizAccountLinkInfo_AccountType {
p := new(BizAccountLinkInfo_AccountType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x BizAccountLinkInfo_AccountType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BizAccountLinkInfo_AccountType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[45].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (BizAccountLinkInfo_AccountType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[45]
2022-01-30 15:27:37 -08:00
}
func (x BizAccountLinkInfo_AccountType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *BizAccountLinkInfo_AccountType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = BizAccountLinkInfo_AccountType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use BizAccountLinkInfo_AccountType.Descriptor instead.
func (BizAccountLinkInfo_AccountType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{156, 1}
2022-01-30 15:27:37 -08:00
}
type ClientPayload_Product int32
2022-01-30 15:27:37 -08:00
const (
ClientPayload_WHATSAPP ClientPayload_Product = 0
ClientPayload_MESSENGER ClientPayload_Product = 1
ClientPayload_INTEROP ClientPayload_Product = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ClientPayload_Product.
2022-01-30 15:27:37 -08:00
var (
ClientPayload_Product_name = map[int32]string{
0: "WHATSAPP",
1: "MESSENGER",
2: "INTEROP",
2022-03-12 14:02:04 -08:00
}
ClientPayload_Product_value = map[string]int32{
"WHATSAPP": 0,
"MESSENGER": 1,
"INTEROP": 2,
2022-03-12 14:02:04 -08:00
}
)
func (x ClientPayload_Product) Enum() *ClientPayload_Product {
p := new(ClientPayload_Product)
2022-03-12 14:02:04 -08:00
*p = x
return p
2022-01-30 15:27:37 -08:00
}
func (x ClientPayload_Product) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientPayload_Product) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[46].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ClientPayload_Product) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[46]
2022-01-30 15:27:37 -08:00
}
func (x ClientPayload_Product) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ClientPayload_Product) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ClientPayload_Product(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ClientPayload_Product.Descriptor instead.
func (ClientPayload_Product) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0}
2022-01-30 15:27:37 -08:00
}
type ClientPayload_IOSAppExtension int32
2022-01-30 15:27:37 -08:00
const (
ClientPayload_SHARE_EXTENSION ClientPayload_IOSAppExtension = 0
ClientPayload_SERVICE_EXTENSION ClientPayload_IOSAppExtension = 1
ClientPayload_INTENTS_EXTENSION ClientPayload_IOSAppExtension = 2
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ClientPayload_IOSAppExtension.
2022-01-30 15:27:37 -08:00
var (
ClientPayload_IOSAppExtension_name = map[int32]string{
0: "SHARE_EXTENSION",
1: "SERVICE_EXTENSION",
2: "INTENTS_EXTENSION",
2022-01-30 15:27:37 -08:00
}
ClientPayload_IOSAppExtension_value = map[string]int32{
"SHARE_EXTENSION": 0,
"SERVICE_EXTENSION": 1,
"INTENTS_EXTENSION": 2,
2022-01-30 15:27:37 -08:00
}
)
func (x ClientPayload_IOSAppExtension) Enum() *ClientPayload_IOSAppExtension {
p := new(ClientPayload_IOSAppExtension)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ClientPayload_IOSAppExtension) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientPayload_IOSAppExtension) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[47].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ClientPayload_IOSAppExtension) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[47]
2022-01-30 15:27:37 -08:00
}
func (x ClientPayload_IOSAppExtension) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ClientPayload_IOSAppExtension) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ClientPayload_IOSAppExtension(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ClientPayload_IOSAppExtension.Descriptor instead.
func (ClientPayload_IOSAppExtension) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1}
2022-01-30 15:27:37 -08:00
}
type ClientPayload_ConnectType int32
2022-01-30 15:27:37 -08:00
const (
ClientPayload_CELLULAR_UNKNOWN ClientPayload_ConnectType = 0
ClientPayload_WIFI_UNKNOWN ClientPayload_ConnectType = 1
ClientPayload_CELLULAR_EDGE ClientPayload_ConnectType = 100
ClientPayload_CELLULAR_IDEN ClientPayload_ConnectType = 101
ClientPayload_CELLULAR_UMTS ClientPayload_ConnectType = 102
ClientPayload_CELLULAR_EVDO ClientPayload_ConnectType = 103
ClientPayload_CELLULAR_GPRS ClientPayload_ConnectType = 104
ClientPayload_CELLULAR_HSDPA ClientPayload_ConnectType = 105
ClientPayload_CELLULAR_HSUPA ClientPayload_ConnectType = 106
ClientPayload_CELLULAR_HSPA ClientPayload_ConnectType = 107
ClientPayload_CELLULAR_CDMA ClientPayload_ConnectType = 108
ClientPayload_CELLULAR_1XRTT ClientPayload_ConnectType = 109
ClientPayload_CELLULAR_EHRPD ClientPayload_ConnectType = 110
ClientPayload_CELLULAR_LTE ClientPayload_ConnectType = 111
ClientPayload_CELLULAR_HSPAP ClientPayload_ConnectType = 112
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ClientPayload_ConnectType.
2022-01-30 15:27:37 -08:00
var (
ClientPayload_ConnectType_name = map[int32]string{
0: "CELLULAR_UNKNOWN",
1: "WIFI_UNKNOWN",
100: "CELLULAR_EDGE",
101: "CELLULAR_IDEN",
102: "CELLULAR_UMTS",
103: "CELLULAR_EVDO",
104: "CELLULAR_GPRS",
105: "CELLULAR_HSDPA",
106: "CELLULAR_HSUPA",
107: "CELLULAR_HSPA",
108: "CELLULAR_CDMA",
109: "CELLULAR_1XRTT",
110: "CELLULAR_EHRPD",
111: "CELLULAR_LTE",
112: "CELLULAR_HSPAP",
2022-01-30 15:27:37 -08:00
}
ClientPayload_ConnectType_value = map[string]int32{
"CELLULAR_UNKNOWN": 0,
"WIFI_UNKNOWN": 1,
"CELLULAR_EDGE": 100,
"CELLULAR_IDEN": 101,
"CELLULAR_UMTS": 102,
"CELLULAR_EVDO": 103,
"CELLULAR_GPRS": 104,
"CELLULAR_HSDPA": 105,
"CELLULAR_HSUPA": 106,
"CELLULAR_HSPA": 107,
"CELLULAR_CDMA": 108,
"CELLULAR_1XRTT": 109,
"CELLULAR_EHRPD": 110,
"CELLULAR_LTE": 111,
"CELLULAR_HSPAP": 112,
2022-01-30 15:27:37 -08:00
}
)
func (x ClientPayload_ConnectType) Enum() *ClientPayload_ConnectType {
p := new(ClientPayload_ConnectType)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ClientPayload_ConnectType) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientPayload_ConnectType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[48].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ClientPayload_ConnectType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[48]
2022-01-30 15:27:37 -08:00
}
func (x ClientPayload_ConnectType) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ClientPayload_ConnectType) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ClientPayload_ConnectType(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ClientPayload_ConnectType.Descriptor instead.
func (ClientPayload_ConnectType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 2}
2022-01-30 15:27:37 -08:00
}
type ClientPayload_ConnectReason int32
2022-01-30 15:27:37 -08:00
const (
ClientPayload_PUSH ClientPayload_ConnectReason = 0
ClientPayload_USER_ACTIVATED ClientPayload_ConnectReason = 1
ClientPayload_SCHEDULED ClientPayload_ConnectReason = 2
ClientPayload_ERROR_RECONNECT ClientPayload_ConnectReason = 3
ClientPayload_NETWORK_SWITCH ClientPayload_ConnectReason = 4
ClientPayload_PING_RECONNECT ClientPayload_ConnectReason = 5
ClientPayload_UNKNOWN ClientPayload_ConnectReason = 6
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ClientPayload_ConnectReason.
2022-01-30 15:27:37 -08:00
var (
ClientPayload_ConnectReason_name = map[int32]string{
0: "PUSH",
1: "USER_ACTIVATED",
2: "SCHEDULED",
3: "ERROR_RECONNECT",
4: "NETWORK_SWITCH",
5: "PING_RECONNECT",
6: "UNKNOWN",
2022-01-30 15:27:37 -08:00
}
ClientPayload_ConnectReason_value = map[string]int32{
"PUSH": 0,
"USER_ACTIVATED": 1,
"SCHEDULED": 2,
"ERROR_RECONNECT": 3,
"NETWORK_SWITCH": 4,
"PING_RECONNECT": 5,
"UNKNOWN": 6,
2022-01-30 15:27:37 -08:00
}
)
func (x ClientPayload_ConnectReason) Enum() *ClientPayload_ConnectReason {
p := new(ClientPayload_ConnectReason)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ClientPayload_ConnectReason) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientPayload_ConnectReason) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[49].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ClientPayload_ConnectReason) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[49]
2022-01-30 15:27:37 -08:00
}
func (x ClientPayload_ConnectReason) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ClientPayload_ConnectReason) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ClientPayload_ConnectReason(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ClientPayload_ConnectReason.Descriptor instead.
func (ClientPayload_ConnectReason) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 3}
2022-01-30 15:27:37 -08:00
}
type ClientPayload_WebInfo_WebSubPlatform int32
2022-01-30 15:27:37 -08:00
const (
ClientPayload_WebInfo_WEB_BROWSER ClientPayload_WebInfo_WebSubPlatform = 0
ClientPayload_WebInfo_APP_STORE ClientPayload_WebInfo_WebSubPlatform = 1
ClientPayload_WebInfo_WIN_STORE ClientPayload_WebInfo_WebSubPlatform = 2
ClientPayload_WebInfo_DARWIN ClientPayload_WebInfo_WebSubPlatform = 3
ClientPayload_WebInfo_WIN32 ClientPayload_WebInfo_WebSubPlatform = 4
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ClientPayload_WebInfo_WebSubPlatform.
2022-01-30 15:27:37 -08:00
var (
ClientPayload_WebInfo_WebSubPlatform_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "WEB_BROWSER",
1: "APP_STORE",
2: "WIN_STORE",
3: "DARWIN",
4: "WIN32",
2022-01-30 15:27:37 -08:00
}
ClientPayload_WebInfo_WebSubPlatform_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"WEB_BROWSER": 0,
"APP_STORE": 1,
"WIN_STORE": 2,
"DARWIN": 3,
"WIN32": 4,
2022-01-30 15:27:37 -08:00
}
)
func (x ClientPayload_WebInfo_WebSubPlatform) Enum() *ClientPayload_WebInfo_WebSubPlatform {
p := new(ClientPayload_WebInfo_WebSubPlatform)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ClientPayload_WebInfo_WebSubPlatform) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientPayload_WebInfo_WebSubPlatform) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[50].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ClientPayload_WebInfo_WebSubPlatform) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[50]
}
func (x ClientPayload_WebInfo_WebSubPlatform) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ClientPayload_WebInfo_WebSubPlatform) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ClientPayload_WebInfo_WebSubPlatform(num)
return nil
}
// Deprecated: Use ClientPayload_WebInfo_WebSubPlatform.Descriptor instead.
func (ClientPayload_WebInfo_WebSubPlatform) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0, 0}
}
type ClientPayload_UserAgent_ReleaseChannel int32
const (
ClientPayload_UserAgent_RELEASE ClientPayload_UserAgent_ReleaseChannel = 0
ClientPayload_UserAgent_BETA ClientPayload_UserAgent_ReleaseChannel = 1
ClientPayload_UserAgent_ALPHA ClientPayload_UserAgent_ReleaseChannel = 2
ClientPayload_UserAgent_DEBUG ClientPayload_UserAgent_ReleaseChannel = 3
)
// Enum value maps for ClientPayload_UserAgent_ReleaseChannel.
var (
ClientPayload_UserAgent_ReleaseChannel_name = map[int32]string{
0: "RELEASE",
1: "BETA",
2: "ALPHA",
3: "DEBUG",
}
ClientPayload_UserAgent_ReleaseChannel_value = map[string]int32{
"RELEASE": 0,
"BETA": 1,
"ALPHA": 2,
"DEBUG": 3,
}
)
func (x ClientPayload_UserAgent_ReleaseChannel) Enum() *ClientPayload_UserAgent_ReleaseChannel {
p := new(ClientPayload_UserAgent_ReleaseChannel)
*p = x
return p
}
func (x ClientPayload_UserAgent_ReleaseChannel) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
2022-01-30 15:27:37 -08:00
}
func (ClientPayload_UserAgent_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[51].Descriptor()
}
func (ClientPayload_UserAgent_ReleaseChannel) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[51]
}
func (x ClientPayload_UserAgent_ReleaseChannel) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ClientPayload_UserAgent_ReleaseChannel) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ClientPayload_UserAgent_ReleaseChannel(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ClientPayload_UserAgent_ReleaseChannel.Descriptor instead.
func (ClientPayload_UserAgent_ReleaseChannel) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 0}
2022-01-30 15:27:37 -08:00
}
type ClientPayload_UserAgent_Platform int32
2022-01-30 15:27:37 -08:00
const (
ClientPayload_UserAgent_ANDROID ClientPayload_UserAgent_Platform = 0
ClientPayload_UserAgent_IOS ClientPayload_UserAgent_Platform = 1
ClientPayload_UserAgent_WINDOWS_PHONE ClientPayload_UserAgent_Platform = 2
ClientPayload_UserAgent_BLACKBERRY ClientPayload_UserAgent_Platform = 3
ClientPayload_UserAgent_BLACKBERRYX ClientPayload_UserAgent_Platform = 4
ClientPayload_UserAgent_S40 ClientPayload_UserAgent_Platform = 5
ClientPayload_UserAgent_S60 ClientPayload_UserAgent_Platform = 6
ClientPayload_UserAgent_PYTHON_CLIENT ClientPayload_UserAgent_Platform = 7
ClientPayload_UserAgent_TIZEN ClientPayload_UserAgent_Platform = 8
ClientPayload_UserAgent_ENTERPRISE ClientPayload_UserAgent_Platform = 9
ClientPayload_UserAgent_SMB_ANDROID ClientPayload_UserAgent_Platform = 10
ClientPayload_UserAgent_KAIOS ClientPayload_UserAgent_Platform = 11
ClientPayload_UserAgent_SMB_IOS ClientPayload_UserAgent_Platform = 12
ClientPayload_UserAgent_WINDOWS ClientPayload_UserAgent_Platform = 13
ClientPayload_UserAgent_WEB ClientPayload_UserAgent_Platform = 14
ClientPayload_UserAgent_PORTAL ClientPayload_UserAgent_Platform = 15
ClientPayload_UserAgent_GREEN_ANDROID ClientPayload_UserAgent_Platform = 16
ClientPayload_UserAgent_GREEN_IPHONE ClientPayload_UserAgent_Platform = 17
ClientPayload_UserAgent_BLUE_ANDROID ClientPayload_UserAgent_Platform = 18
ClientPayload_UserAgent_BLUE_IPHONE ClientPayload_UserAgent_Platform = 19
ClientPayload_UserAgent_FBLITE_ANDROID ClientPayload_UserAgent_Platform = 20
ClientPayload_UserAgent_MLITE_ANDROID ClientPayload_UserAgent_Platform = 21
ClientPayload_UserAgent_IGLITE_ANDROID ClientPayload_UserAgent_Platform = 22
ClientPayload_UserAgent_PAGE ClientPayload_UserAgent_Platform = 23
ClientPayload_UserAgent_MACOS ClientPayload_UserAgent_Platform = 24
ClientPayload_UserAgent_OCULUS_MSG ClientPayload_UserAgent_Platform = 25
ClientPayload_UserAgent_OCULUS_CALL ClientPayload_UserAgent_Platform = 26
ClientPayload_UserAgent_MILAN ClientPayload_UserAgent_Platform = 27
ClientPayload_UserAgent_CAPI ClientPayload_UserAgent_Platform = 28
2022-11-26 15:42:16 -08:00
ClientPayload_UserAgent_WEAROS ClientPayload_UserAgent_Platform = 29
ClientPayload_UserAgent_ARDEVICE ClientPayload_UserAgent_Platform = 30
ClientPayload_UserAgent_VRDEVICE ClientPayload_UserAgent_Platform = 31
ClientPayload_UserAgent_BLUE_WEB ClientPayload_UserAgent_Platform = 32
ClientPayload_UserAgent_IPAD ClientPayload_UserAgent_Platform = 33
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ClientPayload_UserAgent_Platform.
2022-01-30 15:27:37 -08:00
var (
ClientPayload_UserAgent_Platform_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "ANDROID",
1: "IOS",
2: "WINDOWS_PHONE",
3: "BLACKBERRY",
4: "BLACKBERRYX",
5: "S40",
6: "S60",
7: "PYTHON_CLIENT",
8: "TIZEN",
9: "ENTERPRISE",
10: "SMB_ANDROID",
11: "KAIOS",
12: "SMB_IOS",
13: "WINDOWS",
14: "WEB",
15: "PORTAL",
16: "GREEN_ANDROID",
17: "GREEN_IPHONE",
18: "BLUE_ANDROID",
19: "BLUE_IPHONE",
20: "FBLITE_ANDROID",
21: "MLITE_ANDROID",
22: "IGLITE_ANDROID",
23: "PAGE",
24: "MACOS",
25: "OCULUS_MSG",
26: "OCULUS_CALL",
27: "MILAN",
28: "CAPI",
2022-11-26 15:42:16 -08:00
29: "WEAROS",
30: "ARDEVICE",
31: "VRDEVICE",
32: "BLUE_WEB",
33: "IPAD",
2022-01-30 15:27:37 -08:00
}
ClientPayload_UserAgent_Platform_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"ANDROID": 0,
"IOS": 1,
"WINDOWS_PHONE": 2,
"BLACKBERRY": 3,
"BLACKBERRYX": 4,
"S40": 5,
"S60": 6,
"PYTHON_CLIENT": 7,
"TIZEN": 8,
"ENTERPRISE": 9,
"SMB_ANDROID": 10,
"KAIOS": 11,
"SMB_IOS": 12,
"WINDOWS": 13,
"WEB": 14,
"PORTAL": 15,
"GREEN_ANDROID": 16,
"GREEN_IPHONE": 17,
"BLUE_ANDROID": 18,
"BLUE_IPHONE": 19,
"FBLITE_ANDROID": 20,
"MLITE_ANDROID": 21,
"IGLITE_ANDROID": 22,
"PAGE": 23,
"MACOS": 24,
"OCULUS_MSG": 25,
"OCULUS_CALL": 26,
"MILAN": 27,
"CAPI": 28,
2022-11-26 15:42:16 -08:00
"WEAROS": 29,
"ARDEVICE": 30,
"VRDEVICE": 31,
"BLUE_WEB": 32,
"IPAD": 33,
2022-01-30 15:27:37 -08:00
}
)
func (x ClientPayload_UserAgent_Platform) Enum() *ClientPayload_UserAgent_Platform {
p := new(ClientPayload_UserAgent_Platform)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ClientPayload_UserAgent_Platform) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientPayload_UserAgent_Platform) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[52].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ClientPayload_UserAgent_Platform) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[52]
2022-01-30 15:27:37 -08:00
}
func (x ClientPayload_UserAgent_Platform) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ClientPayload_UserAgent_Platform) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ClientPayload_UserAgent_Platform(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ClientPayload_UserAgent_Platform.Descriptor instead.
func (ClientPayload_UserAgent_Platform) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 1}
}
type ClientPayload_UserAgent_DeviceType int32
const (
ClientPayload_UserAgent_PHONE ClientPayload_UserAgent_DeviceType = 0
ClientPayload_UserAgent_TABLET ClientPayload_UserAgent_DeviceType = 1
ClientPayload_UserAgent_DESKTOP ClientPayload_UserAgent_DeviceType = 2
ClientPayload_UserAgent_WEARABLE ClientPayload_UserAgent_DeviceType = 3
ClientPayload_UserAgent_VR ClientPayload_UserAgent_DeviceType = 4
)
// Enum value maps for ClientPayload_UserAgent_DeviceType.
var (
ClientPayload_UserAgent_DeviceType_name = map[int32]string{
0: "PHONE",
1: "TABLET",
2: "DESKTOP",
3: "WEARABLE",
4: "VR",
}
ClientPayload_UserAgent_DeviceType_value = map[string]int32{
"PHONE": 0,
"TABLET": 1,
"DESKTOP": 2,
"WEARABLE": 3,
"VR": 4,
}
)
func (x ClientPayload_UserAgent_DeviceType) Enum() *ClientPayload_UserAgent_DeviceType {
p := new(ClientPayload_UserAgent_DeviceType)
*p = x
return p
}
func (x ClientPayload_UserAgent_DeviceType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientPayload_UserAgent_DeviceType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[53].Descriptor()
}
func (ClientPayload_UserAgent_DeviceType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[53]
}
func (x ClientPayload_UserAgent_DeviceType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ClientPayload_UserAgent_DeviceType) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ClientPayload_UserAgent_DeviceType(num)
return nil
}
// Deprecated: Use ClientPayload_UserAgent_DeviceType.Descriptor instead.
func (ClientPayload_UserAgent_DeviceType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 2}
2022-01-30 15:27:37 -08:00
}
type ClientPayload_DNSSource_DNSResolutionMethod int32
2022-01-30 15:27:37 -08:00
const (
ClientPayload_DNSSource_SYSTEM ClientPayload_DNSSource_DNSResolutionMethod = 0
ClientPayload_DNSSource_GOOGLE ClientPayload_DNSSource_DNSResolutionMethod = 1
ClientPayload_DNSSource_HARDCODED ClientPayload_DNSSource_DNSResolutionMethod = 2
ClientPayload_DNSSource_OVERRIDE ClientPayload_DNSSource_DNSResolutionMethod = 3
ClientPayload_DNSSource_FALLBACK ClientPayload_DNSSource_DNSResolutionMethod = 4
2022-01-30 15:27:37 -08:00
)
// Enum value maps for ClientPayload_DNSSource_DNSResolutionMethod.
2022-01-30 15:27:37 -08:00
var (
ClientPayload_DNSSource_DNSResolutionMethod_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "SYSTEM",
1: "GOOGLE",
2: "HARDCODED",
3: "OVERRIDE",
4: "FALLBACK",
2022-01-30 15:27:37 -08:00
}
ClientPayload_DNSSource_DNSResolutionMethod_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"SYSTEM": 0,
"GOOGLE": 1,
"HARDCODED": 2,
"OVERRIDE": 3,
"FALLBACK": 4,
2022-01-30 15:27:37 -08:00
}
)
func (x ClientPayload_DNSSource_DNSResolutionMethod) Enum() *ClientPayload_DNSSource_DNSResolutionMethod {
p := new(ClientPayload_DNSSource_DNSResolutionMethod)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x ClientPayload_DNSSource_DNSResolutionMethod) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ClientPayload_DNSSource_DNSResolutionMethod) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[54].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (ClientPayload_DNSSource_DNSResolutionMethod) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[54]
2022-01-30 15:27:37 -08:00
}
func (x ClientPayload_DNSSource_DNSResolutionMethod) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ClientPayload_DNSSource_DNSResolutionMethod) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ClientPayload_DNSSource_DNSResolutionMethod(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use ClientPayload_DNSSource_DNSResolutionMethod.Descriptor instead.
func (ClientPayload_DNSSource_DNSResolutionMethod) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 4, 0}
2022-01-30 15:27:37 -08:00
}
type WebMessageInfo_StubType int32
2022-01-30 15:27:37 -08:00
const (
WebMessageInfo_UNKNOWN WebMessageInfo_StubType = 0
WebMessageInfo_REVOKE WebMessageInfo_StubType = 1
WebMessageInfo_CIPHERTEXT WebMessageInfo_StubType = 2
WebMessageInfo_FUTUREPROOF WebMessageInfo_StubType = 3
WebMessageInfo_NON_VERIFIED_TRANSITION WebMessageInfo_StubType = 4
WebMessageInfo_UNVERIFIED_TRANSITION WebMessageInfo_StubType = 5
WebMessageInfo_VERIFIED_TRANSITION WebMessageInfo_StubType = 6
WebMessageInfo_VERIFIED_LOW_UNKNOWN WebMessageInfo_StubType = 7
WebMessageInfo_VERIFIED_HIGH WebMessageInfo_StubType = 8
WebMessageInfo_VERIFIED_INITIAL_UNKNOWN WebMessageInfo_StubType = 9
WebMessageInfo_VERIFIED_INITIAL_LOW WebMessageInfo_StubType = 10
WebMessageInfo_VERIFIED_INITIAL_HIGH WebMessageInfo_StubType = 11
WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_NONE WebMessageInfo_StubType = 12
WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_HIGH WebMessageInfo_StubType = 13
WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_LOW WebMessageInfo_StubType = 14
WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_UNKNOWN WebMessageInfo_StubType = 15
WebMessageInfo_VERIFIED_TRANSITION_UNKNOWN_TO_LOW WebMessageInfo_StubType = 16
WebMessageInfo_VERIFIED_TRANSITION_LOW_TO_UNKNOWN WebMessageInfo_StubType = 17
WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_LOW WebMessageInfo_StubType = 18
WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_UNKNOWN WebMessageInfo_StubType = 19
WebMessageInfo_GROUP_CREATE WebMessageInfo_StubType = 20
WebMessageInfo_GROUP_CHANGE_SUBJECT WebMessageInfo_StubType = 21
WebMessageInfo_GROUP_CHANGE_ICON WebMessageInfo_StubType = 22
WebMessageInfo_GROUP_CHANGE_INVITE_LINK WebMessageInfo_StubType = 23
WebMessageInfo_GROUP_CHANGE_DESCRIPTION WebMessageInfo_StubType = 24
WebMessageInfo_GROUP_CHANGE_RESTRICT WebMessageInfo_StubType = 25
WebMessageInfo_GROUP_CHANGE_ANNOUNCE WebMessageInfo_StubType = 26
WebMessageInfo_GROUP_PARTICIPANT_ADD WebMessageInfo_StubType = 27
WebMessageInfo_GROUP_PARTICIPANT_REMOVE WebMessageInfo_StubType = 28
WebMessageInfo_GROUP_PARTICIPANT_PROMOTE WebMessageInfo_StubType = 29
WebMessageInfo_GROUP_PARTICIPANT_DEMOTE WebMessageInfo_StubType = 30
WebMessageInfo_GROUP_PARTICIPANT_INVITE WebMessageInfo_StubType = 31
WebMessageInfo_GROUP_PARTICIPANT_LEAVE WebMessageInfo_StubType = 32
WebMessageInfo_GROUP_PARTICIPANT_CHANGE_NUMBER WebMessageInfo_StubType = 33
WebMessageInfo_BROADCAST_CREATE WebMessageInfo_StubType = 34
WebMessageInfo_BROADCAST_ADD WebMessageInfo_StubType = 35
WebMessageInfo_BROADCAST_REMOVE WebMessageInfo_StubType = 36
WebMessageInfo_GENERIC_NOTIFICATION WebMessageInfo_StubType = 37
WebMessageInfo_E2E_IDENTITY_CHANGED WebMessageInfo_StubType = 38
WebMessageInfo_E2E_ENCRYPTED WebMessageInfo_StubType = 39
WebMessageInfo_CALL_MISSED_VOICE WebMessageInfo_StubType = 40
WebMessageInfo_CALL_MISSED_VIDEO WebMessageInfo_StubType = 41
WebMessageInfo_INDIVIDUAL_CHANGE_NUMBER WebMessageInfo_StubType = 42
WebMessageInfo_GROUP_DELETE WebMessageInfo_StubType = 43
WebMessageInfo_GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE WebMessageInfo_StubType = 44
WebMessageInfo_CALL_MISSED_GROUP_VOICE WebMessageInfo_StubType = 45
WebMessageInfo_CALL_MISSED_GROUP_VIDEO WebMessageInfo_StubType = 46
WebMessageInfo_PAYMENT_CIPHERTEXT WebMessageInfo_StubType = 47
WebMessageInfo_PAYMENT_FUTUREPROOF WebMessageInfo_StubType = 48
WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED WebMessageInfo_StubType = 49
WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED WebMessageInfo_StubType = 50
WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED WebMessageInfo_StubType = 51
WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP WebMessageInfo_StubType = 52
WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP WebMessageInfo_StubType = 53
WebMessageInfo_PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER WebMessageInfo_StubType = 54
WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_REMINDER WebMessageInfo_StubType = 55
WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_INVITATION WebMessageInfo_StubType = 56
WebMessageInfo_PAYMENT_ACTION_REQUEST_DECLINED WebMessageInfo_StubType = 57
WebMessageInfo_PAYMENT_ACTION_REQUEST_EXPIRED WebMessageInfo_StubType = 58
WebMessageInfo_PAYMENT_ACTION_REQUEST_CANCELLED WebMessageInfo_StubType = 59
WebMessageInfo_BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM WebMessageInfo_StubType = 60
WebMessageInfo_BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP WebMessageInfo_StubType = 61
WebMessageInfo_BIZ_INTRO_TOP WebMessageInfo_StubType = 62
WebMessageInfo_BIZ_INTRO_BOTTOM WebMessageInfo_StubType = 63
WebMessageInfo_BIZ_NAME_CHANGE WebMessageInfo_StubType = 64
WebMessageInfo_BIZ_MOVE_TO_CONSUMER_APP WebMessageInfo_StubType = 65
WebMessageInfo_BIZ_TWO_TIER_MIGRATION_TOP WebMessageInfo_StubType = 66
WebMessageInfo_BIZ_TWO_TIER_MIGRATION_BOTTOM WebMessageInfo_StubType = 67
WebMessageInfo_OVERSIZED WebMessageInfo_StubType = 68
WebMessageInfo_GROUP_CHANGE_NO_FREQUENTLY_FORWARDED WebMessageInfo_StubType = 69
WebMessageInfo_GROUP_V4_ADD_INVITE_SENT WebMessageInfo_StubType = 70
WebMessageInfo_GROUP_PARTICIPANT_ADD_REQUEST_JOIN WebMessageInfo_StubType = 71
WebMessageInfo_CHANGE_EPHEMERAL_SETTING WebMessageInfo_StubType = 72
WebMessageInfo_E2E_DEVICE_CHANGED WebMessageInfo_StubType = 73
WebMessageInfo_VIEWED_ONCE WebMessageInfo_StubType = 74
WebMessageInfo_E2E_ENCRYPTED_NOW WebMessageInfo_StubType = 75
WebMessageInfo_BLUE_MSG_BSP_FB_TO_BSP_PREMISE WebMessageInfo_StubType = 76
WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_FB WebMessageInfo_StubType = 77
WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_PREMISE WebMessageInfo_StubType = 78
WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED WebMessageInfo_StubType = 79
WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED WebMessageInfo_StubType = 80
WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED WebMessageInfo_StubType = 81
WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 82
WebMessageInfo_BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE WebMessageInfo_StubType = 83
WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 84
WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED WebMessageInfo_StubType = 85
WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED WebMessageInfo_StubType = 86
WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 87
WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED WebMessageInfo_StubType = 88
WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 89
WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED WebMessageInfo_StubType = 90
WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 91
WebMessageInfo_BLUE_MSG_SELF_FB_TO_BSP_PREMISE WebMessageInfo_StubType = 92
WebMessageInfo_BLUE_MSG_SELF_FB_TO_SELF_PREMISE WebMessageInfo_StubType = 93
WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED WebMessageInfo_StubType = 94
WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED WebMessageInfo_StubType = 95
WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED WebMessageInfo_StubType = 96
WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 97
WebMessageInfo_BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE WebMessageInfo_StubType = 98
WebMessageInfo_BLUE_MSG_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 99
WebMessageInfo_BLUE_MSG_SELF_PREMISE_VERIFIED WebMessageInfo_StubType = 100
WebMessageInfo_BLUE_MSG_TO_BSP_FB WebMessageInfo_StubType = 101
WebMessageInfo_BLUE_MSG_TO_CONSUMER WebMessageInfo_StubType = 102
WebMessageInfo_BLUE_MSG_TO_SELF_FB WebMessageInfo_StubType = 103
WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED WebMessageInfo_StubType = 104
WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED WebMessageInfo_StubType = 105
WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED WebMessageInfo_StubType = 106
WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_VERIFIED WebMessageInfo_StubType = 107
WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED WebMessageInfo_StubType = 108
WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 109
WebMessageInfo_BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED WebMessageInfo_StubType = 110
WebMessageInfo_BLUE_MSG_VERIFIED_TO_UNVERIFIED WebMessageInfo_StubType = 111
WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED WebMessageInfo_StubType = 112
WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED WebMessageInfo_StubType = 113
WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 114
WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED WebMessageInfo_StubType = 115
WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED WebMessageInfo_StubType = 116
WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 117
WebMessageInfo_E2E_IDENTITY_UNAVAILABLE WebMessageInfo_StubType = 118
WebMessageInfo_GROUP_CREATING WebMessageInfo_StubType = 119
WebMessageInfo_GROUP_CREATE_FAILED WebMessageInfo_StubType = 120
WebMessageInfo_GROUP_BOUNCED WebMessageInfo_StubType = 121
WebMessageInfo_BLOCK_CONTACT WebMessageInfo_StubType = 122
WebMessageInfo_EPHEMERAL_SETTING_NOT_APPLIED WebMessageInfo_StubType = 123
WebMessageInfo_SYNC_FAILED WebMessageInfo_StubType = 124
WebMessageInfo_SYNCING WebMessageInfo_StubType = 125
WebMessageInfo_BIZ_PRIVACY_MODE_INIT_FB WebMessageInfo_StubType = 126
WebMessageInfo_BIZ_PRIVACY_MODE_INIT_BSP WebMessageInfo_StubType = 127
WebMessageInfo_BIZ_PRIVACY_MODE_TO_FB WebMessageInfo_StubType = 128
WebMessageInfo_BIZ_PRIVACY_MODE_TO_BSP WebMessageInfo_StubType = 129
WebMessageInfo_DISAPPEARING_MODE WebMessageInfo_StubType = 130
WebMessageInfo_E2E_DEVICE_FETCH_FAILED WebMessageInfo_StubType = 131
WebMessageInfo_ADMIN_REVOKE WebMessageInfo_StubType = 132
WebMessageInfo_GROUP_INVITE_LINK_GROWTH_LOCKED WebMessageInfo_StubType = 133
WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP WebMessageInfo_StubType = 134
WebMessageInfo_COMMUNITY_LINK_SIBLING_GROUP WebMessageInfo_StubType = 135
WebMessageInfo_COMMUNITY_LINK_SUB_GROUP WebMessageInfo_StubType = 136
WebMessageInfo_COMMUNITY_UNLINK_PARENT_GROUP WebMessageInfo_StubType = 137
WebMessageInfo_COMMUNITY_UNLINK_SIBLING_GROUP WebMessageInfo_StubType = 138
WebMessageInfo_COMMUNITY_UNLINK_SUB_GROUP WebMessageInfo_StubType = 139
WebMessageInfo_GROUP_PARTICIPANT_ACCEPT WebMessageInfo_StubType = 140
WebMessageInfo_GROUP_PARTICIPANT_LINKED_GROUP_JOIN WebMessageInfo_StubType = 141
WebMessageInfo_COMMUNITY_CREATE WebMessageInfo_StubType = 142
WebMessageInfo_EPHEMERAL_KEEP_IN_CHAT WebMessageInfo_StubType = 143
WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST WebMessageInfo_StubType = 144
WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE WebMessageInfo_StubType = 145
WebMessageInfo_INTEGRITY_UNLINK_PARENT_GROUP WebMessageInfo_StubType = 146
WebMessageInfo_COMMUNITY_PARTICIPANT_PROMOTE WebMessageInfo_StubType = 147
WebMessageInfo_COMMUNITY_PARTICIPANT_DEMOTE WebMessageInfo_StubType = 148
WebMessageInfo_COMMUNITY_PARENT_GROUP_DELETED WebMessageInfo_StubType = 149
WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL WebMessageInfo_StubType = 150
WebMessageInfo_GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP WebMessageInfo_StubType = 151
2022-11-26 15:42:16 -08:00
WebMessageInfo_MASKED_THREAD_CREATED WebMessageInfo_StubType = 152
WebMessageInfo_MASKED_THREAD_UNMASKED WebMessageInfo_StubType = 153
WebMessageInfo_BIZ_CHAT_ASSIGNMENT WebMessageInfo_StubType = 154
WebMessageInfo_CHAT_PSA WebMessageInfo_StubType = 155
WebMessageInfo_CHAT_POLL_CREATION_MESSAGE WebMessageInfo_StubType = 156
WebMessageInfo_CAG_MASKED_THREAD_CREATED WebMessageInfo_StubType = 157
WebMessageInfo_COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED WebMessageInfo_StubType = 158
WebMessageInfo_CAG_INVITE_AUTO_ADD WebMessageInfo_StubType = 159
WebMessageInfo_BIZ_CHAT_ASSIGNMENT_UNASSIGN WebMessageInfo_StubType = 160
WebMessageInfo_CAG_INVITE_AUTO_JOINED WebMessageInfo_StubType = 161
WebMessageInfo_SCHEDULED_CALL_START_MESSAGE WebMessageInfo_StubType = 162
WebMessageInfo_COMMUNITY_INVITE_RICH WebMessageInfo_StubType = 163
WebMessageInfo_COMMUNITY_INVITE_AUTO_ADD_RICH WebMessageInfo_StubType = 164
WebMessageInfo_SUB_GROUP_INVITE_RICH WebMessageInfo_StubType = 165
WebMessageInfo_SUB_GROUP_PARTICIPANT_ADD_RICH WebMessageInfo_StubType = 166
WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_RICH WebMessageInfo_StubType = 167
WebMessageInfo_COMMUNITY_PARTICIPANT_ADD_RICH WebMessageInfo_StubType = 168
WebMessageInfo_SILENCED_UNKNOWN_CALLER_AUDIO WebMessageInfo_StubType = 169
WebMessageInfo_SILENCED_UNKNOWN_CALLER_VIDEO WebMessageInfo_StubType = 170
WebMessageInfo_GROUP_MEMBER_ADD_MODE WebMessageInfo_StubType = 171
WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD WebMessageInfo_StubType = 172
WebMessageInfo_COMMUNITY_CHANGE_DESCRIPTION WebMessageInfo_StubType = 173
WebMessageInfo_SENDER_INVITE WebMessageInfo_StubType = 174
WebMessageInfo_RECEIVER_INVITE WebMessageInfo_StubType = 175
WebMessageInfo_COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS WebMessageInfo_StubType = 176
WebMessageInfo_PINNED_MESSAGE_IN_CHAT WebMessageInfo_StubType = 177
WebMessageInfo_PAYMENT_INVITE_SETUP_INVITER WebMessageInfo_StubType = 178
WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY WebMessageInfo_StubType = 179
WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE WebMessageInfo_StubType = 180
WebMessageInfo_LINKED_GROUP_CALL_START WebMessageInfo_StubType = 181
WebMessageInfo_REPORT_TO_ADMIN_ENABLED_STATUS WebMessageInfo_StubType = 182
WebMessageInfo_EMPTY_SUBGROUP_CREATE WebMessageInfo_StubType = 183
WebMessageInfo_SCHEDULED_CALL_CANCEL WebMessageInfo_StubType = 184
WebMessageInfo_SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH WebMessageInfo_StubType = 185
2022-01-30 15:27:37 -08:00
)
// Enum value maps for WebMessageInfo_StubType.
2022-01-30 15:27:37 -08:00
var (
WebMessageInfo_StubType_name = map[int32]string{
2022-03-12 14:02:04 -08:00
0: "UNKNOWN",
1: "REVOKE",
2: "CIPHERTEXT",
3: "FUTUREPROOF",
4: "NON_VERIFIED_TRANSITION",
5: "UNVERIFIED_TRANSITION",
6: "VERIFIED_TRANSITION",
7: "VERIFIED_LOW_UNKNOWN",
8: "VERIFIED_HIGH",
9: "VERIFIED_INITIAL_UNKNOWN",
10: "VERIFIED_INITIAL_LOW",
11: "VERIFIED_INITIAL_HIGH",
12: "VERIFIED_TRANSITION_ANY_TO_NONE",
13: "VERIFIED_TRANSITION_ANY_TO_HIGH",
14: "VERIFIED_TRANSITION_HIGH_TO_LOW",
15: "VERIFIED_TRANSITION_HIGH_TO_UNKNOWN",
16: "VERIFIED_TRANSITION_UNKNOWN_TO_LOW",
17: "VERIFIED_TRANSITION_LOW_TO_UNKNOWN",
18: "VERIFIED_TRANSITION_NONE_TO_LOW",
19: "VERIFIED_TRANSITION_NONE_TO_UNKNOWN",
20: "GROUP_CREATE",
21: "GROUP_CHANGE_SUBJECT",
22: "GROUP_CHANGE_ICON",
23: "GROUP_CHANGE_INVITE_LINK",
24: "GROUP_CHANGE_DESCRIPTION",
25: "GROUP_CHANGE_RESTRICT",
26: "GROUP_CHANGE_ANNOUNCE",
27: "GROUP_PARTICIPANT_ADD",
28: "GROUP_PARTICIPANT_REMOVE",
29: "GROUP_PARTICIPANT_PROMOTE",
30: "GROUP_PARTICIPANT_DEMOTE",
31: "GROUP_PARTICIPANT_INVITE",
32: "GROUP_PARTICIPANT_LEAVE",
33: "GROUP_PARTICIPANT_CHANGE_NUMBER",
34: "BROADCAST_CREATE",
35: "BROADCAST_ADD",
36: "BROADCAST_REMOVE",
37: "GENERIC_NOTIFICATION",
38: "E2E_IDENTITY_CHANGED",
39: "E2E_ENCRYPTED",
40: "CALL_MISSED_VOICE",
41: "CALL_MISSED_VIDEO",
42: "INDIVIDUAL_CHANGE_NUMBER",
43: "GROUP_DELETE",
44: "GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE",
45: "CALL_MISSED_GROUP_VOICE",
46: "CALL_MISSED_GROUP_VIDEO",
47: "PAYMENT_CIPHERTEXT",
48: "PAYMENT_FUTUREPROOF",
49: "PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED",
50: "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED",
51: "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED",
52: "PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP",
53: "PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP",
54: "PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER",
55: "PAYMENT_ACTION_SEND_PAYMENT_REMINDER",
56: "PAYMENT_ACTION_SEND_PAYMENT_INVITATION",
57: "PAYMENT_ACTION_REQUEST_DECLINED",
58: "PAYMENT_ACTION_REQUEST_EXPIRED",
59: "PAYMENT_ACTION_REQUEST_CANCELLED",
60: "BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM",
61: "BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP",
62: "BIZ_INTRO_TOP",
63: "BIZ_INTRO_BOTTOM",
64: "BIZ_NAME_CHANGE",
65: "BIZ_MOVE_TO_CONSUMER_APP",
66: "BIZ_TWO_TIER_MIGRATION_TOP",
67: "BIZ_TWO_TIER_MIGRATION_BOTTOM",
68: "OVERSIZED",
69: "GROUP_CHANGE_NO_FREQUENTLY_FORWARDED",
70: "GROUP_V4_ADD_INVITE_SENT",
71: "GROUP_PARTICIPANT_ADD_REQUEST_JOIN",
72: "CHANGE_EPHEMERAL_SETTING",
73: "E2E_DEVICE_CHANGED",
74: "VIEWED_ONCE",
75: "E2E_ENCRYPTED_NOW",
76: "BLUE_MSG_BSP_FB_TO_BSP_PREMISE",
77: "BLUE_MSG_BSP_FB_TO_SELF_FB",
78: "BLUE_MSG_BSP_FB_TO_SELF_PREMISE",
79: "BLUE_MSG_BSP_FB_UNVERIFIED",
80: "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED",
81: "BLUE_MSG_BSP_FB_VERIFIED",
82: "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED",
83: "BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE",
84: "BLUE_MSG_BSP_PREMISE_UNVERIFIED",
85: "BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED",
86: "BLUE_MSG_BSP_PREMISE_VERIFIED",
87: "BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED",
88: "BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED",
89: "BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED",
90: "BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED",
91: "BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED",
92: "BLUE_MSG_SELF_FB_TO_BSP_PREMISE",
93: "BLUE_MSG_SELF_FB_TO_SELF_PREMISE",
94: "BLUE_MSG_SELF_FB_UNVERIFIED",
95: "BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED",
96: "BLUE_MSG_SELF_FB_VERIFIED",
97: "BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED",
98: "BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE",
99: "BLUE_MSG_SELF_PREMISE_UNVERIFIED",
100: "BLUE_MSG_SELF_PREMISE_VERIFIED",
101: "BLUE_MSG_TO_BSP_FB",
102: "BLUE_MSG_TO_CONSUMER",
103: "BLUE_MSG_TO_SELF_FB",
104: "BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED",
105: "BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED",
106: "BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED",
107: "BLUE_MSG_UNVERIFIED_TO_VERIFIED",
108: "BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED",
109: "BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED",
110: "BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED",
111: "BLUE_MSG_VERIFIED_TO_UNVERIFIED",
112: "BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED",
113: "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED",
114: "BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED",
115: "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED",
116: "BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED",
117: "BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED",
118: "E2E_IDENTITY_UNAVAILABLE",
119: "GROUP_CREATING",
120: "GROUP_CREATE_FAILED",
121: "GROUP_BOUNCED",
122: "BLOCK_CONTACT",
123: "EPHEMERAL_SETTING_NOT_APPLIED",
124: "SYNC_FAILED",
125: "SYNCING",
126: "BIZ_PRIVACY_MODE_INIT_FB",
127: "BIZ_PRIVACY_MODE_INIT_BSP",
128: "BIZ_PRIVACY_MODE_TO_FB",
129: "BIZ_PRIVACY_MODE_TO_BSP",
130: "DISAPPEARING_MODE",
131: "E2E_DEVICE_FETCH_FAILED",
132: "ADMIN_REVOKE",
133: "GROUP_INVITE_LINK_GROWTH_LOCKED",
134: "COMMUNITY_LINK_PARENT_GROUP",
135: "COMMUNITY_LINK_SIBLING_GROUP",
136: "COMMUNITY_LINK_SUB_GROUP",
2022-04-25 14:50:10 -07:00
137: "COMMUNITY_UNLINK_PARENT_GROUP",
138: "COMMUNITY_UNLINK_SIBLING_GROUP",
139: "COMMUNITY_UNLINK_SUB_GROUP",
140: "GROUP_PARTICIPANT_ACCEPT",
141: "GROUP_PARTICIPANT_LINKED_GROUP_JOIN",
142: "COMMUNITY_CREATE",
2022-06-24 15:36:16 -07:00
143: "EPHEMERAL_KEEP_IN_CHAT",
144: "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST",
145: "GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE",
146: "INTEGRITY_UNLINK_PARENT_GROUP",
147: "COMMUNITY_PARTICIPANT_PROMOTE",
148: "COMMUNITY_PARTICIPANT_DEMOTE",
149: "COMMUNITY_PARENT_GROUP_DELETED",
150: "COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL",
151: "GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP",
2022-11-26 15:42:16 -08:00
152: "MASKED_THREAD_CREATED",
153: "MASKED_THREAD_UNMASKED",
154: "BIZ_CHAT_ASSIGNMENT",
155: "CHAT_PSA",
156: "CHAT_POLL_CREATION_MESSAGE",
157: "CAG_MASKED_THREAD_CREATED",
158: "COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED",
159: "CAG_INVITE_AUTO_ADD",
160: "BIZ_CHAT_ASSIGNMENT_UNASSIGN",
161: "CAG_INVITE_AUTO_JOINED",
162: "SCHEDULED_CALL_START_MESSAGE",
163: "COMMUNITY_INVITE_RICH",
164: "COMMUNITY_INVITE_AUTO_ADD_RICH",
165: "SUB_GROUP_INVITE_RICH",
166: "SUB_GROUP_PARTICIPANT_ADD_RICH",
167: "COMMUNITY_LINK_PARENT_GROUP_RICH",
168: "COMMUNITY_PARTICIPANT_ADD_RICH",
169: "SILENCED_UNKNOWN_CALLER_AUDIO",
170: "SILENCED_UNKNOWN_CALLER_VIDEO",
171: "GROUP_MEMBER_ADD_MODE",
172: "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD",
173: "COMMUNITY_CHANGE_DESCRIPTION",
174: "SENDER_INVITE",
175: "RECEIVER_INVITE",
176: "COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS",
177: "PINNED_MESSAGE_IN_CHAT",
178: "PAYMENT_INVITE_SETUP_INVITER",
179: "PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY",
180: "PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE",
181: "LINKED_GROUP_CALL_START",
182: "REPORT_TO_ADMIN_ENABLED_STATUS",
183: "EMPTY_SUBGROUP_CREATE",
184: "SCHEDULED_CALL_CANCEL",
185: "SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH",
}
WebMessageInfo_StubType_value = map[string]int32{
2022-03-12 14:02:04 -08:00
"UNKNOWN": 0,
"REVOKE": 1,
"CIPHERTEXT": 2,
"FUTUREPROOF": 3,
"NON_VERIFIED_TRANSITION": 4,
"UNVERIFIED_TRANSITION": 5,
"VERIFIED_TRANSITION": 6,
"VERIFIED_LOW_UNKNOWN": 7,
"VERIFIED_HIGH": 8,
"VERIFIED_INITIAL_UNKNOWN": 9,
"VERIFIED_INITIAL_LOW": 10,
"VERIFIED_INITIAL_HIGH": 11,
"VERIFIED_TRANSITION_ANY_TO_NONE": 12,
"VERIFIED_TRANSITION_ANY_TO_HIGH": 13,
"VERIFIED_TRANSITION_HIGH_TO_LOW": 14,
"VERIFIED_TRANSITION_HIGH_TO_UNKNOWN": 15,
"VERIFIED_TRANSITION_UNKNOWN_TO_LOW": 16,
"VERIFIED_TRANSITION_LOW_TO_UNKNOWN": 17,
"VERIFIED_TRANSITION_NONE_TO_LOW": 18,
"VERIFIED_TRANSITION_NONE_TO_UNKNOWN": 19,
"GROUP_CREATE": 20,
"GROUP_CHANGE_SUBJECT": 21,
"GROUP_CHANGE_ICON": 22,
"GROUP_CHANGE_INVITE_LINK": 23,
"GROUP_CHANGE_DESCRIPTION": 24,
"GROUP_CHANGE_RESTRICT": 25,
"GROUP_CHANGE_ANNOUNCE": 26,
"GROUP_PARTICIPANT_ADD": 27,
"GROUP_PARTICIPANT_REMOVE": 28,
"GROUP_PARTICIPANT_PROMOTE": 29,
"GROUP_PARTICIPANT_DEMOTE": 30,
"GROUP_PARTICIPANT_INVITE": 31,
"GROUP_PARTICIPANT_LEAVE": 32,
"GROUP_PARTICIPANT_CHANGE_NUMBER": 33,
"BROADCAST_CREATE": 34,
"BROADCAST_ADD": 35,
"BROADCAST_REMOVE": 36,
"GENERIC_NOTIFICATION": 37,
"E2E_IDENTITY_CHANGED": 38,
"E2E_ENCRYPTED": 39,
"CALL_MISSED_VOICE": 40,
"CALL_MISSED_VIDEO": 41,
"INDIVIDUAL_CHANGE_NUMBER": 42,
"GROUP_DELETE": 43,
"GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE": 44,
"CALL_MISSED_GROUP_VOICE": 45,
"CALL_MISSED_GROUP_VIDEO": 46,
"PAYMENT_CIPHERTEXT": 47,
"PAYMENT_FUTUREPROOF": 48,
"PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED": 49,
"PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED": 50,
"PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED": 51,
"PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP": 52,
"PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP": 53,
"PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER": 54,
"PAYMENT_ACTION_SEND_PAYMENT_REMINDER": 55,
"PAYMENT_ACTION_SEND_PAYMENT_INVITATION": 56,
"PAYMENT_ACTION_REQUEST_DECLINED": 57,
"PAYMENT_ACTION_REQUEST_EXPIRED": 58,
"PAYMENT_ACTION_REQUEST_CANCELLED": 59,
"BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM": 60,
"BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP": 61,
"BIZ_INTRO_TOP": 62,
"BIZ_INTRO_BOTTOM": 63,
"BIZ_NAME_CHANGE": 64,
"BIZ_MOVE_TO_CONSUMER_APP": 65,
"BIZ_TWO_TIER_MIGRATION_TOP": 66,
"BIZ_TWO_TIER_MIGRATION_BOTTOM": 67,
"OVERSIZED": 68,
"GROUP_CHANGE_NO_FREQUENTLY_FORWARDED": 69,
"GROUP_V4_ADD_INVITE_SENT": 70,
"GROUP_PARTICIPANT_ADD_REQUEST_JOIN": 71,
"CHANGE_EPHEMERAL_SETTING": 72,
"E2E_DEVICE_CHANGED": 73,
"VIEWED_ONCE": 74,
"E2E_ENCRYPTED_NOW": 75,
"BLUE_MSG_BSP_FB_TO_BSP_PREMISE": 76,
"BLUE_MSG_BSP_FB_TO_SELF_FB": 77,
"BLUE_MSG_BSP_FB_TO_SELF_PREMISE": 78,
"BLUE_MSG_BSP_FB_UNVERIFIED": 79,
"BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED": 80,
"BLUE_MSG_BSP_FB_VERIFIED": 81,
"BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED": 82,
"BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE": 83,
"BLUE_MSG_BSP_PREMISE_UNVERIFIED": 84,
"BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED": 85,
"BLUE_MSG_BSP_PREMISE_VERIFIED": 86,
"BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED": 87,
"BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED": 88,
"BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED": 89,
"BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED": 90,
"BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED": 91,
"BLUE_MSG_SELF_FB_TO_BSP_PREMISE": 92,
"BLUE_MSG_SELF_FB_TO_SELF_PREMISE": 93,
"BLUE_MSG_SELF_FB_UNVERIFIED": 94,
"BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED": 95,
"BLUE_MSG_SELF_FB_VERIFIED": 96,
"BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED": 97,
"BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE": 98,
"BLUE_MSG_SELF_PREMISE_UNVERIFIED": 99,
"BLUE_MSG_SELF_PREMISE_VERIFIED": 100,
"BLUE_MSG_TO_BSP_FB": 101,
"BLUE_MSG_TO_CONSUMER": 102,
"BLUE_MSG_TO_SELF_FB": 103,
"BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED": 104,
"BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED": 105,
"BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED": 106,
"BLUE_MSG_UNVERIFIED_TO_VERIFIED": 107,
"BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED": 108,
"BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED": 109,
"BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED": 110,
"BLUE_MSG_VERIFIED_TO_UNVERIFIED": 111,
"BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED": 112,
"BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED": 113,
"BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED": 114,
"BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED": 115,
"BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED": 116,
"BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED": 117,
"E2E_IDENTITY_UNAVAILABLE": 118,
"GROUP_CREATING": 119,
"GROUP_CREATE_FAILED": 120,
"GROUP_BOUNCED": 121,
"BLOCK_CONTACT": 122,
"EPHEMERAL_SETTING_NOT_APPLIED": 123,
"SYNC_FAILED": 124,
"SYNCING": 125,
"BIZ_PRIVACY_MODE_INIT_FB": 126,
"BIZ_PRIVACY_MODE_INIT_BSP": 127,
"BIZ_PRIVACY_MODE_TO_FB": 128,
"BIZ_PRIVACY_MODE_TO_BSP": 129,
"DISAPPEARING_MODE": 130,
"E2E_DEVICE_FETCH_FAILED": 131,
"ADMIN_REVOKE": 132,
"GROUP_INVITE_LINK_GROWTH_LOCKED": 133,
"COMMUNITY_LINK_PARENT_GROUP": 134,
"COMMUNITY_LINK_SIBLING_GROUP": 135,
"COMMUNITY_LINK_SUB_GROUP": 136,
2022-04-25 14:50:10 -07:00
"COMMUNITY_UNLINK_PARENT_GROUP": 137,
"COMMUNITY_UNLINK_SIBLING_GROUP": 138,
"COMMUNITY_UNLINK_SUB_GROUP": 139,
"GROUP_PARTICIPANT_ACCEPT": 140,
"GROUP_PARTICIPANT_LINKED_GROUP_JOIN": 141,
"COMMUNITY_CREATE": 142,
2022-06-24 15:36:16 -07:00
"EPHEMERAL_KEEP_IN_CHAT": 143,
"GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST": 144,
"GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE": 145,
"INTEGRITY_UNLINK_PARENT_GROUP": 146,
"COMMUNITY_PARTICIPANT_PROMOTE": 147,
"COMMUNITY_PARTICIPANT_DEMOTE": 148,
"COMMUNITY_PARENT_GROUP_DELETED": 149,
"COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL": 150,
"GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP": 151,
2022-11-26 15:42:16 -08:00
"MASKED_THREAD_CREATED": 152,
"MASKED_THREAD_UNMASKED": 153,
"BIZ_CHAT_ASSIGNMENT": 154,
"CHAT_PSA": 155,
"CHAT_POLL_CREATION_MESSAGE": 156,
"CAG_MASKED_THREAD_CREATED": 157,
"COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED": 158,
"CAG_INVITE_AUTO_ADD": 159,
"BIZ_CHAT_ASSIGNMENT_UNASSIGN": 160,
"CAG_INVITE_AUTO_JOINED": 161,
"SCHEDULED_CALL_START_MESSAGE": 162,
"COMMUNITY_INVITE_RICH": 163,
"COMMUNITY_INVITE_AUTO_ADD_RICH": 164,
"SUB_GROUP_INVITE_RICH": 165,
"SUB_GROUP_PARTICIPANT_ADD_RICH": 166,
"COMMUNITY_LINK_PARENT_GROUP_RICH": 167,
"COMMUNITY_PARTICIPANT_ADD_RICH": 168,
"SILENCED_UNKNOWN_CALLER_AUDIO": 169,
"SILENCED_UNKNOWN_CALLER_VIDEO": 170,
"GROUP_MEMBER_ADD_MODE": 171,
"GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD": 172,
"COMMUNITY_CHANGE_DESCRIPTION": 173,
"SENDER_INVITE": 174,
"RECEIVER_INVITE": 175,
"COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS": 176,
"PINNED_MESSAGE_IN_CHAT": 177,
"PAYMENT_INVITE_SETUP_INVITER": 178,
"PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY": 179,
"PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE": 180,
"LINKED_GROUP_CALL_START": 181,
"REPORT_TO_ADMIN_ENABLED_STATUS": 182,
"EMPTY_SUBGROUP_CREATE": 183,
"SCHEDULED_CALL_CANCEL": 184,
"SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH": 185,
2022-03-12 14:02:04 -08:00
}
)
func (x WebMessageInfo_StubType) Enum() *WebMessageInfo_StubType {
p := new(WebMessageInfo_StubType)
2022-03-12 14:02:04 -08:00
*p = x
return p
}
func (x WebMessageInfo_StubType) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (WebMessageInfo_StubType) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[55].Descriptor()
2022-03-12 14:02:04 -08:00
}
func (WebMessageInfo_StubType) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[55]
2022-03-12 14:02:04 -08:00
}
func (x WebMessageInfo_StubType) Number() protoreflect.EnumNumber {
2022-03-12 14:02:04 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *WebMessageInfo_StubType) UnmarshalJSON(b []byte) error {
2022-03-12 14:02:04 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = WebMessageInfo_StubType(num)
2022-03-12 14:02:04 -08:00
return nil
}
// Deprecated: Use WebMessageInfo_StubType.Descriptor instead.
func (WebMessageInfo_StubType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 0}
2022-03-12 14:02:04 -08:00
}
type WebMessageInfo_Status int32
2022-03-12 14:02:04 -08:00
const (
WebMessageInfo_ERROR WebMessageInfo_Status = 0
WebMessageInfo_PENDING WebMessageInfo_Status = 1
WebMessageInfo_SERVER_ACK WebMessageInfo_Status = 2
WebMessageInfo_DELIVERY_ACK WebMessageInfo_Status = 3
WebMessageInfo_READ WebMessageInfo_Status = 4
WebMessageInfo_PLAYED WebMessageInfo_Status = 5
2022-03-12 14:02:04 -08:00
)
// Enum value maps for WebMessageInfo_Status.
2022-03-12 14:02:04 -08:00
var (
WebMessageInfo_Status_name = map[int32]string{
0: "ERROR",
1: "PENDING",
2: "SERVER_ACK",
3: "DELIVERY_ACK",
4: "READ",
5: "PLAYED",
2022-03-12 14:02:04 -08:00
}
WebMessageInfo_Status_value = map[string]int32{
"ERROR": 0,
"PENDING": 1,
"SERVER_ACK": 2,
"DELIVERY_ACK": 3,
"READ": 4,
"PLAYED": 5,
2022-03-12 14:02:04 -08:00
}
)
func (x WebMessageInfo_Status) Enum() *WebMessageInfo_Status {
p := new(WebMessageInfo_Status)
2022-03-12 14:02:04 -08:00
*p = x
return p
}
func (x WebMessageInfo_Status) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (WebMessageInfo_Status) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[56].Descriptor()
2022-03-12 14:02:04 -08:00
}
func (WebMessageInfo_Status) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[56]
2022-03-12 14:02:04 -08:00
}
func (x WebMessageInfo_Status) Number() protoreflect.EnumNumber {
2022-03-12 14:02:04 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *WebMessageInfo_Status) UnmarshalJSON(b []byte) error {
2022-03-12 14:02:04 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = WebMessageInfo_Status(num)
2022-03-12 14:02:04 -08:00
return nil
}
// Deprecated: Use WebMessageInfo_Status.Descriptor instead.
func (WebMessageInfo_Status) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 1}
2022-03-12 14:02:04 -08:00
}
type WebMessageInfo_BizPrivacyStatus int32
2022-03-12 14:02:04 -08:00
const (
WebMessageInfo_E2EE WebMessageInfo_BizPrivacyStatus = 0
WebMessageInfo_FB WebMessageInfo_BizPrivacyStatus = 2
WebMessageInfo_BSP WebMessageInfo_BizPrivacyStatus = 1
WebMessageInfo_BSP_AND_FB WebMessageInfo_BizPrivacyStatus = 3
2022-03-12 14:02:04 -08:00
)
// Enum value maps for WebMessageInfo_BizPrivacyStatus.
2022-03-12 14:02:04 -08:00
var (
WebMessageInfo_BizPrivacyStatus_name = map[int32]string{
0: "E2EE",
2: "FB",
1: "BSP",
3: "BSP_AND_FB",
2022-03-12 14:02:04 -08:00
}
WebMessageInfo_BizPrivacyStatus_value = map[string]int32{
"E2EE": 0,
"FB": 2,
"BSP": 1,
"BSP_AND_FB": 3,
2022-03-12 14:02:04 -08:00
}
)
func (x WebMessageInfo_BizPrivacyStatus) Enum() *WebMessageInfo_BizPrivacyStatus {
p := new(WebMessageInfo_BizPrivacyStatus)
2022-03-12 14:02:04 -08:00
*p = x
return p
}
func (x WebMessageInfo_BizPrivacyStatus) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (WebMessageInfo_BizPrivacyStatus) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[57].Descriptor()
2022-03-12 14:02:04 -08:00
}
func (WebMessageInfo_BizPrivacyStatus) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[57]
2022-03-12 14:02:04 -08:00
}
func (x WebMessageInfo_BizPrivacyStatus) Number() protoreflect.EnumNumber {
2022-03-12 14:02:04 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *WebMessageInfo_BizPrivacyStatus) UnmarshalJSON(b []byte) error {
2022-03-12 14:02:04 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = WebMessageInfo_BizPrivacyStatus(num)
2022-03-12 14:02:04 -08:00
return nil
}
// Deprecated: Use WebMessageInfo_BizPrivacyStatus.Descriptor instead.
func (WebMessageInfo_BizPrivacyStatus) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 2}
2022-03-12 14:02:04 -08:00
}
type WebFeatures_Flag int32
2022-03-12 14:02:04 -08:00
const (
WebFeatures_NOT_STARTED WebFeatures_Flag = 0
WebFeatures_FORCE_UPGRADE WebFeatures_Flag = 1
WebFeatures_DEVELOPMENT WebFeatures_Flag = 2
WebFeatures_PRODUCTION WebFeatures_Flag = 3
2022-01-30 15:27:37 -08:00
)
// Enum value maps for WebFeatures_Flag.
2022-01-30 15:27:37 -08:00
var (
WebFeatures_Flag_name = map[int32]string{
0: "NOT_STARTED",
1: "FORCE_UPGRADE",
2: "DEVELOPMENT",
3: "PRODUCTION",
2022-01-30 15:27:37 -08:00
}
WebFeatures_Flag_value = map[string]int32{
"NOT_STARTED": 0,
"FORCE_UPGRADE": 1,
"DEVELOPMENT": 2,
"PRODUCTION": 3,
2022-01-30 15:27:37 -08:00
}
)
func (x WebFeatures_Flag) Enum() *WebFeatures_Flag {
p := new(WebFeatures_Flag)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x WebFeatures_Flag) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (WebFeatures_Flag) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[58].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (WebFeatures_Flag) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[58]
2022-01-30 15:27:37 -08:00
}
func (x WebFeatures_Flag) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *WebFeatures_Flag) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = WebFeatures_Flag(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use WebFeatures_Flag.Descriptor instead.
func (WebFeatures_Flag) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{164, 0}
}
type PinInChat_Type int32
const (
PinInChat_UNKNOWN_TYPE PinInChat_Type = 0
PinInChat_PIN_FOR_ALL PinInChat_Type = 1
PinInChat_UNPIN_FOR_ALL PinInChat_Type = 2
)
// Enum value maps for PinInChat_Type.
var (
PinInChat_Type_name = map[int32]string{
0: "UNKNOWN_TYPE",
1: "PIN_FOR_ALL",
2: "UNPIN_FOR_ALL",
}
PinInChat_Type_value = map[string]int32{
"UNKNOWN_TYPE": 0,
"PIN_FOR_ALL": 1,
"UNPIN_FOR_ALL": 2,
}
)
func (x PinInChat_Type) Enum() *PinInChat_Type {
p := new(PinInChat_Type)
*p = x
return p
}
func (x PinInChat_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PinInChat_Type) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[59].Descriptor()
}
func (PinInChat_Type) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[59]
}
func (x PinInChat_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PinInChat_Type) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PinInChat_Type(num)
return nil
}
// Deprecated: Use PinInChat_Type.Descriptor instead.
func (PinInChat_Type) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{170, 0}
2022-01-30 15:27:37 -08:00
}
type PaymentInfo_TxnStatus int32
2022-01-30 15:27:37 -08:00
const (
PaymentInfo_UNKNOWN PaymentInfo_TxnStatus = 0
PaymentInfo_PENDING_SETUP PaymentInfo_TxnStatus = 1
PaymentInfo_PENDING_RECEIVER_SETUP PaymentInfo_TxnStatus = 2
PaymentInfo_INIT PaymentInfo_TxnStatus = 3
PaymentInfo_SUCCESS PaymentInfo_TxnStatus = 4
PaymentInfo_COMPLETED PaymentInfo_TxnStatus = 5
PaymentInfo_FAILED PaymentInfo_TxnStatus = 6
PaymentInfo_FAILED_RISK PaymentInfo_TxnStatus = 7
PaymentInfo_FAILED_PROCESSING PaymentInfo_TxnStatus = 8
PaymentInfo_FAILED_RECEIVER_PROCESSING PaymentInfo_TxnStatus = 9
PaymentInfo_FAILED_DA PaymentInfo_TxnStatus = 10
PaymentInfo_FAILED_DA_FINAL PaymentInfo_TxnStatus = 11
PaymentInfo_REFUNDED_TXN PaymentInfo_TxnStatus = 12
PaymentInfo_REFUND_FAILED PaymentInfo_TxnStatus = 13
PaymentInfo_REFUND_FAILED_PROCESSING PaymentInfo_TxnStatus = 14
PaymentInfo_REFUND_FAILED_DA PaymentInfo_TxnStatus = 15
PaymentInfo_EXPIRED_TXN PaymentInfo_TxnStatus = 16
PaymentInfo_AUTH_CANCELED PaymentInfo_TxnStatus = 17
PaymentInfo_AUTH_CANCEL_FAILED_PROCESSING PaymentInfo_TxnStatus = 18
PaymentInfo_AUTH_CANCEL_FAILED PaymentInfo_TxnStatus = 19
PaymentInfo_COLLECT_INIT PaymentInfo_TxnStatus = 20
PaymentInfo_COLLECT_SUCCESS PaymentInfo_TxnStatus = 21
PaymentInfo_COLLECT_FAILED PaymentInfo_TxnStatus = 22
PaymentInfo_COLLECT_FAILED_RISK PaymentInfo_TxnStatus = 23
PaymentInfo_COLLECT_REJECTED PaymentInfo_TxnStatus = 24
PaymentInfo_COLLECT_EXPIRED PaymentInfo_TxnStatus = 25
PaymentInfo_COLLECT_CANCELED PaymentInfo_TxnStatus = 26
PaymentInfo_COLLECT_CANCELLING PaymentInfo_TxnStatus = 27
PaymentInfo_IN_REVIEW PaymentInfo_TxnStatus = 28
PaymentInfo_REVERSAL_SUCCESS PaymentInfo_TxnStatus = 29
PaymentInfo_REVERSAL_PENDING PaymentInfo_TxnStatus = 30
PaymentInfo_REFUND_PENDING PaymentInfo_TxnStatus = 31
2022-01-30 15:27:37 -08:00
)
// Enum value maps for PaymentInfo_TxnStatus.
2022-01-30 15:27:37 -08:00
var (
PaymentInfo_TxnStatus_name = map[int32]string{
2022-01-30 15:27:37 -08:00
0: "UNKNOWN",
1: "PENDING_SETUP",
2: "PENDING_RECEIVER_SETUP",
3: "INIT",
4: "SUCCESS",
5: "COMPLETED",
6: "FAILED",
7: "FAILED_RISK",
8: "FAILED_PROCESSING",
9: "FAILED_RECEIVER_PROCESSING",
10: "FAILED_DA",
11: "FAILED_DA_FINAL",
12: "REFUNDED_TXN",
13: "REFUND_FAILED",
14: "REFUND_FAILED_PROCESSING",
15: "REFUND_FAILED_DA",
16: "EXPIRED_TXN",
17: "AUTH_CANCELED",
18: "AUTH_CANCEL_FAILED_PROCESSING",
19: "AUTH_CANCEL_FAILED",
20: "COLLECT_INIT",
21: "COLLECT_SUCCESS",
22: "COLLECT_FAILED",
23: "COLLECT_FAILED_RISK",
24: "COLLECT_REJECTED",
25: "COLLECT_EXPIRED",
26: "COLLECT_CANCELED",
27: "COLLECT_CANCELLING",
28: "IN_REVIEW",
2022-04-25 14:50:10 -07:00
29: "REVERSAL_SUCCESS",
30: "REVERSAL_PENDING",
31: "REFUND_PENDING",
2022-01-30 15:27:37 -08:00
}
PaymentInfo_TxnStatus_value = map[string]int32{
2022-01-30 15:27:37 -08:00
"UNKNOWN": 0,
"PENDING_SETUP": 1,
"PENDING_RECEIVER_SETUP": 2,
"INIT": 3,
"SUCCESS": 4,
"COMPLETED": 5,
"FAILED": 6,
"FAILED_RISK": 7,
"FAILED_PROCESSING": 8,
"FAILED_RECEIVER_PROCESSING": 9,
"FAILED_DA": 10,
"FAILED_DA_FINAL": 11,
"REFUNDED_TXN": 12,
"REFUND_FAILED": 13,
"REFUND_FAILED_PROCESSING": 14,
"REFUND_FAILED_DA": 15,
"EXPIRED_TXN": 16,
"AUTH_CANCELED": 17,
"AUTH_CANCEL_FAILED_PROCESSING": 18,
"AUTH_CANCEL_FAILED": 19,
"COLLECT_INIT": 20,
"COLLECT_SUCCESS": 21,
"COLLECT_FAILED": 22,
"COLLECT_FAILED_RISK": 23,
"COLLECT_REJECTED": 24,
"COLLECT_EXPIRED": 25,
"COLLECT_CANCELED": 26,
"COLLECT_CANCELLING": 27,
"IN_REVIEW": 28,
2022-04-25 14:50:10 -07:00
"REVERSAL_SUCCESS": 29,
"REVERSAL_PENDING": 30,
"REFUND_PENDING": 31,
2022-01-30 15:27:37 -08:00
}
)
func (x PaymentInfo_TxnStatus) Enum() *PaymentInfo_TxnStatus {
p := new(PaymentInfo_TxnStatus)
2022-01-30 15:27:37 -08:00
*p = x
return p
}
func (x PaymentInfo_TxnStatus) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PaymentInfo_TxnStatus) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[60].Descriptor()
2022-01-30 15:27:37 -08:00
}
func (PaymentInfo_TxnStatus) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[60]
2022-01-30 15:27:37 -08:00
}
func (x PaymentInfo_TxnStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PaymentInfo_TxnStatus) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PaymentInfo_TxnStatus(num)
return nil
}
// Deprecated: Use PaymentInfo_TxnStatus.Descriptor instead.
func (PaymentInfo_TxnStatus) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 0}
}
type PaymentInfo_Status int32
const (
PaymentInfo_UNKNOWN_STATUS PaymentInfo_Status = 0
PaymentInfo_PROCESSING PaymentInfo_Status = 1
PaymentInfo_SENT PaymentInfo_Status = 2
PaymentInfo_NEED_TO_ACCEPT PaymentInfo_Status = 3
PaymentInfo_COMPLETE PaymentInfo_Status = 4
PaymentInfo_COULD_NOT_COMPLETE PaymentInfo_Status = 5
PaymentInfo_REFUNDED PaymentInfo_Status = 6
PaymentInfo_EXPIRED PaymentInfo_Status = 7
PaymentInfo_REJECTED PaymentInfo_Status = 8
PaymentInfo_CANCELLED PaymentInfo_Status = 9
PaymentInfo_WAITING_FOR_PAYER PaymentInfo_Status = 10
PaymentInfo_WAITING PaymentInfo_Status = 11
)
// Enum value maps for PaymentInfo_Status.
var (
PaymentInfo_Status_name = map[int32]string{
0: "UNKNOWN_STATUS",
1: "PROCESSING",
2: "SENT",
3: "NEED_TO_ACCEPT",
4: "COMPLETE",
5: "COULD_NOT_COMPLETE",
6: "REFUNDED",
7: "EXPIRED",
8: "REJECTED",
9: "CANCELLED",
10: "WAITING_FOR_PAYER",
11: "WAITING",
}
PaymentInfo_Status_value = map[string]int32{
"UNKNOWN_STATUS": 0,
"PROCESSING": 1,
"SENT": 2,
"NEED_TO_ACCEPT": 3,
"COMPLETE": 4,
"COULD_NOT_COMPLETE": 5,
"REFUNDED": 6,
"EXPIRED": 7,
"REJECTED": 8,
"CANCELLED": 9,
"WAITING_FOR_PAYER": 10,
"WAITING": 11,
}
)
func (x PaymentInfo_Status) Enum() *PaymentInfo_Status {
p := new(PaymentInfo_Status)
*p = x
return p
}
func (x PaymentInfo_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PaymentInfo_Status) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[61].Descriptor()
}
func (PaymentInfo_Status) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[61]
}
func (x PaymentInfo_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PaymentInfo_Status) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PaymentInfo_Status(num)
return nil
}
// Deprecated: Use PaymentInfo_Status.Descriptor instead.
func (PaymentInfo_Status) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 1}
}
type PaymentInfo_Currency int32
const (
PaymentInfo_UNKNOWN_CURRENCY PaymentInfo_Currency = 0
PaymentInfo_INR PaymentInfo_Currency = 1
)
// Enum value maps for PaymentInfo_Currency.
var (
PaymentInfo_Currency_name = map[int32]string{
0: "UNKNOWN_CURRENCY",
1: "INR",
}
PaymentInfo_Currency_value = map[string]int32{
"UNKNOWN_CURRENCY": 0,
"INR": 1,
}
)
func (x PaymentInfo_Currency) Enum() *PaymentInfo_Currency {
p := new(PaymentInfo_Currency)
*p = x
return p
}
func (x PaymentInfo_Currency) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PaymentInfo_Currency) Descriptor() protoreflect.EnumDescriptor {
return file_binary_proto_def_proto_enumTypes[62].Descriptor()
}
func (PaymentInfo_Currency) Type() protoreflect.EnumType {
return &file_binary_proto_def_proto_enumTypes[62]
}
func (x PaymentInfo_Currency) Number() protoreflect.EnumNumber {
2022-01-30 15:27:37 -08:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PaymentInfo_Currency) UnmarshalJSON(b []byte) error {
2022-01-30 15:27:37 -08:00
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PaymentInfo_Currency(num)
2022-01-30 15:27:37 -08:00
return nil
}
// Deprecated: Use PaymentInfo_Currency.Descriptor instead.
func (PaymentInfo_Currency) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 2}
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
type ADVSignedKeyIndexList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
2022-03-12 14:02:04 -08:00
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
AccountSignature []byte `protobuf:"bytes,2,opt,name=accountSignature" json:"accountSignature,omitempty"`
}
2022-01-30 15:27:37 -08:00
2022-03-12 14:02:04 -08:00
func (x *ADVSignedKeyIndexList) Reset() {
*x = ADVSignedKeyIndexList{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
2022-03-12 14:02:04 -08:00
func (x *ADVSignedKeyIndexList) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (*ADVSignedKeyIndexList) ProtoMessage() {}
func (x *ADVSignedKeyIndexList) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_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)
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
// Deprecated: Use ADVSignedKeyIndexList.ProtoReflect.Descriptor instead.
func (*ADVSignedKeyIndexList) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{0}
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *ADVSignedKeyIndexList) GetDetails() []byte {
if x != nil {
return x.Details
}
return nil
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *ADVSignedKeyIndexList) GetAccountSignature() []byte {
if x != nil {
return x.AccountSignature
2022-01-30 15:27:37 -08:00
}
return nil
}
2022-03-12 14:02:04 -08:00
type ADVSignedDeviceIdentity struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
AccountSignatureKey []byte `protobuf:"bytes,2,opt,name=accountSignatureKey" json:"accountSignatureKey,omitempty"`
AccountSignature []byte `protobuf:"bytes,3,opt,name=accountSignature" json:"accountSignature,omitempty"`
DeviceSignature []byte `protobuf:"bytes,4,opt,name=deviceSignature" json:"deviceSignature,omitempty"`
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *ADVSignedDeviceIdentity) Reset() {
*x = ADVSignedDeviceIdentity{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2022-01-30 15:27:37 -08:00
2022-03-12 14:02:04 -08:00
func (x *ADVSignedDeviceIdentity) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ADVSignedDeviceIdentity) ProtoMessage() {}
func (x *ADVSignedDeviceIdentity) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_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)
}
2022-01-30 15:27:37 -08:00
2022-03-12 14:02:04 -08:00
// Deprecated: Use ADVSignedDeviceIdentity.ProtoReflect.Descriptor instead.
func (*ADVSignedDeviceIdentity) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{1}
}
func (x *ADVSignedDeviceIdentity) GetDetails() []byte {
if x != nil {
return x.Details
}
return nil
}
func (x *ADVSignedDeviceIdentity) GetAccountSignatureKey() []byte {
if x != nil {
return x.AccountSignatureKey
}
return nil
}
func (x *ADVSignedDeviceIdentity) GetAccountSignature() []byte {
if x != nil {
return x.AccountSignature
}
return nil
}
func (x *ADVSignedDeviceIdentity) GetDeviceSignature() []byte {
if x != nil {
return x.DeviceSignature
}
return nil
}
type ADVSignedDeviceIdentityHMAC struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
Hmac []byte `protobuf:"bytes,2,opt,name=hmac" json:"hmac,omitempty"`
AccountType *ADVEncryptionType `protobuf:"varint,3,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *ADVSignedDeviceIdentityHMAC) Reset() {
*x = ADVSignedDeviceIdentityHMAC{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ADVSignedDeviceIdentityHMAC) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ADVSignedDeviceIdentityHMAC) ProtoMessage() {}
func (x *ADVSignedDeviceIdentityHMAC) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_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 ADVSignedDeviceIdentityHMAC.ProtoReflect.Descriptor instead.
func (*ADVSignedDeviceIdentityHMAC) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{2}
}
func (x *ADVSignedDeviceIdentityHMAC) GetDetails() []byte {
if x != nil {
return x.Details
}
return nil
}
func (x *ADVSignedDeviceIdentityHMAC) GetHmac() []byte {
if x != nil {
return x.Hmac
}
return nil
}
func (x *ADVSignedDeviceIdentityHMAC) GetAccountType() ADVEncryptionType {
if x != nil && x.AccountType != nil {
return *x.AccountType
}
return ADVEncryptionType_E2EE
}
2022-03-12 14:02:04 -08:00
type ADVKeyIndexList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"`
Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
CurrentIndex *uint32 `protobuf:"varint,3,opt,name=currentIndex" json:"currentIndex,omitempty"`
ValidIndexes []uint32 `protobuf:"varint,4,rep,packed,name=validIndexes" json:"validIndexes,omitempty"`
AccountType *ADVEncryptionType `protobuf:"varint,5,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *ADVKeyIndexList) Reset() {
*x = ADVKeyIndexList{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ADVKeyIndexList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ADVKeyIndexList) ProtoMessage() {}
func (x *ADVKeyIndexList) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
}
// Deprecated: Use ADVKeyIndexList.ProtoReflect.Descriptor instead.
func (*ADVKeyIndexList) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{3}
}
func (x *ADVKeyIndexList) GetRawId() uint32 {
if x != nil && x.RawId != nil {
return *x.RawId
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return 0
}
2022-01-30 15:27:37 -08:00
2022-03-12 14:02:04 -08:00
func (x *ADVKeyIndexList) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *ADVKeyIndexList) GetCurrentIndex() uint32 {
if x != nil && x.CurrentIndex != nil {
return *x.CurrentIndex
}
return 0
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *ADVKeyIndexList) GetValidIndexes() []uint32 {
if x != nil {
return x.ValidIndexes
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ADVKeyIndexList) GetAccountType() ADVEncryptionType {
if x != nil && x.AccountType != nil {
return *x.AccountType
}
return ADVEncryptionType_E2EE
}
2022-03-12 14:02:04 -08:00
type ADVDeviceIdentity struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"`
Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
KeyIndex *uint32 `protobuf:"varint,3,opt,name=keyIndex" json:"keyIndex,omitempty"`
AccountType *ADVEncryptionType `protobuf:"varint,4,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"`
DeviceType *ADVEncryptionType `protobuf:"varint,5,opt,name=deviceType,enum=proto.ADVEncryptionType" json:"deviceType,omitempty"`
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *ADVDeviceIdentity) Reset() {
*x = ADVDeviceIdentity{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ADVDeviceIdentity) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ADVDeviceIdentity) ProtoMessage() {}
func (x *ADVDeviceIdentity) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_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 ADVDeviceIdentity.ProtoReflect.Descriptor instead.
func (*ADVDeviceIdentity) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{4}
}
func (x *ADVDeviceIdentity) GetRawId() uint32 {
if x != nil && x.RawId != nil {
return *x.RawId
}
return 0
}
func (x *ADVDeviceIdentity) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
}
return 0
}
func (x *ADVDeviceIdentity) GetKeyIndex() uint32 {
if x != nil && x.KeyIndex != nil {
return *x.KeyIndex
}
return 0
}
func (x *ADVDeviceIdentity) GetAccountType() ADVEncryptionType {
if x != nil && x.AccountType != nil {
return *x.AccountType
}
return ADVEncryptionType_E2EE
}
func (x *ADVDeviceIdentity) GetDeviceType() ADVEncryptionType {
if x != nil && x.DeviceType != nil {
return *x.DeviceType
}
return ADVEncryptionType_E2EE
}
2022-06-24 15:36:16 -07:00
type DeviceProps struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-11-26 15:42:16 -08:00
Os *string `protobuf:"bytes,1,opt,name=os" json:"os,omitempty"`
Version *DeviceProps_AppVersion `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
PlatformType *DeviceProps_PlatformType `protobuf:"varint,3,opt,name=platformType,enum=proto.DeviceProps_PlatformType" json:"platformType,omitempty"`
RequireFullSync *bool `protobuf:"varint,4,opt,name=requireFullSync" json:"requireFullSync,omitempty"`
HistorySyncConfig *DeviceProps_HistorySyncConfig `protobuf:"bytes,5,opt,name=historySyncConfig" json:"historySyncConfig,omitempty"`
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
func (x *DeviceProps) Reset() {
*x = DeviceProps{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
2022-06-24 15:36:16 -07:00
func (x *DeviceProps) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
func (*DeviceProps) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
2022-06-24 15:36:16 -07:00
func (x *DeviceProps) ProtoReflect() protoreflect.Message {
2022-03-12 14:02:04 -08:00
mi := &file_binary_proto_def_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
// Deprecated: Use DeviceProps.ProtoReflect.Descriptor instead.
func (*DeviceProps) Descriptor() ([]byte, []int) {
2022-03-12 14:02:04 -08:00
return file_binary_proto_def_proto_rawDescGZIP(), []int{5}
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
func (x *DeviceProps) GetOs() string {
2022-03-12 14:02:04 -08:00
if x != nil && x.Os != nil {
return *x.Os
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *DeviceProps) GetVersion() *DeviceProps_AppVersion {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Version
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *DeviceProps) GetPlatformType() DeviceProps_PlatformType {
2022-03-12 14:02:04 -08:00
if x != nil && x.PlatformType != nil {
return *x.PlatformType
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
return DeviceProps_UNKNOWN
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
func (x *DeviceProps) GetRequireFullSync() bool {
2022-03-12 14:02:04 -08:00
if x != nil && x.RequireFullSync != nil {
return *x.RequireFullSync
}
return false
2022-01-30 15:27:37 -08:00
}
2022-11-26 15:42:16 -08:00
func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig {
if x != nil {
return x.HistorySyncConfig
}
return nil
}
type LiveLocationMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"`
DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"`
AccuracyInMeters *uint32 `protobuf:"varint,3,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"`
SpeedInMps *float32 `protobuf:"fixed32,4,opt,name=speedInMps" json:"speedInMps,omitempty"`
DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,5,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"`
Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"`
SequenceNumber *int64 `protobuf:"varint,7,opt,name=sequenceNumber" json:"sequenceNumber,omitempty"`
TimeOffset *uint32 `protobuf:"varint,8,opt,name=timeOffset" json:"timeOffset,omitempty"`
JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *LiveLocationMessage) Reset() {
*x = LiveLocationMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[6]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LiveLocationMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*LiveLocationMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[6]
2022-01-30 15:27:37 -08:00
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 LiveLocationMessage.ProtoReflect.Descriptor instead.
func (*LiveLocationMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{6}
2022-01-30 15:27:37 -08:00
}
func (x *LiveLocationMessage) GetDegreesLatitude() float64 {
if x != nil && x.DegreesLatitude != nil {
return *x.DegreesLatitude
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *LiveLocationMessage) GetDegreesLongitude() float64 {
if x != nil && x.DegreesLongitude != nil {
return *x.DegreesLongitude
2022-03-12 14:02:04 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *LiveLocationMessage) GetAccuracyInMeters() uint32 {
if x != nil && x.AccuracyInMeters != nil {
return *x.AccuracyInMeters
}
return 0
}
func (x *LiveLocationMessage) GetSpeedInMps() float32 {
if x != nil && x.SpeedInMps != nil {
return *x.SpeedInMps
}
return 0
}
func (x *LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 {
if x != nil && x.DegreesClockwiseFromMagneticNorth != nil {
return *x.DegreesClockwiseFromMagneticNorth
}
return 0
}
func (x *LiveLocationMessage) GetCaption() string {
if x != nil && x.Caption != nil {
return *x.Caption
}
return ""
}
func (x *LiveLocationMessage) GetSequenceNumber() int64 {
if x != nil && x.SequenceNumber != nil {
return *x.SequenceNumber
}
return 0
}
func (x *LiveLocationMessage) GetTimeOffset() uint32 {
if x != nil && x.TimeOffset != nil {
return *x.TimeOffset
}
return 0
}
func (x *LiveLocationMessage) GetJpegThumbnail() []byte {
if x != nil {
return x.JpegThumbnail
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *LiveLocationMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
}
type ListResponseMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-11-26 15:42:16 -08:00
Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
ListType *ListResponseMessage_ListType `protobuf:"varint,2,opt,name=listType,enum=proto.ListResponseMessage_ListType" json:"listType,omitempty"`
SingleSelectReply *ListResponseMessage_SingleSelectReply `protobuf:"bytes,3,opt,name=singleSelectReply" json:"singleSelectReply,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,4,opt,name=contextInfo" json:"contextInfo,omitempty"`
Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ListResponseMessage) Reset() {
*x = ListResponseMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[7]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListResponseMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ListResponseMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ListResponseMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[7]
2022-01-30 15:27:37 -08:00
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 ListResponseMessage.ProtoReflect.Descriptor instead.
func (*ListResponseMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{7}
2022-01-30 15:27:37 -08:00
}
func (x *ListResponseMessage) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
2022-11-26 15:42:16 -08:00
}
return ""
2022-11-26 15:42:16 -08:00
}
func (x *ListResponseMessage) GetListType() ListResponseMessage_ListType {
if x != nil && x.ListType != nil {
return *x.ListType
2022-11-26 15:42:16 -08:00
}
return ListResponseMessage_UNKNOWN
2022-11-26 15:42:16 -08:00
}
func (x *ListResponseMessage) GetSingleSelectReply() *ListResponseMessage_SingleSelectReply {
if x != nil {
return x.SingleSelectReply
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ListResponseMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
}
func (x *ListResponseMessage) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
type ListMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
ButtonText *string `protobuf:"bytes,3,opt,name=buttonText" json:"buttonText,omitempty"`
ListType *ListMessage_ListType `protobuf:"varint,4,opt,name=listType,enum=proto.ListMessage_ListType" json:"listType,omitempty"`
Sections []*ListMessage_Section `protobuf:"bytes,5,rep,name=sections" json:"sections,omitempty"`
ProductListInfo *ListMessage_ProductListInfo `protobuf:"bytes,6,opt,name=productListInfo" json:"productListInfo,omitempty"`
FooterText *string `protobuf:"bytes,7,opt,name=footerText" json:"footerText,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo" json:"contextInfo,omitempty"`
}
func (x *ListMessage) Reset() {
*x = ListMessage{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[8]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ListMessage) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ListMessage) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *ListMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[8]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ListMessage.ProtoReflect.Descriptor instead.
func (*ListMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{8}
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
2022-03-12 14:02:04 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage) GetButtonText() string {
if x != nil && x.ButtonText != nil {
return *x.ButtonText
2022-03-12 14:02:04 -08:00
}
return ""
}
2022-01-30 15:27:37 -08:00
func (x *ListMessage) GetListType() ListMessage_ListType {
if x != nil && x.ListType != nil {
return *x.ListType
2022-01-30 15:27:37 -08:00
}
return ListMessage_UNKNOWN
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage) GetSections() []*ListMessage_Section {
if x != nil {
return x.Sections
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage) GetProductListInfo() *ListMessage_ProductListInfo {
if x != nil {
return x.ProductListInfo
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage) GetFooterText() string {
if x != nil && x.FooterText != nil {
return *x.FooterText
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage) GetContextInfo() *ContextInfo {
2022-01-30 15:27:37 -08:00
if x != nil {
2022-03-12 14:02:04 -08:00
return x.ContextInfo
2022-01-30 15:27:37 -08:00
}
return nil
}
type KeepInChatMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
KeepType *KeepType `protobuf:"varint,2,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"`
TimestampMs *int64 `protobuf:"varint,3,opt,name=timestampMs" json:"timestampMs,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *KeepInChatMessage) Reset() {
*x = KeepInChatMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[9]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeepInChatMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*KeepInChatMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[9]
2022-01-30 15:27:37 -08:00
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 KeepInChatMessage.ProtoReflect.Descriptor instead.
func (*KeepInChatMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{9}
2022-01-30 15:27:37 -08:00
}
func (x *KeepInChatMessage) GetKey() *MessageKey {
if x != nil {
return x.Key
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *KeepInChatMessage) GetKeepType() KeepType {
if x != nil && x.KeepType != nil {
return *x.KeepType
2022-01-30 15:27:37 -08:00
}
return KeepType_UNKNOWN
2022-01-30 15:27:37 -08:00
}
func (x *KeepInChatMessage) GetTimestampMs() int64 {
if x != nil && x.TimestampMs != nil {
return *x.TimestampMs
2022-03-12 14:02:04 -08:00
}
return 0
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
type InvoiceMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Note *string `protobuf:"bytes,1,opt,name=note" json:"note,omitempty"`
Token *string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
AttachmentType *InvoiceMessage_AttachmentType `protobuf:"varint,3,opt,name=attachmentType,enum=proto.InvoiceMessage_AttachmentType" json:"attachmentType,omitempty"`
AttachmentMimetype *string `protobuf:"bytes,4,opt,name=attachmentMimetype" json:"attachmentMimetype,omitempty"`
AttachmentMediaKey []byte `protobuf:"bytes,5,opt,name=attachmentMediaKey" json:"attachmentMediaKey,omitempty"`
AttachmentMediaKeyTimestamp *int64 `protobuf:"varint,6,opt,name=attachmentMediaKeyTimestamp" json:"attachmentMediaKeyTimestamp,omitempty"`
AttachmentFileSha256 []byte `protobuf:"bytes,7,opt,name=attachmentFileSha256" json:"attachmentFileSha256,omitempty"`
AttachmentFileEncSha256 []byte `protobuf:"bytes,8,opt,name=attachmentFileEncSha256" json:"attachmentFileEncSha256,omitempty"`
AttachmentDirectPath *string `protobuf:"bytes,9,opt,name=attachmentDirectPath" json:"attachmentDirectPath,omitempty"`
AttachmentJpegThumbnail []byte `protobuf:"bytes,10,opt,name=attachmentJpegThumbnail" json:"attachmentJpegThumbnail,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) Reset() {
*x = InvoiceMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
func (*InvoiceMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InvoiceMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use InvoiceMessage.ProtoReflect.Descriptor instead.
func (*InvoiceMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{10}
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) GetNote() string {
if x != nil && x.Note != nil {
return *x.Note
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) GetToken() string {
if x != nil && x.Token != nil {
return *x.Token
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) GetAttachmentType() InvoiceMessage_AttachmentType {
if x != nil && x.AttachmentType != nil {
return *x.AttachmentType
2022-01-30 15:27:37 -08:00
}
return InvoiceMessage_IMAGE
2022-03-12 14:02:04 -08:00
}
func (x *InvoiceMessage) GetAttachmentMimetype() string {
if x != nil && x.AttachmentMimetype != nil {
return *x.AttachmentMimetype
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *InvoiceMessage) GetAttachmentMediaKey() []byte {
if x != nil {
return x.AttachmentMediaKey
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) GetAttachmentMediaKeyTimestamp() int64 {
if x != nil && x.AttachmentMediaKeyTimestamp != nil {
return *x.AttachmentMediaKeyTimestamp
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return 0
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) GetAttachmentFileSha256() []byte {
if x != nil {
return x.AttachmentFileSha256
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) GetAttachmentFileEncSha256() []byte {
if x != nil {
return x.AttachmentFileEncSha256
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) GetAttachmentDirectPath() string {
if x != nil && x.AttachmentDirectPath != nil {
return *x.AttachmentDirectPath
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InvoiceMessage) GetAttachmentJpegThumbnail() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.AttachmentJpegThumbnail
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
type InteractiveResponseMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Body *InteractiveResponseMessage_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"`
// Types that are assignable to InteractiveResponseMessage:
//
// *InteractiveResponseMessage_NativeFlowResponseMessage_
InteractiveResponseMessage isInteractiveResponseMessage_InteractiveResponseMessage `protobuf_oneof:"interactiveResponseMessage"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage) Reset() {
*x = InteractiveResponseMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[11]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveResponseMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveResponseMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[11]
2022-01-30 15:27:37 -08:00
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 InteractiveResponseMessage.ProtoReflect.Descriptor instead.
func (*InteractiveResponseMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{11}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage) GetBody() *InteractiveResponseMessage_Body {
if x != nil {
return x.Body
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (m *InteractiveResponseMessage) GetInteractiveResponseMessage() isInteractiveResponseMessage_InteractiveResponseMessage {
if m != nil {
return m.InteractiveResponseMessage
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage) GetNativeFlowResponseMessage() *InteractiveResponseMessage_NativeFlowResponseMessage {
if x, ok := x.GetInteractiveResponseMessage().(*InteractiveResponseMessage_NativeFlowResponseMessage_); ok {
return x.NativeFlowResponseMessage
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
type isInteractiveResponseMessage_InteractiveResponseMessage interface {
isInteractiveResponseMessage_InteractiveResponseMessage()
2022-01-30 15:27:37 -08:00
}
type InteractiveResponseMessage_NativeFlowResponseMessage_ struct {
NativeFlowResponseMessage *InteractiveResponseMessage_NativeFlowResponseMessage `protobuf:"bytes,2,opt,name=nativeFlowResponseMessage,oneof"`
}
func (*InteractiveResponseMessage_NativeFlowResponseMessage_) isInteractiveResponseMessage_InteractiveResponseMessage() {
}
type InteractiveMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *InteractiveMessage_Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
Body *InteractiveMessage_Body `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"`
Footer *InteractiveMessage_Footer `protobuf:"bytes,3,opt,name=footer" json:"footer,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"`
// Types that are assignable to InteractiveMessage:
//
// *InteractiveMessage_ShopStorefrontMessage
// *InteractiveMessage_CollectionMessage_
// *InteractiveMessage_NativeFlowMessage_
// *InteractiveMessage_CarouselMessage_
InteractiveMessage isInteractiveMessage_InteractiveMessage `protobuf_oneof:"interactiveMessage"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage) Reset() {
*x = InteractiveMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[12]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[12]
2022-01-30 15:27:37 -08:00
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 InteractiveMessage.ProtoReflect.Descriptor instead.
func (*InteractiveMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage) GetHeader() *InteractiveMessage_Header {
if x != nil {
return x.Header
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage) GetBody() *InteractiveMessage_Body {
if x != nil {
return x.Body
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *InteractiveMessage) GetFooter() *InteractiveMessage_Footer {
if x != nil {
return x.Footer
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *InteractiveMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (m *InteractiveMessage) GetInteractiveMessage() isInteractiveMessage_InteractiveMessage {
if m != nil {
return m.InteractiveMessage
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *InteractiveMessage) GetShopStorefrontMessage() *InteractiveMessage_ShopMessage {
if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_ShopStorefrontMessage); ok {
return x.ShopStorefrontMessage
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage) GetCollectionMessage() *InteractiveMessage_CollectionMessage {
if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CollectionMessage_); ok {
return x.CollectionMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage) GetNativeFlowMessage() *InteractiveMessage_NativeFlowMessage {
if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_NativeFlowMessage_); ok {
return x.NativeFlowMessage
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *InteractiveMessage) GetCarouselMessage() *InteractiveMessage_CarouselMessage {
if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CarouselMessage_); ok {
return x.CarouselMessage
}
return nil
}
type isInteractiveMessage_InteractiveMessage interface {
isInteractiveMessage_InteractiveMessage()
}
type InteractiveMessage_ShopStorefrontMessage struct {
ShopStorefrontMessage *InteractiveMessage_ShopMessage `protobuf:"bytes,4,opt,name=shopStorefrontMessage,oneof"`
}
type InteractiveMessage_CollectionMessage_ struct {
CollectionMessage *InteractiveMessage_CollectionMessage `protobuf:"bytes,5,opt,name=collectionMessage,oneof"`
}
type InteractiveMessage_NativeFlowMessage_ struct {
NativeFlowMessage *InteractiveMessage_NativeFlowMessage `protobuf:"bytes,6,opt,name=nativeFlowMessage,oneof"`
}
type InteractiveMessage_CarouselMessage_ struct {
CarouselMessage *InteractiveMessage_CarouselMessage `protobuf:"bytes,7,opt,name=carouselMessage,oneof"`
}
func (*InteractiveMessage_ShopStorefrontMessage) isInteractiveMessage_InteractiveMessage() {}
func (*InteractiveMessage_CollectionMessage_) isInteractiveMessage_InteractiveMessage() {}
func (*InteractiveMessage_NativeFlowMessage_) isInteractiveMessage_InteractiveMessage() {}
func (*InteractiveMessage_CarouselMessage_) isInteractiveMessage_InteractiveMessage() {}
type InitialSecurityNotificationSettingSync struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SecurityNotificationEnabled *bool `protobuf:"varint,1,opt,name=securityNotificationEnabled" json:"securityNotificationEnabled,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InitialSecurityNotificationSettingSync) Reset() {
*x = InitialSecurityNotificationSettingSync{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[13]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InitialSecurityNotificationSettingSync) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InitialSecurityNotificationSettingSync) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[13]
2022-01-30 15:27:37 -08:00
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 InitialSecurityNotificationSettingSync.ProtoReflect.Descriptor instead.
func (*InitialSecurityNotificationSettingSync) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{13}
2022-01-30 15:27:37 -08:00
}
func (x *InitialSecurityNotificationSettingSync) GetSecurityNotificationEnabled() bool {
if x != nil && x.SecurityNotificationEnabled != nil {
return *x.SecurityNotificationEnabled
}
return false
2022-01-30 15:27:37 -08:00
}
type ImageMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"`
Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"`
FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"`
FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"`
Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"`
Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"`
MediaKey []byte `protobuf:"bytes,8,opt,name=mediaKey" json:"mediaKey,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,10,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"`
DirectPath *string `protobuf:"bytes,11,opt,name=directPath" json:"directPath,omitempty"`
MediaKeyTimestamp *int64 `protobuf:"varint,12,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"`
JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
FirstScanSidecar []byte `protobuf:"bytes,18,opt,name=firstScanSidecar" json:"firstScanSidecar,omitempty"`
FirstScanLength *uint32 `protobuf:"varint,19,opt,name=firstScanLength" json:"firstScanLength,omitempty"`
ExperimentGroupId *uint32 `protobuf:"varint,20,opt,name=experimentGroupId" json:"experimentGroupId,omitempty"`
ScansSidecar []byte `protobuf:"bytes,21,opt,name=scansSidecar" json:"scansSidecar,omitempty"`
ScanLengths []uint32 `protobuf:"varint,22,rep,name=scanLengths" json:"scanLengths,omitempty"`
MidQualityFileSha256 []byte `protobuf:"bytes,23,opt,name=midQualityFileSha256" json:"midQualityFileSha256,omitempty"`
MidQualityFileEncSha256 []byte `protobuf:"bytes,24,opt,name=midQualityFileEncSha256" json:"midQualityFileEncSha256,omitempty"`
ViewOnce *bool `protobuf:"varint,25,opt,name=viewOnce" json:"viewOnce,omitempty"`
ThumbnailDirectPath *string `protobuf:"bytes,26,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"`
ThumbnailSha256 []byte `protobuf:"bytes,27,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"`
ThumbnailEncSha256 []byte `protobuf:"bytes,28,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"`
StaticUrl *string `protobuf:"bytes,29,opt,name=staticUrl" json:"staticUrl,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) Reset() {
*x = ImageMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[14]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ImageMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ImageMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ImageMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[14]
2022-01-30 15:27:37 -08:00
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 ImageMessage.ProtoReflect.Descriptor instead.
func (*ImageMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{14}
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *ImageMessage) GetMimetype() string {
if x != nil && x.Mimetype != nil {
return *x.Mimetype
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *ImageMessage) GetCaption() string {
if x != nil && x.Caption != nil {
return *x.Caption
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetFileSha256() []byte {
if x != nil {
return x.FileSha256
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
}
return 0
}
func (x *ImageMessage) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
}
return 0
}
func (x *ImageMessage) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetFileEncSha256() []byte {
if x != nil {
return x.FileEncSha256
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetInteractiveAnnotations() []*InteractiveAnnotation {
if x != nil {
return x.InteractiveAnnotations
}
return nil
}
func (x *ImageMessage) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetMediaKeyTimestamp() int64 {
if x != nil && x.MediaKeyTimestamp != nil {
return *x.MediaKeyTimestamp
}
return 0
}
func (x *ImageMessage) GetJpegThumbnail() []byte {
if x != nil {
return x.JpegThumbnail
}
return nil
}
func (x *ImageMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetFirstScanSidecar() []byte {
if x != nil {
return x.FirstScanSidecar
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetFirstScanLength() uint32 {
if x != nil && x.FirstScanLength != nil {
return *x.FirstScanLength
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetExperimentGroupId() uint32 {
if x != nil && x.ExperimentGroupId != nil {
return *x.ExperimentGroupId
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetScansSidecar() []byte {
if x != nil {
return x.ScansSidecar
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetScanLengths() []uint32 {
if x != nil {
return x.ScanLengths
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ImageMessage) GetMidQualityFileSha256() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.MidQualityFileSha256
}
return nil
}
func (x *ImageMessage) GetMidQualityFileEncSha256() []byte {
if x != nil {
return x.MidQualityFileEncSha256
}
return nil
}
func (x *ImageMessage) GetViewOnce() bool {
if x != nil && x.ViewOnce != nil {
return *x.ViewOnce
2022-03-12 14:02:04 -08:00
}
return false
2022-03-12 14:02:04 -08:00
}
func (x *ImageMessage) GetThumbnailDirectPath() string {
if x != nil && x.ThumbnailDirectPath != nil {
return *x.ThumbnailDirectPath
}
return ""
}
func (x *ImageMessage) GetThumbnailSha256() []byte {
if x != nil {
return x.ThumbnailSha256
}
return nil
}
func (x *ImageMessage) GetThumbnailEncSha256() []byte {
if x != nil {
return x.ThumbnailEncSha256
}
return nil
}
func (x *ImageMessage) GetStaticUrl() string {
if x != nil && x.StaticUrl != nil {
return *x.StaticUrl
}
return ""
}
type HistorySyncNotification struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileSha256 []byte `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"`
FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"`
MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey" json:"mediaKey,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,4,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
DirectPath *string `protobuf:"bytes,5,opt,name=directPath" json:"directPath,omitempty"`
SyncType *HistorySyncNotification_HistorySyncType `protobuf:"varint,6,opt,name=syncType,enum=proto.HistorySyncNotification_HistorySyncType" json:"syncType,omitempty"`
ChunkOrder *uint32 `protobuf:"varint,7,opt,name=chunkOrder" json:"chunkOrder,omitempty"`
OriginalMessageId *string `protobuf:"bytes,8,opt,name=originalMessageId" json:"originalMessageId,omitempty"`
Progress *uint32 `protobuf:"varint,9,opt,name=progress" json:"progress,omitempty"`
OldestMsgInChunkTimestampSec *int64 `protobuf:"varint,10,opt,name=oldestMsgInChunkTimestampSec" json:"oldestMsgInChunkTimestampSec,omitempty"`
InitialHistBootstrapInlinePayload []byte `protobuf:"bytes,11,opt,name=initialHistBootstrapInlinePayload" json:"initialHistBootstrapInlinePayload,omitempty"`
PeerDataRequestSessionId *string `protobuf:"bytes,12,opt,name=peerDataRequestSessionId" json:"peerDataRequestSessionId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) Reset() {
*x = HistorySyncNotification{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[15]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HistorySyncNotification) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HistorySyncNotification) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[15]
2022-01-30 15:27:37 -08:00
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 HistorySyncNotification.ProtoReflect.Descriptor instead.
func (*HistorySyncNotification) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{15}
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetFileSha256() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.FileSha256
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
2022-03-12 14:02:04 -08:00
}
return 0
2022-03-12 14:02:04 -08:00
}
func (x *HistorySyncNotification) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetFileEncSha256() []byte {
if x != nil {
return x.FileEncSha256
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetSyncType() HistorySyncNotification_HistorySyncType {
if x != nil && x.SyncType != nil {
return *x.SyncType
}
return HistorySyncNotification_INITIAL_BOOTSTRAP
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetChunkOrder() uint32 {
if x != nil && x.ChunkOrder != nil {
return *x.ChunkOrder
}
return 0
}
2022-01-30 15:27:37 -08:00
func (x *HistorySyncNotification) GetOriginalMessageId() string {
if x != nil && x.OriginalMessageId != nil {
return *x.OriginalMessageId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetProgress() uint32 {
if x != nil && x.Progress != nil {
return *x.Progress
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetOldestMsgInChunkTimestampSec() int64 {
if x != nil && x.OldestMsgInChunkTimestampSec != nil {
return *x.OldestMsgInChunkTimestampSec
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetInitialHistBootstrapInlinePayload() []byte {
if x != nil {
return x.InitialHistBootstrapInlinePayload
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncNotification) GetPeerDataRequestSessionId() string {
if x != nil && x.PeerDataRequestSessionId != nil {
return *x.PeerDataRequestSessionId
}
return ""
}
type HighlyStructuredMessage struct {
2022-06-24 15:36:16 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
ElementName *string `protobuf:"bytes,2,opt,name=elementName" json:"elementName,omitempty"`
Params []string `protobuf:"bytes,3,rep,name=params" json:"params,omitempty"`
FallbackLg *string `protobuf:"bytes,4,opt,name=fallbackLg" json:"fallbackLg,omitempty"`
FallbackLc *string `protobuf:"bytes,5,opt,name=fallbackLc" json:"fallbackLc,omitempty"`
LocalizableParams []*HighlyStructuredMessage_HSMLocalizableParameter `protobuf:"bytes,6,rep,name=localizableParams" json:"localizableParams,omitempty"`
DeterministicLg *string `protobuf:"bytes,7,opt,name=deterministicLg" json:"deterministicLg,omitempty"`
DeterministicLc *string `protobuf:"bytes,8,opt,name=deterministicLc" json:"deterministicLc,omitempty"`
HydratedHsm *TemplateMessage `protobuf:"bytes,9,opt,name=hydratedHsm" json:"hydratedHsm,omitempty"`
2022-06-24 15:36:16 -07:00
}
func (x *HighlyStructuredMessage) Reset() {
*x = HighlyStructuredMessage{}
2022-06-24 15:36:16 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[16]
2022-06-24 15:36:16 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HighlyStructuredMessage) String() string {
2022-06-24 15:36:16 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*HighlyStructuredMessage) ProtoMessage() {}
2022-06-24 15:36:16 -07:00
func (x *HighlyStructuredMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[16]
2022-06-24 15:36:16 -07:00
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 HighlyStructuredMessage.ProtoReflect.Descriptor instead.
func (*HighlyStructuredMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{16}
2022-06-24 15:36:16 -07:00
}
func (x *HighlyStructuredMessage) GetNamespace() string {
if x != nil && x.Namespace != nil {
return *x.Namespace
2022-06-24 15:36:16 -07:00
}
return ""
2022-06-24 15:36:16 -07:00
}
func (x *HighlyStructuredMessage) GetElementName() string {
if x != nil && x.ElementName != nil {
return *x.ElementName
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage) GetParams() []string {
if x != nil {
return x.Params
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage) GetFallbackLg() string {
if x != nil && x.FallbackLg != nil {
return *x.FallbackLg
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage) GetFallbackLc() string {
if x != nil && x.FallbackLc != nil {
return *x.FallbackLc
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage) GetLocalizableParams() []*HighlyStructuredMessage_HSMLocalizableParameter {
if x != nil {
return x.LocalizableParams
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage) GetDeterministicLg() string {
if x != nil && x.DeterministicLg != nil {
return *x.DeterministicLg
2022-03-12 14:02:04 -08:00
}
return ""
}
2022-01-30 15:27:37 -08:00
func (x *HighlyStructuredMessage) GetDeterministicLc() string {
if x != nil && x.DeterministicLc != nil {
return *x.DeterministicLc
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage) GetHydratedHsm() *TemplateMessage {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.HydratedHsm
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type GroupInviteMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupJid *string `protobuf:"bytes,1,opt,name=groupJid" json:"groupJid,omitempty"`
InviteCode *string `protobuf:"bytes,2,opt,name=inviteCode" json:"inviteCode,omitempty"`
InviteExpiration *int64 `protobuf:"varint,3,opt,name=inviteExpiration" json:"inviteExpiration,omitempty"`
GroupName *string `protobuf:"bytes,4,opt,name=groupName" json:"groupName,omitempty"`
JpegThumbnail []byte `protobuf:"bytes,5,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"`
Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,7,opt,name=contextInfo" json:"contextInfo,omitempty"`
GroupType *GroupInviteMessage_GroupType `protobuf:"varint,8,opt,name=groupType,enum=proto.GroupInviteMessage_GroupType" json:"groupType,omitempty"`
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
func (x *GroupInviteMessage) Reset() {
*x = GroupInviteMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *GroupInviteMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*GroupInviteMessage) ProtoMessage() {}
func (x *GroupInviteMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use GroupInviteMessage.ProtoReflect.Descriptor instead.
func (*GroupInviteMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{17}
2022-03-12 14:02:04 -08:00
}
func (x *GroupInviteMessage) GetGroupJid() string {
if x != nil && x.GroupJid != nil {
return *x.GroupJid
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *GroupInviteMessage) GetInviteCode() string {
if x != nil && x.InviteCode != nil {
return *x.InviteCode
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *GroupInviteMessage) GetInviteExpiration() int64 {
if x != nil && x.InviteExpiration != nil {
return *x.InviteExpiration
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *GroupInviteMessage) GetGroupName() string {
if x != nil && x.GroupName != nil {
return *x.GroupName
}
return ""
}
func (x *GroupInviteMessage) GetJpegThumbnail() []byte {
if x != nil {
return x.JpegThumbnail
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *GroupInviteMessage) GetCaption() string {
if x != nil && x.Caption != nil {
return *x.Caption
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *GroupInviteMessage) GetContextInfo() *ContextInfo {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.ContextInfo
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *GroupInviteMessage) GetGroupType() GroupInviteMessage_GroupType {
if x != nil && x.GroupType != nil {
return *x.GroupType
}
return GroupInviteMessage_DEFAULT
}
type FutureProofMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Message *Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (x *FutureProofMessage) Reset() {
*x = FutureProofMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *FutureProofMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*FutureProofMessage) ProtoMessage() {}
func (x *FutureProofMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_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)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use FutureProofMessage.ProtoReflect.Descriptor instead.
func (*FutureProofMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{18}
}
func (x *FutureProofMessage) GetMessage() *Message {
if x != nil {
return x.Message
}
return nil
}
type ExtendedTextMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
MatchedText *string `protobuf:"bytes,2,opt,name=matchedText" json:"matchedText,omitempty"`
CanonicalUrl *string `protobuf:"bytes,4,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"`
Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
Title *string `protobuf:"bytes,6,opt,name=title" json:"title,omitempty"`
TextArgb *uint32 `protobuf:"fixed32,7,opt,name=textArgb" json:"textArgb,omitempty"`
BackgroundArgb *uint32 `protobuf:"fixed32,8,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"`
Font *ExtendedTextMessage_FontType `protobuf:"varint,9,opt,name=font,enum=proto.ExtendedTextMessage_FontType" json:"font,omitempty"`
PreviewType *ExtendedTextMessage_PreviewType `protobuf:"varint,10,opt,name=previewType,enum=proto.ExtendedTextMessage_PreviewType" json:"previewType,omitempty"`
JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
DoNotPlayInline *bool `protobuf:"varint,18,opt,name=doNotPlayInline" json:"doNotPlayInline,omitempty"`
ThumbnailDirectPath *string `protobuf:"bytes,19,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"`
ThumbnailSha256 []byte `protobuf:"bytes,20,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"`
ThumbnailEncSha256 []byte `protobuf:"bytes,21,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"`
MediaKey []byte `protobuf:"bytes,22,opt,name=mediaKey" json:"mediaKey,omitempty"`
MediaKeyTimestamp *int64 `protobuf:"varint,23,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"`
ThumbnailHeight *uint32 `protobuf:"varint,24,opt,name=thumbnailHeight" json:"thumbnailHeight,omitempty"`
ThumbnailWidth *uint32 `protobuf:"varint,25,opt,name=thumbnailWidth" json:"thumbnailWidth,omitempty"`
InviteLinkGroupType *ExtendedTextMessage_InviteLinkGroupType `protobuf:"varint,26,opt,name=inviteLinkGroupType,enum=proto.ExtendedTextMessage_InviteLinkGroupType" json:"inviteLinkGroupType,omitempty"`
InviteLinkParentGroupSubjectV2 *string `protobuf:"bytes,27,opt,name=inviteLinkParentGroupSubjectV2" json:"inviteLinkParentGroupSubjectV2,omitempty"`
InviteLinkParentGroupThumbnailV2 []byte `protobuf:"bytes,28,opt,name=inviteLinkParentGroupThumbnailV2" json:"inviteLinkParentGroupThumbnailV2,omitempty"`
InviteLinkGroupTypeV2 *ExtendedTextMessage_InviteLinkGroupType `protobuf:"varint,29,opt,name=inviteLinkGroupTypeV2,enum=proto.ExtendedTextMessage_InviteLinkGroupType" json:"inviteLinkGroupTypeV2,omitempty"`
ViewOnce *bool `protobuf:"varint,30,opt,name=viewOnce" json:"viewOnce,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) Reset() {
*x = ExtendedTextMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[19]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ExtendedTextMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ExtendedTextMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ExtendedTextMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[19]
2022-01-30 15:27:37 -08:00
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 ExtendedTextMessage.ProtoReflect.Descriptor instead.
func (*ExtendedTextMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{19}
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetMatchedText() string {
if x != nil && x.MatchedText != nil {
return *x.MatchedText
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetCanonicalUrl() string {
if x != nil && x.CanonicalUrl != nil {
return *x.CanonicalUrl
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetTextArgb() uint32 {
if x != nil && x.TextArgb != nil {
return *x.TextArgb
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetBackgroundArgb() uint32 {
if x != nil && x.BackgroundArgb != nil {
return *x.BackgroundArgb
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetFont() ExtendedTextMessage_FontType {
if x != nil && x.Font != nil {
return *x.Font
}
return ExtendedTextMessage_SYSTEM
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetPreviewType() ExtendedTextMessage_PreviewType {
if x != nil && x.PreviewType != nil {
return *x.PreviewType
2022-01-30 15:27:37 -08:00
}
return ExtendedTextMessage_NONE
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetJpegThumbnail() []byte {
if x != nil {
return x.JpegThumbnail
2022-11-26 15:42:16 -08:00
}
return nil
2022-11-26 15:42:16 -08:00
}
func (x *ExtendedTextMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetDoNotPlayInline() bool {
if x != nil && x.DoNotPlayInline != nil {
return *x.DoNotPlayInline
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetThumbnailDirectPath() string {
if x != nil && x.ThumbnailDirectPath != nil {
return *x.ThumbnailDirectPath
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetThumbnailSha256() []byte {
if x != nil {
return x.ThumbnailSha256
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *ExtendedTextMessage) GetThumbnailEncSha256() []byte {
if x != nil {
return x.ThumbnailEncSha256
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetMediaKeyTimestamp() int64 {
if x != nil && x.MediaKeyTimestamp != nil {
return *x.MediaKeyTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetThumbnailHeight() uint32 {
if x != nil && x.ThumbnailHeight != nil {
return *x.ThumbnailHeight
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetThumbnailWidth() uint32 {
if x != nil && x.ThumbnailWidth != nil {
return *x.ThumbnailWidth
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetInviteLinkGroupType() ExtendedTextMessage_InviteLinkGroupType {
if x != nil && x.InviteLinkGroupType != nil {
return *x.InviteLinkGroupType
2022-01-30 15:27:37 -08:00
}
return ExtendedTextMessage_DEFAULT
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetInviteLinkParentGroupSubjectV2() string {
if x != nil && x.InviteLinkParentGroupSubjectV2 != nil {
return *x.InviteLinkParentGroupSubjectV2
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
func (x *ExtendedTextMessage) GetInviteLinkParentGroupThumbnailV2() []byte {
if x != nil {
return x.InviteLinkParentGroupThumbnailV2
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetInviteLinkGroupTypeV2() ExtendedTextMessage_InviteLinkGroupType {
if x != nil && x.InviteLinkGroupTypeV2 != nil {
return *x.InviteLinkGroupTypeV2
2022-03-12 14:02:04 -08:00
}
return ExtendedTextMessage_DEFAULT
2022-01-30 15:27:37 -08:00
}
func (x *ExtendedTextMessage) GetViewOnce() bool {
if x != nil && x.ViewOnce != nil {
return *x.ViewOnce
}
return false
2022-01-30 15:27:37 -08:00
}
type EncReactionMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TargetMessageKey *MessageKey `protobuf:"bytes,1,opt,name=targetMessageKey" json:"targetMessageKey,omitempty"`
EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload" json:"encPayload,omitempty"`
EncIv []byte `protobuf:"bytes,3,opt,name=encIv" json:"encIv,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *EncReactionMessage) Reset() {
*x = EncReactionMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[20]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EncReactionMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*EncReactionMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *EncReactionMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[20]
2022-01-30 15:27:37 -08:00
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 EncReactionMessage.ProtoReflect.Descriptor instead.
func (*EncReactionMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{20}
2022-03-12 14:02:04 -08:00
}
func (x *EncReactionMessage) GetTargetMessageKey() *MessageKey {
if x != nil {
return x.TargetMessageKey
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *EncReactionMessage) GetEncPayload() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.EncPayload
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *EncReactionMessage) GetEncIv() []byte {
if x != nil {
return x.EncIv
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type EncCommentMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TargetMessageKey *MessageKey `protobuf:"bytes,1,opt,name=targetMessageKey" json:"targetMessageKey,omitempty"`
EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload" json:"encPayload,omitempty"`
EncIv []byte `protobuf:"bytes,3,opt,name=encIv" json:"encIv,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *EncCommentMessage) Reset() {
*x = EncCommentMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[21]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EncCommentMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*EncCommentMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *EncCommentMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[21]
2022-01-30 15:27:37 -08:00
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 EncCommentMessage.ProtoReflect.Descriptor instead.
func (*EncCommentMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{21}
2022-01-30 15:27:37 -08:00
}
func (x *EncCommentMessage) GetTargetMessageKey() *MessageKey {
if x != nil {
return x.TargetMessageKey
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *EncCommentMessage) GetEncPayload() []byte {
if x != nil {
return x.EncPayload
}
return nil
}
func (x *EncCommentMessage) GetEncIv() []byte {
if x != nil {
return x.EncIv
}
return nil
}
type DocumentMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"`
Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"`
FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"`
PageCount *uint32 `protobuf:"varint,6,opt,name=pageCount" json:"pageCount,omitempty"`
MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey" json:"mediaKey,omitempty"`
FileName *string `protobuf:"bytes,8,opt,name=fileName" json:"fileName,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
DirectPath *string `protobuf:"bytes,10,opt,name=directPath" json:"directPath,omitempty"`
MediaKeyTimestamp *int64 `protobuf:"varint,11,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"`
ContactVcard *bool `protobuf:"varint,12,opt,name=contactVcard" json:"contactVcard,omitempty"`
ThumbnailDirectPath *string `protobuf:"bytes,13,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"`
ThumbnailSha256 []byte `protobuf:"bytes,14,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"`
ThumbnailEncSha256 []byte `protobuf:"bytes,15,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"`
JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
ThumbnailHeight *uint32 `protobuf:"varint,18,opt,name=thumbnailHeight" json:"thumbnailHeight,omitempty"`
ThumbnailWidth *uint32 `protobuf:"varint,19,opt,name=thumbnailWidth" json:"thumbnailWidth,omitempty"`
Caption *string `protobuf:"bytes,20,opt,name=caption" json:"caption,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) Reset() {
*x = DocumentMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[22]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DocumentMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*DocumentMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *DocumentMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[22]
2022-01-30 15:27:37 -08:00
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 DocumentMessage.ProtoReflect.Descriptor instead.
func (*DocumentMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{22}
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *DocumentMessage) GetMimetype() string {
if x != nil && x.Mimetype != nil {
return *x.Mimetype
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetFileSha256() []byte {
if x != nil {
return x.FileSha256
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetPageCount() uint32 {
if x != nil && x.PageCount != nil {
return *x.PageCount
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetFileName() string {
if x != nil && x.FileName != nil {
return *x.FileName
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *DocumentMessage) GetFileEncSha256() []byte {
if x != nil {
return x.FileEncSha256
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *DocumentMessage) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *DocumentMessage) GetMediaKeyTimestamp() int64 {
if x != nil && x.MediaKeyTimestamp != nil {
return *x.MediaKeyTimestamp
}
return 0
}
func (x *DocumentMessage) GetContactVcard() bool {
if x != nil && x.ContactVcard != nil {
return *x.ContactVcard
}
return false
2022-03-12 14:02:04 -08:00
}
func (x *DocumentMessage) GetThumbnailDirectPath() string {
if x != nil && x.ThumbnailDirectPath != nil {
return *x.ThumbnailDirectPath
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *DocumentMessage) GetThumbnailSha256() []byte {
if x != nil {
return x.ThumbnailSha256
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetThumbnailEncSha256() []byte {
if x != nil {
return x.ThumbnailEncSha256
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetJpegThumbnail() []byte {
if x != nil {
return x.JpegThumbnail
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *DocumentMessage) GetThumbnailHeight() uint32 {
if x != nil && x.ThumbnailHeight != nil {
return *x.ThumbnailHeight
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetThumbnailWidth() uint32 {
if x != nil && x.ThumbnailWidth != nil {
return *x.ThumbnailWidth
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *DocumentMessage) GetCaption() string {
if x != nil && x.Caption != nil {
return *x.Caption
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type DeviceSentMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DestinationJid *string `protobuf:"bytes,1,opt,name=destinationJid" json:"destinationJid,omitempty"`
Message *Message `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
Phash *string `protobuf:"bytes,3,opt,name=phash" json:"phash,omitempty"`
}
func (x *DeviceSentMessage) Reset() {
*x = DeviceSentMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeviceSentMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeviceSentMessage) ProtoMessage() {}
func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_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 DeviceSentMessage.ProtoReflect.Descriptor instead.
func (*DeviceSentMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{23}
}
func (x *DeviceSentMessage) GetDestinationJid() string {
if x != nil && x.DestinationJid != nil {
return *x.DestinationJid
}
return ""
}
func (x *DeviceSentMessage) GetMessage() *Message {
if x != nil {
return x.Message
2022-11-26 15:42:16 -08:00
}
return nil
2022-11-26 15:42:16 -08:00
}
func (x *DeviceSentMessage) GetPhash() string {
if x != nil && x.Phash != nil {
return *x.Phash
}
return ""
}
type DeclinePaymentRequestMessage struct {
2022-11-26 15:42:16 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
2022-11-26 15:42:16 -08:00
}
func (x *DeclinePaymentRequestMessage) Reset() {
*x = DeclinePaymentRequestMessage{}
2022-11-26 15:42:16 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[24]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeclinePaymentRequestMessage) String() string {
2022-11-26 15:42:16 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*DeclinePaymentRequestMessage) ProtoMessage() {}
2022-11-26 15:42:16 -08:00
func (x *DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[24]
2022-11-26 15:42:16 -08:00
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 DeclinePaymentRequestMessage.ProtoReflect.Descriptor instead.
func (*DeclinePaymentRequestMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{24}
2022-11-26 15:42:16 -08:00
}
func (x *DeclinePaymentRequestMessage) GetKey() *MessageKey {
2022-11-26 15:42:16 -08:00
if x != nil {
return x.Key
2022-11-26 15:42:16 -08:00
}
return nil
}
type ContactsArrayMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-03-12 14:02:04 -08:00
DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"`
Contacts []*ContactMessage `protobuf:"bytes,2,rep,name=contacts" json:"contacts,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ContactsArrayMessage) Reset() {
*x = ContactsArrayMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[25]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContactsArrayMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ContactsArrayMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ContactsArrayMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[25]
2022-01-30 15:27:37 -08:00
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 ContactsArrayMessage.ProtoReflect.Descriptor instead.
func (*ContactsArrayMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{25}
2022-01-30 15:27:37 -08:00
}
func (x *ContactsArrayMessage) GetDisplayName() string {
if x != nil && x.DisplayName != nil {
return *x.DisplayName
2022-03-12 14:02:04 -08:00
}
return ""
}
func (x *ContactsArrayMessage) GetContacts() []*ContactMessage {
if x != nil {
return x.Contacts
}
return nil
}
func (x *ContactsArrayMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
}
type ContactMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"`
Vcard *string `protobuf:"bytes,16,opt,name=vcard" json:"vcard,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
}
func (x *ContactMessage) Reset() {
*x = ContactMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContactMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContactMessage) ProtoMessage() {}
func (x *ContactMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_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 ContactMessage.ProtoReflect.Descriptor instead.
func (*ContactMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{26}
}
func (x *ContactMessage) GetDisplayName() string {
if x != nil && x.DisplayName != nil {
return *x.DisplayName
}
return ""
}
func (x *ContactMessage) GetVcard() string {
if x != nil && x.Vcard != nil {
return *x.Vcard
}
return ""
}
func (x *ContactMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
}
type Chat struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"`
Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *Chat) Reset() {
*x = Chat{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[27]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Chat) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*Chat) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *Chat) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[27]
2022-01-30 15:27:37 -08:00
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 Chat.ProtoReflect.Descriptor instead.
func (*Chat) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{27}
2022-01-30 15:27:37 -08:00
}
func (x *Chat) GetDisplayName() string {
if x != nil && x.DisplayName != nil {
return *x.DisplayName
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *Chat) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
}
return ""
}
type CancelPaymentRequestMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *CancelPaymentRequestMessage) Reset() {
*x = CancelPaymentRequestMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[28]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CancelPaymentRequestMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*CancelPaymentRequestMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[28]
2022-01-30 15:27:37 -08:00
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 CancelPaymentRequestMessage.ProtoReflect.Descriptor instead.
func (*CancelPaymentRequestMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{28}
2022-01-30 15:27:37 -08:00
}
func (x *CancelPaymentRequestMessage) GetKey() *MessageKey {
if x != nil {
return x.Key
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type Call struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CallKey []byte `protobuf:"bytes,1,opt,name=callKey" json:"callKey,omitempty"`
ConversionSource *string `protobuf:"bytes,2,opt,name=conversionSource" json:"conversionSource,omitempty"`
ConversionData []byte `protobuf:"bytes,3,opt,name=conversionData" json:"conversionData,omitempty"`
ConversionDelaySeconds *uint32 `protobuf:"varint,4,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *Call) Reset() {
*x = Call{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[29]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Call) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*Call) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *Call) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[29]
2022-01-30 15:27:37 -08:00
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 Call.ProtoReflect.Descriptor instead.
func (*Call) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{29}
2022-03-12 14:02:04 -08:00
}
func (x *Call) GetCallKey() []byte {
if x != nil {
return x.CallKey
}
return nil
}
func (x *Call) GetConversionSource() string {
if x != nil && x.ConversionSource != nil {
return *x.ConversionSource
2022-03-12 14:02:04 -08:00
}
return ""
}
func (x *Call) GetConversionData() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.ConversionData
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Call) GetConversionDelaySeconds() uint32 {
if x != nil && x.ConversionDelaySeconds != nil {
return *x.ConversionDelaySeconds
2022-03-12 14:02:04 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type ButtonsResponseMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
SelectedButtonId *string `protobuf:"bytes,1,opt,name=selectedButtonId" json:"selectedButtonId,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"`
Type *ButtonsResponseMessage_Type `protobuf:"varint,4,opt,name=type,enum=proto.ButtonsResponseMessage_Type" json:"type,omitempty"`
// Types that are assignable to Response:
//
// *ButtonsResponseMessage_SelectedDisplayText
Response isButtonsResponseMessage_Response `protobuf_oneof:"response"`
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsResponseMessage) Reset() {
*x = ButtonsResponseMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ButtonsResponseMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ButtonsResponseMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ButtonsResponseMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ButtonsResponseMessage.ProtoReflect.Descriptor instead.
func (*ButtonsResponseMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{30}
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsResponseMessage) GetSelectedButtonId() string {
if x != nil && x.SelectedButtonId != nil {
return *x.SelectedButtonId
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsResponseMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ButtonsResponseMessage) GetType() ButtonsResponseMessage_Type {
if x != nil && x.Type != nil {
return *x.Type
2022-01-30 15:27:37 -08:00
}
return ButtonsResponseMessage_UNKNOWN
2022-01-30 15:27:37 -08:00
}
func (m *ButtonsResponseMessage) GetResponse() isButtonsResponseMessage_Response {
if m != nil {
return m.Response
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ButtonsResponseMessage) GetSelectedDisplayText() string {
if x, ok := x.GetResponse().(*ButtonsResponseMessage_SelectedDisplayText); ok {
return x.SelectedDisplayText
}
return ""
2022-01-30 15:27:37 -08:00
}
type isButtonsResponseMessage_Response interface {
isButtonsResponseMessage_Response()
2022-01-30 15:27:37 -08:00
}
type ButtonsResponseMessage_SelectedDisplayText struct {
SelectedDisplayText string `protobuf:"bytes,2,opt,name=selectedDisplayText,oneof"`
2022-01-30 15:27:37 -08:00
}
func (*ButtonsResponseMessage_SelectedDisplayText) isButtonsResponseMessage_Response() {}
2022-03-12 14:02:04 -08:00
type ButtonsMessage struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ContentText *string `protobuf:"bytes,6,opt,name=contentText" json:"contentText,omitempty"`
FooterText *string `protobuf:"bytes,7,opt,name=footerText" json:"footerText,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo" json:"contextInfo,omitempty"`
Buttons []*ButtonsMessage_Button `protobuf:"bytes,9,rep,name=buttons" json:"buttons,omitempty"`
HeaderType *ButtonsMessage_HeaderType `protobuf:"varint,10,opt,name=headerType,enum=proto.ButtonsMessage_HeaderType" json:"headerType,omitempty"`
// Types that are assignable to Header:
2022-11-26 15:42:16 -08:00
//
// *ButtonsMessage_Text
// *ButtonsMessage_DocumentMessage
// *ButtonsMessage_ImageMessage
// *ButtonsMessage_VideoMessage
// *ButtonsMessage_LocationMessage
Header isButtonsMessage_Header `protobuf_oneof:"header"`
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage) Reset() {
*x = ButtonsMessage{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[31]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ButtonsMessage) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ButtonsMessage) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *ButtonsMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[31]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ButtonsMessage.ProtoReflect.Descriptor instead.
func (*ButtonsMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{31}
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage) GetContentText() string {
if x != nil && x.ContentText != nil {
return *x.ContentText
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage) GetFooterText() string {
if x != nil && x.FooterText != nil {
return *x.FooterText
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ButtonsMessage) GetButtons() []*ButtonsMessage_Button {
if x != nil {
return x.Buttons
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage) GetHeaderType() ButtonsMessage_HeaderType {
if x != nil && x.HeaderType != nil {
return *x.HeaderType
}
return ButtonsMessage_UNKNOWN
}
2022-01-30 15:27:37 -08:00
func (m *ButtonsMessage) GetHeader() isButtonsMessage_Header {
if m != nil {
return m.Header
}
return nil
}
2022-03-12 14:02:04 -08:00
func (x *ButtonsMessage) GetText() string {
if x, ok := x.GetHeader().(*ButtonsMessage_Text); ok {
return x.Text
}
return ""
}
2022-03-12 14:02:04 -08:00
func (x *ButtonsMessage) GetDocumentMessage() *DocumentMessage {
if x, ok := x.GetHeader().(*ButtonsMessage_DocumentMessage); ok {
return x.DocumentMessage
}
return nil
}
2022-03-12 14:02:04 -08:00
func (x *ButtonsMessage) GetImageMessage() *ImageMessage {
if x, ok := x.GetHeader().(*ButtonsMessage_ImageMessage); ok {
return x.ImageMessage
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage) GetVideoMessage() *VideoMessage {
if x, ok := x.GetHeader().(*ButtonsMessage_VideoMessage); ok {
return x.VideoMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage) GetLocationMessage() *LocationMessage {
if x, ok := x.GetHeader().(*ButtonsMessage_LocationMessage); ok {
return x.LocationMessage
}
return nil
2022-01-30 15:27:37 -08:00
}
type isButtonsMessage_Header interface {
isButtonsMessage_Header()
}
2022-03-12 14:02:04 -08:00
type ButtonsMessage_Text struct {
Text string `protobuf:"bytes,1,opt,name=text,oneof"`
2022-01-30 15:27:37 -08:00
}
type ButtonsMessage_DocumentMessage struct {
DocumentMessage *DocumentMessage `protobuf:"bytes,2,opt,name=documentMessage,oneof"`
2022-01-30 15:27:37 -08:00
}
type ButtonsMessage_ImageMessage struct {
ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"`
}
type ButtonsMessage_VideoMessage struct {
VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"`
}
type ButtonsMessage_LocationMessage struct {
LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"`
2022-01-30 15:27:37 -08:00
}
func (*ButtonsMessage_Text) isButtonsMessage_Header() {}
func (*ButtonsMessage_DocumentMessage) isButtonsMessage_Header() {}
func (*ButtonsMessage_ImageMessage) isButtonsMessage_Header() {}
func (*ButtonsMessage_VideoMessage) isButtonsMessage_Header() {}
func (*ButtonsMessage_LocationMessage) isButtonsMessage_Header() {}
type BotFeedbackMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageKey *MessageKey `protobuf:"bytes,1,opt,name=messageKey" json:"messageKey,omitempty"`
Kind *BotFeedbackMessage_BotFeedbackKind `protobuf:"varint,2,opt,name=kind,enum=proto.BotFeedbackMessage_BotFeedbackKind" json:"kind,omitempty"`
Text *string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
}
func (x *BotFeedbackMessage) Reset() {
*x = BotFeedbackMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BotFeedbackMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BotFeedbackMessage) ProtoMessage() {}
func (x *BotFeedbackMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_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 BotFeedbackMessage.ProtoReflect.Descriptor instead.
func (*BotFeedbackMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{32}
}
func (x *BotFeedbackMessage) GetMessageKey() *MessageKey {
if x != nil {
return x.MessageKey
}
return nil
}
func (x *BotFeedbackMessage) GetKind() BotFeedbackMessage_BotFeedbackKind {
if x != nil && x.Kind != nil {
return *x.Kind
}
return BotFeedbackMessage_BOT_FEEDBACK_POSITIVE
}
func (x *BotFeedbackMessage) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
}
return ""
}
type AudioMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"`
FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"`
FileLength *uint64 `protobuf:"varint,4,opt,name=fileLength" json:"fileLength,omitempty"`
Seconds *uint32 `protobuf:"varint,5,opt,name=seconds" json:"seconds,omitempty"`
Ptt *bool `protobuf:"varint,6,opt,name=ptt" json:"ptt,omitempty"`
MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey" json:"mediaKey,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,8,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
DirectPath *string `protobuf:"bytes,9,opt,name=directPath" json:"directPath,omitempty"`
MediaKeyTimestamp *int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
StreamingSidecar []byte `protobuf:"bytes,18,opt,name=streamingSidecar" json:"streamingSidecar,omitempty"`
Waveform []byte `protobuf:"bytes,19,opt,name=waveform" json:"waveform,omitempty"`
2022-11-26 15:42:16 -08:00
BackgroundArgb *uint32 `protobuf:"fixed32,20,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"`
ViewOnce *bool `protobuf:"varint,21,opt,name=viewOnce" json:"viewOnce,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AudioMessage) Reset() {
*x = AudioMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[33]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AudioMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*AudioMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *AudioMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[33]
2022-01-30 15:27:37 -08:00
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 AudioMessage.ProtoReflect.Descriptor instead.
func (*AudioMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{33}
2022-01-30 15:27:37 -08:00
}
func (x *AudioMessage) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *AudioMessage) GetMimetype() string {
if x != nil && x.Mimetype != nil {
return *x.Mimetype
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *AudioMessage) GetFileSha256() []byte {
if x != nil {
return x.FileSha256
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *AudioMessage) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
2022-03-12 14:02:04 -08:00
}
return 0
}
func (x *AudioMessage) GetSeconds() uint32 {
if x != nil && x.Seconds != nil {
return *x.Seconds
2022-03-12 14:02:04 -08:00
}
return 0
}
func (x *AudioMessage) GetPtt() bool {
if x != nil && x.Ptt != nil {
return *x.Ptt
}
return false
}
func (x *AudioMessage) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
}
return nil
}
func (x *AudioMessage) GetFileEncSha256() []byte {
if x != nil {
return x.FileEncSha256
}
return nil
}
func (x *AudioMessage) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
}
return ""
}
func (x *AudioMessage) GetMediaKeyTimestamp() int64 {
if x != nil && x.MediaKeyTimestamp != nil {
return *x.MediaKeyTimestamp
2022-03-12 14:02:04 -08:00
}
return 0
}
func (x *AudioMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
}
func (x *AudioMessage) GetStreamingSidecar() []byte {
if x != nil {
return x.StreamingSidecar
}
return nil
}
func (x *AudioMessage) GetWaveform() []byte {
if x != nil {
return x.Waveform
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
2022-11-26 15:42:16 -08:00
func (x *AudioMessage) GetBackgroundArgb() uint32 {
if x != nil && x.BackgroundArgb != nil {
return *x.BackgroundArgb
}
return 0
}
func (x *AudioMessage) GetViewOnce() bool {
if x != nil && x.ViewOnce != nil {
return *x.ViewOnce
}
return false
}
type AppStateSyncKey struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
KeyId *AppStateSyncKeyId `protobuf:"bytes,1,opt,name=keyId" json:"keyId,omitempty"`
KeyData *AppStateSyncKeyData `protobuf:"bytes,2,opt,name=keyData" json:"keyData,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKey) Reset() {
*x = AppStateSyncKey{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[34]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AppStateSyncKey) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*AppStateSyncKey) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *AppStateSyncKey) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[34]
2022-01-30 15:27:37 -08:00
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 AppStateSyncKey.ProtoReflect.Descriptor instead.
func (*AppStateSyncKey) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{34}
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKey) GetKeyId() *AppStateSyncKeyId {
if x != nil {
return x.KeyId
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKey) GetKeyData() *AppStateSyncKeyData {
if x != nil {
return x.KeyData
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type AppStateSyncKeyShare struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Keys []*AppStateSyncKey `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyShare) Reset() {
*x = AppStateSyncKeyShare{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[35]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AppStateSyncKeyShare) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*AppStateSyncKeyShare) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *AppStateSyncKeyShare) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[35]
2022-01-30 15:27:37 -08:00
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 AppStateSyncKeyShare.ProtoReflect.Descriptor instead.
func (*AppStateSyncKeyShare) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{35}
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyShare) GetKeys() []*AppStateSyncKey {
if x != nil {
return x.Keys
}
return nil
2022-01-30 15:27:37 -08:00
}
type AppStateSyncKeyRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
KeyIds []*AppStateSyncKeyId `protobuf:"bytes,1,rep,name=keyIds" json:"keyIds,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyRequest) Reset() {
*x = AppStateSyncKeyRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *AppStateSyncKeyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*AppStateSyncKeyRequest) ProtoMessage() {}
func (x *AppStateSyncKeyRequest) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use AppStateSyncKeyRequest.ProtoReflect.Descriptor instead.
func (*AppStateSyncKeyRequest) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{36}
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyRequest) GetKeyIds() []*AppStateSyncKeyId {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.KeyIds
2022-01-30 15:27:37 -08:00
}
return nil
}
type AppStateSyncKeyId struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
KeyId []byte `protobuf:"bytes,1,opt,name=keyId" json:"keyId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyId) Reset() {
*x = AppStateSyncKeyId{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[37]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AppStateSyncKeyId) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*AppStateSyncKeyId) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *AppStateSyncKeyId) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[37]
2022-01-30 15:27:37 -08:00
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 AppStateSyncKeyId.ProtoReflect.Descriptor instead.
func (*AppStateSyncKeyId) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{37}
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyId) GetKeyId() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.KeyId
2022-01-30 15:27:37 -08:00
}
return nil
}
type AppStateSyncKeyFingerprint struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"`
CurrentIndex *uint32 `protobuf:"varint,2,opt,name=currentIndex" json:"currentIndex,omitempty"`
DeviceIndexes []uint32 `protobuf:"varint,3,rep,packed,name=deviceIndexes" json:"deviceIndexes,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyFingerprint) Reset() {
*x = AppStateSyncKeyFingerprint{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[38]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AppStateSyncKeyFingerprint) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*AppStateSyncKeyFingerprint) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[38]
2022-01-30 15:27:37 -08:00
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 AppStateSyncKeyFingerprint.ProtoReflect.Descriptor instead.
func (*AppStateSyncKeyFingerprint) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{38}
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyFingerprint) GetRawId() uint32 {
if x != nil && x.RawId != nil {
return *x.RawId
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyFingerprint) GetCurrentIndex() uint32 {
if x != nil && x.CurrentIndex != nil {
return *x.CurrentIndex
2022-03-12 14:02:04 -08:00
}
return 0
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
func (x *AppStateSyncKeyFingerprint) GetDeviceIndexes() []uint32 {
if x != nil {
return x.DeviceIndexes
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type AppStateSyncKeyData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-03-12 14:02:04 -08:00
KeyData []byte `protobuf:"bytes,1,opt,name=keyData" json:"keyData,omitempty"`
Fingerprint *AppStateSyncKeyFingerprint `protobuf:"bytes,2,opt,name=fingerprint" json:"fingerprint,omitempty"`
Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyData) Reset() {
*x = AppStateSyncKeyData{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyData) String() string {
return protoimpl.X.MessageStringOf(x)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
func (*AppStateSyncKeyData) ProtoMessage() {}
func (x *AppStateSyncKeyData) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use AppStateSyncKeyData.ProtoReflect.Descriptor instead.
func (*AppStateSyncKeyData) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{39}
2022-01-30 15:27:37 -08:00
}
func (x *AppStateSyncKeyData) GetKeyData() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.KeyData
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *AppStateSyncKeyData) GetFingerprint() *AppStateSyncKeyFingerprint {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.Fingerprint
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *AppStateSyncKeyData) GetTimestamp() int64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
2022-03-12 14:02:04 -08:00
}
return 0
2022-03-12 14:02:04 -08:00
}
type AppStateFatalExceptionNotification struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-03-12 14:02:04 -08:00
CollectionNames []string `protobuf:"bytes,1,rep,name=collectionNames" json:"collectionNames,omitempty"`
Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AppStateFatalExceptionNotification) Reset() {
*x = AppStateFatalExceptionNotification{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *AppStateFatalExceptionNotification) String() string {
return protoimpl.X.MessageStringOf(x)
2022-03-12 14:02:04 -08:00
}
func (*AppStateFatalExceptionNotification) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *AppStateFatalExceptionNotification) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-03-12 14:02:04 -08:00
}
// Deprecated: Use AppStateFatalExceptionNotification.ProtoReflect.Descriptor instead.
func (*AppStateFatalExceptionNotification) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{40}
2022-04-25 14:50:10 -07:00
}
func (x *AppStateFatalExceptionNotification) GetCollectionNames() []string {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.CollectionNames
2022-04-25 14:50:10 -07:00
}
return nil
}
func (x *AppStateFatalExceptionNotification) GetTimestamp() int64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
2022-04-25 14:50:10 -07:00
}
return 0
2022-04-25 14:50:10 -07:00
}
type Location struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"`
DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"`
Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *Location) Reset() {
*x = Location{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[41]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Location) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*Location) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *Location) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[41]
2022-01-30 15:27:37 -08:00
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 Location.ProtoReflect.Descriptor instead.
func (*Location) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{41}
2022-03-12 14:02:04 -08:00
}
func (x *Location) GetDegreesLatitude() float64 {
if x != nil && x.DegreesLatitude != nil {
return *x.DegreesLatitude
2022-01-30 15:27:37 -08:00
}
return 0
}
func (x *Location) GetDegreesLongitude() float64 {
if x != nil && x.DegreesLongitude != nil {
return *x.DegreesLongitude
2022-03-12 14:02:04 -08:00
}
return 0
}
func (x *Location) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
2022-03-12 14:02:04 -08:00
}
return ""
}
type InteractiveAnnotation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
PolygonVertices []*Point `protobuf:"bytes,1,rep,name=polygonVertices" json:"polygonVertices,omitempty"`
// Types that are assignable to Action:
2022-11-26 15:42:16 -08:00
//
// *InteractiveAnnotation_Location
Action isInteractiveAnnotation_Action `protobuf_oneof:"action"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveAnnotation) Reset() {
*x = InteractiveAnnotation{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *InteractiveAnnotation) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*InteractiveAnnotation) ProtoMessage() {}
func (x *InteractiveAnnotation) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use InteractiveAnnotation.ProtoReflect.Descriptor instead.
func (*InteractiveAnnotation) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{42}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveAnnotation) GetPolygonVertices() []*Point {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.PolygonVertices
2022-01-30 15:27:37 -08:00
}
return nil
}
func (m *InteractiveAnnotation) GetAction() isInteractiveAnnotation_Action {
if m != nil {
return m.Action
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *InteractiveAnnotation) GetLocation() *Location {
if x, ok := x.GetAction().(*InteractiveAnnotation_Location); ok {
return x.Location
2022-01-30 15:27:37 -08:00
}
return nil
}
type isInteractiveAnnotation_Action interface {
isInteractiveAnnotation_Action()
2022-03-12 14:02:04 -08:00
}
type InteractiveAnnotation_Location struct {
Location *Location `protobuf:"bytes,2,opt,name=location,oneof"`
2022-03-12 14:02:04 -08:00
}
func (*InteractiveAnnotation_Location) isInteractiveAnnotation_Action() {}
type HydratedTemplateButton struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Index *uint32 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"`
// Types that are assignable to HydratedButton:
2022-11-26 15:42:16 -08:00
//
// *HydratedTemplateButton_QuickReplyButton
// *HydratedTemplateButton_UrlButton
// *HydratedTemplateButton_CallButton
HydratedButton isHydratedTemplateButton_HydratedButton `protobuf_oneof:"hydratedButton"`
2022-01-30 15:27:37 -08:00
}
func (x *HydratedTemplateButton) Reset() {
*x = HydratedTemplateButton{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[43]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HydratedTemplateButton) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HydratedTemplateButton) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HydratedTemplateButton) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[43]
2022-01-30 15:27:37 -08:00
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 HydratedTemplateButton.ProtoReflect.Descriptor instead.
func (*HydratedTemplateButton) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{43}
2022-01-30 15:27:37 -08:00
}
func (x *HydratedTemplateButton) GetIndex() uint32 {
if x != nil && x.Index != nil {
return *x.Index
2022-03-12 14:02:04 -08:00
}
return 0
2022-03-12 14:02:04 -08:00
}
func (m *HydratedTemplateButton) GetHydratedButton() isHydratedTemplateButton_HydratedButton {
if m != nil {
return m.HydratedButton
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *HydratedTemplateButton) GetQuickReplyButton() *HydratedTemplateButton_HydratedQuickReplyButton {
if x, ok := x.GetHydratedButton().(*HydratedTemplateButton_QuickReplyButton); ok {
return x.QuickReplyButton
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *HydratedTemplateButton) GetUrlButton() *HydratedTemplateButton_HydratedURLButton {
if x, ok := x.GetHydratedButton().(*HydratedTemplateButton_UrlButton); ok {
return x.UrlButton
}
return nil
}
func (x *HydratedTemplateButton) GetCallButton() *HydratedTemplateButton_HydratedCallButton {
if x, ok := x.GetHydratedButton().(*HydratedTemplateButton_CallButton); ok {
return x.CallButton
}
return nil
}
type isHydratedTemplateButton_HydratedButton interface {
isHydratedTemplateButton_HydratedButton()
}
type HydratedTemplateButton_QuickReplyButton struct {
QuickReplyButton *HydratedTemplateButton_HydratedQuickReplyButton `protobuf:"bytes,1,opt,name=quickReplyButton,oneof"`
}
type HydratedTemplateButton_UrlButton struct {
UrlButton *HydratedTemplateButton_HydratedURLButton `protobuf:"bytes,2,opt,name=urlButton,oneof"`
}
type HydratedTemplateButton_CallButton struct {
CallButton *HydratedTemplateButton_HydratedCallButton `protobuf:"bytes,3,opt,name=callButton,oneof"`
}
func (*HydratedTemplateButton_QuickReplyButton) isHydratedTemplateButton_HydratedButton() {}
func (*HydratedTemplateButton_UrlButton) isHydratedTemplateButton_HydratedButton() {}
func (*HydratedTemplateButton_CallButton) isHydratedTemplateButton_HydratedButton() {}
type GroupMention struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupJid *string `protobuf:"bytes,1,opt,name=groupJid" json:"groupJid,omitempty"`
GroupSubject *string `protobuf:"bytes,2,opt,name=groupSubject" json:"groupSubject,omitempty"`
}
func (x *GroupMention) Reset() {
*x = GroupMention{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GroupMention) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GroupMention) ProtoMessage() {}
func (x *GroupMention) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[44]
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 GroupMention.ProtoReflect.Descriptor instead.
func (*GroupMention) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{44}
}
func (x *GroupMention) GetGroupJid() string {
if x != nil && x.GroupJid != nil {
return *x.GroupJid
}
return ""
}
func (x *GroupMention) GetGroupSubject() string {
if x != nil && x.GroupSubject != nil {
return *x.GroupSubject
}
return ""
}
type DisappearingMode struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Initiator *DisappearingMode_Initiator `protobuf:"varint,1,opt,name=initiator,enum=proto.DisappearingMode_Initiator" json:"initiator,omitempty"`
Trigger *DisappearingMode_Trigger `protobuf:"varint,2,opt,name=trigger,enum=proto.DisappearingMode_Trigger" json:"trigger,omitempty"`
InitiatorDeviceJid *string `protobuf:"bytes,3,opt,name=initiatorDeviceJid" json:"initiatorDeviceJid,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *DisappearingMode) Reset() {
*x = DisappearingMode{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[45]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DisappearingMode) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*DisappearingMode) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *DisappearingMode) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[45]
2022-01-30 15:27:37 -08:00
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 DisappearingMode.ProtoReflect.Descriptor instead.
func (*DisappearingMode) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{45}
2022-01-30 15:27:37 -08:00
}
func (x *DisappearingMode) GetInitiator() DisappearingMode_Initiator {
if x != nil && x.Initiator != nil {
return *x.Initiator
2022-01-30 15:27:37 -08:00
}
return DisappearingMode_CHANGED_IN_CHAT
2022-01-30 15:27:37 -08:00
}
func (x *DisappearingMode) GetTrigger() DisappearingMode_Trigger {
if x != nil && x.Trigger != nil {
return *x.Trigger
}
return DisappearingMode_UNKNOWN
}
func (x *DisappearingMode) GetInitiatorDeviceJid() string {
if x != nil && x.InitiatorDeviceJid != nil {
return *x.InitiatorDeviceJid
}
return ""
}
type DeviceListMetadata struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SenderKeyHash []byte `protobuf:"bytes,1,opt,name=senderKeyHash" json:"senderKeyHash,omitempty"`
SenderTimestamp *uint64 `protobuf:"varint,2,opt,name=senderTimestamp" json:"senderTimestamp,omitempty"`
SenderKeyIndexes []uint32 `protobuf:"varint,3,rep,packed,name=senderKeyIndexes" json:"senderKeyIndexes,omitempty"`
RecipientKeyHash []byte `protobuf:"bytes,8,opt,name=recipientKeyHash" json:"recipientKeyHash,omitempty"`
RecipientTimestamp *uint64 `protobuf:"varint,9,opt,name=recipientTimestamp" json:"recipientTimestamp,omitempty"`
RecipientKeyIndexes []uint32 `protobuf:"varint,10,rep,packed,name=recipientKeyIndexes" json:"recipientKeyIndexes,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *DeviceListMetadata) Reset() {
*x = DeviceListMetadata{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[46]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeviceListMetadata) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*DeviceListMetadata) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[46]
2022-01-30 15:27:37 -08:00
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 DeviceListMetadata.ProtoReflect.Descriptor instead.
func (*DeviceListMetadata) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{46}
2022-01-30 15:27:37 -08:00
}
func (x *DeviceListMetadata) GetSenderKeyHash() []byte {
if x != nil {
return x.SenderKeyHash
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *DeviceListMetadata) GetSenderTimestamp() uint64 {
if x != nil && x.SenderTimestamp != nil {
return *x.SenderTimestamp
}
return 0
}
func (x *DeviceListMetadata) GetSenderKeyIndexes() []uint32 {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.SenderKeyIndexes
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *DeviceListMetadata) GetRecipientKeyHash() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.RecipientKeyHash
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *DeviceListMetadata) GetRecipientTimestamp() uint64 {
if x != nil && x.RecipientTimestamp != nil {
return *x.RecipientTimestamp
}
return 0
}
func (x *DeviceListMetadata) GetRecipientKeyIndexes() []uint32 {
if x != nil {
return x.RecipientKeyIndexes
}
return nil
}
type ContextInfo struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"`
Participant *string `protobuf:"bytes,2,opt,name=participant" json:"participant,omitempty"`
QuotedMessage *Message `protobuf:"bytes,3,opt,name=quotedMessage" json:"quotedMessage,omitempty"`
RemoteJid *string `protobuf:"bytes,4,opt,name=remoteJid" json:"remoteJid,omitempty"`
MentionedJid []string `protobuf:"bytes,15,rep,name=mentionedJid" json:"mentionedJid,omitempty"`
ConversionSource *string `protobuf:"bytes,18,opt,name=conversionSource" json:"conversionSource,omitempty"`
ConversionData []byte `protobuf:"bytes,19,opt,name=conversionData" json:"conversionData,omitempty"`
ConversionDelaySeconds *uint32 `protobuf:"varint,20,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"`
ForwardingScore *uint32 `protobuf:"varint,21,opt,name=forwardingScore" json:"forwardingScore,omitempty"`
IsForwarded *bool `protobuf:"varint,22,opt,name=isForwarded" json:"isForwarded,omitempty"`
QuotedAd *ContextInfo_AdReplyInfo `protobuf:"bytes,23,opt,name=quotedAd" json:"quotedAd,omitempty"`
PlaceholderKey *MessageKey `protobuf:"bytes,24,opt,name=placeholderKey" json:"placeholderKey,omitempty"`
Expiration *uint32 `protobuf:"varint,25,opt,name=expiration" json:"expiration,omitempty"`
EphemeralSettingTimestamp *int64 `protobuf:"varint,26,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"`
EphemeralSharedSecret []byte `protobuf:"bytes,27,opt,name=ephemeralSharedSecret" json:"ephemeralSharedSecret,omitempty"`
ExternalAdReply *ContextInfo_ExternalAdReplyInfo `protobuf:"bytes,28,opt,name=externalAdReply" json:"externalAdReply,omitempty"`
EntryPointConversionSource *string `protobuf:"bytes,29,opt,name=entryPointConversionSource" json:"entryPointConversionSource,omitempty"`
EntryPointConversionApp *string `protobuf:"bytes,30,opt,name=entryPointConversionApp" json:"entryPointConversionApp,omitempty"`
EntryPointConversionDelaySeconds *uint32 `protobuf:"varint,31,opt,name=entryPointConversionDelaySeconds" json:"entryPointConversionDelaySeconds,omitempty"`
DisappearingMode *DisappearingMode `protobuf:"bytes,32,opt,name=disappearingMode" json:"disappearingMode,omitempty"`
ActionLink *ActionLink `protobuf:"bytes,33,opt,name=actionLink" json:"actionLink,omitempty"`
GroupSubject *string `protobuf:"bytes,34,opt,name=groupSubject" json:"groupSubject,omitempty"`
ParentGroupJid *string `protobuf:"bytes,35,opt,name=parentGroupJid" json:"parentGroupJid,omitempty"`
TrustBannerType *string `protobuf:"bytes,37,opt,name=trustBannerType" json:"trustBannerType,omitempty"`
TrustBannerAction *uint32 `protobuf:"varint,38,opt,name=trustBannerAction" json:"trustBannerAction,omitempty"`
IsSampled *bool `protobuf:"varint,39,opt,name=isSampled" json:"isSampled,omitempty"`
GroupMentions []*GroupMention `protobuf:"bytes,40,rep,name=groupMentions" json:"groupMentions,omitempty"`
Utm *ContextInfo_UTMInfo `protobuf:"bytes,41,opt,name=utm" json:"utm,omitempty"`
ForwardedNewsletterMessageInfo *ContextInfo_ForwardedNewsletterMessageInfo `protobuf:"bytes,43,opt,name=forwardedNewsletterMessageInfo" json:"forwardedNewsletterMessageInfo,omitempty"`
BusinessMessageForwardInfo *ContextInfo_BusinessMessageForwardInfo `protobuf:"bytes,44,opt,name=businessMessageForwardInfo" json:"businessMessageForwardInfo,omitempty"`
SmbClientCampaignId *string `protobuf:"bytes,45,opt,name=smbClientCampaignId" json:"smbClientCampaignId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) Reset() {
*x = ContextInfo{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[47]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContextInfo) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ContextInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ContextInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[47]
2022-01-30 15:27:37 -08:00
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 ContextInfo.ProtoReflect.Descriptor instead.
func (*ContextInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{47}
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetStanzaId() string {
if x != nil && x.StanzaId != nil {
return *x.StanzaId
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetParticipant() string {
if x != nil && x.Participant != nil {
return *x.Participant
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *ContextInfo) GetQuotedMessage() *Message {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.QuotedMessage
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *ContextInfo) GetRemoteJid() string {
if x != nil && x.RemoteJid != nil {
return *x.RemoteJid
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetMentionedJid() []string {
if x != nil {
return x.MentionedJid
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetConversionSource() string {
if x != nil && x.ConversionSource != nil {
return *x.ConversionSource
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetConversionData() []byte {
if x != nil {
return x.ConversionData
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetConversionDelaySeconds() uint32 {
if x != nil && x.ConversionDelaySeconds != nil {
return *x.ConversionDelaySeconds
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetForwardingScore() uint32 {
if x != nil && x.ForwardingScore != nil {
return *x.ForwardingScore
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetIsForwarded() bool {
if x != nil && x.IsForwarded != nil {
return *x.IsForwarded
2022-03-12 14:02:04 -08:00
}
return false
2022-03-12 14:02:04 -08:00
}
func (x *ContextInfo) GetQuotedAd() *ContextInfo_AdReplyInfo {
if x != nil {
return x.QuotedAd
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *ContextInfo) GetPlaceholderKey() *MessageKey {
if x != nil {
return x.PlaceholderKey
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetExpiration() uint32 {
if x != nil && x.Expiration != nil {
return *x.Expiration
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetEphemeralSettingTimestamp() int64 {
if x != nil && x.EphemeralSettingTimestamp != nil {
return *x.EphemeralSettingTimestamp
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetEphemeralSharedSecret() []byte {
if x != nil {
return x.EphemeralSharedSecret
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *ContextInfo) GetExternalAdReply() *ContextInfo_ExternalAdReplyInfo {
if x != nil {
return x.ExternalAdReply
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetEntryPointConversionSource() string {
if x != nil && x.EntryPointConversionSource != nil {
return *x.EntryPointConversionSource
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetEntryPointConversionApp() string {
if x != nil && x.EntryPointConversionApp != nil {
return *x.EntryPointConversionApp
}
return ""
}
func (x *ContextInfo) GetEntryPointConversionDelaySeconds() uint32 {
if x != nil && x.EntryPointConversionDelaySeconds != nil {
return *x.EntryPointConversionDelaySeconds
}
return 0
}
func (x *ContextInfo) GetDisappearingMode() *DisappearingMode {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.DisappearingMode
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo) GetActionLink() *ActionLink {
if x != nil {
return x.ActionLink
}
return nil
}
func (x *ContextInfo) GetGroupSubject() string {
if x != nil && x.GroupSubject != nil {
return *x.GroupSubject
}
return ""
}
func (x *ContextInfo) GetParentGroupJid() string {
if x != nil && x.ParentGroupJid != nil {
return *x.ParentGroupJid
}
return ""
}
2022-11-26 15:42:16 -08:00
func (x *ContextInfo) GetTrustBannerType() string {
if x != nil && x.TrustBannerType != nil {
return *x.TrustBannerType
}
return ""
}
func (x *ContextInfo) GetTrustBannerAction() uint32 {
if x != nil && x.TrustBannerAction != nil {
return *x.TrustBannerAction
}
return 0
}
2023-01-28 13:57:53 -08:00
func (x *ContextInfo) GetIsSampled() bool {
if x != nil && x.IsSampled != nil {
return *x.IsSampled
}
return false
}
func (x *ContextInfo) GetGroupMentions() []*GroupMention {
if x != nil {
return x.GroupMentions
}
return nil
}
func (x *ContextInfo) GetUtm() *ContextInfo_UTMInfo {
if x != nil {
return x.Utm
}
return nil
}
func (x *ContextInfo) GetForwardedNewsletterMessageInfo() *ContextInfo_ForwardedNewsletterMessageInfo {
if x != nil {
return x.ForwardedNewsletterMessageInfo
}
return nil
}
func (x *ContextInfo) GetBusinessMessageForwardInfo() *ContextInfo_BusinessMessageForwardInfo {
if x != nil {
return x.BusinessMessageForwardInfo
}
return nil
}
func (x *ContextInfo) GetSmbClientCampaignId() string {
if x != nil && x.SmbClientCampaignId != nil {
return *x.SmbClientCampaignId
}
return ""
}
type BotPluginMetadata struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IsPlaceholder *bool `protobuf:"varint,1,opt,name=isPlaceholder" json:"isPlaceholder,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *BotPluginMetadata) Reset() {
*x = BotPluginMetadata{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[48]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BotPluginMetadata) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*BotPluginMetadata) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *BotPluginMetadata) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[48]
2022-01-30 15:27:37 -08:00
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 BotPluginMetadata.ProtoReflect.Descriptor instead.
func (*BotPluginMetadata) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{48}
2022-01-30 15:27:37 -08:00
}
func (x *BotPluginMetadata) GetIsPlaceholder() bool {
if x != nil && x.IsPlaceholder != nil {
return *x.IsPlaceholder
2022-03-12 14:02:04 -08:00
}
return false
2022-03-12 14:02:04 -08:00
}
type BotMetadata struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AvatarMetadata *BotAvatarMetadata `protobuf:"bytes,1,opt,name=avatarMetadata" json:"avatarMetadata,omitempty"`
PersonaId *string `protobuf:"bytes,2,opt,name=personaId" json:"personaId,omitempty"`
PluginMetadata *BotPluginMetadata `protobuf:"bytes,3,opt,name=pluginMetadata" json:"pluginMetadata,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *BotMetadata) Reset() {
*x = BotMetadata{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[49]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BotMetadata) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*BotMetadata) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *BotMetadata) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[49]
2022-01-30 15:27:37 -08:00
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 BotMetadata.ProtoReflect.Descriptor instead.
func (*BotMetadata) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{49}
2022-01-30 15:27:37 -08:00
}
func (x *BotMetadata) GetAvatarMetadata() *BotAvatarMetadata {
if x != nil {
return x.AvatarMetadata
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *BotMetadata) GetPersonaId() string {
if x != nil && x.PersonaId != nil {
return *x.PersonaId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *BotMetadata) GetPluginMetadata() *BotPluginMetadata {
if x != nil {
return x.PluginMetadata
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type BotAvatarMetadata struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Sentiment *uint32 `protobuf:"varint,1,opt,name=sentiment" json:"sentiment,omitempty"`
BehaviorGraph *string `protobuf:"bytes,2,opt,name=behaviorGraph" json:"behaviorGraph,omitempty"`
Action *uint32 `protobuf:"varint,3,opt,name=action" json:"action,omitempty"`
Intensity *uint32 `protobuf:"varint,4,opt,name=intensity" json:"intensity,omitempty"`
WordCount *uint32 `protobuf:"varint,5,opt,name=wordCount" json:"wordCount,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *BotAvatarMetadata) Reset() {
*x = BotAvatarMetadata{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *BotAvatarMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*BotAvatarMetadata) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *BotAvatarMetadata) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[50]
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 BotAvatarMetadata.ProtoReflect.Descriptor instead.
func (*BotAvatarMetadata) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{50}
}
func (x *BotAvatarMetadata) GetSentiment() uint32 {
if x != nil && x.Sentiment != nil {
return *x.Sentiment
}
return 0
}
func (x *BotAvatarMetadata) GetBehaviorGraph() string {
if x != nil && x.BehaviorGraph != nil {
return *x.BehaviorGraph
}
return ""
}
func (x *BotAvatarMetadata) GetAction() uint32 {
if x != nil && x.Action != nil {
return *x.Action
}
return 0
}
func (x *BotAvatarMetadata) GetIntensity() uint32 {
if x != nil && x.Intensity != nil {
return *x.Intensity
}
return 0
}
func (x *BotAvatarMetadata) GetWordCount() uint32 {
if x != nil && x.WordCount != nil {
return *x.WordCount
}
return 0
}
type ActionLink struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
ButtonTitle *string `protobuf:"bytes,2,opt,name=buttonTitle" json:"buttonTitle,omitempty"`
}
func (x *ActionLink) Reset() {
*x = ActionLink{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ActionLink) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActionLink) ProtoMessage() {}
func (x *ActionLink) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[51]
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 ActionLink.ProtoReflect.Descriptor instead.
func (*ActionLink) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{51}
}
func (x *ActionLink) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *ActionLink) GetButtonTitle() string {
if x != nil && x.ButtonTitle != nil {
return *x.ButtonTitle
}
return ""
}
type TemplateButton struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Index *uint32 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"`
// Types that are assignable to Button:
//
// *TemplateButton_QuickReplyButton_
// *TemplateButton_UrlButton
// *TemplateButton_CallButton_
Button isTemplateButton_Button `protobuf_oneof:"button"`
}
func (x *TemplateButton) Reset() {
*x = TemplateButton{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TemplateButton) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TemplateButton) ProtoMessage() {}
func (x *TemplateButton) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[52]
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 TemplateButton.ProtoReflect.Descriptor instead.
func (*TemplateButton) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{52}
}
func (x *TemplateButton) GetIndex() uint32 {
if x != nil && x.Index != nil {
return *x.Index
}
return 0
}
func (m *TemplateButton) GetButton() isTemplateButton_Button {
if m != nil {
return m.Button
}
return nil
}
func (x *TemplateButton) GetQuickReplyButton() *TemplateButton_QuickReplyButton {
if x, ok := x.GetButton().(*TemplateButton_QuickReplyButton_); ok {
return x.QuickReplyButton
}
return nil
}
func (x *TemplateButton) GetUrlButton() *TemplateButton_URLButton {
if x, ok := x.GetButton().(*TemplateButton_UrlButton); ok {
return x.UrlButton
}
return nil
}
func (x *TemplateButton) GetCallButton() *TemplateButton_CallButton {
if x, ok := x.GetButton().(*TemplateButton_CallButton_); ok {
return x.CallButton
}
return nil
}
type isTemplateButton_Button interface {
isTemplateButton_Button()
}
type TemplateButton_QuickReplyButton_ struct {
QuickReplyButton *TemplateButton_QuickReplyButton `protobuf:"bytes,1,opt,name=quickReplyButton,oneof"`
}
type TemplateButton_UrlButton struct {
UrlButton *TemplateButton_URLButton `protobuf:"bytes,2,opt,name=urlButton,oneof"`
}
2022-03-12 14:02:04 -08:00
type TemplateButton_CallButton_ struct {
CallButton *TemplateButton_CallButton `protobuf:"bytes,3,opt,name=callButton,oneof"`
}
func (*TemplateButton_QuickReplyButton_) isTemplateButton_Button() {}
func (*TemplateButton_UrlButton) isTemplateButton_Button() {}
func (*TemplateButton_CallButton_) isTemplateButton_Button() {}
type Point struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
XDeprecated *int32 `protobuf:"varint,1,opt,name=xDeprecated" json:"xDeprecated,omitempty"`
YDeprecated *int32 `protobuf:"varint,2,opt,name=yDeprecated" json:"yDeprecated,omitempty"`
X *float64 `protobuf:"fixed64,3,opt,name=x" json:"x,omitempty"`
Y *float64 `protobuf:"fixed64,4,opt,name=y" json:"y,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *Point) Reset() {
*x = Point{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[53]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Point) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*Point) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *Point) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[53]
2022-01-30 15:27:37 -08:00
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 Point.ProtoReflect.Descriptor instead.
func (*Point) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{53}
2022-01-30 15:27:37 -08:00
}
func (x *Point) GetXDeprecated() int32 {
if x != nil && x.XDeprecated != nil {
return *x.XDeprecated
2022-03-12 14:02:04 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *Point) GetYDeprecated() int32 {
if x != nil && x.YDeprecated != nil {
return *x.YDeprecated
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *Point) GetX() float64 {
if x != nil && x.X != nil {
return *x.X
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *Point) GetY() float64 {
if x != nil && x.Y != nil {
return *x.Y
}
return 0
}
type PaymentBackground struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"`
Width *uint32 `protobuf:"varint,3,opt,name=width" json:"width,omitempty"`
Height *uint32 `protobuf:"varint,4,opt,name=height" json:"height,omitempty"`
Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"`
PlaceholderArgb *uint32 `protobuf:"fixed32,6,opt,name=placeholderArgb" json:"placeholderArgb,omitempty"`
TextArgb *uint32 `protobuf:"fixed32,7,opt,name=textArgb" json:"textArgb,omitempty"`
SubtextArgb *uint32 `protobuf:"fixed32,8,opt,name=subtextArgb" json:"subtextArgb,omitempty"`
MediaData *PaymentBackground_MediaData `protobuf:"bytes,9,opt,name=mediaData" json:"mediaData,omitempty"`
Type *PaymentBackground_Type `protobuf:"varint,10,opt,name=type,enum=proto.PaymentBackground_Type" json:"type,omitempty"`
}
func (x *PaymentBackground) Reset() {
*x = PaymentBackground{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PaymentBackground) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PaymentBackground) ProtoMessage() {}
func (x *PaymentBackground) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[54]
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 PaymentBackground.ProtoReflect.Descriptor instead.
func (*PaymentBackground) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{54}
}
func (x *PaymentBackground) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
}
return ""
}
func (x *PaymentBackground) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
}
return 0
}
func (x *PaymentBackground) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
}
return 0
}
func (x *PaymentBackground) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
}
return 0
}
func (x *PaymentBackground) GetMimetype() string {
if x != nil && x.Mimetype != nil {
return *x.Mimetype
}
return ""
}
func (x *PaymentBackground) GetPlaceholderArgb() uint32 {
if x != nil && x.PlaceholderArgb != nil {
return *x.PlaceholderArgb
}
return 0
}
func (x *PaymentBackground) GetTextArgb() uint32 {
if x != nil && x.TextArgb != nil {
return *x.TextArgb
}
return 0
}
func (x *PaymentBackground) GetSubtextArgb() uint32 {
if x != nil && x.SubtextArgb != nil {
return *x.SubtextArgb
}
return 0
}
func (x *PaymentBackground) GetMediaData() *PaymentBackground_MediaData {
if x != nil {
return x.MediaData
}
return nil
}
func (x *PaymentBackground) GetType() PaymentBackground_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return PaymentBackground_UNKNOWN
}
type Money struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
Offset *uint32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
CurrencyCode *string `protobuf:"bytes,3,opt,name=currencyCode" json:"currencyCode,omitempty"`
}
func (x *Money) Reset() {
*x = Money{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Money) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Money) ProtoMessage() {}
func (x *Money) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[55]
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 Money.ProtoReflect.Descriptor instead.
func (*Money) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{55}
}
func (x *Money) GetValue() int64 {
if x != nil && x.Value != nil {
return *x.Value
}
return 0
}
func (x *Money) GetOffset() uint32 {
if x != nil && x.Offset != nil {
return *x.Offset
}
return 0
}
func (x *Money) GetCurrencyCode() string {
if x != nil && x.CurrencyCode != nil {
return *x.CurrencyCode
}
return ""
}
type Message struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Conversation *string `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"`
SenderKeyDistributionMessage *SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=senderKeyDistributionMessage" json:"senderKeyDistributionMessage,omitempty"`
ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage" json:"imageMessage,omitempty"`
ContactMessage *ContactMessage `protobuf:"bytes,4,opt,name=contactMessage" json:"contactMessage,omitempty"`
LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage" json:"locationMessage,omitempty"`
ExtendedTextMessage *ExtendedTextMessage `protobuf:"bytes,6,opt,name=extendedTextMessage" json:"extendedTextMessage,omitempty"`
DocumentMessage *DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage" json:"documentMessage,omitempty"`
AudioMessage *AudioMessage `protobuf:"bytes,8,opt,name=audioMessage" json:"audioMessage,omitempty"`
VideoMessage *VideoMessage `protobuf:"bytes,9,opt,name=videoMessage" json:"videoMessage,omitempty"`
Call *Call `protobuf:"bytes,10,opt,name=call" json:"call,omitempty"`
Chat *Chat `protobuf:"bytes,11,opt,name=chat" json:"chat,omitempty"`
ProtocolMessage *ProtocolMessage `protobuf:"bytes,12,opt,name=protocolMessage" json:"protocolMessage,omitempty"`
ContactsArrayMessage *ContactsArrayMessage `protobuf:"bytes,13,opt,name=contactsArrayMessage" json:"contactsArrayMessage,omitempty"`
HighlyStructuredMessage *HighlyStructuredMessage `protobuf:"bytes,14,opt,name=highlyStructuredMessage" json:"highlyStructuredMessage,omitempty"`
FastRatchetKeySenderKeyDistributionMessage *SenderKeyDistributionMessage `protobuf:"bytes,15,opt,name=fastRatchetKeySenderKeyDistributionMessage" json:"fastRatchetKeySenderKeyDistributionMessage,omitempty"`
SendPaymentMessage *SendPaymentMessage `protobuf:"bytes,16,opt,name=sendPaymentMessage" json:"sendPaymentMessage,omitempty"`
LiveLocationMessage *LiveLocationMessage `protobuf:"bytes,18,opt,name=liveLocationMessage" json:"liveLocationMessage,omitempty"`
RequestPaymentMessage *RequestPaymentMessage `protobuf:"bytes,22,opt,name=requestPaymentMessage" json:"requestPaymentMessage,omitempty"`
DeclinePaymentRequestMessage *DeclinePaymentRequestMessage `protobuf:"bytes,23,opt,name=declinePaymentRequestMessage" json:"declinePaymentRequestMessage,omitempty"`
CancelPaymentRequestMessage *CancelPaymentRequestMessage `protobuf:"bytes,24,opt,name=cancelPaymentRequestMessage" json:"cancelPaymentRequestMessage,omitempty"`
TemplateMessage *TemplateMessage `protobuf:"bytes,25,opt,name=templateMessage" json:"templateMessage,omitempty"`
StickerMessage *StickerMessage `protobuf:"bytes,26,opt,name=stickerMessage" json:"stickerMessage,omitempty"`
GroupInviteMessage *GroupInviteMessage `protobuf:"bytes,28,opt,name=groupInviteMessage" json:"groupInviteMessage,omitempty"`
TemplateButtonReplyMessage *TemplateButtonReplyMessage `protobuf:"bytes,29,opt,name=templateButtonReplyMessage" json:"templateButtonReplyMessage,omitempty"`
ProductMessage *ProductMessage `protobuf:"bytes,30,opt,name=productMessage" json:"productMessage,omitempty"`
DeviceSentMessage *DeviceSentMessage `protobuf:"bytes,31,opt,name=deviceSentMessage" json:"deviceSentMessage,omitempty"`
MessageContextInfo *MessageContextInfo `protobuf:"bytes,35,opt,name=messageContextInfo" json:"messageContextInfo,omitempty"`
ListMessage *ListMessage `protobuf:"bytes,36,opt,name=listMessage" json:"listMessage,omitempty"`
ViewOnceMessage *FutureProofMessage `protobuf:"bytes,37,opt,name=viewOnceMessage" json:"viewOnceMessage,omitempty"`
OrderMessage *OrderMessage `protobuf:"bytes,38,opt,name=orderMessage" json:"orderMessage,omitempty"`
ListResponseMessage *ListResponseMessage `protobuf:"bytes,39,opt,name=listResponseMessage" json:"listResponseMessage,omitempty"`
EphemeralMessage *FutureProofMessage `protobuf:"bytes,40,opt,name=ephemeralMessage" json:"ephemeralMessage,omitempty"`
InvoiceMessage *InvoiceMessage `protobuf:"bytes,41,opt,name=invoiceMessage" json:"invoiceMessage,omitempty"`
ButtonsMessage *ButtonsMessage `protobuf:"bytes,42,opt,name=buttonsMessage" json:"buttonsMessage,omitempty"`
ButtonsResponseMessage *ButtonsResponseMessage `protobuf:"bytes,43,opt,name=buttonsResponseMessage" json:"buttonsResponseMessage,omitempty"`
PaymentInviteMessage *PaymentInviteMessage `protobuf:"bytes,44,opt,name=paymentInviteMessage" json:"paymentInviteMessage,omitempty"`
InteractiveMessage *InteractiveMessage `protobuf:"bytes,45,opt,name=interactiveMessage" json:"interactiveMessage,omitempty"`
ReactionMessage *ReactionMessage `protobuf:"bytes,46,opt,name=reactionMessage" json:"reactionMessage,omitempty"`
StickerSyncRmrMessage *StickerSyncRMRMessage `protobuf:"bytes,47,opt,name=stickerSyncRmrMessage" json:"stickerSyncRmrMessage,omitempty"`
InteractiveResponseMessage *InteractiveResponseMessage `protobuf:"bytes,48,opt,name=interactiveResponseMessage" json:"interactiveResponseMessage,omitempty"`
PollCreationMessage *PollCreationMessage `protobuf:"bytes,49,opt,name=pollCreationMessage" json:"pollCreationMessage,omitempty"`
PollUpdateMessage *PollUpdateMessage `protobuf:"bytes,50,opt,name=pollUpdateMessage" json:"pollUpdateMessage,omitempty"`
KeepInChatMessage *KeepInChatMessage `protobuf:"bytes,51,opt,name=keepInChatMessage" json:"keepInChatMessage,omitempty"`
DocumentWithCaptionMessage *FutureProofMessage `protobuf:"bytes,53,opt,name=documentWithCaptionMessage" json:"documentWithCaptionMessage,omitempty"`
RequestPhoneNumberMessage *RequestPhoneNumberMessage `protobuf:"bytes,54,opt,name=requestPhoneNumberMessage" json:"requestPhoneNumberMessage,omitempty"`
ViewOnceMessageV2 *FutureProofMessage `protobuf:"bytes,55,opt,name=viewOnceMessageV2" json:"viewOnceMessageV2,omitempty"`
EncReactionMessage *EncReactionMessage `protobuf:"bytes,56,opt,name=encReactionMessage" json:"encReactionMessage,omitempty"`
EditedMessage *FutureProofMessage `protobuf:"bytes,58,opt,name=editedMessage" json:"editedMessage,omitempty"`
ViewOnceMessageV2Extension *FutureProofMessage `protobuf:"bytes,59,opt,name=viewOnceMessageV2Extension" json:"viewOnceMessageV2Extension,omitempty"`
PollCreationMessageV2 *PollCreationMessage `protobuf:"bytes,60,opt,name=pollCreationMessageV2" json:"pollCreationMessageV2,omitempty"`
ScheduledCallCreationMessage *ScheduledCallCreationMessage `protobuf:"bytes,61,opt,name=scheduledCallCreationMessage" json:"scheduledCallCreationMessage,omitempty"`
GroupMentionedMessage *FutureProofMessage `protobuf:"bytes,62,opt,name=groupMentionedMessage" json:"groupMentionedMessage,omitempty"`
PinInChatMessage *PinInChatMessage `protobuf:"bytes,63,opt,name=pinInChatMessage" json:"pinInChatMessage,omitempty"`
PollCreationMessageV3 *PollCreationMessage `protobuf:"bytes,64,opt,name=pollCreationMessageV3" json:"pollCreationMessageV3,omitempty"`
ScheduledCallEditMessage *ScheduledCallEditMessage `protobuf:"bytes,65,opt,name=scheduledCallEditMessage" json:"scheduledCallEditMessage,omitempty"`
PtvMessage *VideoMessage `protobuf:"bytes,66,opt,name=ptvMessage" json:"ptvMessage,omitempty"`
BotInvokeMessage *FutureProofMessage `protobuf:"bytes,67,opt,name=botInvokeMessage" json:"botInvokeMessage,omitempty"`
EncCommentMessage *EncCommentMessage `protobuf:"bytes,68,opt,name=encCommentMessage" json:"encCommentMessage,omitempty"`
}
func (x *Message) Reset() {
*x = Message{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Message) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Message) ProtoMessage() {}
func (x *Message) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[56]
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 Message.ProtoReflect.Descriptor instead.
func (*Message) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{56}
}
func (x *Message) GetConversation() string {
if x != nil && x.Conversation != nil {
return *x.Conversation
}
return ""
}
func (x *Message) GetSenderKeyDistributionMessage() *SenderKeyDistributionMessage {
if x != nil {
return x.SenderKeyDistributionMessage
}
return nil
}
func (x *Message) GetImageMessage() *ImageMessage {
if x != nil {
return x.ImageMessage
}
return nil
}
func (x *Message) GetContactMessage() *ContactMessage {
if x != nil {
return x.ContactMessage
}
return nil
}
func (x *Message) GetLocationMessage() *LocationMessage {
if x != nil {
return x.LocationMessage
}
return nil
}
func (x *Message) GetExtendedTextMessage() *ExtendedTextMessage {
if x != nil {
return x.ExtendedTextMessage
}
return nil
}
func (x *Message) GetDocumentMessage() *DocumentMessage {
if x != nil {
return x.DocumentMessage
}
return nil
}
func (x *Message) GetAudioMessage() *AudioMessage {
if x != nil {
return x.AudioMessage
}
return nil
}
func (x *Message) GetVideoMessage() *VideoMessage {
if x != nil {
return x.VideoMessage
}
return nil
}
func (x *Message) GetCall() *Call {
if x != nil {
return x.Call
}
return nil
}
func (x *Message) GetChat() *Chat {
if x != nil {
return x.Chat
}
return nil
}
func (x *Message) GetProtocolMessage() *ProtocolMessage {
if x != nil {
return x.ProtocolMessage
}
return nil
}
func (x *Message) GetContactsArrayMessage() *ContactsArrayMessage {
if x != nil {
return x.ContactsArrayMessage
}
return nil
}
func (x *Message) GetHighlyStructuredMessage() *HighlyStructuredMessage {
if x != nil {
return x.HighlyStructuredMessage
}
return nil
}
func (x *Message) GetFastRatchetKeySenderKeyDistributionMessage() *SenderKeyDistributionMessage {
if x != nil {
return x.FastRatchetKeySenderKeyDistributionMessage
}
return nil
}
func (x *Message) GetSendPaymentMessage() *SendPaymentMessage {
if x != nil {
return x.SendPaymentMessage
}
return nil
}
func (x *Message) GetLiveLocationMessage() *LiveLocationMessage {
if x != nil {
return x.LiveLocationMessage
}
return nil
}
func (x *Message) GetRequestPaymentMessage() *RequestPaymentMessage {
if x != nil {
return x.RequestPaymentMessage
}
return nil
}
func (x *Message) GetDeclinePaymentRequestMessage() *DeclinePaymentRequestMessage {
if x != nil {
return x.DeclinePaymentRequestMessage
}
return nil
}
func (x *Message) GetCancelPaymentRequestMessage() *CancelPaymentRequestMessage {
if x != nil {
return x.CancelPaymentRequestMessage
}
return nil
}
func (x *Message) GetTemplateMessage() *TemplateMessage {
if x != nil {
return x.TemplateMessage
}
return nil
}
func (x *Message) GetStickerMessage() *StickerMessage {
if x != nil {
return x.StickerMessage
}
return nil
}
func (x *Message) GetGroupInviteMessage() *GroupInviteMessage {
if x != nil {
return x.GroupInviteMessage
}
return nil
}
func (x *Message) GetTemplateButtonReplyMessage() *TemplateButtonReplyMessage {
if x != nil {
return x.TemplateButtonReplyMessage
}
return nil
}
func (x *Message) GetProductMessage() *ProductMessage {
if x != nil {
return x.ProductMessage
}
return nil
}
func (x *Message) GetDeviceSentMessage() *DeviceSentMessage {
if x != nil {
return x.DeviceSentMessage
}
return nil
}
func (x *Message) GetMessageContextInfo() *MessageContextInfo {
if x != nil {
return x.MessageContextInfo
}
return nil
}
func (x *Message) GetListMessage() *ListMessage {
if x != nil {
return x.ListMessage
}
return nil
}
func (x *Message) GetViewOnceMessage() *FutureProofMessage {
if x != nil {
return x.ViewOnceMessage
}
return nil
}
func (x *Message) GetOrderMessage() *OrderMessage {
if x != nil {
return x.OrderMessage
}
return nil
}
func (x *Message) GetListResponseMessage() *ListResponseMessage {
if x != nil {
return x.ListResponseMessage
}
return nil
}
func (x *Message) GetEphemeralMessage() *FutureProofMessage {
if x != nil {
return x.EphemeralMessage
}
return nil
}
func (x *Message) GetInvoiceMessage() *InvoiceMessage {
if x != nil {
return x.InvoiceMessage
}
return nil
}
func (x *Message) GetButtonsMessage() *ButtonsMessage {
if x != nil {
return x.ButtonsMessage
}
return nil
}
func (x *Message) GetButtonsResponseMessage() *ButtonsResponseMessage {
if x != nil {
return x.ButtonsResponseMessage
}
return nil
}
func (x *Message) GetPaymentInviteMessage() *PaymentInviteMessage {
if x != nil {
return x.PaymentInviteMessage
}
return nil
}
func (x *Message) GetInteractiveMessage() *InteractiveMessage {
if x != nil {
return x.InteractiveMessage
}
return nil
}
func (x *Message) GetReactionMessage() *ReactionMessage {
if x != nil {
return x.ReactionMessage
}
return nil
}
func (x *Message) GetStickerSyncRmrMessage() *StickerSyncRMRMessage {
if x != nil {
return x.StickerSyncRmrMessage
}
return nil
}
func (x *Message) GetInteractiveResponseMessage() *InteractiveResponseMessage {
if x != nil {
return x.InteractiveResponseMessage
}
return nil
}
func (x *Message) GetPollCreationMessage() *PollCreationMessage {
if x != nil {
return x.PollCreationMessage
}
return nil
}
func (x *Message) GetPollUpdateMessage() *PollUpdateMessage {
if x != nil {
return x.PollUpdateMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetKeepInChatMessage() *KeepInChatMessage {
if x != nil {
return x.KeepInChatMessage
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetDocumentWithCaptionMessage() *FutureProofMessage {
if x != nil {
return x.DocumentWithCaptionMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetRequestPhoneNumberMessage() *RequestPhoneNumberMessage {
if x != nil {
return x.RequestPhoneNumberMessage
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetViewOnceMessageV2() *FutureProofMessage {
if x != nil {
return x.ViewOnceMessageV2
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *Message) GetEncReactionMessage() *EncReactionMessage {
if x != nil {
return x.EncReactionMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetEditedMessage() *FutureProofMessage {
if x != nil {
return x.EditedMessage
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetViewOnceMessageV2Extension() *FutureProofMessage {
if x != nil {
return x.ViewOnceMessageV2Extension
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *Message) GetPollCreationMessageV2() *PollCreationMessage {
if x != nil {
return x.PollCreationMessageV2
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *Message) GetScheduledCallCreationMessage() *ScheduledCallCreationMessage {
if x != nil {
return x.ScheduledCallCreationMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetGroupMentionedMessage() *FutureProofMessage {
if x != nil {
return x.GroupMentionedMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetPinInChatMessage() *PinInChatMessage {
if x != nil {
return x.PinInChatMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetPollCreationMessageV3() *PollCreationMessage {
if x != nil {
return x.PollCreationMessageV3
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetScheduledCallEditMessage() *ScheduledCallEditMessage {
if x != nil {
return x.ScheduledCallEditMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetPtvMessage() *VideoMessage {
if x != nil {
return x.PtvMessage
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetBotInvokeMessage() *FutureProofMessage {
if x != nil {
return x.BotInvokeMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Message) GetEncCommentMessage() *EncCommentMessage {
if x != nil {
return x.EncCommentMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type MessageSecretMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version *int32 `protobuf:"fixed32,1,opt,name=version" json:"version,omitempty"`
EncIv []byte `protobuf:"bytes,2,opt,name=encIv" json:"encIv,omitempty"`
EncPayload []byte `protobuf:"bytes,3,opt,name=encPayload" json:"encPayload,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *MessageSecretMessage) Reset() {
*x = MessageSecretMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[57]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MessageSecretMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*MessageSecretMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *MessageSecretMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[57]
2022-01-30 15:27:37 -08:00
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 MessageSecretMessage.ProtoReflect.Descriptor instead.
func (*MessageSecretMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{57}
2022-01-30 15:27:37 -08:00
}
func (x *MessageSecretMessage) GetVersion() int32 {
if x != nil && x.Version != nil {
return *x.Version
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *MessageSecretMessage) GetEncIv() []byte {
if x != nil {
return x.EncIv
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *MessageSecretMessage) GetEncPayload() []byte {
if x != nil {
return x.EncPayload
}
return nil
}
type MessageContextInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,1,opt,name=deviceListMetadata" json:"deviceListMetadata,omitempty"`
DeviceListMetadataVersion *int32 `protobuf:"varint,2,opt,name=deviceListMetadataVersion" json:"deviceListMetadataVersion,omitempty"`
MessageSecret []byte `protobuf:"bytes,3,opt,name=messageSecret" json:"messageSecret,omitempty"`
PaddingBytes []byte `protobuf:"bytes,4,opt,name=paddingBytes" json:"paddingBytes,omitempty"`
MessageAddOnDurationInSecs *uint32 `protobuf:"varint,5,opt,name=messageAddOnDurationInSecs" json:"messageAddOnDurationInSecs,omitempty"`
BotMessageSecret []byte `protobuf:"bytes,6,opt,name=botMessageSecret" json:"botMessageSecret,omitempty"`
BotMetadata *BotMetadata `protobuf:"bytes,7,opt,name=botMetadata" json:"botMetadata,omitempty"`
}
func (x *MessageContextInfo) Reset() {
*x = MessageContextInfo{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[58]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MessageContextInfo) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*MessageContextInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *MessageContextInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[58]
2022-01-30 15:27:37 -08:00
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 MessageContextInfo.ProtoReflect.Descriptor instead.
func (*MessageContextInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{58}
}
func (x *MessageContextInfo) GetDeviceListMetadata() *DeviceListMetadata {
if x != nil {
return x.DeviceListMetadata
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *MessageContextInfo) GetDeviceListMetadataVersion() int32 {
if x != nil && x.DeviceListMetadataVersion != nil {
return *x.DeviceListMetadataVersion
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *MessageContextInfo) GetMessageSecret() []byte {
if x != nil {
return x.MessageSecret
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *MessageContextInfo) GetPaddingBytes() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.PaddingBytes
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *MessageContextInfo) GetMessageAddOnDurationInSecs() uint32 {
if x != nil && x.MessageAddOnDurationInSecs != nil {
return *x.MessageAddOnDurationInSecs
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *MessageContextInfo) GetBotMessageSecret() []byte {
if x != nil {
return x.BotMessageSecret
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *MessageContextInfo) GetBotMetadata() *BotMetadata {
if x != nil {
return x.BotMetadata
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type VideoMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"`
FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"`
FileLength *uint64 `protobuf:"varint,4,opt,name=fileLength" json:"fileLength,omitempty"`
Seconds *uint32 `protobuf:"varint,5,opt,name=seconds" json:"seconds,omitempty"`
MediaKey []byte `protobuf:"bytes,6,opt,name=mediaKey" json:"mediaKey,omitempty"`
Caption *string `protobuf:"bytes,7,opt,name=caption" json:"caption,omitempty"`
GifPlayback *bool `protobuf:"varint,8,opt,name=gifPlayback" json:"gifPlayback,omitempty"`
Height *uint32 `protobuf:"varint,9,opt,name=height" json:"height,omitempty"`
Width *uint32 `protobuf:"varint,10,opt,name=width" json:"width,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,11,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,12,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"`
DirectPath *string `protobuf:"bytes,13,opt,name=directPath" json:"directPath,omitempty"`
MediaKeyTimestamp *int64 `protobuf:"varint,14,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"`
JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
StreamingSidecar []byte `protobuf:"bytes,18,opt,name=streamingSidecar" json:"streamingSidecar,omitempty"`
GifAttribution *VideoMessage_Attribution `protobuf:"varint,19,opt,name=gifAttribution,enum=proto.VideoMessage_Attribution" json:"gifAttribution,omitempty"`
ViewOnce *bool `protobuf:"varint,20,opt,name=viewOnce" json:"viewOnce,omitempty"`
ThumbnailDirectPath *string `protobuf:"bytes,21,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"`
ThumbnailSha256 []byte `protobuf:"bytes,22,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"`
ThumbnailEncSha256 []byte `protobuf:"bytes,23,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"`
StaticUrl *string `protobuf:"bytes,24,opt,name=staticUrl" json:"staticUrl,omitempty"`
}
func (x *VideoMessage) Reset() {
*x = VideoMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *VideoMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VideoMessage) ProtoMessage() {}
func (x *VideoMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[59]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use VideoMessage.ProtoReflect.Descriptor instead.
func (*VideoMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{59}
}
func (x *VideoMessage) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetMimetype() string {
if x != nil && x.Mimetype != nil {
return *x.Mimetype
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetFileSha256() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.FileSha256
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *VideoMessage) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetSeconds() uint32 {
if x != nil && x.Seconds != nil {
return *x.Seconds
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetCaption() string {
if x != nil && x.Caption != nil {
return *x.Caption
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *VideoMessage) GetGifPlayback() bool {
if x != nil && x.GifPlayback != nil {
return *x.GifPlayback
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
}
return 0
2022-03-12 14:02:04 -08:00
}
func (x *VideoMessage) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetFileEncSha256() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.FileEncSha256
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *VideoMessage) GetInteractiveAnnotations() []*InteractiveAnnotation {
if x != nil {
return x.InteractiveAnnotations
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *VideoMessage) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetMediaKeyTimestamp() int64 {
if x != nil && x.MediaKeyTimestamp != nil {
return *x.MediaKeyTimestamp
}
return 0
2022-03-12 14:02:04 -08:00
}
func (x *VideoMessage) GetJpegThumbnail() []byte {
if x != nil {
return x.JpegThumbnail
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *VideoMessage) GetStreamingSidecar() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.StreamingSidecar
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetGifAttribution() VideoMessage_Attribution {
if x != nil && x.GifAttribution != nil {
return *x.GifAttribution
}
return VideoMessage_NONE
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetViewOnce() bool {
if x != nil && x.ViewOnce != nil {
return *x.ViewOnce
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetThumbnailDirectPath() string {
if x != nil && x.ThumbnailDirectPath != nil {
return *x.ThumbnailDirectPath
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetThumbnailSha256() []byte {
if x != nil {
return x.ThumbnailSha256
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetThumbnailEncSha256() []byte {
if x != nil {
return x.ThumbnailEncSha256
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *VideoMessage) GetStaticUrl() string {
if x != nil && x.StaticUrl != nil {
return *x.StaticUrl
}
return ""
}
type TemplateMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"`
HydratedTemplate *TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,4,opt,name=hydratedTemplate" json:"hydratedTemplate,omitempty"`
TemplateId *string `protobuf:"bytes,9,opt,name=templateId" json:"templateId,omitempty"`
// Types that are assignable to Format:
//
// *TemplateMessage_FourRowTemplate_
// *TemplateMessage_HydratedFourRowTemplate_
// *TemplateMessage_InteractiveMessageTemplate
Format isTemplateMessage_Format `protobuf_oneof:"format"`
}
func (x *TemplateMessage) Reset() {
*x = TemplateMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *TemplateMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*TemplateMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *TemplateMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[60]
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)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use TemplateMessage.ProtoReflect.Descriptor instead.
func (*TemplateMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{60}
2022-01-30 15:27:37 -08:00
}
func (x *TemplateMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *TemplateMessage) GetHydratedTemplate() *TemplateMessage_HydratedFourRowTemplate {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.HydratedTemplate
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *TemplateMessage) GetTemplateId() string {
if x != nil && x.TemplateId != nil {
return *x.TemplateId
}
return ""
2022-01-30 15:27:37 -08:00
}
func (m *TemplateMessage) GetFormat() isTemplateMessage_Format {
if m != nil {
return m.Format
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *TemplateMessage) GetFourRowTemplate() *TemplateMessage_FourRowTemplate {
if x, ok := x.GetFormat().(*TemplateMessage_FourRowTemplate_); ok {
return x.FourRowTemplate
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *TemplateMessage) GetHydratedFourRowTemplate() *TemplateMessage_HydratedFourRowTemplate {
if x, ok := x.GetFormat().(*TemplateMessage_HydratedFourRowTemplate_); ok {
return x.HydratedFourRowTemplate
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *TemplateMessage) GetInteractiveMessageTemplate() *InteractiveMessage {
if x, ok := x.GetFormat().(*TemplateMessage_InteractiveMessageTemplate); ok {
return x.InteractiveMessageTemplate
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type isTemplateMessage_Format interface {
isTemplateMessage_Format()
2022-01-30 15:27:37 -08:00
}
type TemplateMessage_FourRowTemplate_ struct {
FourRowTemplate *TemplateMessage_FourRowTemplate `protobuf:"bytes,1,opt,name=fourRowTemplate,oneof"`
2022-01-30 15:27:37 -08:00
}
type TemplateMessage_HydratedFourRowTemplate_ struct {
HydratedFourRowTemplate *TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,2,opt,name=hydratedFourRowTemplate,oneof"`
2022-01-30 15:27:37 -08:00
}
type TemplateMessage_InteractiveMessageTemplate struct {
InteractiveMessageTemplate *InteractiveMessage `protobuf:"bytes,5,opt,name=interactiveMessageTemplate,oneof"`
2022-03-12 14:02:04 -08:00
}
func (*TemplateMessage_FourRowTemplate_) isTemplateMessage_Format() {}
2022-11-26 15:42:16 -08:00
func (*TemplateMessage_HydratedFourRowTemplate_) isTemplateMessage_Format() {}
func (*TemplateMessage_InteractiveMessageTemplate) isTemplateMessage_Format() {}
type TemplateButtonReplyMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SelectedId *string `protobuf:"bytes,1,opt,name=selectedId" json:"selectedId,omitempty"`
SelectedDisplayText *string `protobuf:"bytes,2,opt,name=selectedDisplayText" json:"selectedDisplayText,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"`
SelectedIndex *uint32 `protobuf:"varint,4,opt,name=selectedIndex" json:"selectedIndex,omitempty"`
2022-11-26 15:42:16 -08:00
}
func (x *TemplateButtonReplyMessage) Reset() {
*x = TemplateButtonReplyMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-11-26 15:42:16 -08:00
}
}
func (x *TemplateButtonReplyMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2023-01-28 13:57:53 -08:00
}
func (*TemplateButtonReplyMessage) ProtoMessage() {}
func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[61]
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 TemplateButtonReplyMessage.ProtoReflect.Descriptor instead.
func (*TemplateButtonReplyMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{61}
}
func (x *TemplateButtonReplyMessage) GetSelectedId() string {
if x != nil && x.SelectedId != nil {
return *x.SelectedId
}
return ""
}
func (x *TemplateButtonReplyMessage) GetSelectedDisplayText() string {
if x != nil && x.SelectedDisplayText != nil {
return *x.SelectedDisplayText
}
return ""
}
func (x *TemplateButtonReplyMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
}
func (x *TemplateButtonReplyMessage) GetSelectedIndex() uint32 {
if x != nil && x.SelectedIndex != nil {
return *x.SelectedIndex
}
return 0
}
type StickerSyncRMRMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Filehash []string `protobuf:"bytes,1,rep,name=filehash" json:"filehash,omitempty"`
RmrSource *string `protobuf:"bytes,2,opt,name=rmrSource" json:"rmrSource,omitempty"`
RequestTimestamp *int64 `protobuf:"varint,3,opt,name=requestTimestamp" json:"requestTimestamp,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *StickerSyncRMRMessage) Reset() {
*x = StickerSyncRMRMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[62]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StickerSyncRMRMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*StickerSyncRMRMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[62]
2022-01-30 15:27:37 -08:00
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 StickerSyncRMRMessage.ProtoReflect.Descriptor instead.
func (*StickerSyncRMRMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{62}
2022-01-30 15:27:37 -08:00
}
func (x *StickerSyncRMRMessage) GetFilehash() []string {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.Filehash
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *StickerSyncRMRMessage) GetRmrSource() string {
if x != nil && x.RmrSource != nil {
return *x.RmrSource
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *StickerSyncRMRMessage) GetRequestTimestamp() int64 {
if x != nil && x.RequestTimestamp != nil {
return *x.RequestTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type StickerMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
FileSha256 []byte `protobuf:"bytes,2,opt,name=fileSha256" json:"fileSha256,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,3,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"`
Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"`
Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"`
Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"`
DirectPath *string `protobuf:"bytes,8,opt,name=directPath" json:"directPath,omitempty"`
FileLength *uint64 `protobuf:"varint,9,opt,name=fileLength" json:"fileLength,omitempty"`
MediaKeyTimestamp *int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"`
FirstFrameLength *uint32 `protobuf:"varint,11,opt,name=firstFrameLength" json:"firstFrameLength,omitempty"`
FirstFrameSidecar []byte `protobuf:"bytes,12,opt,name=firstFrameSidecar" json:"firstFrameSidecar,omitempty"`
IsAnimated *bool `protobuf:"varint,13,opt,name=isAnimated" json:"isAnimated,omitempty"`
PngThumbnail []byte `protobuf:"bytes,16,opt,name=pngThumbnail" json:"pngThumbnail,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
StickerSentTs *int64 `protobuf:"varint,18,opt,name=stickerSentTs" json:"stickerSentTs,omitempty"`
IsAvatar *bool `protobuf:"varint,19,opt,name=isAvatar" json:"isAvatar,omitempty"`
IsAiSticker *bool `protobuf:"varint,20,opt,name=isAiSticker" json:"isAiSticker,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) Reset() {
*x = StickerMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[63]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StickerMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*StickerMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *StickerMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[63]
2022-01-30 15:27:37 -08:00
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 StickerMessage.ProtoReflect.Descriptor instead.
func (*StickerMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{63}
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetFileSha256() []byte {
if x != nil {
return x.FileSha256
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetFileEncSha256() []byte {
if x != nil {
return x.FileEncSha256
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *StickerMessage) GetMimetype() string {
if x != nil && x.Mimetype != nil {
return *x.Mimetype
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
2022-01-30 15:27:37 -08:00
}
return 0
}
func (x *StickerMessage) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *StickerMessage) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetMediaKeyTimestamp() int64 {
if x != nil && x.MediaKeyTimestamp != nil {
return *x.MediaKeyTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetFirstFrameLength() uint32 {
if x != nil && x.FirstFrameLength != nil {
return *x.FirstFrameLength
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetFirstFrameSidecar() []byte {
if x != nil {
return x.FirstFrameSidecar
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetIsAnimated() bool {
if x != nil && x.IsAnimated != nil {
return *x.IsAnimated
}
return false
}
func (x *StickerMessage) GetPngThumbnail() []byte {
if x != nil {
return x.PngThumbnail
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetContextInfo() *ContextInfo {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.ContextInfo
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetStickerSentTs() int64 {
if x != nil && x.StickerSentTs != nil {
return *x.StickerSentTs
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetIsAvatar() bool {
if x != nil && x.IsAvatar != nil {
return *x.IsAvatar
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *StickerMessage) GetIsAiSticker() bool {
if x != nil && x.IsAiSticker != nil {
return *x.IsAiSticker
}
return false
2022-01-30 15:27:37 -08:00
}
type SenderKeyDistributionMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupId *string `protobuf:"bytes,1,opt,name=groupId" json:"groupId,omitempty"`
AxolotlSenderKeyDistributionMessage []byte `protobuf:"bytes,2,opt,name=axolotlSenderKeyDistributionMessage" json:"axolotlSenderKeyDistributionMessage,omitempty"`
}
func (x *SenderKeyDistributionMessage) Reset() {
*x = SenderKeyDistributionMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2022-03-12 14:02:04 -08:00
}
func (x *SenderKeyDistributionMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SenderKeyDistributionMessage) ProtoMessage() {}
func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[64]
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)
}
2022-03-12 14:02:04 -08:00
// Deprecated: Use SenderKeyDistributionMessage.ProtoReflect.Descriptor instead.
func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{64}
}
func (x *SenderKeyDistributionMessage) GetGroupId() string {
if x != nil && x.GroupId != nil {
return *x.GroupId
}
return ""
}
func (x *SenderKeyDistributionMessage) GetAxolotlSenderKeyDistributionMessage() []byte {
if x != nil {
return x.AxolotlSenderKeyDistributionMessage
}
return nil
}
type SendPaymentMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NoteMessage *Message `protobuf:"bytes,2,opt,name=noteMessage" json:"noteMessage,omitempty"`
RequestMessageKey *MessageKey `protobuf:"bytes,3,opt,name=requestMessageKey" json:"requestMessageKey,omitempty"`
Background *PaymentBackground `protobuf:"bytes,4,opt,name=background" json:"background,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SendPaymentMessage) Reset() {
*x = SendPaymentMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[65]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SendPaymentMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*SendPaymentMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *SendPaymentMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[65]
2022-01-30 15:27:37 -08:00
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 SendPaymentMessage.ProtoReflect.Descriptor instead.
func (*SendPaymentMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{65}
2022-01-30 15:27:37 -08:00
}
func (x *SendPaymentMessage) GetNoteMessage() *Message {
if x != nil {
return x.NoteMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SendPaymentMessage) GetRequestMessageKey() *MessageKey {
if x != nil {
return x.RequestMessageKey
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SendPaymentMessage) GetBackground() *PaymentBackground {
if x != nil {
return x.Background
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
type ScheduledCallEditMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
EditType *ScheduledCallEditMessage_EditType `protobuf:"varint,2,opt,name=editType,enum=proto.ScheduledCallEditMessage_EditType" json:"editType,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ScheduledCallEditMessage) Reset() {
*x = ScheduledCallEditMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-11-26 15:42:16 -08:00
}
}
func (x *ScheduledCallEditMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ScheduledCallEditMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ScheduledCallEditMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[66]
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)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ScheduledCallEditMessage.ProtoReflect.Descriptor instead.
func (*ScheduledCallEditMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{66}
2022-11-26 15:42:16 -08:00
}
func (x *ScheduledCallEditMessage) GetKey() *MessageKey {
if x != nil {
return x.Key
}
return nil
}
2022-03-12 14:02:04 -08:00
func (x *ScheduledCallEditMessage) GetEditType() ScheduledCallEditMessage_EditType {
if x != nil && x.EditType != nil {
return *x.EditType
}
return ScheduledCallEditMessage_UNKNOWN
}
2022-11-26 15:42:16 -08:00
type ScheduledCallCreationMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ScheduledTimestampMs *int64 `protobuf:"varint,1,opt,name=scheduledTimestampMs" json:"scheduledTimestampMs,omitempty"`
CallType *ScheduledCallCreationMessage_CallType `protobuf:"varint,2,opt,name=callType,enum=proto.ScheduledCallCreationMessage_CallType" json:"callType,omitempty"`
Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ScheduledCallCreationMessage) Reset() {
*x = ScheduledCallCreationMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[67]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ScheduledCallCreationMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ScheduledCallCreationMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ScheduledCallCreationMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[67]
2022-01-30 15:27:37 -08:00
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 ScheduledCallCreationMessage.ProtoReflect.Descriptor instead.
func (*ScheduledCallCreationMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{67}
2022-01-30 15:27:37 -08:00
}
func (x *ScheduledCallCreationMessage) GetScheduledTimestampMs() int64 {
if x != nil && x.ScheduledTimestampMs != nil {
return *x.ScheduledTimestampMs
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ScheduledCallCreationMessage) GetCallType() ScheduledCallCreationMessage_CallType {
if x != nil && x.CallType != nil {
return *x.CallType
}
return ScheduledCallCreationMessage_UNKNOWN
}
func (x *ScheduledCallCreationMessage) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
}
return ""
}
type RequestPhoneNumberMessage struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
ContextInfo *ContextInfo `protobuf:"bytes,1,opt,name=contextInfo" json:"contextInfo,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *RequestPhoneNumberMessage) Reset() {
*x = RequestPhoneNumberMessage{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[68]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *RequestPhoneNumberMessage) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*RequestPhoneNumberMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *RequestPhoneNumberMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[68]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use RequestPhoneNumberMessage.ProtoReflect.Descriptor instead.
func (*RequestPhoneNumberMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{68}
2022-01-30 15:27:37 -08:00
}
func (x *RequestPhoneNumberMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type RequestPaymentMessage struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NoteMessage *Message `protobuf:"bytes,4,opt,name=noteMessage" json:"noteMessage,omitempty"`
CurrencyCodeIso4217 *string `protobuf:"bytes,1,opt,name=currencyCodeIso4217" json:"currencyCodeIso4217,omitempty"`
Amount1000 *uint64 `protobuf:"varint,2,opt,name=amount1000" json:"amount1000,omitempty"`
RequestFrom *string `protobuf:"bytes,3,opt,name=requestFrom" json:"requestFrom,omitempty"`
ExpiryTimestamp *int64 `protobuf:"varint,5,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"`
Amount *Money `protobuf:"bytes,6,opt,name=amount" json:"amount,omitempty"`
Background *PaymentBackground `protobuf:"bytes,7,opt,name=background" json:"background,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *RequestPaymentMessage) Reset() {
*x = RequestPaymentMessage{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[69]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *RequestPaymentMessage) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*RequestPaymentMessage) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *RequestPaymentMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[69]
2022-03-12 14:02:04 -08:00
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)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use RequestPaymentMessage.ProtoReflect.Descriptor instead.
func (*RequestPaymentMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{69}
2022-01-30 15:27:37 -08:00
}
func (x *RequestPaymentMessage) GetNoteMessage() *Message {
if x != nil {
return x.NoteMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *RequestPaymentMessage) GetCurrencyCodeIso4217() string {
if x != nil && x.CurrencyCodeIso4217 != nil {
return *x.CurrencyCodeIso4217
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *RequestPaymentMessage) GetAmount1000() uint64 {
if x != nil && x.Amount1000 != nil {
return *x.Amount1000
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *RequestPaymentMessage) GetRequestFrom() string {
if x != nil && x.RequestFrom != nil {
return *x.RequestFrom
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *RequestPaymentMessage) GetExpiryTimestamp() int64 {
if x != nil && x.ExpiryTimestamp != nil {
return *x.ExpiryTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *RequestPaymentMessage) GetAmount() *Money {
if x != nil {
return x.Amount
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *RequestPaymentMessage) GetBackground() *PaymentBackground {
if x != nil {
return x.Background
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type ReactionMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
GroupingKey *string `protobuf:"bytes,3,opt,name=groupingKey" json:"groupingKey,omitempty"`
SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
}
2022-01-30 15:27:37 -08:00
func (x *ReactionMessage) Reset() {
*x = ReactionMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2022-01-30 15:27:37 -08:00
}
func (x *ReactionMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ReactionMessage) ProtoMessage() {}
func (x *ReactionMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[70]
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)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ReactionMessage.ProtoReflect.Descriptor instead.
func (*ReactionMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{70}
2022-01-30 15:27:37 -08:00
}
func (x *ReactionMessage) GetKey() *MessageKey {
if x != nil {
return x.Key
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ReactionMessage) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ReactionMessage) GetGroupingKey() string {
if x != nil && x.GroupingKey != nil {
return *x.GroupingKey
2022-11-26 15:42:16 -08:00
}
return ""
2022-11-26 15:42:16 -08:00
}
func (x *ReactionMessage) GetSenderTimestampMs() int64 {
if x != nil && x.SenderTimestampMs != nil {
return *x.SenderTimestampMs
2022-11-26 15:42:16 -08:00
}
return 0
2022-11-26 15:42:16 -08:00
}
type ProtocolMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
Type *ProtocolMessage_Type `protobuf:"varint,2,opt,name=type,enum=proto.ProtocolMessage_Type" json:"type,omitempty"`
EphemeralExpiration *uint32 `protobuf:"varint,4,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"`
EphemeralSettingTimestamp *int64 `protobuf:"varint,5,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"`
HistorySyncNotification *HistorySyncNotification `protobuf:"bytes,6,opt,name=historySyncNotification" json:"historySyncNotification,omitempty"`
AppStateSyncKeyShare *AppStateSyncKeyShare `protobuf:"bytes,7,opt,name=appStateSyncKeyShare" json:"appStateSyncKeyShare,omitempty"`
AppStateSyncKeyRequest *AppStateSyncKeyRequest `protobuf:"bytes,8,opt,name=appStateSyncKeyRequest" json:"appStateSyncKeyRequest,omitempty"`
InitialSecurityNotificationSettingSync *InitialSecurityNotificationSettingSync `protobuf:"bytes,9,opt,name=initialSecurityNotificationSettingSync" json:"initialSecurityNotificationSettingSync,omitempty"`
AppStateFatalExceptionNotification *AppStateFatalExceptionNotification `protobuf:"bytes,10,opt,name=appStateFatalExceptionNotification" json:"appStateFatalExceptionNotification,omitempty"`
DisappearingMode *DisappearingMode `protobuf:"bytes,11,opt,name=disappearingMode" json:"disappearingMode,omitempty"`
EditedMessage *Message `protobuf:"bytes,14,opt,name=editedMessage" json:"editedMessage,omitempty"`
TimestampMs *int64 `protobuf:"varint,15,opt,name=timestampMs" json:"timestampMs,omitempty"`
PeerDataOperationRequestMessage *PeerDataOperationRequestMessage `protobuf:"bytes,16,opt,name=peerDataOperationRequestMessage" json:"peerDataOperationRequestMessage,omitempty"`
PeerDataOperationRequestResponseMessage *PeerDataOperationRequestResponseMessage `protobuf:"bytes,17,opt,name=peerDataOperationRequestResponseMessage" json:"peerDataOperationRequestResponseMessage,omitempty"`
BotFeedbackMessage *BotFeedbackMessage `protobuf:"bytes,18,opt,name=botFeedbackMessage" json:"botFeedbackMessage,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *ProtocolMessage) Reset() {
*x = ProtocolMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ProtocolMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProtocolMessage) ProtoMessage() {}
func (x *ProtocolMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[71]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-03-12 14:02:04 -08:00
}
// Deprecated: Use ProtocolMessage.ProtoReflect.Descriptor instead.
func (*ProtocolMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{71}
2022-03-12 14:02:04 -08:00
}
func (x *ProtocolMessage) GetKey() *MessageKey {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Key
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *ProtocolMessage) GetType() ProtocolMessage_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return ProtocolMessage_REVOKE
}
2022-01-30 15:27:37 -08:00
func (x *ProtocolMessage) GetEphemeralExpiration() uint32 {
if x != nil && x.EphemeralExpiration != nil {
return *x.EphemeralExpiration
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ProtocolMessage) GetEphemeralSettingTimestamp() int64 {
if x != nil && x.EphemeralSettingTimestamp != nil {
return *x.EphemeralSettingTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ProtocolMessage) GetHistorySyncNotification() *HistorySyncNotification {
if x != nil {
return x.HistorySyncNotification
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ProtocolMessage) GetAppStateSyncKeyShare() *AppStateSyncKeyShare {
if x != nil {
return x.AppStateSyncKeyShare
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *ProtocolMessage) GetAppStateSyncKeyRequest() *AppStateSyncKeyRequest {
if x != nil {
return x.AppStateSyncKeyRequest
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ProtocolMessage) GetInitialSecurityNotificationSettingSync() *InitialSecurityNotificationSettingSync {
if x != nil {
return x.InitialSecurityNotificationSettingSync
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ProtocolMessage) GetAppStateFatalExceptionNotification() *AppStateFatalExceptionNotification {
if x != nil {
return x.AppStateFatalExceptionNotification
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ProtocolMessage) GetDisappearingMode() *DisappearingMode {
if x != nil {
return x.DisappearingMode
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ProtocolMessage) GetEditedMessage() *Message {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.EditedMessage
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *ProtocolMessage) GetTimestampMs() int64 {
if x != nil && x.TimestampMs != nil {
return *x.TimestampMs
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ProtocolMessage) GetPeerDataOperationRequestMessage() *PeerDataOperationRequestMessage {
if x != nil {
return x.PeerDataOperationRequestMessage
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ProtocolMessage) GetPeerDataOperationRequestResponseMessage() *PeerDataOperationRequestResponseMessage {
if x != nil {
return x.PeerDataOperationRequestResponseMessage
}
return nil
}
func (x *ProtocolMessage) GetBotFeedbackMessage() *BotFeedbackMessage {
if x != nil {
return x.BotFeedbackMessage
}
return nil
}
type ProductMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Product *ProductMessage_ProductSnapshot `protobuf:"bytes,1,opt,name=product" json:"product,omitempty"`
BusinessOwnerJid *string `protobuf:"bytes,2,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"`
Catalog *ProductMessage_CatalogSnapshot `protobuf:"bytes,4,opt,name=catalog" json:"catalog,omitempty"`
Body *string `protobuf:"bytes,5,opt,name=body" json:"body,omitempty"`
Footer *string `protobuf:"bytes,6,opt,name=footer" json:"footer,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
}
func (x *ProductMessage) Reset() {
*x = ProductMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProductMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProductMessage) ProtoMessage() {}
func (x *ProductMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[72]
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 ProductMessage.ProtoReflect.Descriptor instead.
func (*ProductMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{72}
}
func (x *ProductMessage) GetProduct() *ProductMessage_ProductSnapshot {
if x != nil {
return x.Product
}
return nil
}
func (x *ProductMessage) GetBusinessOwnerJid() string {
if x != nil && x.BusinessOwnerJid != nil {
return *x.BusinessOwnerJid
}
return ""
}
func (x *ProductMessage) GetCatalog() *ProductMessage_CatalogSnapshot {
if x != nil {
return x.Catalog
}
return nil
}
func (x *ProductMessage) GetBody() string {
if x != nil && x.Body != nil {
return *x.Body
}
return ""
}
func (x *ProductMessage) GetFooter() string {
if x != nil && x.Footer != nil {
return *x.Footer
}
return ""
}
func (x *ProductMessage) GetContextInfo() *ContextInfo {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.ContextInfo
2022-03-12 14:02:04 -08:00
}
return nil
}
type PollVoteMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions" json:"selectedOptions,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PollVoteMessage) Reset() {
*x = PollVoteMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *PollVoteMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PollVoteMessage) ProtoMessage() {}
func (x *PollVoteMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[73]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
}
// Deprecated: Use PollVoteMessage.ProtoReflect.Descriptor instead.
func (*PollVoteMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{73}
2022-01-30 15:27:37 -08:00
}
func (x *PollVoteMessage) GetSelectedOptions() [][]byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.SelectedOptions
2022-01-30 15:27:37 -08:00
}
return nil
}
type PollUpdateMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PollCreationMessageKey *MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey" json:"pollCreationMessageKey,omitempty"`
Vote *PollEncValue `protobuf:"bytes,2,opt,name=vote" json:"vote,omitempty"`
Metadata *PollUpdateMessageMetadata `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"`
SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PollUpdateMessage) Reset() {
*x = PollUpdateMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[74]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PollUpdateMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PollUpdateMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[74]
2022-01-30 15:27:37 -08:00
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 PollUpdateMessage.ProtoReflect.Descriptor instead.
func (*PollUpdateMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{74}
2022-01-30 15:27:37 -08:00
}
func (x *PollUpdateMessage) GetPollCreationMessageKey() *MessageKey {
if x != nil {
return x.PollCreationMessageKey
}
return nil
}
func (x *PollUpdateMessage) GetVote() *PollEncValue {
if x != nil {
return x.Vote
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *PollUpdateMessage) GetMetadata() *PollUpdateMessageMetadata {
if x != nil {
return x.Metadata
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *PollUpdateMessage) GetSenderTimestampMs() int64 {
if x != nil && x.SenderTimestampMs != nil {
return *x.SenderTimestampMs
}
return 0
}
type PollUpdateMessageMetadata struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *PollUpdateMessageMetadata) Reset() {
*x = PollUpdateMessageMetadata{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[75]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PollUpdateMessageMetadata) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PollUpdateMessageMetadata) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[75]
2022-01-30 15:27:37 -08:00
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 PollUpdateMessageMetadata.ProtoReflect.Descriptor instead.
func (*PollUpdateMessageMetadata) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{75}
2022-01-30 15:27:37 -08:00
}
type PollEncValue struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload" json:"encPayload,omitempty"`
EncIv []byte `protobuf:"bytes,2,opt,name=encIv" json:"encIv,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PollEncValue) Reset() {
*x = PollEncValue{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *PollEncValue) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*PollEncValue) ProtoMessage() {}
func (x *PollEncValue) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[76]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-03-12 14:02:04 -08:00
}
// Deprecated: Use PollEncValue.ProtoReflect.Descriptor instead.
func (*PollEncValue) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{76}
2022-03-12 14:02:04 -08:00
}
func (x *PollEncValue) GetEncPayload() []byte {
if x != nil {
return x.EncPayload
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *PollEncValue) GetEncIv() []byte {
if x != nil {
return x.EncIv
}
return nil
2022-03-12 14:02:04 -08:00
}
type PollCreationMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
EncKey []byte `protobuf:"bytes,1,opt,name=encKey" json:"encKey,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
Options []*PollCreationMessage_Option `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"`
SelectableOptionsCount *uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount" json:"selectableOptionsCount,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,5,opt,name=contextInfo" json:"contextInfo,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *PollCreationMessage) Reset() {
*x = PollCreationMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[77]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2022-01-30 15:27:37 -08:00
}
func (x *PollCreationMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PollCreationMessage) ProtoMessage() {}
func (x *PollCreationMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[77]
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)
}
2022-01-30 15:27:37 -08:00
// Deprecated: Use PollCreationMessage.ProtoReflect.Descriptor instead.
func (*PollCreationMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{77}
}
func (x *PollCreationMessage) GetEncKey() []byte {
if x != nil {
return x.EncKey
}
return nil
}
2022-03-12 14:02:04 -08:00
func (x *PollCreationMessage) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
2022-11-26 15:42:16 -08:00
}
return ""
2022-11-26 15:42:16 -08:00
}
func (x *PollCreationMessage) GetOptions() []*PollCreationMessage_Option {
2022-11-26 15:42:16 -08:00
if x != nil {
return x.Options
2022-11-26 15:42:16 -08:00
}
return nil
}
func (x *PollCreationMessage) GetSelectableOptionsCount() uint32 {
if x != nil && x.SelectableOptionsCount != nil {
return *x.SelectableOptionsCount
}
return 0
}
func (x *PollCreationMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
}
2022-03-12 14:02:04 -08:00
type PinInChatMessage struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
Type *PinInChatMessage_Type `protobuf:"varint,2,opt,name=type,enum=proto.PinInChatMessage_Type" json:"type,omitempty"`
SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PinInChatMessage) Reset() {
*x = PinInChatMessage{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[78]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *PinInChatMessage) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*PinInChatMessage) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *PinInChatMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[78]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use PinInChatMessage.ProtoReflect.Descriptor instead.
func (*PinInChatMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{78}
}
func (x *PinInChatMessage) GetKey() *MessageKey {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.Key
}
return nil
}
func (x *PinInChatMessage) GetType() PinInChatMessage_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return PinInChatMessage_UNKNOWN_TYPE
}
func (x *PinInChatMessage) GetSenderTimestampMs() int64 {
if x != nil && x.SenderTimestampMs != nil {
return *x.SenderTimestampMs
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type PeerDataOperationRequestResponseMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PeerDataOperationRequestType *PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,enum=proto.PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"`
StanzaId *string `protobuf:"bytes,2,opt,name=stanzaId" json:"stanzaId,omitempty"`
PeerDataOperationResult []*PeerDataOperationRequestResponseMessage_PeerDataOperationResult `protobuf:"bytes,3,rep,name=peerDataOperationResult" json:"peerDataOperationResult,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage) Reset() {
*x = PeerDataOperationRequestResponseMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[79]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PeerDataOperationRequestResponseMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PeerDataOperationRequestResponseMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *PeerDataOperationRequestResponseMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[79]
2022-11-26 15:42:16 -08:00
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 PeerDataOperationRequestResponseMessage.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestResponseMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{79}
2022-11-26 15:42:16 -08:00
}
func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType {
if x != nil && x.PeerDataOperationRequestType != nil {
return *x.PeerDataOperationRequestType
}
return PeerDataOperationRequestType_UPLOAD_STICKER
}
func (x *PeerDataOperationRequestResponseMessage) GetStanzaId() string {
if x != nil && x.StanzaId != nil {
return *x.StanzaId
}
return ""
}
func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationResult() []*PeerDataOperationRequestResponseMessage_PeerDataOperationResult {
2022-11-26 15:42:16 -08:00
if x != nil {
return x.PeerDataOperationResult
2022-11-26 15:42:16 -08:00
}
return nil
}
type PeerDataOperationRequestMessage struct {
2022-11-26 15:42:16 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PeerDataOperationRequestType *PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,enum=proto.PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"`
RequestStickerReupload []*PeerDataOperationRequestMessage_RequestStickerReupload `protobuf:"bytes,2,rep,name=requestStickerReupload" json:"requestStickerReupload,omitempty"`
RequestUrlPreview []*PeerDataOperationRequestMessage_RequestUrlPreview `protobuf:"bytes,3,rep,name=requestUrlPreview" json:"requestUrlPreview,omitempty"`
HistorySyncOnDemandRequest *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest `protobuf:"bytes,4,opt,name=historySyncOnDemandRequest" json:"historySyncOnDemandRequest,omitempty"`
PlaceholderMessageResendRequest []*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest `protobuf:"bytes,5,rep,name=placeholderMessageResendRequest" json:"placeholderMessageResendRequest,omitempty"`
2022-11-26 15:42:16 -08:00
}
func (x *PeerDataOperationRequestMessage) Reset() {
*x = PeerDataOperationRequestMessage{}
2022-11-26 15:42:16 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[80]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PeerDataOperationRequestMessage) String() string {
2022-11-26 15:42:16 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PeerDataOperationRequestMessage) ProtoMessage() {}
2022-11-26 15:42:16 -08:00
func (x *PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[80]
2022-11-26 15:42:16 -08:00
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 PeerDataOperationRequestMessage.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{80}
2022-11-26 15:42:16 -08:00
}
func (x *PeerDataOperationRequestMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType {
if x != nil && x.PeerDataOperationRequestType != nil {
return *x.PeerDataOperationRequestType
}
return PeerDataOperationRequestType_UPLOAD_STICKER
}
func (x *PeerDataOperationRequestMessage) GetRequestStickerReupload() []*PeerDataOperationRequestMessage_RequestStickerReupload {
2022-11-26 15:42:16 -08:00
if x != nil {
return x.RequestStickerReupload
2022-11-26 15:42:16 -08:00
}
return nil
}
func (x *PeerDataOperationRequestMessage) GetRequestUrlPreview() []*PeerDataOperationRequestMessage_RequestUrlPreview {
2022-11-26 15:42:16 -08:00
if x != nil {
return x.RequestUrlPreview
2022-11-26 15:42:16 -08:00
}
return nil
}
func (x *PeerDataOperationRequestMessage) GetHistorySyncOnDemandRequest() *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest {
2022-11-26 15:42:16 -08:00
if x != nil {
return x.HistorySyncOnDemandRequest
2022-11-26 15:42:16 -08:00
}
return nil
}
func (x *PeerDataOperationRequestMessage) GetPlaceholderMessageResendRequest() []*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest {
if x != nil {
return x.PlaceholderMessageResendRequest
2022-11-26 15:42:16 -08:00
}
return nil
2022-11-26 15:42:16 -08:00
}
type PaymentInviteMessage struct {
2022-11-26 15:42:16 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServiceType *PaymentInviteMessage_ServiceType `protobuf:"varint,1,opt,name=serviceType,enum=proto.PaymentInviteMessage_ServiceType" json:"serviceType,omitempty"`
ExpiryTimestamp *int64 `protobuf:"varint,2,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"`
2022-11-26 15:42:16 -08:00
}
func (x *PaymentInviteMessage) Reset() {
*x = PaymentInviteMessage{}
2022-11-26 15:42:16 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[81]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PaymentInviteMessage) String() string {
2022-11-26 15:42:16 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PaymentInviteMessage) ProtoMessage() {}
2022-11-26 15:42:16 -08:00
func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[81]
2022-11-26 15:42:16 -08:00
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 PaymentInviteMessage.ProtoReflect.Descriptor instead.
func (*PaymentInviteMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{81}
2022-11-26 15:42:16 -08:00
}
func (x *PaymentInviteMessage) GetServiceType() PaymentInviteMessage_ServiceType {
if x != nil && x.ServiceType != nil {
return *x.ServiceType
}
return PaymentInviteMessage_UNKNOWN
}
func (x *PaymentInviteMessage) GetExpiryTimestamp() int64 {
if x != nil && x.ExpiryTimestamp != nil {
return *x.ExpiryTimestamp
}
return 0
}
type OrderMessage struct {
2022-11-26 15:42:16 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OrderId *string `protobuf:"bytes,1,opt,name=orderId" json:"orderId,omitempty"`
Thumbnail []byte `protobuf:"bytes,2,opt,name=thumbnail" json:"thumbnail,omitempty"`
ItemCount *int32 `protobuf:"varint,3,opt,name=itemCount" json:"itemCount,omitempty"`
Status *OrderMessage_OrderStatus `protobuf:"varint,4,opt,name=status,enum=proto.OrderMessage_OrderStatus" json:"status,omitempty"`
Surface *OrderMessage_OrderSurface `protobuf:"varint,5,opt,name=surface,enum=proto.OrderMessage_OrderSurface" json:"surface,omitempty"`
Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
OrderTitle *string `protobuf:"bytes,7,opt,name=orderTitle" json:"orderTitle,omitempty"`
SellerJid *string `protobuf:"bytes,8,opt,name=sellerJid" json:"sellerJid,omitempty"`
Token *string `protobuf:"bytes,9,opt,name=token" json:"token,omitempty"`
TotalAmount1000 *int64 `protobuf:"varint,10,opt,name=totalAmount1000" json:"totalAmount1000,omitempty"`
TotalCurrencyCode *string `protobuf:"bytes,11,opt,name=totalCurrencyCode" json:"totalCurrencyCode,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) Reset() {
*x = OrderMessage{}
2022-11-26 15:42:16 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[82]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OrderMessage) String() string {
2022-11-26 15:42:16 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*OrderMessage) ProtoMessage() {}
2022-11-26 15:42:16 -08:00
func (x *OrderMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[82]
2022-11-26 15:42:16 -08:00
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 OrderMessage.ProtoReflect.Descriptor instead.
func (*OrderMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{82}
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) GetOrderId() string {
if x != nil && x.OrderId != nil {
return *x.OrderId
2022-11-26 15:42:16 -08:00
}
return ""
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) GetThumbnail() []byte {
2022-11-26 15:42:16 -08:00
if x != nil {
return x.Thumbnail
2022-11-26 15:42:16 -08:00
}
return nil
}
func (x *OrderMessage) GetItemCount() int32 {
if x != nil && x.ItemCount != nil {
return *x.ItemCount
}
return 0
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) GetStatus() OrderMessage_OrderStatus {
if x != nil && x.Status != nil {
return *x.Status
2022-11-26 15:42:16 -08:00
}
return OrderMessage_INQUIRY
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) GetSurface() OrderMessage_OrderSurface {
if x != nil && x.Surface != nil {
return *x.Surface
}
return OrderMessage_CATALOG
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) GetMessage() string {
if x != nil && x.Message != nil {
return *x.Message
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *OrderMessage) GetOrderTitle() string {
if x != nil && x.OrderTitle != nil {
return *x.OrderTitle
}
return ""
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) GetSellerJid() string {
if x != nil && x.SellerJid != nil {
return *x.SellerJid
2022-11-26 15:42:16 -08:00
}
return ""
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) GetToken() string {
if x != nil && x.Token != nil {
return *x.Token
2022-11-26 15:42:16 -08:00
}
return ""
}
func (x *OrderMessage) GetTotalAmount1000() int64 {
if x != nil && x.TotalAmount1000 != nil {
return *x.TotalAmount1000
2022-11-26 15:42:16 -08:00
}
return 0
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) GetTotalCurrencyCode() string {
if x != nil && x.TotalCurrencyCode != nil {
return *x.TotalCurrencyCode
2022-11-26 15:42:16 -08:00
}
return ""
2022-11-26 15:42:16 -08:00
}
func (x *OrderMessage) GetContextInfo() *ContextInfo {
2022-11-26 15:42:16 -08:00
if x != nil {
return x.ContextInfo
}
return nil
}
type LocationMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"`
DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"`
Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
Address *string `protobuf:"bytes,4,opt,name=address" json:"address,omitempty"`
Url *string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
IsLive *bool `protobuf:"varint,6,opt,name=isLive" json:"isLive,omitempty"`
AccuracyInMeters *uint32 `protobuf:"varint,7,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"`
SpeedInMps *float32 `protobuf:"fixed32,8,opt,name=speedInMps" json:"speedInMps,omitempty"`
DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,9,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"`
Comment *string `protobuf:"bytes,11,opt,name=comment" json:"comment,omitempty"`
JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"`
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
}
func (x *LocationMessage) Reset() {
*x = LocationMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[83]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LocationMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LocationMessage) ProtoMessage() {}
func (x *LocationMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[83]
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 LocationMessage.ProtoReflect.Descriptor instead.
func (*LocationMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{83}
}
func (x *LocationMessage) GetDegreesLatitude() float64 {
if x != nil && x.DegreesLatitude != nil {
return *x.DegreesLatitude
}
return 0
}
func (x *LocationMessage) GetDegreesLongitude() float64 {
if x != nil && x.DegreesLongitude != nil {
return *x.DegreesLongitude
}
return 0
}
func (x *LocationMessage) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *LocationMessage) GetAddress() string {
if x != nil && x.Address != nil {
return *x.Address
}
return ""
}
func (x *LocationMessage) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *LocationMessage) GetIsLive() bool {
if x != nil && x.IsLive != nil {
return *x.IsLive
}
return false
}
func (x *LocationMessage) GetAccuracyInMeters() uint32 {
if x != nil && x.AccuracyInMeters != nil {
return *x.AccuracyInMeters
}
return 0
}
func (x *LocationMessage) GetSpeedInMps() float32 {
if x != nil && x.SpeedInMps != nil {
return *x.SpeedInMps
}
return 0
}
func (x *LocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 {
if x != nil && x.DegreesClockwiseFromMagneticNorth != nil {
return *x.DegreesClockwiseFromMagneticNorth
}
return 0
}
func (x *LocationMessage) GetComment() string {
if x != nil && x.Comment != nil {
return *x.Comment
}
return ""
}
func (x *LocationMessage) GetJpegThumbnail() []byte {
if x != nil {
return x.JpegThumbnail
}
return nil
}
func (x *LocationMessage) GetContextInfo() *ContextInfo {
if x != nil {
return x.ContextInfo
}
return nil
}
2022-11-26 15:42:16 -08:00
type EphemeralSetting struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Duration *int32 `protobuf:"fixed32,1,opt,name=duration" json:"duration,omitempty"`
Timestamp *int64 `protobuf:"fixed64,2,opt,name=timestamp" json:"timestamp,omitempty"`
}
func (x *EphemeralSetting) Reset() {
*x = EphemeralSetting{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[84]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EphemeralSetting) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EphemeralSetting) ProtoMessage() {}
func (x *EphemeralSetting) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[84]
2022-11-26 15:42:16 -08:00
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 EphemeralSetting.ProtoReflect.Descriptor instead.
func (*EphemeralSetting) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{84}
2022-01-30 15:27:37 -08:00
}
func (x *EphemeralSetting) GetDuration() int32 {
if x != nil && x.Duration != nil {
return *x.Duration
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *EphemeralSetting) GetTimestamp() int64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type WallpaperSettings struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Filename *string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"`
Opacity *uint32 `protobuf:"varint,2,opt,name=opacity" json:"opacity,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *WallpaperSettings) Reset() {
*x = WallpaperSettings{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[85]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *WallpaperSettings) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*WallpaperSettings) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *WallpaperSettings) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[85]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use WallpaperSettings.ProtoReflect.Descriptor instead.
func (*WallpaperSettings) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{85}
2022-01-30 15:27:37 -08:00
}
func (x *WallpaperSettings) GetFilename() string {
if x != nil && x.Filename != nil {
return *x.Filename
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *WallpaperSettings) GetOpacity() uint32 {
if x != nil && x.Opacity != nil {
return *x.Opacity
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type StickerMetadata struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
FileSha256 []byte `protobuf:"bytes,2,opt,name=fileSha256" json:"fileSha256,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,3,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"`
Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"`
Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"`
Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"`
DirectPath *string `protobuf:"bytes,8,opt,name=directPath" json:"directPath,omitempty"`
FileLength *uint64 `protobuf:"varint,9,opt,name=fileLength" json:"fileLength,omitempty"`
Weight *float32 `protobuf:"fixed32,10,opt,name=weight" json:"weight,omitempty"`
LastStickerSentTs *int64 `protobuf:"varint,11,opt,name=lastStickerSentTs" json:"lastStickerSentTs,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *StickerMetadata) Reset() {
*x = StickerMetadata{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[86]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *StickerMetadata) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*StickerMetadata) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *StickerMetadata) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[86]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use StickerMetadata.ProtoReflect.Descriptor instead.
func (*StickerMetadata) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{86}
2022-01-30 15:27:37 -08:00
}
func (x *StickerMetadata) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
}
return ""
}
func (x *StickerMetadata) GetFileSha256() []byte {
if x != nil {
return x.FileSha256
}
return nil
}
func (x *StickerMetadata) GetFileEncSha256() []byte {
if x != nil {
return x.FileEncSha256
}
return nil
}
func (x *StickerMetadata) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
}
return nil
}
func (x *StickerMetadata) GetMimetype() string {
if x != nil && x.Mimetype != nil {
return *x.Mimetype
}
return ""
}
func (x *StickerMetadata) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return 0
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *StickerMetadata) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StickerMetadata) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
}
return ""
}
func (x *StickerMetadata) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return 0
}
func (x *StickerMetadata) GetWeight() float32 {
if x != nil && x.Weight != nil {
return *x.Weight
2022-04-25 14:50:10 -07:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StickerMetadata) GetLastStickerSentTs() int64 {
if x != nil && x.LastStickerSentTs != nil {
return *x.LastStickerSentTs
}
return 0
}
type Pushname struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Pushname *string `protobuf:"bytes,2,opt,name=pushname" json:"pushname,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *Pushname) Reset() {
*x = Pushname{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[87]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Pushname) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*Pushname) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *Pushname) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[87]
2022-01-30 15:27:37 -08:00
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 Pushname.ProtoReflect.Descriptor instead.
func (*Pushname) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{87}
2022-01-30 15:27:37 -08:00
}
func (x *Pushname) GetId() string {
2022-04-25 14:50:10 -07:00
if x != nil && x.Id != nil {
return *x.Id
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *Pushname) GetPushname() string {
if x != nil && x.Pushname != nil {
return *x.Pushname
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return ""
2022-01-30 15:27:37 -08:00
}
type PastParticipants struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupJid *string `protobuf:"bytes,1,opt,name=groupJid" json:"groupJid,omitempty"`
PastParticipants []*PastParticipant `protobuf:"bytes,2,rep,name=pastParticipants" json:"pastParticipants,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PastParticipants) Reset() {
*x = PastParticipants{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[88]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *PastParticipants) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*PastParticipants) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *PastParticipants) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[88]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use PastParticipants.ProtoReflect.Descriptor instead.
func (*PastParticipants) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{88}
2022-01-30 15:27:37 -08:00
}
func (x *PastParticipants) GetGroupJid() string {
if x != nil && x.GroupJid != nil {
return *x.GroupJid
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *PastParticipants) GetPastParticipants() []*PastParticipant {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.PastParticipants
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
type PastParticipant struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UserJid *string `protobuf:"bytes,1,opt,name=userJid" json:"userJid,omitempty"`
LeaveReason *PastParticipant_LeaveReason `protobuf:"varint,2,opt,name=leaveReason,enum=proto.PastParticipant_LeaveReason" json:"leaveReason,omitempty"`
LeaveTs *uint64 `protobuf:"varint,3,opt,name=leaveTs" json:"leaveTs,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PastParticipant) Reset() {
*x = PastParticipant{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[89]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PastParticipant) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PastParticipant) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *PastParticipant) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[89]
2022-01-30 15:27:37 -08:00
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 PastParticipant.ProtoReflect.Descriptor instead.
func (*PastParticipant) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{89}
2022-01-30 15:27:37 -08:00
}
func (x *PastParticipant) GetUserJid() string {
if x != nil && x.UserJid != nil {
return *x.UserJid
2022-04-25 14:50:10 -07:00
}
return ""
2022-04-25 14:50:10 -07:00
}
func (x *PastParticipant) GetLeaveReason() PastParticipant_LeaveReason {
if x != nil && x.LeaveReason != nil {
return *x.LeaveReason
2022-04-25 14:50:10 -07:00
}
return PastParticipant_LEFT
2022-04-25 14:50:10 -07:00
}
func (x *PastParticipant) GetLeaveTs() uint64 {
if x != nil && x.LeaveTs != nil {
return *x.LeaveTs
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type NotificationSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageVibrate *string `protobuf:"bytes,1,opt,name=messageVibrate" json:"messageVibrate,omitempty"`
MessagePopup *string `protobuf:"bytes,2,opt,name=messagePopup" json:"messagePopup,omitempty"`
MessageLight *string `protobuf:"bytes,3,opt,name=messageLight" json:"messageLight,omitempty"`
LowPriorityNotifications *bool `protobuf:"varint,4,opt,name=lowPriorityNotifications" json:"lowPriorityNotifications,omitempty"`
ReactionsMuted *bool `protobuf:"varint,5,opt,name=reactionsMuted" json:"reactionsMuted,omitempty"`
CallVibrate *string `protobuf:"bytes,6,opt,name=callVibrate" json:"callVibrate,omitempty"`
}
func (x *NotificationSettings) Reset() {
*x = NotificationSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[90]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NotificationSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NotificationSettings) ProtoMessage() {}
func (x *NotificationSettings) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[90]
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 NotificationSettings.ProtoReflect.Descriptor instead.
func (*NotificationSettings) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{90}
}
func (x *NotificationSettings) GetMessageVibrate() string {
if x != nil && x.MessageVibrate != nil {
return *x.MessageVibrate
}
return ""
}
func (x *NotificationSettings) GetMessagePopup() string {
if x != nil && x.MessagePopup != nil {
return *x.MessagePopup
}
return ""
}
func (x *NotificationSettings) GetMessageLight() string {
if x != nil && x.MessageLight != nil {
return *x.MessageLight
}
return ""
}
func (x *NotificationSettings) GetLowPriorityNotifications() bool {
if x != nil && x.LowPriorityNotifications != nil {
return *x.LowPriorityNotifications
}
return false
}
func (x *NotificationSettings) GetReactionsMuted() bool {
if x != nil && x.ReactionsMuted != nil {
return *x.ReactionsMuted
}
return false
}
func (x *NotificationSettings) GetCallVibrate() string {
if x != nil && x.CallVibrate != nil {
return *x.CallVibrate
}
return ""
}
type HistorySync struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
SyncType *HistorySync_HistorySyncType `protobuf:"varint,1,req,name=syncType,enum=proto.HistorySync_HistorySyncType" json:"syncType,omitempty"`
Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations" json:"conversations,omitempty"`
StatusV3Messages []*WebMessageInfo `protobuf:"bytes,3,rep,name=statusV3Messages" json:"statusV3Messages,omitempty"`
ChunkOrder *uint32 `protobuf:"varint,5,opt,name=chunkOrder" json:"chunkOrder,omitempty"`
Progress *uint32 `protobuf:"varint,6,opt,name=progress" json:"progress,omitempty"`
Pushnames []*Pushname `protobuf:"bytes,7,rep,name=pushnames" json:"pushnames,omitempty"`
GlobalSettings *GlobalSettings `protobuf:"bytes,8,opt,name=globalSettings" json:"globalSettings,omitempty"`
ThreadIdUserSecret []byte `protobuf:"bytes,9,opt,name=threadIdUserSecret" json:"threadIdUserSecret,omitempty"`
ThreadDsTimeframeOffset *uint32 `protobuf:"varint,10,opt,name=threadDsTimeframeOffset" json:"threadDsTimeframeOffset,omitempty"`
RecentStickers []*StickerMetadata `protobuf:"bytes,11,rep,name=recentStickers" json:"recentStickers,omitempty"`
PastParticipants []*PastParticipants `protobuf:"bytes,12,rep,name=pastParticipants" json:"pastParticipants,omitempty"`
2022-04-25 14:50:10 -07:00
}
func (x *HistorySync) Reset() {
*x = HistorySync{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[91]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *HistorySync) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*HistorySync) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HistorySync) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[91]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use HistorySync.ProtoReflect.Descriptor instead.
func (*HistorySync) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{91}
2022-01-30 15:27:37 -08:00
}
func (x *HistorySync) GetSyncType() HistorySync_HistorySyncType {
if x != nil && x.SyncType != nil {
return *x.SyncType
2022-01-30 15:27:37 -08:00
}
return HistorySync_INITIAL_BOOTSTRAP
2022-01-30 15:27:37 -08:00
}
func (x *HistorySync) GetConversations() []*Conversation {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Conversations
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySync) GetStatusV3Messages() []*WebMessageInfo {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.StatusV3Messages
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySync) GetChunkOrder() uint32 {
if x != nil && x.ChunkOrder != nil {
return *x.ChunkOrder
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *HistorySync) GetProgress() uint32 {
if x != nil && x.Progress != nil {
return *x.Progress
2022-04-25 14:50:10 -07:00
}
return 0
2022-04-25 14:50:10 -07:00
}
2022-01-30 15:27:37 -08:00
func (x *HistorySync) GetPushnames() []*Pushname {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Pushnames
2022-04-25 14:50:10 -07:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySync) GetGlobalSettings() *GlobalSettings {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.GlobalSettings
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySync) GetThreadIdUserSecret() []byte {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.ThreadIdUserSecret
2022-04-25 14:50:10 -07:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySync) GetThreadDsTimeframeOffset() uint32 {
if x != nil && x.ThreadDsTimeframeOffset != nil {
return *x.ThreadDsTimeframeOffset
2022-04-25 14:50:10 -07:00
}
return 0
2022-04-25 14:50:10 -07:00
}
2022-01-30 15:27:37 -08:00
func (x *HistorySync) GetRecentStickers() []*StickerMetadata {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.RecentStickers
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySync) GetPastParticipants() []*PastParticipants {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.PastParticipants
2022-04-25 14:50:10 -07:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type HistorySyncMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Message *WebMessageInfo `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
MsgOrderId *uint64 `protobuf:"varint,2,opt,name=msgOrderId" json:"msgOrderId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncMsg) Reset() {
*x = HistorySyncMsg{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[92]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *HistorySyncMsg) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*HistorySyncMsg) ProtoMessage() {}
func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[92]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use HistorySyncMsg.ProtoReflect.Descriptor instead.
func (*HistorySyncMsg) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{92}
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncMsg) GetMessage() *WebMessageInfo {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Message
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HistorySyncMsg) GetMsgOrderId() uint64 {
if x != nil && x.MsgOrderId != nil {
return *x.MsgOrderId
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type GroupParticipant struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UserJid *string `protobuf:"bytes,1,req,name=userJid" json:"userJid,omitempty"`
Rank *GroupParticipant_Rank `protobuf:"varint,2,opt,name=rank,enum=proto.GroupParticipant_Rank" json:"rank,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *GroupParticipant) Reset() {
*x = GroupParticipant{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[93]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *GroupParticipant) String() string {
return protoimpl.X.MessageStringOf(x)
2022-04-25 14:50:10 -07:00
}
2022-01-30 15:27:37 -08:00
func (*GroupParticipant) ProtoMessage() {}
func (x *GroupParticipant) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[93]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-04-25 14:50:10 -07:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use GroupParticipant.ProtoReflect.Descriptor instead.
func (*GroupParticipant) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{93}
2022-01-30 15:27:37 -08:00
}
func (x *GroupParticipant) GetUserJid() string {
if x != nil && x.UserJid != nil {
return *x.UserJid
2022-04-25 14:50:10 -07:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *GroupParticipant) GetRank() GroupParticipant_Rank {
if x != nil && x.Rank != nil {
return *x.Rank
2022-04-25 14:50:10 -07:00
}
return GroupParticipant_REGULAR
2022-04-25 14:50:10 -07:00
}
2022-03-12 14:02:04 -08:00
type GlobalSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LightThemeWallpaper *WallpaperSettings `protobuf:"bytes,1,opt,name=lightThemeWallpaper" json:"lightThemeWallpaper,omitempty"`
MediaVisibility *MediaVisibility `protobuf:"varint,2,opt,name=mediaVisibility,enum=proto.MediaVisibility" json:"mediaVisibility,omitempty"`
DarkThemeWallpaper *WallpaperSettings `protobuf:"bytes,3,opt,name=darkThemeWallpaper" json:"darkThemeWallpaper,omitempty"`
AutoDownloadWiFi *AutoDownloadSettings `protobuf:"bytes,4,opt,name=autoDownloadWiFi" json:"autoDownloadWiFi,omitempty"`
AutoDownloadCellular *AutoDownloadSettings `protobuf:"bytes,5,opt,name=autoDownloadCellular" json:"autoDownloadCellular,omitempty"`
AutoDownloadRoaming *AutoDownloadSettings `protobuf:"bytes,6,opt,name=autoDownloadRoaming" json:"autoDownloadRoaming,omitempty"`
ShowIndividualNotificationsPreview *bool `protobuf:"varint,7,opt,name=showIndividualNotificationsPreview" json:"showIndividualNotificationsPreview,omitempty"`
ShowGroupNotificationsPreview *bool `protobuf:"varint,8,opt,name=showGroupNotificationsPreview" json:"showGroupNotificationsPreview,omitempty"`
DisappearingModeDuration *int32 `protobuf:"varint,9,opt,name=disappearingModeDuration" json:"disappearingModeDuration,omitempty"`
DisappearingModeTimestamp *int64 `protobuf:"varint,10,opt,name=disappearingModeTimestamp" json:"disappearingModeTimestamp,omitempty"`
2022-11-26 15:42:16 -08:00
AvatarUserSettings *AvatarUserSettings `protobuf:"bytes,11,opt,name=avatarUserSettings" json:"avatarUserSettings,omitempty"`
FontSize *int32 `protobuf:"varint,12,opt,name=fontSize" json:"fontSize,omitempty"`
SecurityNotifications *bool `protobuf:"varint,13,opt,name=securityNotifications" json:"securityNotifications,omitempty"`
AutoUnarchiveChats *bool `protobuf:"varint,14,opt,name=autoUnarchiveChats" json:"autoUnarchiveChats,omitempty"`
VideoQualityMode *int32 `protobuf:"varint,15,opt,name=videoQualityMode" json:"videoQualityMode,omitempty"`
PhotoQualityMode *int32 `protobuf:"varint,16,opt,name=photoQualityMode" json:"photoQualityMode,omitempty"`
IndividualNotificationSettings *NotificationSettings `protobuf:"bytes,17,opt,name=individualNotificationSettings" json:"individualNotificationSettings,omitempty"`
GroupNotificationSettings *NotificationSettings `protobuf:"bytes,18,opt,name=groupNotificationSettings" json:"groupNotificationSettings,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *GlobalSettings) Reset() {
*x = GlobalSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[94]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-04-25 14:50:10 -07:00
}
2022-01-30 15:27:37 -08:00
}
func (x *GlobalSettings) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*GlobalSettings) ProtoMessage() {}
func (x *GlobalSettings) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[94]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-04-25 14:50:10 -07:00
}
return mi.MessageOf(x)
2022-04-25 14:50:10 -07:00
}
// Deprecated: Use GlobalSettings.ProtoReflect.Descriptor instead.
func (*GlobalSettings) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{94}
2022-04-25 14:50:10 -07:00
}
func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.LightThemeWallpaper
2022-04-25 14:50:10 -07:00
}
return nil
}
func (x *GlobalSettings) GetMediaVisibility() MediaVisibility {
if x != nil && x.MediaVisibility != nil {
return *x.MediaVisibility
2022-04-25 14:50:10 -07:00
}
return MediaVisibility_DEFAULT
2022-04-25 14:50:10 -07:00
}
func (x *GlobalSettings) GetDarkThemeWallpaper() *WallpaperSettings {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.DarkThemeWallpaper
2022-04-25 14:50:10 -07:00
}
return nil
}
func (x *GlobalSettings) GetAutoDownloadWiFi() *AutoDownloadSettings {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.AutoDownloadWiFi
2022-04-25 14:50:10 -07:00
}
return nil
}
func (x *GlobalSettings) GetAutoDownloadCellular() *AutoDownloadSettings {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.AutoDownloadCellular
2022-04-25 14:50:10 -07:00
}
return nil
}
func (x *GlobalSettings) GetAutoDownloadRoaming() *AutoDownloadSettings {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.AutoDownloadRoaming
2022-04-25 14:50:10 -07:00
}
return nil
}
func (x *GlobalSettings) GetShowIndividualNotificationsPreview() bool {
if x != nil && x.ShowIndividualNotificationsPreview != nil {
return *x.ShowIndividualNotificationsPreview
2022-04-25 14:50:10 -07:00
}
return false
2022-04-25 14:50:10 -07:00
}
func (x *GlobalSettings) GetShowGroupNotificationsPreview() bool {
if x != nil && x.ShowGroupNotificationsPreview != nil {
return *x.ShowGroupNotificationsPreview
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *GlobalSettings) GetDisappearingModeDuration() int32 {
if x != nil && x.DisappearingModeDuration != nil {
return *x.DisappearingModeDuration
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *GlobalSettings) GetDisappearingModeTimestamp() int64 {
if x != nil && x.DisappearingModeTimestamp != nil {
return *x.DisappearingModeTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
2022-11-26 15:42:16 -08:00
func (x *GlobalSettings) GetAvatarUserSettings() *AvatarUserSettings {
if x != nil {
return x.AvatarUserSettings
}
return nil
}
func (x *GlobalSettings) GetFontSize() int32 {
if x != nil && x.FontSize != nil {
return *x.FontSize
}
return 0
}
func (x *GlobalSettings) GetSecurityNotifications() bool {
if x != nil && x.SecurityNotifications != nil {
return *x.SecurityNotifications
}
return false
}
func (x *GlobalSettings) GetAutoUnarchiveChats() bool {
if x != nil && x.AutoUnarchiveChats != nil {
return *x.AutoUnarchiveChats
}
return false
}
func (x *GlobalSettings) GetVideoQualityMode() int32 {
if x != nil && x.VideoQualityMode != nil {
return *x.VideoQualityMode
}
return 0
}
func (x *GlobalSettings) GetPhotoQualityMode() int32 {
if x != nil && x.PhotoQualityMode != nil {
return *x.PhotoQualityMode
}
return 0
}
func (x *GlobalSettings) GetIndividualNotificationSettings() *NotificationSettings {
if x != nil {
return x.IndividualNotificationSettings
}
return nil
}
func (x *GlobalSettings) GetGroupNotificationSettings() *NotificationSettings {
if x != nil {
return x.GroupNotificationSettings
}
return nil
}
type Conversation struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
Messages []*HistorySyncMsg `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"`
NewJid *string `protobuf:"bytes,3,opt,name=newJid" json:"newJid,omitempty"`
OldJid *string `protobuf:"bytes,4,opt,name=oldJid" json:"oldJid,omitempty"`
LastMsgTimestamp *uint64 `protobuf:"varint,5,opt,name=lastMsgTimestamp" json:"lastMsgTimestamp,omitempty"`
UnreadCount *uint32 `protobuf:"varint,6,opt,name=unreadCount" json:"unreadCount,omitempty"`
ReadOnly *bool `protobuf:"varint,7,opt,name=readOnly" json:"readOnly,omitempty"`
EndOfHistoryTransfer *bool `protobuf:"varint,8,opt,name=endOfHistoryTransfer" json:"endOfHistoryTransfer,omitempty"`
EphemeralExpiration *uint32 `protobuf:"varint,9,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"`
EphemeralSettingTimestamp *int64 `protobuf:"varint,10,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"`
EndOfHistoryTransferType *Conversation_EndOfHistoryTransferType `protobuf:"varint,11,opt,name=endOfHistoryTransferType,enum=proto.Conversation_EndOfHistoryTransferType" json:"endOfHistoryTransferType,omitempty"`
ConversationTimestamp *uint64 `protobuf:"varint,12,opt,name=conversationTimestamp" json:"conversationTimestamp,omitempty"`
Name *string `protobuf:"bytes,13,opt,name=name" json:"name,omitempty"`
PHash *string `protobuf:"bytes,14,opt,name=pHash" json:"pHash,omitempty"`
NotSpam *bool `protobuf:"varint,15,opt,name=notSpam" json:"notSpam,omitempty"`
Archived *bool `protobuf:"varint,16,opt,name=archived" json:"archived,omitempty"`
DisappearingMode *DisappearingMode `protobuf:"bytes,17,opt,name=disappearingMode" json:"disappearingMode,omitempty"`
UnreadMentionCount *uint32 `protobuf:"varint,18,opt,name=unreadMentionCount" json:"unreadMentionCount,omitempty"`
MarkedAsUnread *bool `protobuf:"varint,19,opt,name=markedAsUnread" json:"markedAsUnread,omitempty"`
Participant []*GroupParticipant `protobuf:"bytes,20,rep,name=participant" json:"participant,omitempty"`
TcToken []byte `protobuf:"bytes,21,opt,name=tcToken" json:"tcToken,omitempty"`
TcTokenTimestamp *uint64 `protobuf:"varint,22,opt,name=tcTokenTimestamp" json:"tcTokenTimestamp,omitempty"`
ContactPrimaryIdentityKey []byte `protobuf:"bytes,23,opt,name=contactPrimaryIdentityKey" json:"contactPrimaryIdentityKey,omitempty"`
Pinned *uint32 `protobuf:"varint,24,opt,name=pinned" json:"pinned,omitempty"`
MuteEndTime *uint64 `protobuf:"varint,25,opt,name=muteEndTime" json:"muteEndTime,omitempty"`
Wallpaper *WallpaperSettings `protobuf:"bytes,26,opt,name=wallpaper" json:"wallpaper,omitempty"`
MediaVisibility *MediaVisibility `protobuf:"varint,27,opt,name=mediaVisibility,enum=proto.MediaVisibility" json:"mediaVisibility,omitempty"`
TcTokenSenderTimestamp *uint64 `protobuf:"varint,28,opt,name=tcTokenSenderTimestamp" json:"tcTokenSenderTimestamp,omitempty"`
Suspended *bool `protobuf:"varint,29,opt,name=suspended" json:"suspended,omitempty"`
Terminated *bool `protobuf:"varint,30,opt,name=terminated" json:"terminated,omitempty"`
CreatedAt *uint64 `protobuf:"varint,31,opt,name=createdAt" json:"createdAt,omitempty"`
CreatedBy *string `protobuf:"bytes,32,opt,name=createdBy" json:"createdBy,omitempty"`
Description *string `protobuf:"bytes,33,opt,name=description" json:"description,omitempty"`
Support *bool `protobuf:"varint,34,opt,name=support" json:"support,omitempty"`
IsParentGroup *bool `protobuf:"varint,35,opt,name=isParentGroup" json:"isParentGroup,omitempty"`
ParentGroupId *string `protobuf:"bytes,37,opt,name=parentGroupId" json:"parentGroupId,omitempty"`
IsDefaultSubgroup *bool `protobuf:"varint,36,opt,name=isDefaultSubgroup" json:"isDefaultSubgroup,omitempty"`
DisplayName *string `protobuf:"bytes,38,opt,name=displayName" json:"displayName,omitempty"`
PnJid *string `protobuf:"bytes,39,opt,name=pnJid" json:"pnJid,omitempty"`
2022-11-26 15:42:16 -08:00
ShareOwnPn *bool `protobuf:"varint,40,opt,name=shareOwnPn" json:"shareOwnPn,omitempty"`
PnhDuplicateLidThread *bool `protobuf:"varint,41,opt,name=pnhDuplicateLidThread" json:"pnhDuplicateLidThread,omitempty"`
LidJid *string `protobuf:"bytes,42,opt,name=lidJid" json:"lidJid,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) Reset() {
*x = Conversation{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[95]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Conversation) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*Conversation) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *Conversation) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[95]
2022-01-30 15:27:37 -08:00
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 Conversation.ProtoReflect.Descriptor instead.
func (*Conversation) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{95}
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
}
return ""
}
func (x *Conversation) GetMessages() []*HistorySyncMsg {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Messages
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetNewJid() string {
if x != nil && x.NewJid != nil {
return *x.NewJid
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetOldJid() string {
if x != nil && x.OldJid != nil {
return *x.OldJid
2022-06-11 14:07:42 -07:00
}
return ""
2022-06-11 14:07:42 -07:00
}
func (x *Conversation) GetLastMsgTimestamp() uint64 {
if x != nil && x.LastMsgTimestamp != nil {
return *x.LastMsgTimestamp
2022-06-24 15:36:16 -07:00
}
return 0
2022-06-24 15:36:16 -07:00
}
func (x *Conversation) GetUnreadCount() uint32 {
if x != nil && x.UnreadCount != nil {
return *x.UnreadCount
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetReadOnly() bool {
if x != nil && x.ReadOnly != nil {
return *x.ReadOnly
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetEndOfHistoryTransfer() bool {
if x != nil && x.EndOfHistoryTransfer != nil {
return *x.EndOfHistoryTransfer
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetEphemeralExpiration() uint32 {
if x != nil && x.EphemeralExpiration != nil {
return *x.EphemeralExpiration
}
return 0
}
2022-01-30 15:27:37 -08:00
func (x *Conversation) GetEphemeralSettingTimestamp() int64 {
if x != nil && x.EphemeralSettingTimestamp != nil {
return *x.EphemeralSettingTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetEndOfHistoryTransferType() Conversation_EndOfHistoryTransferType {
if x != nil && x.EndOfHistoryTransferType != nil {
return *x.EndOfHistoryTransferType
}
return Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetConversationTimestamp() uint64 {
if x != nil && x.ConversationTimestamp != nil {
return *x.ConversationTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
2022-03-12 14:02:04 -08:00
}
2022-04-25 14:50:10 -07:00
return ""
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
func (x *Conversation) GetPHash() string {
if x != nil && x.PHash != nil {
return *x.PHash
2022-03-12 14:02:04 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetNotSpam() bool {
if x != nil && x.NotSpam != nil {
return *x.NotSpam
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetArchived() bool {
if x != nil && x.Archived != nil {
return *x.Archived
2022-03-12 14:02:04 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetDisappearingMode() *DisappearingMode {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.DisappearingMode
2022-03-12 14:02:04 -08:00
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *Conversation) GetUnreadMentionCount() uint32 {
if x != nil && x.UnreadMentionCount != nil {
return *x.UnreadMentionCount
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetMarkedAsUnread() bool {
if x != nil && x.MarkedAsUnread != nil {
return *x.MarkedAsUnread
2022-03-12 14:02:04 -08:00
}
2022-04-25 14:50:10 -07:00
return false
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetParticipant() []*GroupParticipant {
if x != nil {
return x.Participant
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetTcToken() []byte {
if x != nil {
return x.TcToken
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetTcTokenTimestamp() uint64 {
if x != nil && x.TcTokenTimestamp != nil {
return *x.TcTokenTimestamp
2022-03-12 14:02:04 -08:00
}
return 0
2022-03-12 14:02:04 -08:00
}
func (x *Conversation) GetContactPrimaryIdentityKey() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.ContactPrimaryIdentityKey
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *Conversation) GetPinned() uint32 {
if x != nil && x.Pinned != nil {
return *x.Pinned
2022-03-12 14:02:04 -08:00
}
return 0
2022-03-12 14:02:04 -08:00
}
func (x *Conversation) GetMuteEndTime() uint64 {
if x != nil && x.MuteEndTime != nil {
return *x.MuteEndTime
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return 0
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetWallpaper() *WallpaperSettings {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Wallpaper
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetMediaVisibility() MediaVisibility {
if x != nil && x.MediaVisibility != nil {
return *x.MediaVisibility
2022-01-30 15:27:37 -08:00
}
return MediaVisibility_DEFAULT
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetTcTokenSenderTimestamp() uint64 {
if x != nil && x.TcTokenSenderTimestamp != nil {
return *x.TcTokenSenderTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetSuspended() bool {
if x != nil && x.Suspended != nil {
return *x.Suspended
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetTerminated() bool {
if x != nil && x.Terminated != nil {
return *x.Terminated
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return false
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetCreatedAt() uint64 {
if x != nil && x.CreatedAt != nil {
return *x.CreatedAt
}
return 0
}
func (x *Conversation) GetCreatedBy() string {
if x != nil && x.CreatedBy != nil {
return *x.CreatedBy
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetSupport() bool {
if x != nil && x.Support != nil {
return *x.Support
2022-03-12 14:02:04 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetIsParentGroup() bool {
if x != nil && x.IsParentGroup != nil {
return *x.IsParentGroup
}
return false
}
func (x *Conversation) GetParentGroupId() string {
if x != nil && x.ParentGroupId != nil {
return *x.ParentGroupId
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *Conversation) GetIsDefaultSubgroup() bool {
if x != nil && x.IsDefaultSubgroup != nil {
return *x.IsDefaultSubgroup
}
return false
}
func (x *Conversation) GetDisplayName() string {
if x != nil && x.DisplayName != nil {
return *x.DisplayName
}
return ""
}
func (x *Conversation) GetPnJid() string {
if x != nil && x.PnJid != nil {
return *x.PnJid
}
return ""
}
2022-11-26 15:42:16 -08:00
func (x *Conversation) GetShareOwnPn() bool {
if x != nil && x.ShareOwnPn != nil {
return *x.ShareOwnPn
}
return false
}
func (x *Conversation) GetPnhDuplicateLidThread() bool {
if x != nil && x.PnhDuplicateLidThread != nil {
return *x.PnhDuplicateLidThread
}
return false
}
2022-11-26 15:42:16 -08:00
func (x *Conversation) GetLidJid() string {
if x != nil && x.LidJid != nil {
return *x.LidJid
}
return ""
}
type AvatarUserSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Fbid *string `protobuf:"bytes,1,opt,name=fbid" json:"fbid,omitempty"`
Password *string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
}
func (x *AvatarUserSettings) Reset() {
*x = AvatarUserSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[96]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AvatarUserSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AvatarUserSettings) ProtoMessage() {}
func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[96]
2022-11-26 15:42:16 -08:00
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 AvatarUserSettings.ProtoReflect.Descriptor instead.
func (*AvatarUserSettings) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{96}
2022-11-26 15:42:16 -08:00
}
func (x *AvatarUserSettings) GetFbid() string {
if x != nil && x.Fbid != nil {
return *x.Fbid
}
return ""
}
func (x *AvatarUserSettings) GetPassword() string {
if x != nil && x.Password != nil {
return *x.Password
}
return ""
}
type AutoDownloadSettings struct {
2022-04-25 14:50:10 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DownloadImages *bool `protobuf:"varint,1,opt,name=downloadImages" json:"downloadImages,omitempty"`
DownloadAudio *bool `protobuf:"varint,2,opt,name=downloadAudio" json:"downloadAudio,omitempty"`
DownloadVideo *bool `protobuf:"varint,3,opt,name=downloadVideo" json:"downloadVideo,omitempty"`
DownloadDocuments *bool `protobuf:"varint,4,opt,name=downloadDocuments" json:"downloadDocuments,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AutoDownloadSettings) Reset() {
*x = AutoDownloadSettings{}
2022-04-25 14:50:10 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[97]
2022-04-25 14:50:10 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *AutoDownloadSettings) String() string {
2022-04-25 14:50:10 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*AutoDownloadSettings) ProtoMessage() {}
2022-04-25 14:50:10 -07:00
func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[97]
2022-04-25 14:50:10 -07:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
}
2022-04-25 14:50:10 -07:00
// Deprecated: Use AutoDownloadSettings.ProtoReflect.Descriptor instead.
func (*AutoDownloadSettings) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{97}
}
2022-04-25 14:50:10 -07:00
func (x *AutoDownloadSettings) GetDownloadImages() bool {
if x != nil && x.DownloadImages != nil {
return *x.DownloadImages
2023-01-28 13:57:53 -08:00
}
return false
}
func (x *AutoDownloadSettings) GetDownloadAudio() bool {
if x != nil && x.DownloadAudio != nil {
return *x.DownloadAudio
2022-11-26 15:42:16 -08:00
}
return false
2022-11-26 15:42:16 -08:00
}
func (x *AutoDownloadSettings) GetDownloadVideo() bool {
if x != nil && x.DownloadVideo != nil {
return *x.DownloadVideo
2022-11-26 15:42:16 -08:00
}
return false
2022-11-26 15:42:16 -08:00
}
func (x *AutoDownloadSettings) GetDownloadDocuments() bool {
if x != nil && x.DownloadDocuments != nil {
return *x.DownloadDocuments
2022-11-26 15:42:16 -08:00
}
return false
2022-11-26 15:42:16 -08:00
}
type ServerErrorReceipt struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ServerErrorReceipt) Reset() {
*x = ServerErrorReceipt{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[98]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ServerErrorReceipt) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ServerErrorReceipt) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[98]
2022-01-30 15:27:37 -08:00
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 ServerErrorReceipt.ProtoReflect.Descriptor instead.
func (*ServerErrorReceipt) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{98}
2022-01-30 15:27:37 -08:00
}
func (x *ServerErrorReceipt) GetStanzaId() string {
if x != nil && x.StanzaId != nil {
return *x.StanzaId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type MediaRetryNotification struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"`
DirectPath *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"`
Result *MediaRetryNotification_ResultType `protobuf:"varint,3,opt,name=result,enum=proto.MediaRetryNotification_ResultType" json:"result,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *MediaRetryNotification) Reset() {
*x = MediaRetryNotification{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[99]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
}
2022-01-30 15:27:37 -08:00
func (x *MediaRetryNotification) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*MediaRetryNotification) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[99]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use MediaRetryNotification.ProtoReflect.Descriptor instead.
func (*MediaRetryNotification) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{99}
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
func (x *MediaRetryNotification) GetStanzaId() string {
if x != nil && x.StanzaId != nil {
return *x.StanzaId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *MediaRetryNotification) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *MediaRetryNotification) GetResult() MediaRetryNotification_ResultType {
if x != nil && x.Result != nil {
return *x.Result
}
return MediaRetryNotification_GENERAL_ERROR
2022-01-30 15:27:37 -08:00
}
type MessageKey struct {
2022-04-25 14:50:10 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RemoteJid *string `protobuf:"bytes,1,opt,name=remoteJid" json:"remoteJid,omitempty"`
FromMe *bool `protobuf:"varint,2,opt,name=fromMe" json:"fromMe,omitempty"`
Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
Participant *string `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"`
2022-04-25 14:50:10 -07:00
}
func (x *MessageKey) Reset() {
*x = MessageKey{}
2022-04-25 14:50:10 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[100]
2022-04-25 14:50:10 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *MessageKey) String() string {
2022-04-25 14:50:10 -07:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*MessageKey) ProtoMessage() {}
2022-04-25 14:50:10 -07:00
func (x *MessageKey) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[100]
2022-04-25 14:50:10 -07:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use MessageKey.ProtoReflect.Descriptor instead.
func (*MessageKey) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{100}
2022-01-30 15:27:37 -08:00
}
func (x *MessageKey) GetRemoteJid() string {
if x != nil && x.RemoteJid != nil {
return *x.RemoteJid
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *MessageKey) GetFromMe() bool {
if x != nil && x.FromMe != nil {
return *x.FromMe
2022-03-12 14:02:04 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *MessageKey) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *MessageKey) GetParticipant() string {
if x != nil && x.Participant != nil {
return *x.Participant
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
type SyncdVersion struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SyncdVersion) Reset() {
*x = SyncdVersion{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[101]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncdVersion) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*SyncdVersion) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *SyncdVersion) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[101]
2022-01-30 15:27:37 -08:00
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 SyncdVersion.ProtoReflect.Descriptor instead.
func (*SyncdVersion) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{101}
2022-01-30 15:27:37 -08:00
}
func (x *SyncdVersion) GetVersion() uint64 {
if x != nil && x.Version != nil {
return *x.Version
2022-03-12 14:02:04 -08:00
}
2022-04-25 14:50:10 -07:00
return 0
2022-01-30 15:27:37 -08:00
}
type SyncdValue struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SyncdValue) Reset() {
*x = SyncdValue{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[102]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncdValue) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*SyncdValue) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *SyncdValue) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[102]
2022-01-30 15:27:37 -08:00
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 SyncdValue.ProtoReflect.Descriptor instead.
func (*SyncdValue) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{102}
2022-01-30 15:27:37 -08:00
}
func (x *SyncdValue) GetBlob() []byte {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Blob
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
type SyncdSnapshot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
Records []*SyncdRecord `protobuf:"bytes,2,rep,name=records" json:"records,omitempty"`
Mac []byte `protobuf:"bytes,3,opt,name=mac" json:"mac,omitempty"`
KeyId *KeyId `protobuf:"bytes,4,opt,name=keyId" json:"keyId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SyncdSnapshot) Reset() {
*x = SyncdSnapshot{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[103]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
}
func (x *SyncdSnapshot) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*SyncdSnapshot) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[103]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-04-25 14:50:10 -07:00
}
return mi.MessageOf(x)
2022-03-12 14:02:04 -08:00
}
// Deprecated: Use SyncdSnapshot.ProtoReflect.Descriptor instead.
func (*SyncdSnapshot) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{103}
2022-03-12 14:02:04 -08:00
}
func (x *SyncdSnapshot) GetVersion() *SyncdVersion {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Version
2022-04-25 14:50:10 -07:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *SyncdSnapshot) GetRecords() []*SyncdRecord {
if x != nil {
return x.Records
2022-04-25 14:50:10 -07:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *SyncdSnapshot) GetMac() []byte {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Mac
2022-04-25 14:50:10 -07:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *SyncdSnapshot) GetKeyId() *KeyId {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.KeyId
2022-04-25 14:50:10 -07:00
}
return nil
2022-03-12 14:02:04 -08:00
}
type SyncdRecord struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Index *SyncdIndex `protobuf:"bytes,1,opt,name=index" json:"index,omitempty"`
Value *SyncdValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
KeyId *KeyId `protobuf:"bytes,3,opt,name=keyId" json:"keyId,omitempty"`
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *SyncdRecord) Reset() {
*x = SyncdRecord{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[104]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncdRecord) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*SyncdRecord) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *SyncdRecord) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[104]
2022-01-30 15:27:37 -08:00
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 SyncdRecord.ProtoReflect.Descriptor instead.
func (*SyncdRecord) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{104}
2022-01-30 15:27:37 -08:00
}
func (x *SyncdRecord) GetIndex() *SyncdIndex {
if x != nil {
return x.Index
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncdRecord) GetValue() *SyncdValue {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Value
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncdRecord) GetKeyId() *KeyId {
if x != nil {
return x.KeyId
}
return nil
}
type SyncdPatch struct {
2022-04-25 14:50:10 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
Mutations []*SyncdMutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"`
ExternalMutations *ExternalBlobReference `protobuf:"bytes,3,opt,name=externalMutations" json:"externalMutations,omitempty"`
SnapshotMac []byte `protobuf:"bytes,4,opt,name=snapshotMac" json:"snapshotMac,omitempty"`
PatchMac []byte `protobuf:"bytes,5,opt,name=patchMac" json:"patchMac,omitempty"`
KeyId *KeyId `protobuf:"bytes,6,opt,name=keyId" json:"keyId,omitempty"`
ExitCode *ExitCode `protobuf:"bytes,7,opt,name=exitCode" json:"exitCode,omitempty"`
DeviceIndex *uint32 `protobuf:"varint,8,opt,name=deviceIndex" json:"deviceIndex,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SyncdPatch) Reset() {
*x = SyncdPatch{}
2022-04-25 14:50:10 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[105]
2022-04-25 14:50:10 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *SyncdPatch) String() string {
2022-04-25 14:50:10 -07:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*SyncdPatch) ProtoMessage() {}
2022-04-25 14:50:10 -07:00
func (x *SyncdPatch) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[105]
2022-04-25 14:50:10 -07:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-04-25 14:50:10 -07:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead.
func (*SyncdPatch) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{105}
2022-01-30 15:27:37 -08:00
}
func (x *SyncdPatch) GetVersion() *SyncdVersion {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Version
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncdPatch) GetMutations() []*SyncdMutation {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Mutations
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncdPatch) GetExternalMutations() *ExternalBlobReference {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.ExternalMutations
2022-04-25 14:50:10 -07:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *SyncdPatch) GetSnapshotMac() []byte {
if x != nil {
return x.SnapshotMac
}
return nil
}
func (x *SyncdPatch) GetPatchMac() []byte {
if x != nil {
return x.PatchMac
}
return nil
}
func (x *SyncdPatch) GetKeyId() *KeyId {
if x != nil {
return x.KeyId
}
return nil
}
func (x *SyncdPatch) GetExitCode() *ExitCode {
if x != nil {
return x.ExitCode
}
return nil
}
func (x *SyncdPatch) GetDeviceIndex() uint32 {
if x != nil && x.DeviceIndex != nil {
return *x.DeviceIndex
}
return 0
}
type SyncdMutations struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Mutations []*SyncdMutation `protobuf:"bytes,1,rep,name=mutations" json:"mutations,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SyncdMutations) Reset() {
*x = SyncdMutations{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[106]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncdMutations) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*SyncdMutations) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *SyncdMutations) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[106]
2022-01-30 15:27:37 -08:00
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 SyncdMutations.ProtoReflect.Descriptor instead.
func (*SyncdMutations) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{106}
2022-01-30 15:27:37 -08:00
}
func (x *SyncdMutations) GetMutations() []*SyncdMutation {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Mutations
2022-04-25 14:50:10 -07:00
}
return nil
}
type SyncdMutation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Operation *SyncdMutation_SyncdOperation `protobuf:"varint,1,opt,name=operation,enum=proto.SyncdMutation_SyncdOperation" json:"operation,omitempty"`
Record *SyncdRecord `protobuf:"bytes,2,opt,name=record" json:"record,omitempty"`
2022-04-25 14:50:10 -07:00
}
func (x *SyncdMutation) Reset() {
*x = SyncdMutation{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[107]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-04-25 14:50:10 -07:00
}
}
func (x *SyncdMutation) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*SyncdMutation) ProtoMessage() {}
func (x *SyncdMutation) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[107]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use SyncdMutation.ProtoReflect.Descriptor instead.
func (*SyncdMutation) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{107}
}
func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation {
if x != nil && x.Operation != nil {
return *x.Operation
2022-01-30 15:27:37 -08:00
}
return SyncdMutation_SET
2022-01-30 15:27:37 -08:00
}
func (x *SyncdMutation) GetRecord() *SyncdRecord {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Record
2022-03-12 14:02:04 -08:00
}
2022-04-25 14:50:10 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
type SyncdIndex struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SyncdIndex) Reset() {
*x = SyncdIndex{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[108]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncdIndex) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*SyncdIndex) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *SyncdIndex) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[108]
2022-01-30 15:27:37 -08:00
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 SyncdIndex.ProtoReflect.Descriptor instead.
func (*SyncdIndex) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{108}
2022-01-30 15:27:37 -08:00
}
func (x *SyncdIndex) GetBlob() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Blob
2022-01-30 15:27:37 -08:00
}
return nil
}
type KeyId struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id []byte `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (x *KeyId) Reset() {
*x = KeyId{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[109]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *KeyId) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyId) ProtoMessage() {}
func (x *KeyId) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[109]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-04-25 14:50:10 -07:00
}
return mi.MessageOf(x)
2022-04-25 14:50:10 -07:00
}
// Deprecated: Use KeyId.ProtoReflect.Descriptor instead.
func (*KeyId) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{109}
}
func (x *KeyId) GetId() []byte {
if x != nil {
return x.Id
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type ExternalBlobReference struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey" json:"mediaKey,omitempty"`
DirectPath *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"`
Handle *string `protobuf:"bytes,3,opt,name=handle" json:"handle,omitempty"`
FileSizeBytes *uint64 `protobuf:"varint,4,opt,name=fileSizeBytes" json:"fileSizeBytes,omitempty"`
FileSha256 []byte `protobuf:"bytes,5,opt,name=fileSha256" json:"fileSha256,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,6,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ExternalBlobReference) Reset() {
*x = ExternalBlobReference{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[110]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ExternalBlobReference) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ExternalBlobReference) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[110]
2022-01-30 15:27:37 -08:00
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 ExternalBlobReference.ProtoReflect.Descriptor instead.
func (*ExternalBlobReference) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{110}
2022-01-30 15:27:37 -08:00
}
func (x *ExternalBlobReference) GetMediaKey() []byte {
2022-06-24 15:36:16 -07:00
if x != nil {
return x.MediaKey
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ExternalBlobReference) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ExternalBlobReference) GetHandle() string {
if x != nil && x.Handle != nil {
return *x.Handle
2022-06-24 15:36:16 -07:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ExternalBlobReference) GetFileSizeBytes() uint64 {
if x != nil && x.FileSizeBytes != nil {
return *x.FileSizeBytes
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ExternalBlobReference) GetFileSha256() []byte {
2022-06-24 15:36:16 -07:00
if x != nil {
return x.FileSha256
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ExternalBlobReference) GetFileEncSha256() []byte {
2022-06-24 15:36:16 -07:00
if x != nil {
return x.FileEncSha256
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
return nil
2022-01-30 15:27:37 -08:00
}
type ExitCode struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Code *uint64 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ExitCode) Reset() {
*x = ExitCode{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[111]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ExitCode) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ExitCode) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ExitCode) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[111]
2022-01-30 15:27:37 -08:00
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 ExitCode.ProtoReflect.Descriptor instead.
func (*ExitCode) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{111}
2022-06-24 15:36:16 -07:00
}
func (x *ExitCode) GetCode() uint64 {
if x != nil && x.Code != nil {
return *x.Code
2022-06-24 15:36:16 -07:00
}
return 0
2022-06-24 15:36:16 -07:00
}
func (x *ExitCode) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
2022-06-24 15:36:16 -07:00
}
return ""
}
type SyncActionValue struct {
2022-06-24 15:36:16 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"`
StarAction *StarAction `protobuf:"bytes,2,opt,name=starAction" json:"starAction,omitempty"`
ContactAction *ContactAction `protobuf:"bytes,3,opt,name=contactAction" json:"contactAction,omitempty"`
MuteAction *MuteAction `protobuf:"bytes,4,opt,name=muteAction" json:"muteAction,omitempty"`
PinAction *PinAction `protobuf:"bytes,5,opt,name=pinAction" json:"pinAction,omitempty"`
SecurityNotificationSetting *SecurityNotificationSetting `protobuf:"bytes,6,opt,name=securityNotificationSetting" json:"securityNotificationSetting,omitempty"`
PushNameSetting *PushNameSetting `protobuf:"bytes,7,opt,name=pushNameSetting" json:"pushNameSetting,omitempty"`
QuickReplyAction *QuickReplyAction `protobuf:"bytes,8,opt,name=quickReplyAction" json:"quickReplyAction,omitempty"`
RecentEmojiWeightsAction *RecentEmojiWeightsAction `protobuf:"bytes,11,opt,name=recentEmojiWeightsAction" json:"recentEmojiWeightsAction,omitempty"`
LabelEditAction *LabelEditAction `protobuf:"bytes,14,opt,name=labelEditAction" json:"labelEditAction,omitempty"`
LabelAssociationAction *LabelAssociationAction `protobuf:"bytes,15,opt,name=labelAssociationAction" json:"labelAssociationAction,omitempty"`
LocaleSetting *LocaleSetting `protobuf:"bytes,16,opt,name=localeSetting" json:"localeSetting,omitempty"`
ArchiveChatAction *ArchiveChatAction `protobuf:"bytes,17,opt,name=archiveChatAction" json:"archiveChatAction,omitempty"`
DeleteMessageForMeAction *DeleteMessageForMeAction `protobuf:"bytes,18,opt,name=deleteMessageForMeAction" json:"deleteMessageForMeAction,omitempty"`
KeyExpiration *KeyExpiration `protobuf:"bytes,19,opt,name=keyExpiration" json:"keyExpiration,omitempty"`
MarkChatAsReadAction *MarkChatAsReadAction `protobuf:"bytes,20,opt,name=markChatAsReadAction" json:"markChatAsReadAction,omitempty"`
ClearChatAction *ClearChatAction `protobuf:"bytes,21,opt,name=clearChatAction" json:"clearChatAction,omitempty"`
DeleteChatAction *DeleteChatAction `protobuf:"bytes,22,opt,name=deleteChatAction" json:"deleteChatAction,omitempty"`
UnarchiveChatsSetting *UnarchiveChatsSetting `protobuf:"bytes,23,opt,name=unarchiveChatsSetting" json:"unarchiveChatsSetting,omitempty"`
PrimaryFeature *PrimaryFeature `protobuf:"bytes,24,opt,name=primaryFeature" json:"primaryFeature,omitempty"`
AndroidUnsupportedActions *AndroidUnsupportedActions `protobuf:"bytes,26,opt,name=androidUnsupportedActions" json:"androidUnsupportedActions,omitempty"`
AgentAction *AgentAction `protobuf:"bytes,27,opt,name=agentAction" json:"agentAction,omitempty"`
SubscriptionAction *SubscriptionAction `protobuf:"bytes,28,opt,name=subscriptionAction" json:"subscriptionAction,omitempty"`
UserStatusMuteAction *UserStatusMuteAction `protobuf:"bytes,29,opt,name=userStatusMuteAction" json:"userStatusMuteAction,omitempty"`
TimeFormatAction *TimeFormatAction `protobuf:"bytes,30,opt,name=timeFormatAction" json:"timeFormatAction,omitempty"`
NuxAction *NuxAction `protobuf:"bytes,31,opt,name=nuxAction" json:"nuxAction,omitempty"`
PrimaryVersionAction *PrimaryVersionAction `protobuf:"bytes,32,opt,name=primaryVersionAction" json:"primaryVersionAction,omitempty"`
StickerAction *StickerAction `protobuf:"bytes,33,opt,name=stickerAction" json:"stickerAction,omitempty"`
RemoveRecentStickerAction *RemoveRecentStickerAction `protobuf:"bytes,34,opt,name=removeRecentStickerAction" json:"removeRecentStickerAction,omitempty"`
ChatAssignment *ChatAssignmentAction `protobuf:"bytes,35,opt,name=chatAssignment" json:"chatAssignment,omitempty"`
ChatAssignmentOpenedStatus *ChatAssignmentOpenedStatusAction `protobuf:"bytes,36,opt,name=chatAssignmentOpenedStatus" json:"chatAssignmentOpenedStatus,omitempty"`
PnForLidChatAction *PnForLidChatAction `protobuf:"bytes,37,opt,name=pnForLidChatAction" json:"pnForLidChatAction,omitempty"`
MarketingMessageAction *MarketingMessageAction `protobuf:"bytes,38,opt,name=marketingMessageAction" json:"marketingMessageAction,omitempty"`
MarketingMessageBroadcastAction *MarketingMessageBroadcastAction `protobuf:"bytes,39,opt,name=marketingMessageBroadcastAction" json:"marketingMessageBroadcastAction,omitempty"`
ExternalWebBetaAction *ExternalWebBetaAction `protobuf:"bytes,40,opt,name=externalWebBetaAction" json:"externalWebBetaAction,omitempty"`
PrivacySettingRelayAllCalls *PrivacySettingRelayAllCalls `protobuf:"bytes,41,opt,name=privacySettingRelayAllCalls" json:"privacySettingRelayAllCalls,omitempty"`
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) Reset() {
*x = SyncActionValue{}
2022-06-24 15:36:16 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[112]
2022-06-24 15:36:16 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncActionValue) String() string {
2022-06-24 15:36:16 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*SyncActionValue) ProtoMessage() {}
2022-06-24 15:36:16 -07:00
func (x *SyncActionValue) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[112]
2022-06-24 15:36:16 -07:00
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 SyncActionValue.ProtoReflect.Descriptor instead.
func (*SyncActionValue) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{112}
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetTimestamp() int64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
2022-06-24 15:36:16 -07:00
}
return 0
}
func (x *SyncActionValue) GetStarAction() *StarAction {
if x != nil {
return x.StarAction
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetContactAction() *ContactAction {
if x != nil {
return x.ContactAction
}
return nil
}
2022-06-24 15:36:16 -07:00
func (x *SyncActionValue) GetMuteAction() *MuteAction {
if x != nil {
return x.MuteAction
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetPinAction() *PinAction {
if x != nil {
return x.PinAction
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetSecurityNotificationSetting() *SecurityNotificationSetting {
if x != nil {
return x.SecurityNotificationSetting
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetPushNameSetting() *PushNameSetting {
if x != nil {
return x.PushNameSetting
}
return nil
}
2022-06-24 15:36:16 -07:00
func (x *SyncActionValue) GetQuickReplyAction() *QuickReplyAction {
if x != nil {
return x.QuickReplyAction
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetRecentEmojiWeightsAction() *RecentEmojiWeightsAction {
if x != nil {
return x.RecentEmojiWeightsAction
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetLabelEditAction() *LabelEditAction {
if x != nil {
return x.LabelEditAction
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetLabelAssociationAction() *LabelAssociationAction {
if x != nil {
return x.LabelAssociationAction
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetLocaleSetting() *LocaleSetting {
if x != nil {
return x.LocaleSetting
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetArchiveChatAction() *ArchiveChatAction {
if x != nil {
return x.ArchiveChatAction
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetDeleteMessageForMeAction() *DeleteMessageForMeAction {
if x != nil {
return x.DeleteMessageForMeAction
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *SyncActionValue) GetKeyExpiration() *KeyExpiration {
if x != nil {
return x.KeyExpiration
2022-06-24 15:36:16 -07:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionValue) GetMarkChatAsReadAction() *MarkChatAsReadAction {
if x != nil {
return x.MarkChatAsReadAction
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionValue) GetClearChatAction() *ClearChatAction {
if x != nil {
return x.ClearChatAction
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionValue) GetDeleteChatAction() *DeleteChatAction {
if x != nil {
return x.DeleteChatAction
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionValue) GetUnarchiveChatsSetting() *UnarchiveChatsSetting {
if x != nil {
return x.UnarchiveChatsSetting
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionValue) GetPrimaryFeature() *PrimaryFeature {
if x != nil {
return x.PrimaryFeature
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *SyncActionValue) GetAndroidUnsupportedActions() *AndroidUnsupportedActions {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.AndroidUnsupportedActions
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *SyncActionValue) GetAgentAction() *AgentAction {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.AgentAction
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionValue) GetSubscriptionAction() *SubscriptionAction {
if x != nil {
return x.SubscriptionAction
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionValue) GetUserStatusMuteAction() *UserStatusMuteAction {
if x != nil {
return x.UserStatusMuteAction
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionValue) GetTimeFormatAction() *TimeFormatAction {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.TimeFormatAction
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionValue) GetNuxAction() *NuxAction {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.NuxAction
2022-01-30 15:27:37 -08:00
}
return nil
}
2022-11-26 15:42:16 -08:00
func (x *SyncActionValue) GetPrimaryVersionAction() *PrimaryVersionAction {
if x != nil {
return x.PrimaryVersionAction
}
return nil
}
func (x *SyncActionValue) GetStickerAction() *StickerAction {
if x != nil {
return x.StickerAction
}
return nil
}
func (x *SyncActionValue) GetRemoveRecentStickerAction() *RemoveRecentStickerAction {
if x != nil {
return x.RemoveRecentStickerAction
}
return nil
}
func (x *SyncActionValue) GetChatAssignment() *ChatAssignmentAction {
2022-01-30 15:27:37 -08:00
if x != nil {
2022-11-26 15:42:16 -08:00
return x.ChatAssignment
2022-01-30 15:27:37 -08:00
}
return nil
}
2022-11-26 15:42:16 -08:00
func (x *SyncActionValue) GetChatAssignmentOpenedStatus() *ChatAssignmentOpenedStatusAction {
if x != nil {
2022-11-26 15:42:16 -08:00
return x.ChatAssignmentOpenedStatus
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
2023-01-28 13:57:53 -08:00
func (x *SyncActionValue) GetPnForLidChatAction() *PnForLidChatAction {
if x != nil {
return x.PnForLidChatAction
}
return nil
}
func (x *SyncActionValue) GetMarketingMessageAction() *MarketingMessageAction {
if x != nil {
return x.MarketingMessageAction
}
return nil
}
func (x *SyncActionValue) GetMarketingMessageBroadcastAction() *MarketingMessageBroadcastAction {
if x != nil {
return x.MarketingMessageBroadcastAction
}
return nil
}
func (x *SyncActionValue) GetExternalWebBetaAction() *ExternalWebBetaAction {
if x != nil {
return x.ExternalWebBetaAction
}
return nil
}
func (x *SyncActionValue) GetPrivacySettingRelayAllCalls() *PrivacySettingRelayAllCalls {
if x != nil {
return x.PrivacySettingRelayAllCalls
}
return nil
}
type UserStatusMuteAction struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Muted *bool `protobuf:"varint,1,opt,name=muted" json:"muted,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *UserStatusMuteAction) Reset() {
*x = UserStatusMuteAction{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[113]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserStatusMuteAction) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*UserStatusMuteAction) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *UserStatusMuteAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[113]
2022-01-30 15:27:37 -08:00
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 UserStatusMuteAction.ProtoReflect.Descriptor instead.
func (*UserStatusMuteAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{113}
2022-01-30 15:27:37 -08:00
}
func (x *UserStatusMuteAction) GetMuted() bool {
if x != nil && x.Muted != nil {
return *x.Muted
2022-03-12 14:02:04 -08:00
}
return false
2022-03-12 14:02:04 -08:00
}
type UnarchiveChatsSetting struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UnarchiveChats *bool `protobuf:"varint,1,opt,name=unarchiveChats" json:"unarchiveChats,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *UnarchiveChatsSetting) Reset() {
*x = UnarchiveChatsSetting{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[114]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UnarchiveChatsSetting) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*UnarchiveChatsSetting) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *UnarchiveChatsSetting) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[114]
2022-01-30 15:27:37 -08:00
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 UnarchiveChatsSetting.ProtoReflect.Descriptor instead.
func (*UnarchiveChatsSetting) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{114}
2022-01-30 15:27:37 -08:00
}
func (x *UnarchiveChatsSetting) GetUnarchiveChats() bool {
if x != nil && x.UnarchiveChats != nil {
return *x.UnarchiveChats
2022-03-12 14:02:04 -08:00
}
return false
2022-03-12 14:02:04 -08:00
}
type TimeFormatAction struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IsTwentyFourHourFormatEnabled *bool `protobuf:"varint,1,opt,name=isTwentyFourHourFormatEnabled" json:"isTwentyFourHourFormatEnabled,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *TimeFormatAction) Reset() {
*x = TimeFormatAction{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[115]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TimeFormatAction) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*TimeFormatAction) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *TimeFormatAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[115]
2022-01-30 15:27:37 -08:00
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 TimeFormatAction.ProtoReflect.Descriptor instead.
func (*TimeFormatAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{115}
2022-01-30 15:27:37 -08:00
}
func (x *TimeFormatAction) GetIsTwentyFourHourFormatEnabled() bool {
if x != nil && x.IsTwentyFourHourFormatEnabled != nil {
return *x.IsTwentyFourHourFormatEnabled
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
type SyncActionMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *SyncActionMessage) Reset() {
*x = SyncActionMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[116]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
}
func (x *SyncActionMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2022-03-12 14:02:04 -08:00
}
func (*SyncActionMessage) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *SyncActionMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[116]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-03-12 14:02:04 -08:00
}
// Deprecated: Use SyncActionMessage.ProtoReflect.Descriptor instead.
func (*SyncActionMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{116}
2022-03-12 14:02:04 -08:00
}
func (x *SyncActionMessage) GetKey() *MessageKey {
if x != nil {
return x.Key
2022-06-11 14:07:42 -07:00
}
return nil
2022-06-11 14:07:42 -07:00
}
func (x *SyncActionMessage) GetTimestamp() int64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
2022-06-11 14:07:42 -07:00
}
return 0
}
type SyncActionMessageRange struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LastMessageTimestamp *int64 `protobuf:"varint,1,opt,name=lastMessageTimestamp" json:"lastMessageTimestamp,omitempty"`
LastSystemMessageTimestamp *int64 `protobuf:"varint,2,opt,name=lastSystemMessageTimestamp" json:"lastSystemMessageTimestamp,omitempty"`
Messages []*SyncActionMessage `protobuf:"bytes,3,rep,name=messages" json:"messages,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionMessageRange) Reset() {
*x = SyncActionMessageRange{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[117]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SyncActionMessageRange) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*SyncActionMessageRange) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *SyncActionMessageRange) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[117]
2022-01-30 15:27:37 -08:00
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 SyncActionMessageRange.ProtoReflect.Descriptor instead.
func (*SyncActionMessageRange) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{117}
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionMessageRange) GetLastMessageTimestamp() int64 {
if x != nil && x.LastMessageTimestamp != nil {
return *x.LastMessageTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionMessageRange) GetLastSystemMessageTimestamp() int64 {
if x != nil && x.LastSystemMessageTimestamp != nil {
return *x.LastSystemMessageTimestamp
}
return 0
}
func (x *SyncActionMessageRange) GetMessages() []*SyncActionMessage {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Messages
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
type SubscriptionAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IsDeactivated *bool `protobuf:"varint,1,opt,name=isDeactivated" json:"isDeactivated,omitempty"`
IsAutoRenewing *bool `protobuf:"varint,2,opt,name=isAutoRenewing" json:"isAutoRenewing,omitempty"`
ExpirationDate *int64 `protobuf:"varint,3,opt,name=expirationDate" json:"expirationDate,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SubscriptionAction) Reset() {
*x = SubscriptionAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[118]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *SubscriptionAction) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*SubscriptionAction) ProtoMessage() {}
func (x *SubscriptionAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[118]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use SubscriptionAction.ProtoReflect.Descriptor instead.
func (*SubscriptionAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{118}
}
func (x *SubscriptionAction) GetIsDeactivated() bool {
if x != nil && x.IsDeactivated != nil {
return *x.IsDeactivated
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return false
2022-01-30 15:27:37 -08:00
}
func (x *SubscriptionAction) GetIsAutoRenewing() bool {
if x != nil && x.IsAutoRenewing != nil {
return *x.IsAutoRenewing
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return false
2022-01-30 15:27:37 -08:00
}
func (x *SubscriptionAction) GetExpirationDate() int64 {
if x != nil && x.ExpirationDate != nil {
return *x.ExpirationDate
2022-03-12 14:02:04 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type StickerAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,2,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey" json:"mediaKey,omitempty"`
Mimetype *string `protobuf:"bytes,4,opt,name=mimetype" json:"mimetype,omitempty"`
Height *uint32 `protobuf:"varint,5,opt,name=height" json:"height,omitempty"`
Width *uint32 `protobuf:"varint,6,opt,name=width" json:"width,omitempty"`
DirectPath *string `protobuf:"bytes,7,opt,name=directPath" json:"directPath,omitempty"`
FileLength *uint64 `protobuf:"varint,8,opt,name=fileLength" json:"fileLength,omitempty"`
IsFavorite *bool `protobuf:"varint,9,opt,name=isFavorite" json:"isFavorite,omitempty"`
DeviceIdHint *uint32 `protobuf:"varint,10,opt,name=deviceIdHint" json:"deviceIdHint,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *StickerAction) Reset() {
*x = StickerAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[119]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
}
func (x *StickerAction) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*StickerAction) ProtoMessage() {}
func (x *StickerAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[119]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use StickerAction.ProtoReflect.Descriptor instead.
func (*StickerAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{119}
2022-01-30 15:27:37 -08:00
}
func (x *StickerAction) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *StickerAction) GetFileEncSha256() []byte {
if x != nil {
return x.FileEncSha256
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *StickerAction) GetMediaKey() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.MediaKey
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *StickerAction) GetMimetype() string {
if x != nil && x.Mimetype != nil {
return *x.Mimetype
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *StickerAction) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StickerAction) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StickerAction) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *StickerAction) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
2022-01-30 15:27:37 -08:00
}
return 0
}
func (x *StickerAction) GetIsFavorite() bool {
if x != nil && x.IsFavorite != nil {
return *x.IsFavorite
2022-03-12 14:02:04 -08:00
}
return false
2022-03-12 14:02:04 -08:00
}
func (x *StickerAction) GetDeviceIdHint() uint32 {
if x != nil && x.DeviceIdHint != nil {
return *x.DeviceIdHint
2022-01-30 15:27:37 -08:00
}
return 0
}
type StarAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Starred *bool `protobuf:"varint,1,opt,name=starred" json:"starred,omitempty"`
}
func (x *StarAction) Reset() {
*x = StarAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[120]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *StarAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StarAction) ProtoMessage() {}
func (x *StarAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[120]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use StarAction.ProtoReflect.Descriptor instead.
func (*StarAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{120}
}
func (x *StarAction) GetStarred() bool {
if x != nil && x.Starred != nil {
return *x.Starred
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
type SecurityNotificationSetting struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ShowNotification *bool `protobuf:"varint,1,opt,name=showNotification" json:"showNotification,omitempty"`
}
func (x *SecurityNotificationSetting) Reset() {
*x = SecurityNotificationSetting{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[121]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *SecurityNotificationSetting) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SecurityNotificationSetting) ProtoMessage() {}
func (x *SecurityNotificationSetting) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[121]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use SecurityNotificationSetting.ProtoReflect.Descriptor instead.
func (*SecurityNotificationSetting) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{121}
}
func (x *SecurityNotificationSetting) GetShowNotification() bool {
if x != nil && x.ShowNotification != nil {
return *x.ShowNotification
2022-06-24 15:36:16 -07:00
}
return false
2022-01-30 15:27:37 -08:00
}
type RemoveRecentStickerAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LastStickerSentTs *int64 `protobuf:"varint,1,opt,name=lastStickerSentTs" json:"lastStickerSentTs,omitempty"`
}
func (x *RemoveRecentStickerAction) Reset() {
*x = RemoveRecentStickerAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[122]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RemoveRecentStickerAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemoveRecentStickerAction) ProtoMessage() {}
func (x *RemoveRecentStickerAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[122]
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 RemoveRecentStickerAction.ProtoReflect.Descriptor instead.
func (*RemoveRecentStickerAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{122}
}
func (x *RemoveRecentStickerAction) GetLastStickerSentTs() int64 {
if x != nil && x.LastStickerSentTs != nil {
return *x.LastStickerSentTs
}
return 0
}
type RecentEmojiWeightsAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Weights []*RecentEmojiWeight `protobuf:"bytes,1,rep,name=weights" json:"weights,omitempty"`
}
func (x *RecentEmojiWeightsAction) Reset() {
*x = RecentEmojiWeightsAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[123]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *RecentEmojiWeightsAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RecentEmojiWeightsAction) ProtoMessage() {}
func (x *RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[123]
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 RecentEmojiWeightsAction.ProtoReflect.Descriptor instead.
func (*RecentEmojiWeightsAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{123}
}
func (x *RecentEmojiWeightsAction) GetWeights() []*RecentEmojiWeight {
if x != nil {
return x.Weights
}
return nil
}
type QuickReplyAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Shortcut *string `protobuf:"bytes,1,opt,name=shortcut" json:"shortcut,omitempty"`
Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
Keywords []string `protobuf:"bytes,3,rep,name=keywords" json:"keywords,omitempty"`
Count *int32 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"`
Deleted *bool `protobuf:"varint,5,opt,name=deleted" json:"deleted,omitempty"`
}
func (x *QuickReplyAction) Reset() {
*x = QuickReplyAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[124]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QuickReplyAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QuickReplyAction) ProtoMessage() {}
func (x *QuickReplyAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[124]
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 QuickReplyAction.ProtoReflect.Descriptor instead.
func (*QuickReplyAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{124}
}
func (x *QuickReplyAction) GetShortcut() string {
if x != nil && x.Shortcut != nil {
return *x.Shortcut
2022-06-24 15:36:16 -07:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *QuickReplyAction) GetMessage() string {
if x != nil && x.Message != nil {
return *x.Message
2022-06-24 15:36:16 -07:00
}
return ""
}
func (x *QuickReplyAction) GetKeywords() []string {
if x != nil {
return x.Keywords
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *QuickReplyAction) GetCount() int32 {
if x != nil && x.Count != nil {
return *x.Count
}
return 0
}
func (x *QuickReplyAction) GetDeleted() bool {
if x != nil && x.Deleted != nil {
return *x.Deleted
}
return false
}
type PushNameSetting struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (x *PushNameSetting) Reset() {
*x = PushNameSetting{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[125]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PushNameSetting) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PushNameSetting) ProtoMessage() {}
func (x *PushNameSetting) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[125]
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 PushNameSetting.ProtoReflect.Descriptor instead.
func (*PushNameSetting) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{125}
}
func (x *PushNameSetting) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
type PrivacySettingRelayAllCalls struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IsEnabled *bool `protobuf:"varint,1,opt,name=isEnabled" json:"isEnabled,omitempty"`
}
func (x *PrivacySettingRelayAllCalls) Reset() {
*x = PrivacySettingRelayAllCalls{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[126]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrivacySettingRelayAllCalls) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrivacySettingRelayAllCalls) ProtoMessage() {}
func (x *PrivacySettingRelayAllCalls) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[126]
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 PrivacySettingRelayAllCalls.ProtoReflect.Descriptor instead.
func (*PrivacySettingRelayAllCalls) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{126}
}
func (x *PrivacySettingRelayAllCalls) GetIsEnabled() bool {
if x != nil && x.IsEnabled != nil {
return *x.IsEnabled
}
return false
}
type PrimaryVersionAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version *string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
}
func (x *PrimaryVersionAction) Reset() {
*x = PrimaryVersionAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[127]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrimaryVersionAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrimaryVersionAction) ProtoMessage() {}
func (x *PrimaryVersionAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[127]
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 PrimaryVersionAction.ProtoReflect.Descriptor instead.
func (*PrimaryVersionAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{127}
}
func (x *PrimaryVersionAction) GetVersion() string {
if x != nil && x.Version != nil {
return *x.Version
}
return ""
}
type PrimaryFeature struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Flags []string `protobuf:"bytes,1,rep,name=flags" json:"flags,omitempty"`
}
func (x *PrimaryFeature) Reset() {
*x = PrimaryFeature{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[128]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrimaryFeature) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrimaryFeature) ProtoMessage() {}
func (x *PrimaryFeature) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[128]
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 PrimaryFeature.ProtoReflect.Descriptor instead.
func (*PrimaryFeature) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{128}
}
func (x *PrimaryFeature) GetFlags() []string {
if x != nil {
return x.Flags
}
return nil
}
2023-01-28 13:57:53 -08:00
type PnForLidChatAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PnJid *string `protobuf:"bytes,1,opt,name=pnJid" json:"pnJid,omitempty"`
}
func (x *PnForLidChatAction) Reset() {
*x = PnForLidChatAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[129]
2023-01-28 13:57:53 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PnForLidChatAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PnForLidChatAction) ProtoMessage() {}
func (x *PnForLidChatAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[129]
2023-01-28 13:57:53 -08:00
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 PnForLidChatAction.ProtoReflect.Descriptor instead.
func (*PnForLidChatAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{129}
2023-01-28 13:57:53 -08:00
}
func (x *PnForLidChatAction) GetPnJid() string {
if x != nil && x.PnJid != nil {
return *x.PnJid
}
return ""
}
type PinAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Pinned *bool `protobuf:"varint,1,opt,name=pinned" json:"pinned,omitempty"`
}
func (x *PinAction) Reset() {
*x = PinAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[130]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PinAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PinAction) ProtoMessage() {}
func (x *PinAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[130]
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 PinAction.ProtoReflect.Descriptor instead.
func (*PinAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{130}
}
func (x *PinAction) GetPinned() bool {
if x != nil && x.Pinned != nil {
return *x.Pinned
}
return false
}
type NuxAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Acknowledged *bool `protobuf:"varint,1,opt,name=acknowledged" json:"acknowledged,omitempty"`
}
func (x *NuxAction) Reset() {
*x = NuxAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[131]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NuxAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NuxAction) ProtoMessage() {}
func (x *NuxAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[131]
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 NuxAction.ProtoReflect.Descriptor instead.
func (*NuxAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{131}
}
func (x *NuxAction) GetAcknowledged() bool {
if x != nil && x.Acknowledged != nil {
return *x.Acknowledged
}
return false
}
type MuteAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Muted *bool `protobuf:"varint,1,opt,name=muted" json:"muted,omitempty"`
MuteEndTimestamp *int64 `protobuf:"varint,2,opt,name=muteEndTimestamp" json:"muteEndTimestamp,omitempty"`
2022-11-26 15:42:16 -08:00
AutoMuted *bool `protobuf:"varint,3,opt,name=autoMuted" json:"autoMuted,omitempty"`
}
func (x *MuteAction) Reset() {
*x = MuteAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[132]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MuteAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MuteAction) ProtoMessage() {}
func (x *MuteAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[132]
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 MuteAction.ProtoReflect.Descriptor instead.
func (*MuteAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{132}
}
func (x *MuteAction) GetMuted() bool {
if x != nil && x.Muted != nil {
return *x.Muted
}
return false
}
func (x *MuteAction) GetMuteEndTimestamp() int64 {
if x != nil && x.MuteEndTimestamp != nil {
return *x.MuteEndTimestamp
}
return 0
}
2022-11-26 15:42:16 -08:00
func (x *MuteAction) GetAutoMuted() bool {
if x != nil && x.AutoMuted != nil {
return *x.AutoMuted
}
return false
}
type MarketingMessageBroadcastAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RepliedCount *int32 `protobuf:"varint,1,opt,name=repliedCount" json:"repliedCount,omitempty"`
}
func (x *MarketingMessageBroadcastAction) Reset() {
*x = MarketingMessageBroadcastAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[133]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MarketingMessageBroadcastAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MarketingMessageBroadcastAction) ProtoMessage() {}
func (x *MarketingMessageBroadcastAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[133]
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 MarketingMessageBroadcastAction.ProtoReflect.Descriptor instead.
func (*MarketingMessageBroadcastAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{133}
}
func (x *MarketingMessageBroadcastAction) GetRepliedCount() int32 {
if x != nil && x.RepliedCount != nil {
return *x.RepliedCount
}
return 0
}
type MarketingMessageAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
Type *MarketingMessageAction_MarketingMessagePrototypeType `protobuf:"varint,3,opt,name=type,enum=proto.MarketingMessageAction_MarketingMessagePrototypeType" json:"type,omitempty"`
CreatedAt *int64 `protobuf:"varint,4,opt,name=createdAt" json:"createdAt,omitempty"`
LastSentAt *int64 `protobuf:"varint,5,opt,name=lastSentAt" json:"lastSentAt,omitempty"`
IsDeleted *bool `protobuf:"varint,6,opt,name=isDeleted" json:"isDeleted,omitempty"`
MediaId *string `protobuf:"bytes,7,opt,name=mediaId" json:"mediaId,omitempty"`
}
func (x *MarketingMessageAction) Reset() {
*x = MarketingMessageAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[134]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MarketingMessageAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MarketingMessageAction) ProtoMessage() {}
func (x *MarketingMessageAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[134]
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 MarketingMessageAction.ProtoReflect.Descriptor instead.
func (*MarketingMessageAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{134}
}
func (x *MarketingMessageAction) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *MarketingMessageAction) GetMessage() string {
if x != nil && x.Message != nil {
return *x.Message
}
return ""
}
func (x *MarketingMessageAction) GetType() MarketingMessageAction_MarketingMessagePrototypeType {
if x != nil && x.Type != nil {
return *x.Type
}
return MarketingMessageAction_PERSONALIZED
}
func (x *MarketingMessageAction) GetCreatedAt() int64 {
if x != nil && x.CreatedAt != nil {
return *x.CreatedAt
}
return 0
}
func (x *MarketingMessageAction) GetLastSentAt() int64 {
if x != nil && x.LastSentAt != nil {
return *x.LastSentAt
}
return 0
}
func (x *MarketingMessageAction) GetIsDeleted() bool {
if x != nil && x.IsDeleted != nil {
return *x.IsDeleted
}
return false
}
func (x *MarketingMessageAction) GetMediaId() string {
if x != nil && x.MediaId != nil {
return *x.MediaId
}
return ""
}
type MarkChatAsReadAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Read *bool `protobuf:"varint,1,opt,name=read" json:"read,omitempty"`
MessageRange *SyncActionMessageRange `protobuf:"bytes,2,opt,name=messageRange" json:"messageRange,omitempty"`
}
func (x *MarkChatAsReadAction) Reset() {
*x = MarkChatAsReadAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[135]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MarkChatAsReadAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MarkChatAsReadAction) ProtoMessage() {}
func (x *MarkChatAsReadAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[135]
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 MarkChatAsReadAction.ProtoReflect.Descriptor instead.
func (*MarkChatAsReadAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{135}
}
func (x *MarkChatAsReadAction) GetRead() bool {
if x != nil && x.Read != nil {
return *x.Read
}
return false
}
func (x *MarkChatAsReadAction) GetMessageRange() *SyncActionMessageRange {
if x != nil {
return x.MessageRange
}
return nil
}
type LocaleSetting struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Locale *string `protobuf:"bytes,1,opt,name=locale" json:"locale,omitempty"`
}
func (x *LocaleSetting) Reset() {
*x = LocaleSetting{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[136]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LocaleSetting) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LocaleSetting) ProtoMessage() {}
func (x *LocaleSetting) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[136]
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 LocaleSetting.ProtoReflect.Descriptor instead.
func (*LocaleSetting) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{136}
}
func (x *LocaleSetting) GetLocale() string {
if x != nil && x.Locale != nil {
return *x.Locale
}
return ""
}
type LabelEditAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Color *int32 `protobuf:"varint,2,opt,name=color" json:"color,omitempty"`
PredefinedId *int32 `protobuf:"varint,3,opt,name=predefinedId" json:"predefinedId,omitempty"`
Deleted *bool `protobuf:"varint,4,opt,name=deleted" json:"deleted,omitempty"`
}
func (x *LabelEditAction) Reset() {
*x = LabelEditAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[137]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LabelEditAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LabelEditAction) ProtoMessage() {}
func (x *LabelEditAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[137]
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 LabelEditAction.ProtoReflect.Descriptor instead.
func (*LabelEditAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{137}
}
func (x *LabelEditAction) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *LabelEditAction) GetColor() int32 {
if x != nil && x.Color != nil {
return *x.Color
}
return 0
}
func (x *LabelEditAction) GetPredefinedId() int32 {
if x != nil && x.PredefinedId != nil {
return *x.PredefinedId
}
return 0
}
func (x *LabelEditAction) GetDeleted() bool {
if x != nil && x.Deleted != nil {
return *x.Deleted
}
return false
}
type LabelAssociationAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Labeled *bool `protobuf:"varint,1,opt,name=labeled" json:"labeled,omitempty"`
}
func (x *LabelAssociationAction) Reset() {
*x = LabelAssociationAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[138]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LabelAssociationAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LabelAssociationAction) ProtoMessage() {}
func (x *LabelAssociationAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[138]
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 LabelAssociationAction.ProtoReflect.Descriptor instead.
func (*LabelAssociationAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{138}
}
func (x *LabelAssociationAction) GetLabeled() bool {
if x != nil && x.Labeled != nil {
return *x.Labeled
}
return false
}
type KeyExpiration struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ExpiredKeyEpoch *int32 `protobuf:"varint,1,opt,name=expiredKeyEpoch" json:"expiredKeyEpoch,omitempty"`
}
func (x *KeyExpiration) Reset() {
*x = KeyExpiration{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[139]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeyExpiration) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyExpiration) ProtoMessage() {}
func (x *KeyExpiration) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[139]
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 KeyExpiration.ProtoReflect.Descriptor instead.
func (*KeyExpiration) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{139}
}
func (x *KeyExpiration) GetExpiredKeyEpoch() int32 {
if x != nil && x.ExpiredKeyEpoch != nil {
return *x.ExpiredKeyEpoch
}
return 0
}
type ExternalWebBetaAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IsOptIn *bool `protobuf:"varint,1,opt,name=isOptIn" json:"isOptIn,omitempty"`
}
func (x *ExternalWebBetaAction) Reset() {
*x = ExternalWebBetaAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[140]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ExternalWebBetaAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExternalWebBetaAction) ProtoMessage() {}
func (x *ExternalWebBetaAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[140]
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 ExternalWebBetaAction.ProtoReflect.Descriptor instead.
func (*ExternalWebBetaAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{140}
}
func (x *ExternalWebBetaAction) GetIsOptIn() bool {
if x != nil && x.IsOptIn != nil {
return *x.IsOptIn
}
return false
}
type DeleteMessageForMeAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DeleteMedia *bool `protobuf:"varint,1,opt,name=deleteMedia" json:"deleteMedia,omitempty"`
MessageTimestamp *int64 `protobuf:"varint,2,opt,name=messageTimestamp" json:"messageTimestamp,omitempty"`
}
func (x *DeleteMessageForMeAction) Reset() {
*x = DeleteMessageForMeAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[141]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteMessageForMeAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteMessageForMeAction) ProtoMessage() {}
func (x *DeleteMessageForMeAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[141]
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 DeleteMessageForMeAction.ProtoReflect.Descriptor instead.
func (*DeleteMessageForMeAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{141}
}
func (x *DeleteMessageForMeAction) GetDeleteMedia() bool {
if x != nil && x.DeleteMedia != nil {
return *x.DeleteMedia
}
2022-11-26 15:42:16 -08:00
return false
}
func (x *DeleteMessageForMeAction) GetMessageTimestamp() int64 {
if x != nil && x.MessageTimestamp != nil {
return *x.MessageTimestamp
}
return 0
}
type DeleteChatAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageRange *SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange" json:"messageRange,omitempty"`
}
func (x *DeleteChatAction) Reset() {
*x = DeleteChatAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[142]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteChatAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteChatAction) ProtoMessage() {}
func (x *DeleteChatAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[142]
2022-11-26 15:42:16 -08:00
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 DeleteChatAction.ProtoReflect.Descriptor instead.
func (*DeleteChatAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{142}
2022-11-26 15:42:16 -08:00
}
func (x *DeleteChatAction) GetMessageRange() *SyncActionMessageRange {
if x != nil {
return x.MessageRange
}
return nil
}
type ContactAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FullName *string `protobuf:"bytes,1,opt,name=fullName" json:"fullName,omitempty"`
FirstName *string `protobuf:"bytes,2,opt,name=firstName" json:"firstName,omitempty"`
LidJid *string `protobuf:"bytes,3,opt,name=lidJid" json:"lidJid,omitempty"`
}
func (x *ContactAction) Reset() {
*x = ContactAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[143]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContactAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContactAction) ProtoMessage() {}
func (x *ContactAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[143]
2022-11-26 15:42:16 -08:00
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 ContactAction.ProtoReflect.Descriptor instead.
func (*ContactAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{143}
2022-11-26 15:42:16 -08:00
}
func (x *ContactAction) GetFullName() string {
if x != nil && x.FullName != nil {
return *x.FullName
}
return ""
}
func (x *ContactAction) GetFirstName() string {
if x != nil && x.FirstName != nil {
return *x.FirstName
}
return ""
}
2022-11-26 15:42:16 -08:00
func (x *ContactAction) GetLidJid() string {
if x != nil && x.LidJid != nil {
return *x.LidJid
}
2022-11-26 15:42:16 -08:00
return ""
}
2022-11-26 15:42:16 -08:00
type ClearChatAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageRange *SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange" json:"messageRange,omitempty"`
}
2022-11-26 15:42:16 -08:00
func (x *ClearChatAction) Reset() {
*x = ClearChatAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[144]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2022-11-26 15:42:16 -08:00
func (x *ClearChatAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
2022-11-26 15:42:16 -08:00
func (*ClearChatAction) ProtoMessage() {}
2022-11-26 15:42:16 -08:00
func (x *ClearChatAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[144]
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)
}
2022-11-26 15:42:16 -08:00
// Deprecated: Use ClearChatAction.ProtoReflect.Descriptor instead.
func (*ClearChatAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{144}
}
2022-11-26 15:42:16 -08:00
func (x *ClearChatAction) GetMessageRange() *SyncActionMessageRange {
if x != nil {
return x.MessageRange
}
return nil
}
2022-11-26 15:42:16 -08:00
type ChatAssignmentOpenedStatusAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-11-26 15:42:16 -08:00
ChatOpened *bool `protobuf:"varint,1,opt,name=chatOpened" json:"chatOpened,omitempty"`
}
2022-11-26 15:42:16 -08:00
func (x *ChatAssignmentOpenedStatusAction) Reset() {
*x = ChatAssignmentOpenedStatusAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[145]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-06-24 15:36:16 -07:00
}
}
2022-11-26 15:42:16 -08:00
func (x *ChatAssignmentOpenedStatusAction) String() string {
return protoimpl.X.MessageStringOf(x)
2022-06-24 15:36:16 -07:00
}
2022-11-26 15:42:16 -08:00
func (*ChatAssignmentOpenedStatusAction) ProtoMessage() {}
2022-11-26 15:42:16 -08:00
func (x *ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[145]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-06-24 15:36:16 -07:00
}
return mi.MessageOf(x)
2022-06-24 15:36:16 -07:00
}
2022-11-26 15:42:16 -08:00
// Deprecated: Use ChatAssignmentOpenedStatusAction.ProtoReflect.Descriptor instead.
func (*ChatAssignmentOpenedStatusAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{145}
2022-06-24 15:36:16 -07:00
}
2022-11-26 15:42:16 -08:00
func (x *ChatAssignmentOpenedStatusAction) GetChatOpened() bool {
if x != nil && x.ChatOpened != nil {
return *x.ChatOpened
2022-06-24 15:36:16 -07:00
}
2022-11-26 15:42:16 -08:00
return false
2022-06-24 15:36:16 -07:00
}
2022-11-26 15:42:16 -08:00
type ChatAssignmentAction struct {
2022-06-24 15:36:16 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-11-26 15:42:16 -08:00
DeviceAgentID *string `protobuf:"bytes,1,opt,name=deviceAgentID" json:"deviceAgentID,omitempty"`
2022-06-24 15:36:16 -07:00
}
2022-11-26 15:42:16 -08:00
func (x *ChatAssignmentAction) Reset() {
*x = ChatAssignmentAction{}
2022-06-24 15:36:16 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[146]
2022-06-24 15:36:16 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2022-11-26 15:42:16 -08:00
func (x *ChatAssignmentAction) String() string {
2022-06-24 15:36:16 -07:00
return protoimpl.X.MessageStringOf(x)
}
2022-11-26 15:42:16 -08:00
func (*ChatAssignmentAction) ProtoMessage() {}
2022-06-24 15:36:16 -07:00
2022-11-26 15:42:16 -08:00
func (x *ChatAssignmentAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[146]
2022-01-30 15:27:37 -08:00
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)
}
2022-11-26 15:42:16 -08:00
// Deprecated: Use ChatAssignmentAction.ProtoReflect.Descriptor instead.
func (*ChatAssignmentAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{146}
2022-01-30 15:27:37 -08:00
}
2022-11-26 15:42:16 -08:00
func (x *ChatAssignmentAction) GetDeviceAgentID() string {
if x != nil && x.DeviceAgentID != nil {
return *x.DeviceAgentID
2022-01-30 15:27:37 -08:00
}
2022-11-26 15:42:16 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
type ArchiveChatAction struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Archived *bool `protobuf:"varint,1,opt,name=archived" json:"archived,omitempty"`
MessageRange *SyncActionMessageRange `protobuf:"bytes,2,opt,name=messageRange" json:"messageRange,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ArchiveChatAction) Reset() {
*x = ArchiveChatAction{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[147]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ArchiveChatAction) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ArchiveChatAction) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ArchiveChatAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[147]
2022-03-12 14:02:04 -08:00
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)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ArchiveChatAction.ProtoReflect.Descriptor instead.
func (*ArchiveChatAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{147}
2022-01-30 15:27:37 -08:00
}
func (x *ArchiveChatAction) GetArchived() bool {
if x != nil && x.Archived != nil {
return *x.Archived
2022-03-12 14:02:04 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *ArchiveChatAction) GetMessageRange() *SyncActionMessageRange {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.MessageRange
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type AndroidUnsupportedActions struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Allowed *bool `protobuf:"varint,1,opt,name=allowed" json:"allowed,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AndroidUnsupportedActions) Reset() {
*x = AndroidUnsupportedActions{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[148]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AndroidUnsupportedActions) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*AndroidUnsupportedActions) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *AndroidUnsupportedActions) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[148]
2022-01-30 15:27:37 -08:00
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 AndroidUnsupportedActions.ProtoReflect.Descriptor instead.
func (*AndroidUnsupportedActions) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{148}
2022-01-30 15:27:37 -08:00
}
func (x *AndroidUnsupportedActions) GetAllowed() bool {
if x != nil && x.Allowed != nil {
return *x.Allowed
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
type AgentAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
DeviceID *int32 `protobuf:"varint,2,opt,name=deviceID" json:"deviceID,omitempty"`
IsDeleted *bool `protobuf:"varint,3,opt,name=isDeleted" json:"isDeleted,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *AgentAction) Reset() {
*x = AgentAction{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[149]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *AgentAction) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*AgentAction) ProtoMessage() {}
func (x *AgentAction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[149]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use AgentAction.ProtoReflect.Descriptor instead.
func (*AgentAction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{149}
2022-01-30 15:27:37 -08:00
}
func (x *AgentAction) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *AgentAction) GetDeviceID() int32 {
if x != nil && x.DeviceID != nil {
return *x.DeviceID
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *AgentAction) GetIsDeleted() bool {
if x != nil && x.IsDeleted != nil {
return *x.IsDeleted
2022-01-30 15:27:37 -08:00
}
return false
}
type SyncActionData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Index []byte `protobuf:"bytes,1,opt,name=index" json:"index,omitempty"`
Value *SyncActionValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
Padding []byte `protobuf:"bytes,3,opt,name=padding" json:"padding,omitempty"`
Version *int32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionData) Reset() {
*x = SyncActionData{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[150]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *SyncActionData) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*SyncActionData) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *SyncActionData) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[150]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use SyncActionData.ProtoReflect.Descriptor instead.
func (*SyncActionData) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{150}
2022-01-30 15:27:37 -08:00
}
func (x *SyncActionData) GetIndex() []byte {
if x != nil {
return x.Index
2022-04-25 14:50:10 -07:00
}
return nil
2022-04-25 14:50:10 -07:00
}
func (x *SyncActionData) GetValue() *SyncActionValue {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.Value
2022-04-25 14:50:10 -07:00
}
return nil
}
func (x *SyncActionData) GetPadding() []byte {
if x != nil {
return x.Padding
2022-04-25 14:50:10 -07:00
}
return nil
2022-04-25 14:50:10 -07:00
}
func (x *SyncActionData) GetVersion() int32 {
if x != nil && x.Version != nil {
return *x.Version
2022-06-24 15:36:16 -07:00
}
return 0
2022-06-24 15:36:16 -07:00
}
type RecentEmojiWeight struct {
2022-04-25 14:50:10 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Emoji *string `protobuf:"bytes,1,opt,name=emoji" json:"emoji,omitempty"`
Weight *float32 `protobuf:"fixed32,2,opt,name=weight" json:"weight,omitempty"`
2022-04-25 14:50:10 -07:00
}
func (x *RecentEmojiWeight) Reset() {
*x = RecentEmojiWeight{}
2022-04-25 14:50:10 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[151]
2022-04-25 14:50:10 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RecentEmojiWeight) String() string {
2022-04-25 14:50:10 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*RecentEmojiWeight) ProtoMessage() {}
2022-04-25 14:50:10 -07:00
func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[151]
2022-04-25 14:50:10 -07:00
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 RecentEmojiWeight.ProtoReflect.Descriptor instead.
func (*RecentEmojiWeight) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{151}
2022-04-25 14:50:10 -07:00
}
func (x *RecentEmojiWeight) GetEmoji() string {
if x != nil && x.Emoji != nil {
return *x.Emoji
2022-04-25 14:50:10 -07:00
}
return ""
}
func (x *RecentEmojiWeight) GetWeight() float32 {
if x != nil && x.Weight != nil {
return *x.Weight
}
return 0
}
type VerifiedNameCertificate struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
ServerSignature []byte `protobuf:"bytes,3,opt,name=serverSignature" json:"serverSignature,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *VerifiedNameCertificate) Reset() {
*x = VerifiedNameCertificate{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[152]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *VerifiedNameCertificate) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*VerifiedNameCertificate) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[152]
2022-01-30 15:27:37 -08:00
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 VerifiedNameCertificate.ProtoReflect.Descriptor instead.
func (*VerifiedNameCertificate) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{152}
2022-01-30 15:27:37 -08:00
}
func (x *VerifiedNameCertificate) GetDetails() []byte {
if x != nil {
return x.Details
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *VerifiedNameCertificate) GetSignature() []byte {
if x != nil {
return x.Signature
}
return nil
}
func (x *VerifiedNameCertificate) GetServerSignature() []byte {
if x != nil {
return x.ServerSignature
}
return nil
}
type LocalizedName struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Lg *string `protobuf:"bytes,1,opt,name=lg" json:"lg,omitempty"`
Lc *string `protobuf:"bytes,2,opt,name=lc" json:"lc,omitempty"`
VerifiedName *string `protobuf:"bytes,3,opt,name=verifiedName" json:"verifiedName,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *LocalizedName) Reset() {
*x = LocalizedName{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[153]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *LocalizedName) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*LocalizedName) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *LocalizedName) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[153]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use LocalizedName.ProtoReflect.Descriptor instead.
func (*LocalizedName) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{153}
2022-01-30 15:27:37 -08:00
}
func (x *LocalizedName) GetLg() string {
if x != nil && x.Lg != nil {
return *x.Lg
2022-03-12 14:02:04 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *LocalizedName) GetLc() string {
if x != nil && x.Lc != nil {
return *x.Lc
2022-03-12 14:02:04 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *LocalizedName) GetVerifiedName() string {
if x != nil && x.VerifiedName != nil {
return *x.VerifiedName
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
type BizIdentityInfo struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Vlevel *BizIdentityInfo_VerifiedLevelValue `protobuf:"varint,1,opt,name=vlevel,enum=proto.BizIdentityInfo_VerifiedLevelValue" json:"vlevel,omitempty"`
VnameCert *VerifiedNameCertificate `protobuf:"bytes,2,opt,name=vnameCert" json:"vnameCert,omitempty"`
Signed *bool `protobuf:"varint,3,opt,name=signed" json:"signed,omitempty"`
Revoked *bool `protobuf:"varint,4,opt,name=revoked" json:"revoked,omitempty"`
HostStorage *BizIdentityInfo_HostStorageType `protobuf:"varint,5,opt,name=hostStorage,enum=proto.BizIdentityInfo_HostStorageType" json:"hostStorage,omitempty"`
ActualActors *BizIdentityInfo_ActualActorsType `protobuf:"varint,6,opt,name=actualActors,enum=proto.BizIdentityInfo_ActualActorsType" json:"actualActors,omitempty"`
PrivacyModeTs *uint64 `protobuf:"varint,7,opt,name=privacyModeTs" json:"privacyModeTs,omitempty"`
FeatureControls *uint64 `protobuf:"varint,8,opt,name=featureControls" json:"featureControls,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *BizIdentityInfo) Reset() {
*x = BizIdentityInfo{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[154]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BizIdentityInfo) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*BizIdentityInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[154]
2022-01-30 15:27:37 -08:00
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 BizIdentityInfo.ProtoReflect.Descriptor instead.
func (*BizIdentityInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{154}
2022-01-30 15:27:37 -08:00
}
func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue {
if x != nil && x.Vlevel != nil {
return *x.Vlevel
2022-01-30 15:27:37 -08:00
}
return BizIdentityInfo_UNKNOWN
2022-01-30 15:27:37 -08:00
}
func (x *BizIdentityInfo) GetVnameCert() *VerifiedNameCertificate {
if x != nil {
return x.VnameCert
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *BizIdentityInfo) GetSigned() bool {
if x != nil && x.Signed != nil {
return *x.Signed
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *BizIdentityInfo) GetRevoked() bool {
if x != nil && x.Revoked != nil {
return *x.Revoked
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *BizIdentityInfo) GetHostStorage() BizIdentityInfo_HostStorageType {
if x != nil && x.HostStorage != nil {
return *x.HostStorage
}
return BizIdentityInfo_ON_PREMISE
}
2022-01-30 15:27:37 -08:00
func (x *BizIdentityInfo) GetActualActors() BizIdentityInfo_ActualActorsType {
if x != nil && x.ActualActors != nil {
return *x.ActualActors
2022-01-30 15:27:37 -08:00
}
return BizIdentityInfo_SELF
2022-01-30 15:27:37 -08:00
}
func (x *BizIdentityInfo) GetPrivacyModeTs() uint64 {
if x != nil && x.PrivacyModeTs != nil {
return *x.PrivacyModeTs
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *BizIdentityInfo) GetFeatureControls() uint64 {
if x != nil && x.FeatureControls != nil {
return *x.FeatureControls
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return 0
2022-01-30 15:27:37 -08:00
}
type BizAccountPayload struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
VnameCert *VerifiedNameCertificate `protobuf:"bytes,1,opt,name=vnameCert" json:"vnameCert,omitempty"`
BizAcctLinkInfo []byte `protobuf:"bytes,2,opt,name=bizAcctLinkInfo" json:"bizAcctLinkInfo,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *BizAccountPayload) Reset() {
*x = BizAccountPayload{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[155]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BizAccountPayload) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*BizAccountPayload) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *BizAccountPayload) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[155]
2022-01-30 15:27:37 -08:00
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 BizAccountPayload.ProtoReflect.Descriptor instead.
func (*BizAccountPayload) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{155}
2022-01-30 15:27:37 -08:00
}
func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.VnameCert
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *BizAccountPayload) GetBizAcctLinkInfo() []byte {
if x != nil {
return x.BizAcctLinkInfo
}
return nil
}
type BizAccountLinkInfo struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
WhatsappBizAcctFbid *uint64 `protobuf:"varint,1,opt,name=whatsappBizAcctFbid" json:"whatsappBizAcctFbid,omitempty"`
WhatsappAcctNumber *string `protobuf:"bytes,2,opt,name=whatsappAcctNumber" json:"whatsappAcctNumber,omitempty"`
IssueTime *uint64 `protobuf:"varint,3,opt,name=issueTime" json:"issueTime,omitempty"`
HostStorage *BizAccountLinkInfo_HostStorageType `protobuf:"varint,4,opt,name=hostStorage,enum=proto.BizAccountLinkInfo_HostStorageType" json:"hostStorage,omitempty"`
AccountType *BizAccountLinkInfo_AccountType `protobuf:"varint,5,opt,name=accountType,enum=proto.BizAccountLinkInfo_AccountType" json:"accountType,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *BizAccountLinkInfo) Reset() {
*x = BizAccountLinkInfo{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[156]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *BizAccountLinkInfo) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*BizAccountLinkInfo) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[156]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use BizAccountLinkInfo.ProtoReflect.Descriptor instead.
func (*BizAccountLinkInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{156}
2022-01-30 15:27:37 -08:00
}
func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 {
if x != nil && x.WhatsappBizAcctFbid != nil {
return *x.WhatsappBizAcctFbid
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *BizAccountLinkInfo) GetWhatsappAcctNumber() string {
if x != nil && x.WhatsappAcctNumber != nil {
return *x.WhatsappAcctNumber
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *BizAccountLinkInfo) GetIssueTime() uint64 {
if x != nil && x.IssueTime != nil {
return *x.IssueTime
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *BizAccountLinkInfo) GetHostStorage() BizAccountLinkInfo_HostStorageType {
if x != nil && x.HostStorage != nil {
return *x.HostStorage
2022-01-30 15:27:37 -08:00
}
return BizAccountLinkInfo_ON_PREMISE
2022-01-30 15:27:37 -08:00
}
func (x *BizAccountLinkInfo) GetAccountType() BizAccountLinkInfo_AccountType {
if x != nil && x.AccountType != nil {
return *x.AccountType
}
return BizAccountLinkInfo_ENTERPRISE
}
type HandshakeMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ClientHello *HandshakeClientHello `protobuf:"bytes,2,opt,name=clientHello" json:"clientHello,omitempty"`
ServerHello *HandshakeServerHello `protobuf:"bytes,3,opt,name=serverHello" json:"serverHello,omitempty"`
ClientFinish *HandshakeClientFinish `protobuf:"bytes,4,opt,name=clientFinish" json:"clientFinish,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeMessage) Reset() {
*x = HandshakeMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[157]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HandshakeMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HandshakeMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HandshakeMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[157]
2022-01-30 15:27:37 -08:00
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 HandshakeMessage.ProtoReflect.Descriptor instead.
func (*HandshakeMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{157}
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeMessage) GetClientHello() *HandshakeClientHello {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.ClientHello
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *HandshakeMessage) GetServerHello() *HandshakeServerHello {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.ServerHello
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *HandshakeMessage) GetClientFinish() *HandshakeClientFinish {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.ClientFinish
2022-01-30 15:27:37 -08:00
}
return nil
}
type HandshakeServerHello struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral" json:"ephemeral,omitempty"`
Static []byte `protobuf:"bytes,2,opt,name=static" json:"static,omitempty"`
Payload []byte `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeServerHello) Reset() {
*x = HandshakeServerHello{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[158]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HandshakeServerHello) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HandshakeServerHello) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HandshakeServerHello) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[158]
2022-01-30 15:27:37 -08:00
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 HandshakeServerHello.ProtoReflect.Descriptor instead.
func (*HandshakeServerHello) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{158}
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeServerHello) GetEphemeral() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Ephemeral
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeServerHello) GetStatic() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Static
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeServerHello) GetPayload() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.Payload
2022-01-30 15:27:37 -08:00
}
return nil
}
type HandshakeClientHello struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral" json:"ephemeral,omitempty"`
Static []byte `protobuf:"bytes,2,opt,name=static" json:"static,omitempty"`
Payload []byte `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeClientHello) Reset() {
*x = HandshakeClientHello{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[159]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HandshakeClientHello) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HandshakeClientHello) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HandshakeClientHello) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[159]
2022-01-30 15:27:37 -08:00
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 HandshakeClientHello.ProtoReflect.Descriptor instead.
func (*HandshakeClientHello) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{159}
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeClientHello) GetEphemeral() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Ephemeral
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeClientHello) GetStatic() []byte {
if x != nil {
return x.Static
}
return nil
}
func (x *HandshakeClientHello) GetPayload() []byte {
if x != nil {
return x.Payload
}
return nil
}
type HandshakeClientFinish struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Static []byte `protobuf:"bytes,1,opt,name=static" json:"static,omitempty"`
Payload []byte `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeClientFinish) Reset() {
*x = HandshakeClientFinish{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[160]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HandshakeClientFinish) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HandshakeClientFinish) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HandshakeClientFinish) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[160]
2022-01-30 15:27:37 -08:00
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 HandshakeClientFinish.ProtoReflect.Descriptor instead.
func (*HandshakeClientFinish) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{160}
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeClientFinish) GetStatic() []byte {
if x != nil {
return x.Static
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HandshakeClientFinish) GetPayload() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.Payload
2022-01-30 15:27:37 -08:00
}
return nil
}
type ClientPayload struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Username *uint64 `protobuf:"varint,1,opt,name=username" json:"username,omitempty"`
Passive *bool `protobuf:"varint,3,opt,name=passive" json:"passive,omitempty"`
UserAgent *ClientPayload_UserAgent `protobuf:"bytes,5,opt,name=userAgent" json:"userAgent,omitempty"`
WebInfo *ClientPayload_WebInfo `protobuf:"bytes,6,opt,name=webInfo" json:"webInfo,omitempty"`
PushName *string `protobuf:"bytes,7,opt,name=pushName" json:"pushName,omitempty"`
SessionId *int32 `protobuf:"fixed32,9,opt,name=sessionId" json:"sessionId,omitempty"`
ShortConnect *bool `protobuf:"varint,10,opt,name=shortConnect" json:"shortConnect,omitempty"`
ConnectType *ClientPayload_ConnectType `protobuf:"varint,12,opt,name=connectType,enum=proto.ClientPayload_ConnectType" json:"connectType,omitempty"`
ConnectReason *ClientPayload_ConnectReason `protobuf:"varint,13,opt,name=connectReason,enum=proto.ClientPayload_ConnectReason" json:"connectReason,omitempty"`
Shards []int32 `protobuf:"varint,14,rep,name=shards" json:"shards,omitempty"`
DnsSource *ClientPayload_DNSSource `protobuf:"bytes,15,opt,name=dnsSource" json:"dnsSource,omitempty"`
ConnectAttemptCount *uint32 `protobuf:"varint,16,opt,name=connectAttemptCount" json:"connectAttemptCount,omitempty"`
Device *uint32 `protobuf:"varint,18,opt,name=device" json:"device,omitempty"`
DevicePairingData *ClientPayload_DevicePairingRegistrationData `protobuf:"bytes,19,opt,name=devicePairingData" json:"devicePairingData,omitempty"`
Product *ClientPayload_Product `protobuf:"varint,20,opt,name=product,enum=proto.ClientPayload_Product" json:"product,omitempty"`
FbCat []byte `protobuf:"bytes,21,opt,name=fbCat" json:"fbCat,omitempty"`
FbUserAgent []byte `protobuf:"bytes,22,opt,name=fbUserAgent" json:"fbUserAgent,omitempty"`
Oc *bool `protobuf:"varint,23,opt,name=oc" json:"oc,omitempty"`
Lc *int32 `protobuf:"varint,24,opt,name=lc" json:"lc,omitempty"`
IosAppExtension *ClientPayload_IOSAppExtension `protobuf:"varint,30,opt,name=iosAppExtension,enum=proto.ClientPayload_IOSAppExtension" json:"iosAppExtension,omitempty"`
FbAppId *uint64 `protobuf:"varint,31,opt,name=fbAppId" json:"fbAppId,omitempty"`
FbDeviceId []byte `protobuf:"bytes,32,opt,name=fbDeviceId" json:"fbDeviceId,omitempty"`
Pull *bool `protobuf:"varint,33,opt,name=pull" json:"pull,omitempty"`
PaddingBytes []byte `protobuf:"bytes,34,opt,name=paddingBytes" json:"paddingBytes,omitempty"`
2022-11-26 15:42:16 -08:00
YearClass *int32 `protobuf:"varint,36,opt,name=yearClass" json:"yearClass,omitempty"`
MemClass *int32 `protobuf:"varint,37,opt,name=memClass" json:"memClass,omitempty"`
InteropData *ClientPayload_InteropData `protobuf:"bytes,38,opt,name=interopData" json:"interopData,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) Reset() {
*x = ClientPayload{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[161]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ClientPayload) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ClientPayload) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ClientPayload) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[161]
2022-01-30 15:27:37 -08:00
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 ClientPayload.ProtoReflect.Descriptor instead.
func (*ClientPayload) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161}
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetUsername() uint64 {
if x != nil && x.Username != nil {
return *x.Username
}
return 0
}
func (x *ClientPayload) GetPassive() bool {
if x != nil && x.Passive != nil {
return *x.Passive
}
return false
}
func (x *ClientPayload) GetUserAgent() *ClientPayload_UserAgent {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.UserAgent
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetWebInfo() *ClientPayload_WebInfo {
if x != nil {
return x.WebInfo
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetPushName() string {
if x != nil && x.PushName != nil {
return *x.PushName
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetSessionId() int32 {
if x != nil && x.SessionId != nil {
return *x.SessionId
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetShortConnect() bool {
if x != nil && x.ShortConnect != nil {
return *x.ShortConnect
}
return false
}
2022-01-30 15:27:37 -08:00
func (x *ClientPayload) GetConnectType() ClientPayload_ConnectType {
if x != nil && x.ConnectType != nil {
return *x.ConnectType
2022-01-30 15:27:37 -08:00
}
return ClientPayload_CELLULAR_UNKNOWN
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetConnectReason() ClientPayload_ConnectReason {
if x != nil && x.ConnectReason != nil {
return *x.ConnectReason
}
return ClientPayload_PUSH
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetShards() []int32 {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.Shards
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ClientPayload) GetDnsSource() *ClientPayload_DNSSource {
if x != nil {
return x.DnsSource
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetConnectAttemptCount() uint32 {
if x != nil && x.ConnectAttemptCount != nil {
return *x.ConnectAttemptCount
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetDevice() uint32 {
if x != nil && x.Device != nil {
return *x.Device
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetDevicePairingData() *ClientPayload_DevicePairingRegistrationData {
if x != nil {
return x.DevicePairingData
}
return nil
}
2022-01-30 15:27:37 -08:00
func (x *ClientPayload) GetProduct() ClientPayload_Product {
if x != nil && x.Product != nil {
return *x.Product
2022-01-30 15:27:37 -08:00
}
return ClientPayload_WHATSAPP
2022-03-12 14:02:04 -08:00
}
func (x *ClientPayload) GetFbCat() []byte {
if x != nil {
return x.FbCat
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *ClientPayload) GetFbUserAgent() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.FbUserAgent
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *ClientPayload) GetOc() bool {
if x != nil && x.Oc != nil {
return *x.Oc
2022-03-12 14:02:04 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetLc() int32 {
if x != nil && x.Lc != nil {
return *x.Lc
2022-03-12 14:02:04 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetIosAppExtension() ClientPayload_IOSAppExtension {
if x != nil && x.IosAppExtension != nil {
return *x.IosAppExtension
}
return ClientPayload_SHARE_EXTENSION
}
func (x *ClientPayload) GetFbAppId() uint64 {
if x != nil && x.FbAppId != nil {
return *x.FbAppId
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload) GetFbDeviceId() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.FbDeviceId
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ClientPayload) GetPull() bool {
if x != nil && x.Pull != nil {
return *x.Pull
}
return false
}
func (x *ClientPayload) GetPaddingBytes() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.PaddingBytes
2022-03-12 14:02:04 -08:00
}
return nil
}
2022-11-26 15:42:16 -08:00
func (x *ClientPayload) GetYearClass() int32 {
if x != nil && x.YearClass != nil {
return *x.YearClass
}
return 0
}
func (x *ClientPayload) GetMemClass() int32 {
if x != nil && x.MemClass != nil {
return *x.MemClass
}
return 0
}
func (x *ClientPayload) GetInteropData() *ClientPayload_InteropData {
if x != nil {
return x.InteropData
}
return nil
}
type WebNotificationsInfo struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
UnreadChats *uint32 `protobuf:"varint,3,opt,name=unreadChats" json:"unreadChats,omitempty"`
NotifyMessageCount *uint32 `protobuf:"varint,4,opt,name=notifyMessageCount" json:"notifyMessageCount,omitempty"`
NotifyMessages []*WebMessageInfo `protobuf:"bytes,5,rep,name=notifyMessages" json:"notifyMessages,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *WebNotificationsInfo) Reset() {
*x = WebNotificationsInfo{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[162]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WebNotificationsInfo) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*WebNotificationsInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *WebNotificationsInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[162]
2022-01-30 15:27:37 -08:00
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 WebNotificationsInfo.ProtoReflect.Descriptor instead.
func (*WebNotificationsInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{162}
2022-01-30 15:27:37 -08:00
}
func (x *WebNotificationsInfo) GetTimestamp() uint64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return 0
2022-01-30 15:27:37 -08:00
}
func (x *WebNotificationsInfo) GetUnreadChats() uint32 {
if x != nil && x.UnreadChats != nil {
return *x.UnreadChats
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *WebNotificationsInfo) GetNotifyMessageCount() uint32 {
if x != nil && x.NotifyMessageCount != nil {
return *x.NotifyMessageCount
}
return 0
}
func (x *WebNotificationsInfo) GetNotifyMessages() []*WebMessageInfo {
if x != nil {
return x.NotifyMessages
}
return nil
}
type WebMessageInfo struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key *MessageKey `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
Message *Message `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
MessageTimestamp *uint64 `protobuf:"varint,3,opt,name=messageTimestamp" json:"messageTimestamp,omitempty"`
Status *WebMessageInfo_Status `protobuf:"varint,4,opt,name=status,enum=proto.WebMessageInfo_Status" json:"status,omitempty"`
Participant *string `protobuf:"bytes,5,opt,name=participant" json:"participant,omitempty"`
MessageC2STimestamp *uint64 `protobuf:"varint,6,opt,name=messageC2STimestamp" json:"messageC2STimestamp,omitempty"`
Ignore *bool `protobuf:"varint,16,opt,name=ignore" json:"ignore,omitempty"`
Starred *bool `protobuf:"varint,17,opt,name=starred" json:"starred,omitempty"`
Broadcast *bool `protobuf:"varint,18,opt,name=broadcast" json:"broadcast,omitempty"`
PushName *string `protobuf:"bytes,19,opt,name=pushName" json:"pushName,omitempty"`
MediaCiphertextSha256 []byte `protobuf:"bytes,20,opt,name=mediaCiphertextSha256" json:"mediaCiphertextSha256,omitempty"`
Multicast *bool `protobuf:"varint,21,opt,name=multicast" json:"multicast,omitempty"`
UrlText *bool `protobuf:"varint,22,opt,name=urlText" json:"urlText,omitempty"`
UrlNumber *bool `protobuf:"varint,23,opt,name=urlNumber" json:"urlNumber,omitempty"`
MessageStubType *WebMessageInfo_StubType `protobuf:"varint,24,opt,name=messageStubType,enum=proto.WebMessageInfo_StubType" json:"messageStubType,omitempty"`
ClearMedia *bool `protobuf:"varint,25,opt,name=clearMedia" json:"clearMedia,omitempty"`
MessageStubParameters []string `protobuf:"bytes,26,rep,name=messageStubParameters" json:"messageStubParameters,omitempty"`
Duration *uint32 `protobuf:"varint,27,opt,name=duration" json:"duration,omitempty"`
Labels []string `protobuf:"bytes,28,rep,name=labels" json:"labels,omitempty"`
PaymentInfo *PaymentInfo `protobuf:"bytes,29,opt,name=paymentInfo" json:"paymentInfo,omitempty"`
FinalLiveLocation *LiveLocationMessage `protobuf:"bytes,30,opt,name=finalLiveLocation" json:"finalLiveLocation,omitempty"`
QuotedPaymentInfo *PaymentInfo `protobuf:"bytes,31,opt,name=quotedPaymentInfo" json:"quotedPaymentInfo,omitempty"`
EphemeralStartTimestamp *uint64 `protobuf:"varint,32,opt,name=ephemeralStartTimestamp" json:"ephemeralStartTimestamp,omitempty"`
EphemeralDuration *uint32 `protobuf:"varint,33,opt,name=ephemeralDuration" json:"ephemeralDuration,omitempty"`
EphemeralOffToOn *bool `protobuf:"varint,34,opt,name=ephemeralOffToOn" json:"ephemeralOffToOn,omitempty"`
EphemeralOutOfSync *bool `protobuf:"varint,35,opt,name=ephemeralOutOfSync" json:"ephemeralOutOfSync,omitempty"`
BizPrivacyStatus *WebMessageInfo_BizPrivacyStatus `protobuf:"varint,36,opt,name=bizPrivacyStatus,enum=proto.WebMessageInfo_BizPrivacyStatus" json:"bizPrivacyStatus,omitempty"`
VerifiedBizName *string `protobuf:"bytes,37,opt,name=verifiedBizName" json:"verifiedBizName,omitempty"`
MediaData *MediaData `protobuf:"bytes,38,opt,name=mediaData" json:"mediaData,omitempty"`
PhotoChange *PhotoChange `protobuf:"bytes,39,opt,name=photoChange" json:"photoChange,omitempty"`
UserReceipt []*UserReceipt `protobuf:"bytes,40,rep,name=userReceipt" json:"userReceipt,omitempty"`
Reactions []*Reaction `protobuf:"bytes,41,rep,name=reactions" json:"reactions,omitempty"`
QuotedStickerData *MediaData `protobuf:"bytes,42,opt,name=quotedStickerData" json:"quotedStickerData,omitempty"`
FutureproofData []byte `protobuf:"bytes,43,opt,name=futureproofData" json:"futureproofData,omitempty"`
StatusPsa *StatusPSA `protobuf:"bytes,44,opt,name=statusPsa" json:"statusPsa,omitempty"`
PollUpdates []*PollUpdate `protobuf:"bytes,45,rep,name=pollUpdates" json:"pollUpdates,omitempty"`
PollAdditionalMetadata *PollAdditionalMetadata `protobuf:"bytes,46,opt,name=pollAdditionalMetadata" json:"pollAdditionalMetadata,omitempty"`
AgentId *string `protobuf:"bytes,47,opt,name=agentId" json:"agentId,omitempty"`
StatusAlreadyViewed *bool `protobuf:"varint,48,opt,name=statusAlreadyViewed" json:"statusAlreadyViewed,omitempty"`
MessageSecret []byte `protobuf:"bytes,49,opt,name=messageSecret" json:"messageSecret,omitempty"`
KeepInChat *KeepInChat `protobuf:"bytes,50,opt,name=keepInChat" json:"keepInChat,omitempty"`
OriginalSelfAuthorUserJidString *string `protobuf:"bytes,51,opt,name=originalSelfAuthorUserJidString" json:"originalSelfAuthorUserJidString,omitempty"`
RevokeMessageTimestamp *uint64 `protobuf:"varint,52,opt,name=revokeMessageTimestamp" json:"revokeMessageTimestamp,omitempty"`
PinInChat *PinInChat `protobuf:"bytes,54,opt,name=pinInChat" json:"pinInChat,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) Reset() {
*x = WebMessageInfo{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[163]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WebMessageInfo) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*WebMessageInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *WebMessageInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[163]
2022-01-30 15:27:37 -08:00
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 WebMessageInfo.ProtoReflect.Descriptor instead.
func (*WebMessageInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{163}
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetKey() *MessageKey {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Key
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetMessage() *Message {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.Message
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *WebMessageInfo) GetMessageTimestamp() uint64 {
if x != nil && x.MessageTimestamp != nil {
return *x.MessageTimestamp
2022-03-12 14:02:04 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetStatus() WebMessageInfo_Status {
if x != nil && x.Status != nil {
return *x.Status
2022-01-30 15:27:37 -08:00
}
return WebMessageInfo_ERROR
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetParticipant() string {
if x != nil && x.Participant != nil {
return *x.Participant
2022-03-12 14:02:04 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetMessageC2STimestamp() uint64 {
if x != nil && x.MessageC2STimestamp != nil {
return *x.MessageC2STimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetIgnore() bool {
if x != nil && x.Ignore != nil {
return *x.Ignore
2022-03-12 14:02:04 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetStarred() bool {
if x != nil && x.Starred != nil {
return *x.Starred
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetBroadcast() bool {
if x != nil && x.Broadcast != nil {
return *x.Broadcast
2022-03-12 14:02:04 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetPushName() string {
if x != nil && x.PushName != nil {
return *x.PushName
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetMediaCiphertextSha256() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.MediaCiphertextSha256
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetMulticast() bool {
if x != nil && x.Multicast != nil {
return *x.Multicast
2022-04-25 14:50:10 -07:00
}
return false
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetUrlText() bool {
if x != nil && x.UrlText != nil {
return *x.UrlText
2022-04-25 14:50:10 -07:00
}
return false
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetUrlNumber() bool {
if x != nil && x.UrlNumber != nil {
return *x.UrlNumber
2022-04-25 14:50:10 -07:00
}
return false
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetMessageStubType() WebMessageInfo_StubType {
if x != nil && x.MessageStubType != nil {
return *x.MessageStubType
2022-04-25 14:50:10 -07:00
}
return WebMessageInfo_UNKNOWN
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetClearMedia() bool {
if x != nil && x.ClearMedia != nil {
return *x.ClearMedia
2022-04-25 14:50:10 -07:00
}
return false
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetMessageStubParameters() []string {
2022-04-25 14:50:10 -07:00
if x != nil {
return x.MessageStubParameters
2022-04-25 14:50:10 -07:00
}
return nil
}
func (x *WebMessageInfo) GetDuration() uint32 {
if x != nil && x.Duration != nil {
return *x.Duration
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetLabels() []string {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Labels
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetPaymentInfo() *PaymentInfo {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.PaymentInfo
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetFinalLiveLocation() *LiveLocationMessage {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.FinalLiveLocation
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetQuotedPaymentInfo() *PaymentInfo {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.QuotedPaymentInfo
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *WebMessageInfo) GetEphemeralStartTimestamp() uint64 {
if x != nil && x.EphemeralStartTimestamp != nil {
return *x.EphemeralStartTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetEphemeralDuration() uint32 {
if x != nil && x.EphemeralDuration != nil {
return *x.EphemeralDuration
2022-01-30 15:27:37 -08:00
}
return 0
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetEphemeralOffToOn() bool {
if x != nil && x.EphemeralOffToOn != nil {
return *x.EphemeralOffToOn
2022-04-25 14:50:10 -07:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetEphemeralOutOfSync() bool {
if x != nil && x.EphemeralOutOfSync != nil {
return *x.EphemeralOutOfSync
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetBizPrivacyStatus() WebMessageInfo_BizPrivacyStatus {
if x != nil && x.BizPrivacyStatus != nil {
return *x.BizPrivacyStatus
2022-01-30 15:27:37 -08:00
}
return WebMessageInfo_E2EE
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetVerifiedBizName() string {
if x != nil && x.VerifiedBizName != nil {
return *x.VerifiedBizName
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetMediaData() *MediaData {
if x != nil {
return x.MediaData
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetPhotoChange() *PhotoChange {
if x != nil {
return x.PhotoChange
}
return nil
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetUserReceipt() []*UserReceipt {
if x != nil {
return x.UserReceipt
2022-04-25 14:50:10 -07:00
}
return nil
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetReactions() []*Reaction {
if x != nil {
return x.Reactions
}
return nil
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetQuotedStickerData() *MediaData {
if x != nil {
return x.QuotedStickerData
2022-04-25 14:50:10 -07:00
}
return nil
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetFutureproofData() []byte {
if x != nil {
return x.FutureproofData
}
return nil
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetStatusPsa() *StatusPSA {
if x != nil {
return x.StatusPsa
2022-04-25 14:50:10 -07:00
}
return nil
2022-04-25 14:50:10 -07:00
}
func (x *WebMessageInfo) GetPollUpdates() []*PollUpdate {
if x != nil {
return x.PollUpdates
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetPollAdditionalMetadata() *PollAdditionalMetadata {
if x != nil {
return x.PollAdditionalMetadata
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetAgentId() string {
if x != nil && x.AgentId != nil {
return *x.AgentId
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetStatusAlreadyViewed() bool {
if x != nil && x.StatusAlreadyViewed != nil {
return *x.StatusAlreadyViewed
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetMessageSecret() []byte {
if x != nil {
return x.MessageSecret
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetKeepInChat() *KeepInChat {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.KeepInChat
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *WebMessageInfo) GetOriginalSelfAuthorUserJidString() string {
if x != nil && x.OriginalSelfAuthorUserJidString != nil {
return *x.OriginalSelfAuthorUserJidString
}
return ""
}
func (x *WebMessageInfo) GetRevokeMessageTimestamp() uint64 {
if x != nil && x.RevokeMessageTimestamp != nil {
return *x.RevokeMessageTimestamp
2022-03-12 14:02:04 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *WebMessageInfo) GetPinInChat() *PinInChat {
if x != nil {
return x.PinInChat
}
return nil
}
type WebFeatures struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LabelsDisplay *WebFeatures_Flag `protobuf:"varint,1,opt,name=labelsDisplay,enum=proto.WebFeatures_Flag" json:"labelsDisplay,omitempty"`
VoipIndividualOutgoing *WebFeatures_Flag `protobuf:"varint,2,opt,name=voipIndividualOutgoing,enum=proto.WebFeatures_Flag" json:"voipIndividualOutgoing,omitempty"`
GroupsV3 *WebFeatures_Flag `protobuf:"varint,3,opt,name=groupsV3,enum=proto.WebFeatures_Flag" json:"groupsV3,omitempty"`
GroupsV3Create *WebFeatures_Flag `protobuf:"varint,4,opt,name=groupsV3Create,enum=proto.WebFeatures_Flag" json:"groupsV3Create,omitempty"`
ChangeNumberV2 *WebFeatures_Flag `protobuf:"varint,5,opt,name=changeNumberV2,enum=proto.WebFeatures_Flag" json:"changeNumberV2,omitempty"`
QueryStatusV3Thumbnail *WebFeatures_Flag `protobuf:"varint,6,opt,name=queryStatusV3Thumbnail,enum=proto.WebFeatures_Flag" json:"queryStatusV3Thumbnail,omitempty"`
LiveLocations *WebFeatures_Flag `protobuf:"varint,7,opt,name=liveLocations,enum=proto.WebFeatures_Flag" json:"liveLocations,omitempty"`
QueryVname *WebFeatures_Flag `protobuf:"varint,8,opt,name=queryVname,enum=proto.WebFeatures_Flag" json:"queryVname,omitempty"`
VoipIndividualIncoming *WebFeatures_Flag `protobuf:"varint,9,opt,name=voipIndividualIncoming,enum=proto.WebFeatures_Flag" json:"voipIndividualIncoming,omitempty"`
QuickRepliesQuery *WebFeatures_Flag `protobuf:"varint,10,opt,name=quickRepliesQuery,enum=proto.WebFeatures_Flag" json:"quickRepliesQuery,omitempty"`
Payments *WebFeatures_Flag `protobuf:"varint,11,opt,name=payments,enum=proto.WebFeatures_Flag" json:"payments,omitempty"`
StickerPackQuery *WebFeatures_Flag `protobuf:"varint,12,opt,name=stickerPackQuery,enum=proto.WebFeatures_Flag" json:"stickerPackQuery,omitempty"`
LiveLocationsFinal *WebFeatures_Flag `protobuf:"varint,13,opt,name=liveLocationsFinal,enum=proto.WebFeatures_Flag" json:"liveLocationsFinal,omitempty"`
LabelsEdit *WebFeatures_Flag `protobuf:"varint,14,opt,name=labelsEdit,enum=proto.WebFeatures_Flag" json:"labelsEdit,omitempty"`
MediaUpload *WebFeatures_Flag `protobuf:"varint,15,opt,name=mediaUpload,enum=proto.WebFeatures_Flag" json:"mediaUpload,omitempty"`
MediaUploadRichQuickReplies *WebFeatures_Flag `protobuf:"varint,18,opt,name=mediaUploadRichQuickReplies,enum=proto.WebFeatures_Flag" json:"mediaUploadRichQuickReplies,omitempty"`
VnameV2 *WebFeatures_Flag `protobuf:"varint,19,opt,name=vnameV2,enum=proto.WebFeatures_Flag" json:"vnameV2,omitempty"`
VideoPlaybackUrl *WebFeatures_Flag `protobuf:"varint,20,opt,name=videoPlaybackUrl,enum=proto.WebFeatures_Flag" json:"videoPlaybackUrl,omitempty"`
StatusRanking *WebFeatures_Flag `protobuf:"varint,21,opt,name=statusRanking,enum=proto.WebFeatures_Flag" json:"statusRanking,omitempty"`
VoipIndividualVideo *WebFeatures_Flag `protobuf:"varint,22,opt,name=voipIndividualVideo,enum=proto.WebFeatures_Flag" json:"voipIndividualVideo,omitempty"`
ThirdPartyStickers *WebFeatures_Flag `protobuf:"varint,23,opt,name=thirdPartyStickers,enum=proto.WebFeatures_Flag" json:"thirdPartyStickers,omitempty"`
FrequentlyForwardedSetting *WebFeatures_Flag `protobuf:"varint,24,opt,name=frequentlyForwardedSetting,enum=proto.WebFeatures_Flag" json:"frequentlyForwardedSetting,omitempty"`
GroupsV4JoinPermission *WebFeatures_Flag `protobuf:"varint,25,opt,name=groupsV4JoinPermission,enum=proto.WebFeatures_Flag" json:"groupsV4JoinPermission,omitempty"`
RecentStickers *WebFeatures_Flag `protobuf:"varint,26,opt,name=recentStickers,enum=proto.WebFeatures_Flag" json:"recentStickers,omitempty"`
Catalog *WebFeatures_Flag `protobuf:"varint,27,opt,name=catalog,enum=proto.WebFeatures_Flag" json:"catalog,omitempty"`
StarredStickers *WebFeatures_Flag `protobuf:"varint,28,opt,name=starredStickers,enum=proto.WebFeatures_Flag" json:"starredStickers,omitempty"`
VoipGroupCall *WebFeatures_Flag `protobuf:"varint,29,opt,name=voipGroupCall,enum=proto.WebFeatures_Flag" json:"voipGroupCall,omitempty"`
TemplateMessage *WebFeatures_Flag `protobuf:"varint,30,opt,name=templateMessage,enum=proto.WebFeatures_Flag" json:"templateMessage,omitempty"`
TemplateMessageInteractivity *WebFeatures_Flag `protobuf:"varint,31,opt,name=templateMessageInteractivity,enum=proto.WebFeatures_Flag" json:"templateMessageInteractivity,omitempty"`
EphemeralMessages *WebFeatures_Flag `protobuf:"varint,32,opt,name=ephemeralMessages,enum=proto.WebFeatures_Flag" json:"ephemeralMessages,omitempty"`
E2ENotificationSync *WebFeatures_Flag `protobuf:"varint,33,opt,name=e2ENotificationSync,enum=proto.WebFeatures_Flag" json:"e2ENotificationSync,omitempty"`
RecentStickersV2 *WebFeatures_Flag `protobuf:"varint,34,opt,name=recentStickersV2,enum=proto.WebFeatures_Flag" json:"recentStickersV2,omitempty"`
RecentStickersV3 *WebFeatures_Flag `protobuf:"varint,36,opt,name=recentStickersV3,enum=proto.WebFeatures_Flag" json:"recentStickersV3,omitempty"`
UserNotice *WebFeatures_Flag `protobuf:"varint,37,opt,name=userNotice,enum=proto.WebFeatures_Flag" json:"userNotice,omitempty"`
Support *WebFeatures_Flag `protobuf:"varint,39,opt,name=support,enum=proto.WebFeatures_Flag" json:"support,omitempty"`
GroupUiiCleanup *WebFeatures_Flag `protobuf:"varint,40,opt,name=groupUiiCleanup,enum=proto.WebFeatures_Flag" json:"groupUiiCleanup,omitempty"`
GroupDogfoodingInternalOnly *WebFeatures_Flag `protobuf:"varint,41,opt,name=groupDogfoodingInternalOnly,enum=proto.WebFeatures_Flag" json:"groupDogfoodingInternalOnly,omitempty"`
SettingsSync *WebFeatures_Flag `protobuf:"varint,42,opt,name=settingsSync,enum=proto.WebFeatures_Flag" json:"settingsSync,omitempty"`
ArchiveV2 *WebFeatures_Flag `protobuf:"varint,43,opt,name=archiveV2,enum=proto.WebFeatures_Flag" json:"archiveV2,omitempty"`
EphemeralAllowGroupMembers *WebFeatures_Flag `protobuf:"varint,44,opt,name=ephemeralAllowGroupMembers,enum=proto.WebFeatures_Flag" json:"ephemeralAllowGroupMembers,omitempty"`
Ephemeral24HDuration *WebFeatures_Flag `protobuf:"varint,45,opt,name=ephemeral24HDuration,enum=proto.WebFeatures_Flag" json:"ephemeral24HDuration,omitempty"`
MdForceUpgrade *WebFeatures_Flag `protobuf:"varint,46,opt,name=mdForceUpgrade,enum=proto.WebFeatures_Flag" json:"mdForceUpgrade,omitempty"`
DisappearingMode *WebFeatures_Flag `protobuf:"varint,47,opt,name=disappearingMode,enum=proto.WebFeatures_Flag" json:"disappearingMode,omitempty"`
ExternalMdOptInAvailable *WebFeatures_Flag `protobuf:"varint,48,opt,name=externalMdOptInAvailable,enum=proto.WebFeatures_Flag" json:"externalMdOptInAvailable,omitempty"`
NoDeleteMessageTimeLimit *WebFeatures_Flag `protobuf:"varint,49,opt,name=noDeleteMessageTimeLimit,enum=proto.WebFeatures_Flag" json:"noDeleteMessageTimeLimit,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) Reset() {
*x = WebFeatures{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[164]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WebFeatures) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*WebFeatures) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *WebFeatures) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[164]
2022-01-30 15:27:37 -08:00
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 WebFeatures.ProtoReflect.Descriptor instead.
func (*WebFeatures) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{164}
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetLabelsDisplay() WebFeatures_Flag {
if x != nil && x.LabelsDisplay != nil {
return *x.LabelsDisplay
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetVoipIndividualOutgoing() WebFeatures_Flag {
if x != nil && x.VoipIndividualOutgoing != nil {
return *x.VoipIndividualOutgoing
2022-03-12 14:02:04 -08:00
}
return WebFeatures_NOT_STARTED
2022-03-12 14:02:04 -08:00
}
func (x *WebFeatures) GetGroupsV3() WebFeatures_Flag {
if x != nil && x.GroupsV3 != nil {
return *x.GroupsV3
2022-03-12 14:02:04 -08:00
}
return WebFeatures_NOT_STARTED
2022-03-12 14:02:04 -08:00
}
func (x *WebFeatures) GetGroupsV3Create() WebFeatures_Flag {
if x != nil && x.GroupsV3Create != nil {
return *x.GroupsV3Create
}
return WebFeatures_NOT_STARTED
2022-04-25 14:50:10 -07:00
}
func (x *WebFeatures) GetChangeNumberV2() WebFeatures_Flag {
if x != nil && x.ChangeNumberV2 != nil {
return *x.ChangeNumberV2
2022-04-25 14:50:10 -07:00
}
return WebFeatures_NOT_STARTED
2022-04-25 14:50:10 -07:00
}
func (x *WebFeatures) GetQueryStatusV3Thumbnail() WebFeatures_Flag {
if x != nil && x.QueryStatusV3Thumbnail != nil {
return *x.QueryStatusV3Thumbnail
}
return WebFeatures_NOT_STARTED
2022-04-25 14:50:10 -07:00
}
func (x *WebFeatures) GetLiveLocations() WebFeatures_Flag {
if x != nil && x.LiveLocations != nil {
return *x.LiveLocations
2022-04-25 14:50:10 -07:00
}
return WebFeatures_NOT_STARTED
2022-04-25 14:50:10 -07:00
}
func (x *WebFeatures) GetQueryVname() WebFeatures_Flag {
if x != nil && x.QueryVname != nil {
return *x.QueryVname
}
return WebFeatures_NOT_STARTED
2022-04-25 14:50:10 -07:00
}
func (x *WebFeatures) GetVoipIndividualIncoming() WebFeatures_Flag {
if x != nil && x.VoipIndividualIncoming != nil {
return *x.VoipIndividualIncoming
2022-04-25 14:50:10 -07:00
}
return WebFeatures_NOT_STARTED
2022-04-25 14:50:10 -07:00
}
func (x *WebFeatures) GetQuickRepliesQuery() WebFeatures_Flag {
if x != nil && x.QuickRepliesQuery != nil {
return *x.QuickRepliesQuery
2022-04-25 14:50:10 -07:00
}
return WebFeatures_NOT_STARTED
2022-04-25 14:50:10 -07:00
}
func (x *WebFeatures) GetPayments() WebFeatures_Flag {
if x != nil && x.Payments != nil {
return *x.Payments
2022-04-25 14:50:10 -07:00
}
return WebFeatures_NOT_STARTED
2022-04-25 14:50:10 -07:00
}
func (x *WebFeatures) GetStickerPackQuery() WebFeatures_Flag {
if x != nil && x.StickerPackQuery != nil {
return *x.StickerPackQuery
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetLiveLocationsFinal() WebFeatures_Flag {
if x != nil && x.LiveLocationsFinal != nil {
return *x.LiveLocationsFinal
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetLabelsEdit() WebFeatures_Flag {
if x != nil && x.LabelsEdit != nil {
return *x.LabelsEdit
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetMediaUpload() WebFeatures_Flag {
if x != nil && x.MediaUpload != nil {
return *x.MediaUpload
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetMediaUploadRichQuickReplies() WebFeatures_Flag {
if x != nil && x.MediaUploadRichQuickReplies != nil {
return *x.MediaUploadRichQuickReplies
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetVnameV2() WebFeatures_Flag {
if x != nil && x.VnameV2 != nil {
return *x.VnameV2
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetVideoPlaybackUrl() WebFeatures_Flag {
if x != nil && x.VideoPlaybackUrl != nil {
return *x.VideoPlaybackUrl
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetStatusRanking() WebFeatures_Flag {
if x != nil && x.StatusRanking != nil {
return *x.StatusRanking
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetVoipIndividualVideo() WebFeatures_Flag {
if x != nil && x.VoipIndividualVideo != nil {
return *x.VoipIndividualVideo
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetThirdPartyStickers() WebFeatures_Flag {
if x != nil && x.ThirdPartyStickers != nil {
return *x.ThirdPartyStickers
}
return WebFeatures_NOT_STARTED
}
2022-01-30 15:27:37 -08:00
func (x *WebFeatures) GetFrequentlyForwardedSetting() WebFeatures_Flag {
if x != nil && x.FrequentlyForwardedSetting != nil {
return *x.FrequentlyForwardedSetting
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetGroupsV4JoinPermission() WebFeatures_Flag {
if x != nil && x.GroupsV4JoinPermission != nil {
return *x.GroupsV4JoinPermission
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetRecentStickers() WebFeatures_Flag {
if x != nil && x.RecentStickers != nil {
return *x.RecentStickers
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetCatalog() WebFeatures_Flag {
if x != nil && x.Catalog != nil {
return *x.Catalog
}
return WebFeatures_NOT_STARTED
}
2022-01-30 15:27:37 -08:00
func (x *WebFeatures) GetStarredStickers() WebFeatures_Flag {
if x != nil && x.StarredStickers != nil {
return *x.StarredStickers
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetVoipGroupCall() WebFeatures_Flag {
if x != nil && x.VoipGroupCall != nil {
return *x.VoipGroupCall
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetTemplateMessage() WebFeatures_Flag {
if x != nil && x.TemplateMessage != nil {
return *x.TemplateMessage
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetTemplateMessageInteractivity() WebFeatures_Flag {
if x != nil && x.TemplateMessageInteractivity != nil {
return *x.TemplateMessageInteractivity
}
return WebFeatures_NOT_STARTED
}
2022-01-30 15:27:37 -08:00
func (x *WebFeatures) GetEphemeralMessages() WebFeatures_Flag {
if x != nil && x.EphemeralMessages != nil {
return *x.EphemeralMessages
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetE2ENotificationSync() WebFeatures_Flag {
if x != nil && x.E2ENotificationSync != nil {
return *x.E2ENotificationSync
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetRecentStickersV2() WebFeatures_Flag {
if x != nil && x.RecentStickersV2 != nil {
return *x.RecentStickersV2
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetRecentStickersV3() WebFeatures_Flag {
if x != nil && x.RecentStickersV3 != nil {
return *x.RecentStickersV3
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetUserNotice() WebFeatures_Flag {
if x != nil && x.UserNotice != nil {
return *x.UserNotice
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetSupport() WebFeatures_Flag {
if x != nil && x.Support != nil {
return *x.Support
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetGroupUiiCleanup() WebFeatures_Flag {
if x != nil && x.GroupUiiCleanup != nil {
return *x.GroupUiiCleanup
}
return WebFeatures_NOT_STARTED
}
2022-01-30 15:27:37 -08:00
func (x *WebFeatures) GetGroupDogfoodingInternalOnly() WebFeatures_Flag {
if x != nil && x.GroupDogfoodingInternalOnly != nil {
return *x.GroupDogfoodingInternalOnly
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetSettingsSync() WebFeatures_Flag {
if x != nil && x.SettingsSync != nil {
return *x.SettingsSync
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetArchiveV2() WebFeatures_Flag {
if x != nil && x.ArchiveV2 != nil {
return *x.ArchiveV2
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetEphemeralAllowGroupMembers() WebFeatures_Flag {
if x != nil && x.EphemeralAllowGroupMembers != nil {
return *x.EphemeralAllowGroupMembers
2022-01-30 15:27:37 -08:00
}
return WebFeatures_NOT_STARTED
2022-01-30 15:27:37 -08:00
}
func (x *WebFeatures) GetEphemeral24HDuration() WebFeatures_Flag {
if x != nil && x.Ephemeral24HDuration != nil {
return *x.Ephemeral24HDuration
2022-03-12 14:02:04 -08:00
}
return WebFeatures_NOT_STARTED
2022-03-12 14:02:04 -08:00
}
func (x *WebFeatures) GetMdForceUpgrade() WebFeatures_Flag {
if x != nil && x.MdForceUpgrade != nil {
return *x.MdForceUpgrade
2022-03-12 14:02:04 -08:00
}
return WebFeatures_NOT_STARTED
2022-03-12 14:02:04 -08:00
}
func (x *WebFeatures) GetDisappearingMode() WebFeatures_Flag {
if x != nil && x.DisappearingMode != nil {
return *x.DisappearingMode
2022-03-12 14:02:04 -08:00
}
return WebFeatures_NOT_STARTED
2022-03-12 14:02:04 -08:00
}
func (x *WebFeatures) GetExternalMdOptInAvailable() WebFeatures_Flag {
if x != nil && x.ExternalMdOptInAvailable != nil {
return *x.ExternalMdOptInAvailable
2022-03-12 14:02:04 -08:00
}
return WebFeatures_NOT_STARTED
2022-03-12 14:02:04 -08:00
}
func (x *WebFeatures) GetNoDeleteMessageTimeLimit() WebFeatures_Flag {
if x != nil && x.NoDeleteMessageTimeLimit != nil {
return *x.NoDeleteMessageTimeLimit
2022-03-12 14:02:04 -08:00
}
return WebFeatures_NOT_STARTED
2022-03-12 14:02:04 -08:00
}
type UserReceipt struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UserJid *string `protobuf:"bytes,1,req,name=userJid" json:"userJid,omitempty"`
ReceiptTimestamp *int64 `protobuf:"varint,2,opt,name=receiptTimestamp" json:"receiptTimestamp,omitempty"`
ReadTimestamp *int64 `protobuf:"varint,3,opt,name=readTimestamp" json:"readTimestamp,omitempty"`
PlayedTimestamp *int64 `protobuf:"varint,4,opt,name=playedTimestamp" json:"playedTimestamp,omitempty"`
PendingDeviceJid []string `protobuf:"bytes,5,rep,name=pendingDeviceJid" json:"pendingDeviceJid,omitempty"`
DeliveredDeviceJid []string `protobuf:"bytes,6,rep,name=deliveredDeviceJid" json:"deliveredDeviceJid,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *UserReceipt) Reset() {
*x = UserReceipt{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[165]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UserReceipt) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*UserReceipt) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *UserReceipt) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[165]
2022-01-30 15:27:37 -08:00
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 UserReceipt.ProtoReflect.Descriptor instead.
func (*UserReceipt) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{165}
2022-01-30 15:27:37 -08:00
}
func (x *UserReceipt) GetUserJid() string {
if x != nil && x.UserJid != nil {
return *x.UserJid
}
return ""
}
func (x *UserReceipt) GetReceiptTimestamp() int64 {
if x != nil && x.ReceiptTimestamp != nil {
return *x.ReceiptTimestamp
}
return 0
}
func (x *UserReceipt) GetReadTimestamp() int64 {
if x != nil && x.ReadTimestamp != nil {
return *x.ReadTimestamp
}
return 0
}
func (x *UserReceipt) GetPlayedTimestamp() int64 {
if x != nil && x.PlayedTimestamp != nil {
return *x.PlayedTimestamp
}
return 0
}
func (x *UserReceipt) GetPendingDeviceJid() []string {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.PendingDeviceJid
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *UserReceipt) GetDeliveredDeviceJid() []string {
if x != nil {
return x.DeliveredDeviceJid
}
return nil
}
type StatusPSA struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CampaignId *uint64 `protobuf:"varint,44,req,name=campaignId" json:"campaignId,omitempty"`
CampaignExpirationTimestamp *uint64 `protobuf:"varint,45,opt,name=campaignExpirationTimestamp" json:"campaignExpirationTimestamp,omitempty"`
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
func (x *StatusPSA) Reset() {
*x = StatusPSA{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[166]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StatusPSA) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*StatusPSA) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *StatusPSA) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[166]
2022-01-30 15:27:37 -08:00
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 StatusPSA.ProtoReflect.Descriptor instead.
func (*StatusPSA) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{166}
2022-01-30 15:27:37 -08:00
}
func (x *StatusPSA) GetCampaignId() uint64 {
if x != nil && x.CampaignId != nil {
return *x.CampaignId
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return 0
2022-01-30 15:27:37 -08:00
}
func (x *StatusPSA) GetCampaignExpirationTimestamp() uint64 {
if x != nil && x.CampaignExpirationTimestamp != nil {
return *x.CampaignExpirationTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type Reaction struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
GroupingKey *string `protobuf:"bytes,3,opt,name=groupingKey" json:"groupingKey,omitempty"`
SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
Unread *bool `protobuf:"varint,5,opt,name=unread" json:"unread,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *Reaction) Reset() {
*x = Reaction{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[167]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Reaction) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*Reaction) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *Reaction) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[167]
2022-01-30 15:27:37 -08:00
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 Reaction.ProtoReflect.Descriptor instead.
func (*Reaction) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{167}
2022-01-30 15:27:37 -08:00
}
func (x *Reaction) GetKey() *MessageKey {
if x != nil {
return x.Key
}
return nil
}
func (x *Reaction) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
}
return ""
}
func (x *Reaction) GetGroupingKey() string {
if x != nil && x.GroupingKey != nil {
return *x.GroupingKey
}
return ""
}
func (x *Reaction) GetSenderTimestampMs() int64 {
if x != nil && x.SenderTimestampMs != nil {
return *x.SenderTimestampMs
}
return 0
}
func (x *Reaction) GetUnread() bool {
if x != nil && x.Unread != nil {
return *x.Unread
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
type PollUpdate struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PollUpdateMessageKey *MessageKey `protobuf:"bytes,1,opt,name=pollUpdateMessageKey" json:"pollUpdateMessageKey,omitempty"`
Vote *PollVoteMessage `protobuf:"bytes,2,opt,name=vote" json:"vote,omitempty"`
SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
2023-01-28 13:57:53 -08:00
ServerTimestampMs *int64 `protobuf:"varint,4,opt,name=serverTimestampMs" json:"serverTimestampMs,omitempty"`
Unread *bool `protobuf:"varint,5,opt,name=unread" json:"unread,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PollUpdate) Reset() {
*x = PollUpdate{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[168]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PollUpdate) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PollUpdate) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *PollUpdate) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[168]
2022-01-30 15:27:37 -08:00
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 PollUpdate.ProtoReflect.Descriptor instead.
func (*PollUpdate) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{168}
2022-01-30 15:27:37 -08:00
}
func (x *PollUpdate) GetPollUpdateMessageKey() *MessageKey {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.PollUpdateMessageKey
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *PollUpdate) GetVote() *PollVoteMessage {
if x != nil {
return x.Vote
}
return nil
}
func (x *PollUpdate) GetSenderTimestampMs() int64 {
if x != nil && x.SenderTimestampMs != nil {
return *x.SenderTimestampMs
}
return 0
}
2023-01-28 13:57:53 -08:00
func (x *PollUpdate) GetServerTimestampMs() int64 {
if x != nil && x.ServerTimestampMs != nil {
return *x.ServerTimestampMs
}
return 0
}
func (x *PollUpdate) GetUnread() bool {
if x != nil && x.Unread != nil {
return *x.Unread
}
return false
}
type PollAdditionalMetadata struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PollInvalidated *bool `protobuf:"varint,1,opt,name=pollInvalidated" json:"pollInvalidated,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PollAdditionalMetadata) Reset() {
*x = PollAdditionalMetadata{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[169]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PollAdditionalMetadata) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PollAdditionalMetadata) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *PollAdditionalMetadata) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[169]
2022-01-30 15:27:37 -08:00
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 PollAdditionalMetadata.ProtoReflect.Descriptor instead.
func (*PollAdditionalMetadata) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{169}
2022-03-12 14:02:04 -08:00
}
func (x *PollAdditionalMetadata) GetPollInvalidated() bool {
if x != nil && x.PollInvalidated != nil {
return *x.PollInvalidated
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return false
2022-01-30 15:27:37 -08:00
}
type PinInChat struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type *PinInChat_Type `protobuf:"varint,1,opt,name=type,enum=proto.PinInChat_Type" json:"type,omitempty"`
Key *MessageKey `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
ServerTimestampMs *int64 `protobuf:"varint,4,opt,name=serverTimestampMs" json:"serverTimestampMs,omitempty"`
MessageAddOnContextInfo *MessageAddOnContextInfo `protobuf:"bytes,5,opt,name=messageAddOnContextInfo" json:"messageAddOnContextInfo,omitempty"`
}
func (x *PinInChat) Reset() {
*x = PinInChat{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[170]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PinInChat) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PinInChat) ProtoMessage() {}
func (x *PinInChat) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[170]
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 PinInChat.ProtoReflect.Descriptor instead.
func (*PinInChat) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{170}
}
func (x *PinInChat) GetType() PinInChat_Type {
if x != nil && x.Type != nil {
return *x.Type
}
return PinInChat_UNKNOWN_TYPE
}
func (x *PinInChat) GetKey() *MessageKey {
if x != nil {
return x.Key
}
return nil
}
func (x *PinInChat) GetSenderTimestampMs() int64 {
if x != nil && x.SenderTimestampMs != nil {
return *x.SenderTimestampMs
}
return 0
}
func (x *PinInChat) GetServerTimestampMs() int64 {
if x != nil && x.ServerTimestampMs != nil {
return *x.ServerTimestampMs
}
return 0
}
func (x *PinInChat) GetMessageAddOnContextInfo() *MessageAddOnContextInfo {
if x != nil {
return x.MessageAddOnContextInfo
}
return nil
}
type PhotoChange struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OldPhoto []byte `protobuf:"bytes,1,opt,name=oldPhoto" json:"oldPhoto,omitempty"`
NewPhoto []byte `protobuf:"bytes,2,opt,name=newPhoto" json:"newPhoto,omitempty"`
NewPhotoId *uint32 `protobuf:"varint,3,opt,name=newPhotoId" json:"newPhotoId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PhotoChange) Reset() {
*x = PhotoChange{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[171]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PhotoChange) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PhotoChange) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *PhotoChange) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[171]
2022-01-30 15:27:37 -08:00
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 PhotoChange.ProtoReflect.Descriptor instead.
func (*PhotoChange) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{171}
2022-01-30 15:27:37 -08:00
}
func (x *PhotoChange) GetOldPhoto() []byte {
if x != nil {
return x.OldPhoto
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *PhotoChange) GetNewPhoto() []byte {
if x != nil {
return x.NewPhoto
}
return nil
}
func (x *PhotoChange) GetNewPhotoId() uint32 {
if x != nil && x.NewPhotoId != nil {
return *x.NewPhotoId
2022-03-12 14:02:04 -08:00
}
return 0
}
type PaymentInfo struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CurrencyDeprecated *PaymentInfo_Currency `protobuf:"varint,1,opt,name=currencyDeprecated,enum=proto.PaymentInfo_Currency" json:"currencyDeprecated,omitempty"`
Amount1000 *uint64 `protobuf:"varint,2,opt,name=amount1000" json:"amount1000,omitempty"`
ReceiverJid *string `protobuf:"bytes,3,opt,name=receiverJid" json:"receiverJid,omitempty"`
Status *PaymentInfo_Status `protobuf:"varint,4,opt,name=status,enum=proto.PaymentInfo_Status" json:"status,omitempty"`
TransactionTimestamp *uint64 `protobuf:"varint,5,opt,name=transactionTimestamp" json:"transactionTimestamp,omitempty"`
RequestMessageKey *MessageKey `protobuf:"bytes,6,opt,name=requestMessageKey" json:"requestMessageKey,omitempty"`
ExpiryTimestamp *uint64 `protobuf:"varint,7,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"`
Futureproofed *bool `protobuf:"varint,8,opt,name=futureproofed" json:"futureproofed,omitempty"`
Currency *string `protobuf:"bytes,9,opt,name=currency" json:"currency,omitempty"`
TxnStatus *PaymentInfo_TxnStatus `protobuf:"varint,10,opt,name=txnStatus,enum=proto.PaymentInfo_TxnStatus" json:"txnStatus,omitempty"`
UseNoviFiatFormat *bool `protobuf:"varint,11,opt,name=useNoviFiatFormat" json:"useNoviFiatFormat,omitempty"`
PrimaryAmount *Money `protobuf:"bytes,12,opt,name=primaryAmount" json:"primaryAmount,omitempty"`
ExchangeAmount *Money `protobuf:"bytes,13,opt,name=exchangeAmount" json:"exchangeAmount,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) Reset() {
*x = PaymentInfo{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[172]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PaymentInfo) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PaymentInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *PaymentInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[172]
2022-01-30 15:27:37 -08:00
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 PaymentInfo.ProtoReflect.Descriptor instead.
func (*PaymentInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{172}
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetCurrencyDeprecated() PaymentInfo_Currency {
if x != nil && x.CurrencyDeprecated != nil {
return *x.CurrencyDeprecated
2022-01-30 15:27:37 -08:00
}
return PaymentInfo_UNKNOWN_CURRENCY
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetAmount1000() uint64 {
if x != nil && x.Amount1000 != nil {
return *x.Amount1000
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetReceiverJid() string {
if x != nil && x.ReceiverJid != nil {
return *x.ReceiverJid
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetStatus() PaymentInfo_Status {
if x != nil && x.Status != nil {
return *x.Status
2022-01-30 15:27:37 -08:00
}
return PaymentInfo_UNKNOWN_STATUS
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetTransactionTimestamp() uint64 {
if x != nil && x.TransactionTimestamp != nil {
return *x.TransactionTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetRequestMessageKey() *MessageKey {
if x != nil {
return x.RequestMessageKey
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetExpiryTimestamp() uint64 {
if x != nil && x.ExpiryTimestamp != nil {
return *x.ExpiryTimestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetFutureproofed() bool {
if x != nil && x.Futureproofed != nil {
return *x.Futureproofed
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetCurrency() string {
if x != nil && x.Currency != nil {
return *x.Currency
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *PaymentInfo) GetTxnStatus() PaymentInfo_TxnStatus {
if x != nil && x.TxnStatus != nil {
return *x.TxnStatus
}
return PaymentInfo_UNKNOWN
}
func (x *PaymentInfo) GetUseNoviFiatFormat() bool {
if x != nil && x.UseNoviFiatFormat != nil {
return *x.UseNoviFiatFormat
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetPrimaryAmount() *Money {
if x != nil {
return x.PrimaryAmount
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *PaymentInfo) GetExchangeAmount() *Money {
if x != nil {
return x.ExchangeAmount
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type NotificationMessageInfo struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
Message *Message `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
MessageTimestamp *uint64 `protobuf:"varint,3,opt,name=messageTimestamp" json:"messageTimestamp,omitempty"`
Participant *string `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *NotificationMessageInfo) Reset() {
*x = NotificationMessageInfo{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[173]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *NotificationMessageInfo) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*NotificationMessageInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[173]
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 NotificationMessageInfo.ProtoReflect.Descriptor instead.
func (*NotificationMessageInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{173}
}
func (x *NotificationMessageInfo) GetKey() *MessageKey {
if x != nil {
return x.Key
}
return nil
}
func (x *NotificationMessageInfo) GetMessage() *Message {
if x != nil {
return x.Message
}
return nil
}
func (x *NotificationMessageInfo) GetMessageTimestamp() uint64 {
if x != nil && x.MessageTimestamp != nil {
return *x.MessageTimestamp
}
return 0
}
func (x *NotificationMessageInfo) GetParticipant() string {
if x != nil && x.Participant != nil {
return *x.Participant
}
return ""
}
type MessageAddOnContextInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageAddOnDurationInSecs *uint32 `protobuf:"varint,1,opt,name=messageAddOnDurationInSecs" json:"messageAddOnDurationInSecs,omitempty"`
}
func (x *MessageAddOnContextInfo) Reset() {
*x = MessageAddOnContextInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[174]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MessageAddOnContextInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MessageAddOnContextInfo) ProtoMessage() {}
func (x *MessageAddOnContextInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[174]
2022-03-12 14:02:04 -08:00
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)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use MessageAddOnContextInfo.ProtoReflect.Descriptor instead.
func (*MessageAddOnContextInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{174}
2022-01-30 15:27:37 -08:00
}
func (x *MessageAddOnContextInfo) GetMessageAddOnDurationInSecs() uint32 {
if x != nil && x.MessageAddOnDurationInSecs != nil {
return *x.MessageAddOnDurationInSecs
2022-03-12 14:02:04 -08:00
}
return 0
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
type MediaData struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LocalPath *string `protobuf:"bytes,1,opt,name=localPath" json:"localPath,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *MediaData) Reset() {
*x = MediaData{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[175]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MediaData) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*MediaData) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *MediaData) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[175]
2022-01-30 15:27:37 -08:00
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 MediaData.ProtoReflect.Descriptor instead.
func (*MediaData) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{175}
2022-01-30 15:27:37 -08:00
}
func (x *MediaData) GetLocalPath() string {
if x != nil && x.LocalPath != nil {
return *x.LocalPath
2022-03-12 14:02:04 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type KeepInChat struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-11-26 15:42:16 -08:00
KeepType *KeepType `protobuf:"varint,1,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"`
ServerTimestamp *int64 `protobuf:"varint,2,opt,name=serverTimestamp" json:"serverTimestamp,omitempty"`
Key *MessageKey `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"`
DeviceJid *string `protobuf:"bytes,4,opt,name=deviceJid" json:"deviceJid,omitempty"`
ClientTimestampMs *int64 `protobuf:"varint,5,opt,name=clientTimestampMs" json:"clientTimestampMs,omitempty"`
ServerTimestampMs *int64 `protobuf:"varint,6,opt,name=serverTimestampMs" json:"serverTimestampMs,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *KeepInChat) Reset() {
*x = KeepInChat{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[176]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeepInChat) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*KeepInChat) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *KeepInChat) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[176]
2022-01-30 15:27:37 -08:00
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 KeepInChat.ProtoReflect.Descriptor instead.
func (*KeepInChat) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{176}
2022-01-30 15:27:37 -08:00
}
func (x *KeepInChat) GetKeepType() KeepType {
if x != nil && x.KeepType != nil {
return *x.KeepType
2022-01-30 15:27:37 -08:00
}
return KeepType_UNKNOWN
2022-01-30 15:27:37 -08:00
}
func (x *KeepInChat) GetServerTimestamp() int64 {
if x != nil && x.ServerTimestamp != nil {
return *x.ServerTimestamp
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return 0
2022-01-30 15:27:37 -08:00
}
func (x *KeepInChat) GetKey() *MessageKey {
if x != nil {
return x.Key
}
return nil
}
func (x *KeepInChat) GetDeviceJid() string {
if x != nil && x.DeviceJid != nil {
return *x.DeviceJid
}
return ""
}
2022-11-26 15:42:16 -08:00
func (x *KeepInChat) GetClientTimestampMs() int64 {
if x != nil && x.ClientTimestampMs != nil {
return *x.ClientTimestampMs
}
return 0
}
func (x *KeepInChat) GetServerTimestampMs() int64 {
if x != nil && x.ServerTimestampMs != nil {
return *x.ServerTimestampMs
}
return 0
}
type NoiseCertificate struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *NoiseCertificate) Reset() {
*x = NoiseCertificate{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[177]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *NoiseCertificate) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*NoiseCertificate) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *NoiseCertificate) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[177]
2022-03-12 14:02:04 -08:00
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 NoiseCertificate.ProtoReflect.Descriptor instead.
func (*NoiseCertificate) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{177}
2022-03-12 14:02:04 -08:00
}
func (x *NoiseCertificate) GetDetails() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Details
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *NoiseCertificate) GetSignature() []byte {
if x != nil {
return x.Signature
}
return nil
}
type CertChain struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Leaf *CertChain_NoiseCertificate `protobuf:"bytes,1,opt,name=leaf" json:"leaf,omitempty"`
Intermediate *CertChain_NoiseCertificate `protobuf:"bytes,2,opt,name=intermediate" json:"intermediate,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *CertChain) Reset() {
*x = CertChain{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[178]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CertChain) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*CertChain) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *CertChain) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[178]
2022-01-30 15:27:37 -08:00
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 CertChain.ProtoReflect.Descriptor instead.
func (*CertChain) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{178}
2022-01-30 15:27:37 -08:00
}
func (x *CertChain) GetLeaf() *CertChain_NoiseCertificate {
if x != nil {
return x.Leaf
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *CertChain) GetIntermediate() *CertChain_NoiseCertificate {
if x != nil {
return x.Intermediate
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
2022-11-26 15:42:16 -08:00
type DeviceProps_HistorySyncConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FullSyncDaysLimit *uint32 `protobuf:"varint,1,opt,name=fullSyncDaysLimit" json:"fullSyncDaysLimit,omitempty"`
FullSyncSizeMbLimit *uint32 `protobuf:"varint,2,opt,name=fullSyncSizeMbLimit" json:"fullSyncSizeMbLimit,omitempty"`
StorageQuotaMb *uint32 `protobuf:"varint,3,opt,name=storageQuotaMb" json:"storageQuotaMb,omitempty"`
InlineInitialPayloadInE2EeMsg *bool `protobuf:"varint,4,opt,name=inlineInitialPayloadInE2EeMsg" json:"inlineInitialPayloadInE2EeMsg,omitempty"`
RecentSyncDaysLimit *uint32 `protobuf:"varint,5,opt,name=recentSyncDaysLimit" json:"recentSyncDaysLimit,omitempty"`
2022-11-26 15:42:16 -08:00
}
func (x *DeviceProps_HistorySyncConfig) Reset() {
*x = DeviceProps_HistorySyncConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[179]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeviceProps_HistorySyncConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeviceProps_HistorySyncConfig) ProtoMessage() {}
func (x *DeviceProps_HistorySyncConfig) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[179]
2022-11-26 15:42:16 -08:00
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 DeviceProps_HistorySyncConfig.ProtoReflect.Descriptor instead.
func (*DeviceProps_HistorySyncConfig) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 0}
}
func (x *DeviceProps_HistorySyncConfig) GetFullSyncDaysLimit() uint32 {
if x != nil && x.FullSyncDaysLimit != nil {
return *x.FullSyncDaysLimit
}
return 0
}
func (x *DeviceProps_HistorySyncConfig) GetFullSyncSizeMbLimit() uint32 {
if x != nil && x.FullSyncSizeMbLimit != nil {
return *x.FullSyncSizeMbLimit
}
return 0
}
func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32 {
if x != nil && x.StorageQuotaMb != nil {
return *x.StorageQuotaMb
}
return 0
}
func (x *DeviceProps_HistorySyncConfig) GetInlineInitialPayloadInE2EeMsg() bool {
if x != nil && x.InlineInitialPayloadInE2EeMsg != nil {
return *x.InlineInitialPayloadInE2EeMsg
}
return false
}
func (x *DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit() uint32 {
if x != nil && x.RecentSyncDaysLimit != nil {
return *x.RecentSyncDaysLimit
}
return 0
}
type DeviceProps_AppVersion struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Primary *uint32 `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"`
Secondary *uint32 `protobuf:"varint,2,opt,name=secondary" json:"secondary,omitempty"`
Tertiary *uint32 `protobuf:"varint,3,opt,name=tertiary" json:"tertiary,omitempty"`
Quaternary *uint32 `protobuf:"varint,4,opt,name=quaternary" json:"quaternary,omitempty"`
Quinary *uint32 `protobuf:"varint,5,opt,name=quinary" json:"quinary,omitempty"`
2022-11-26 15:42:16 -08:00
}
func (x *DeviceProps_AppVersion) Reset() {
*x = DeviceProps_AppVersion{}
2022-11-26 15:42:16 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[180]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeviceProps_AppVersion) String() string {
2022-11-26 15:42:16 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*DeviceProps_AppVersion) ProtoMessage() {}
2022-11-26 15:42:16 -08:00
func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[180]
2022-11-26 15:42:16 -08:00
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 DeviceProps_AppVersion.ProtoReflect.Descriptor instead.
func (*DeviceProps_AppVersion) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 1}
2022-11-26 15:42:16 -08:00
}
func (x *DeviceProps_AppVersion) GetPrimary() uint32 {
if x != nil && x.Primary != nil {
return *x.Primary
2022-11-26 15:42:16 -08:00
}
return 0
2022-11-26 15:42:16 -08:00
}
func (x *DeviceProps_AppVersion) GetSecondary() uint32 {
if x != nil && x.Secondary != nil {
return *x.Secondary
2022-11-26 15:42:16 -08:00
}
return 0
2022-11-26 15:42:16 -08:00
}
func (x *DeviceProps_AppVersion) GetTertiary() uint32 {
if x != nil && x.Tertiary != nil {
return *x.Tertiary
2022-11-26 15:42:16 -08:00
}
return 0
2022-11-26 15:42:16 -08:00
}
func (x *DeviceProps_AppVersion) GetQuaternary() uint32 {
if x != nil && x.Quaternary != nil {
return *x.Quaternary
2022-11-26 15:42:16 -08:00
}
return 0
2022-11-26 15:42:16 -08:00
}
func (x *DeviceProps_AppVersion) GetQuinary() uint32 {
if x != nil && x.Quinary != nil {
return *x.Quinary
2022-11-26 15:42:16 -08:00
}
return 0
2022-11-26 15:42:16 -08:00
}
type ListResponseMessage_SingleSelectReply struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SelectedRowId *string `protobuf:"bytes,1,opt,name=selectedRowId" json:"selectedRowId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ListResponseMessage_SingleSelectReply) Reset() {
*x = ListResponseMessage_SingleSelectReply{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[181]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ListResponseMessage_SingleSelectReply) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ListResponseMessage_SingleSelectReply) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *ListResponseMessage_SingleSelectReply) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[181]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ListResponseMessage_SingleSelectReply.ProtoReflect.Descriptor instead.
func (*ListResponseMessage_SingleSelectReply) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0}
2022-01-30 15:27:37 -08:00
}
func (x *ListResponseMessage_SingleSelectReply) GetSelectedRowId() string {
if x != nil && x.SelectedRowId != nil {
return *x.SelectedRowId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type ListMessage_Section struct {
2022-04-25 14:50:10 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
Rows []*ListMessage_Row `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"`
2022-04-25 14:50:10 -07:00
}
func (x *ListMessage_Section) Reset() {
*x = ListMessage_Section{}
2022-04-25 14:50:10 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[182]
2022-04-25 14:50:10 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListMessage_Section) String() string {
2022-04-25 14:50:10 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*ListMessage_Section) ProtoMessage() {}
2022-04-25 14:50:10 -07:00
func (x *ListMessage_Section) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[182]
2022-04-25 14:50:10 -07:00
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 ListMessage_Section.ProtoReflect.Descriptor instead.
func (*ListMessage_Section) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0}
2022-04-25 14:50:10 -07:00
}
func (x *ListMessage_Section) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
2022-04-25 14:50:10 -07:00
}
return ""
}
func (x *ListMessage_Section) GetRows() []*ListMessage_Row {
if x != nil {
return x.Rows
2022-04-25 14:50:10 -07:00
}
return nil
2022-04-25 14:50:10 -07:00
}
type ListMessage_Row struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
RowId *string `protobuf:"bytes,3,opt,name=rowId" json:"rowId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_Row) Reset() {
*x = ListMessage_Row{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[183]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ListMessage_Row) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ListMessage_Row) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *ListMessage_Row) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[183]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ListMessage_Row.ProtoReflect.Descriptor instead.
func (*ListMessage_Row) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 1}
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_Row) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_Row) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_Row) GetRowId() string {
if x != nil && x.RowId != nil {
return *x.RowId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type ListMessage_Product struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProductId *string `protobuf:"bytes,1,opt,name=productId" json:"productId,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_Product) Reset() {
*x = ListMessage_Product{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[184]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ListMessage_Product) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ListMessage_Product) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *ListMessage_Product) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[184]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ListMessage_Product.ProtoReflect.Descriptor instead.
func (*ListMessage_Product) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 2}
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_Product) GetProductId() string {
if x != nil && x.ProductId != nil {
return *x.ProductId
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
type ListMessage_ProductSection struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
Products []*ListMessage_Product `protobuf:"bytes,2,rep,name=products" json:"products,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_ProductSection) Reset() {
*x = ListMessage_ProductSection{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[185]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ListMessage_ProductSection) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ListMessage_ProductSection) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *ListMessage_ProductSection) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[185]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ListMessage_ProductSection.ProtoReflect.Descriptor instead.
func (*ListMessage_ProductSection) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 3}
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_ProductSection) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_ProductSection) GetProducts() []*ListMessage_Product {
if x != nil {
return x.Products
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type ListMessage_ProductListInfo struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProductSections []*ListMessage_ProductSection `protobuf:"bytes,1,rep,name=productSections" json:"productSections,omitempty"`
HeaderImage *ListMessage_ProductListHeaderImage `protobuf:"bytes,2,opt,name=headerImage" json:"headerImage,omitempty"`
BusinessOwnerJid *string `protobuf:"bytes,3,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_ProductListInfo) Reset() {
*x = ListMessage_ProductListInfo{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[186]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListMessage_ProductListInfo) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ListMessage_ProductListInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ListMessage_ProductListInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[186]
2022-01-30 15:27:37 -08:00
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 ListMessage_ProductListInfo.ProtoReflect.Descriptor instead.
func (*ListMessage_ProductListInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 4}
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_ProductListInfo) GetProductSections() []*ListMessage_ProductSection {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.ProductSections
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *ListMessage_ProductListInfo) GetHeaderImage() *ListMessage_ProductListHeaderImage {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.HeaderImage
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_ProductListInfo) GetBusinessOwnerJid() string {
if x != nil && x.BusinessOwnerJid != nil {
return *x.BusinessOwnerJid
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type ListMessage_ProductListHeaderImage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProductId *string `protobuf:"bytes,1,opt,name=productId" json:"productId,omitempty"`
JpegThumbnail []byte `protobuf:"bytes,2,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ListMessage_ProductListHeaderImage) Reset() {
*x = ListMessage_ProductListHeaderImage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[187]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListMessage_ProductListHeaderImage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ListMessage_ProductListHeaderImage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ListMessage_ProductListHeaderImage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[187]
2022-01-30 15:27:37 -08:00
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 ListMessage_ProductListHeaderImage.ProtoReflect.Descriptor instead.
func (*ListMessage_ProductListHeaderImage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 5}
2022-03-12 14:02:04 -08:00
}
func (x *ListMessage_ProductListHeaderImage) GetProductId() string {
if x != nil && x.ProductId != nil {
return *x.ProductId
2022-03-12 14:02:04 -08:00
}
return ""
}
func (x *ListMessage_ProductListHeaderImage) GetJpegThumbnail() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.JpegThumbnail
2022-03-12 14:02:04 -08:00
}
return nil
}
type InteractiveResponseMessage_NativeFlowResponseMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
ParamsJson *string `protobuf:"bytes,2,opt,name=paramsJson" json:"paramsJson,omitempty"`
Version *int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage_NativeFlowResponseMessage) Reset() {
*x = InteractiveResponseMessage_NativeFlowResponseMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[188]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveResponseMessage_NativeFlowResponseMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveResponseMessage_NativeFlowResponseMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveResponseMessage_NativeFlowResponseMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[188]
2022-01-30 15:27:37 -08:00
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 InteractiveResponseMessage_NativeFlowResponseMessage.ProtoReflect.Descriptor instead.
func (*InteractiveResponseMessage_NativeFlowResponseMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 0}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetParamsJson() string {
if x != nil && x.ParamsJson != nil {
return *x.ParamsJson
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetVersion() int32 {
if x != nil && x.Version != nil {
return *x.Version
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type InteractiveResponseMessage_Body struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
Format *InteractiveResponseMessage_Body_Format `protobuf:"varint,2,opt,name=format,enum=proto.InteractiveResponseMessage_Body_Format" json:"format,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage_Body) Reset() {
*x = InteractiveResponseMessage_Body{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[189]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveResponseMessage_Body) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveResponseMessage_Body) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveResponseMessage_Body) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[189]
2022-01-30 15:27:37 -08:00
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 InteractiveResponseMessage_Body.ProtoReflect.Descriptor instead.
func (*InteractiveResponseMessage_Body) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 1}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage_Body) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveResponseMessage_Body) GetFormat() InteractiveResponseMessage_Body_Format {
if x != nil && x.Format != nil {
return *x.Format
}
return InteractiveResponseMessage_Body_DEFAULT
}
type InteractiveMessage_ShopMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Surface *InteractiveMessage_ShopMessage_Surface `protobuf:"varint,2,opt,name=surface,enum=proto.InteractiveMessage_ShopMessage_Surface" json:"surface,omitempty"`
MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_ShopMessage) Reset() {
*x = InteractiveMessage_ShopMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[190]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *InteractiveMessage_ShopMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*InteractiveMessage_ShopMessage) ProtoMessage() {}
func (x *InteractiveMessage_ShopMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[190]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use InteractiveMessage_ShopMessage.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_ShopMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0}
}
func (x *InteractiveMessage_ShopMessage) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_ShopMessage) GetSurface() InteractiveMessage_ShopMessage_Surface {
if x != nil && x.Surface != nil {
return *x.Surface
2022-01-30 15:27:37 -08:00
}
return InteractiveMessage_ShopMessage_UNKNOWN_SURFACE
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_ShopMessage) GetMessageVersion() int32 {
if x != nil && x.MessageVersion != nil {
return *x.MessageVersion
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return 0
2022-01-30 15:27:37 -08:00
}
type InteractiveMessage_NativeFlowMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Buttons []*InteractiveMessage_NativeFlowMessage_NativeFlowButton `protobuf:"bytes,1,rep,name=buttons" json:"buttons,omitempty"`
MessageParamsJson *string `protobuf:"bytes,2,opt,name=messageParamsJson" json:"messageParamsJson,omitempty"`
MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_NativeFlowMessage) Reset() {
*x = InteractiveMessage_NativeFlowMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[191]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveMessage_NativeFlowMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveMessage_NativeFlowMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveMessage_NativeFlowMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[191]
2022-01-30 15:27:37 -08:00
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 InteractiveMessage_NativeFlowMessage.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_NativeFlowMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_NativeFlowMessage) GetButtons() []*InteractiveMessage_NativeFlowMessage_NativeFlowButton {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Buttons
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_NativeFlowMessage) GetMessageParamsJson() string {
if x != nil && x.MessageParamsJson != nil {
return *x.MessageParamsJson
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_NativeFlowMessage) GetMessageVersion() int32 {
if x != nil && x.MessageVersion != nil {
return *x.MessageVersion
}
return 0
}
type InteractiveMessage_Header struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
Subtitle *string `protobuf:"bytes,2,opt,name=subtitle" json:"subtitle,omitempty"`
HasMediaAttachment *bool `protobuf:"varint,5,opt,name=hasMediaAttachment" json:"hasMediaAttachment,omitempty"`
// Types that are assignable to Media:
2022-11-26 15:42:16 -08:00
//
// *InteractiveMessage_Header_DocumentMessage
// *InteractiveMessage_Header_ImageMessage
// *InteractiveMessage_Header_JpegThumbnail
// *InteractiveMessage_Header_VideoMessage
// *InteractiveMessage_Header_LocationMessage
Media isInteractiveMessage_Header_Media `protobuf_oneof:"media"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_Header) Reset() {
*x = InteractiveMessage_Header{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[192]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveMessage_Header) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveMessage_Header) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveMessage_Header) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[192]
2022-01-30 15:27:37 -08:00
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 InteractiveMessage_Header.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_Header) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 2}
}
func (x *InteractiveMessage_Header) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
}
return ""
}
func (x *InteractiveMessage_Header) GetSubtitle() string {
if x != nil && x.Subtitle != nil {
return *x.Subtitle
}
return ""
}
func (x *InteractiveMessage_Header) GetHasMediaAttachment() bool {
if x != nil && x.HasMediaAttachment != nil {
return *x.HasMediaAttachment
}
return false
}
func (m *InteractiveMessage_Header) GetMedia() isInteractiveMessage_Header_Media {
if m != nil {
return m.Media
}
return nil
}
func (x *InteractiveMessage_Header) GetDocumentMessage() *DocumentMessage {
if x, ok := x.GetMedia().(*InteractiveMessage_Header_DocumentMessage); ok {
return x.DocumentMessage
}
return nil
}
func (x *InteractiveMessage_Header) GetImageMessage() *ImageMessage {
if x, ok := x.GetMedia().(*InteractiveMessage_Header_ImageMessage); ok {
return x.ImageMessage
}
return nil
}
func (x *InteractiveMessage_Header) GetJpegThumbnail() []byte {
if x, ok := x.GetMedia().(*InteractiveMessage_Header_JpegThumbnail); ok {
return x.JpegThumbnail
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_Header) GetVideoMessage() *VideoMessage {
if x, ok := x.GetMedia().(*InteractiveMessage_Header_VideoMessage); ok {
return x.VideoMessage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_Header) GetLocationMessage() *LocationMessage {
if x, ok := x.GetMedia().(*InteractiveMessage_Header_LocationMessage); ok {
return x.LocationMessage
}
return nil
}
type isInteractiveMessage_Header_Media interface {
isInteractiveMessage_Header_Media()
2022-01-30 15:27:37 -08:00
}
type InteractiveMessage_Header_DocumentMessage struct {
DocumentMessage *DocumentMessage `protobuf:"bytes,3,opt,name=documentMessage,oneof"`
2022-03-12 14:02:04 -08:00
}
type InteractiveMessage_Header_ImageMessage struct {
ImageMessage *ImageMessage `protobuf:"bytes,4,opt,name=imageMessage,oneof"`
2022-03-12 14:02:04 -08:00
}
type InteractiveMessage_Header_JpegThumbnail struct {
JpegThumbnail []byte `protobuf:"bytes,6,opt,name=jpegThumbnail,oneof"`
2022-03-12 14:02:04 -08:00
}
type InteractiveMessage_Header_VideoMessage struct {
VideoMessage *VideoMessage `protobuf:"bytes,7,opt,name=videoMessage,oneof"`
}
type InteractiveMessage_Header_LocationMessage struct {
LocationMessage *LocationMessage `protobuf:"bytes,8,opt,name=locationMessage,oneof"`
}
func (*InteractiveMessage_Header_DocumentMessage) isInteractiveMessage_Header_Media() {}
func (*InteractiveMessage_Header_ImageMessage) isInteractiveMessage_Header_Media() {}
func (*InteractiveMessage_Header_JpegThumbnail) isInteractiveMessage_Header_Media() {}
func (*InteractiveMessage_Header_VideoMessage) isInteractiveMessage_Header_Media() {}
func (*InteractiveMessage_Header_LocationMessage) isInteractiveMessage_Header_Media() {}
type InteractiveMessage_Footer struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_Footer) Reset() {
*x = InteractiveMessage_Footer{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[193]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveMessage_Footer) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveMessage_Footer) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveMessage_Footer) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[193]
2022-01-30 15:27:37 -08:00
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 InteractiveMessage_Footer.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_Footer) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 3}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_Footer) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
2022-06-24 15:36:16 -07:00
}
return ""
2022-06-24 15:36:16 -07:00
}
type InteractiveMessage_CollectionMessage struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BizJid *string `protobuf:"bytes,1,opt,name=bizJid" json:"bizJid,omitempty"`
Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_CollectionMessage) Reset() {
*x = InteractiveMessage_CollectionMessage{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[194]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveMessage_CollectionMessage) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveMessage_CollectionMessage) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveMessage_CollectionMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[194]
2022-01-30 15:27:37 -08:00
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 InteractiveMessage_CollectionMessage.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_CollectionMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 4}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_CollectionMessage) GetBizJid() string {
if x != nil && x.BizJid != nil {
return *x.BizJid
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *InteractiveMessage_CollectionMessage) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_CollectionMessage) GetMessageVersion() int32 {
if x != nil && x.MessageVersion != nil {
return *x.MessageVersion
2022-03-12 14:02:04 -08:00
}
return 0
2022-03-12 14:02:04 -08:00
}
type InteractiveMessage_CarouselMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Cards []*InteractiveMessage `protobuf:"bytes,1,rep,name=cards" json:"cards,omitempty"`
MessageVersion *int32 `protobuf:"varint,2,opt,name=messageVersion" json:"messageVersion,omitempty"`
}
func (x *InteractiveMessage_CarouselMessage) Reset() {
*x = InteractiveMessage_CarouselMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[195]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveMessage_CarouselMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveMessage_CarouselMessage) ProtoMessage() {}
func (x *InteractiveMessage_CarouselMessage) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[195]
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 InteractiveMessage_CarouselMessage.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_CarouselMessage) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 5}
}
func (x *InteractiveMessage_CarouselMessage) GetCards() []*InteractiveMessage {
if x != nil {
return x.Cards
}
return nil
}
func (x *InteractiveMessage_CarouselMessage) GetMessageVersion() int32 {
if x != nil && x.MessageVersion != nil {
return *x.MessageVersion
}
return 0
}
type InteractiveMessage_Body struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_Body) Reset() {
*x = InteractiveMessage_Body{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[196]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveMessage_Body) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveMessage_Body) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveMessage_Body) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[196]
2022-01-30 15:27:37 -08:00
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 InteractiveMessage_Body.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_Body) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 6}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_Body) GetText() string {
if x != nil && x.Text != nil {
return *x.Text
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
type InteractiveMessage_NativeFlowMessage_NativeFlowButton struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
ButtonParamsJson *string `protobuf:"bytes,2,opt,name=buttonParamsJson" json:"buttonParamsJson,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) Reset() {
*x = InteractiveMessage_NativeFlowMessage_NativeFlowButton{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[197]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[197]
2022-01-30 15:27:37 -08:00
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 InteractiveMessage_NativeFlowMessage_NativeFlowButton.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1, 0}
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetButtonParamsJson() string {
if x != nil && x.ButtonParamsJson != nil {
return *x.ButtonParamsJson
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Default *string `protobuf:"bytes,1,opt,name=default" json:"default,omitempty"`
// Types that are assignable to ParamOneof:
2022-11-26 15:42:16 -08:00
//
// *HighlyStructuredMessage_HSMLocalizableParameter_Currency
// *HighlyStructuredMessage_HSMLocalizableParameter_DateTime
ParamOneof isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof `protobuf_oneof:"paramOneof"`
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter) Reset() {
*x = HighlyStructuredMessage_HSMLocalizableParameter{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[198]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HighlyStructuredMessage_HSMLocalizableParameter) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HighlyStructuredMessage_HSMLocalizableParameter) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[198]
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
}
// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter.ProtoReflect.Descriptor instead.
func (*HighlyStructuredMessage_HSMLocalizableParameter) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0}
2022-03-12 14:02:04 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetDefault() string {
if x != nil && x.Default != nil {
return *x.Default
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
func (m *HighlyStructuredMessage_HSMLocalizableParameter) GetParamOneof() isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof {
if m != nil {
return m.ParamOneof
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetCurrency() *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency {
if x, ok := x.GetParamOneof().(*HighlyStructuredMessage_HSMLocalizableParameter_Currency); ok {
return x.Currency
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetDateTime() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime {
if x, ok := x.GetParamOneof().(*HighlyStructuredMessage_HSMLocalizableParameter_DateTime); ok {
return x.DateTime
2022-03-12 14:02:04 -08:00
}
return nil
}
type isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof interface {
isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof()
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_Currency struct {
Currency *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency `protobuf:"bytes,2,opt,name=currency,oneof"`
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_DateTime struct {
DateTime *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime `protobuf:"bytes,3,opt,name=dateTime,oneof"`
2022-01-30 15:27:37 -08:00
}
func (*HighlyStructuredMessage_HSMLocalizableParameter_Currency) isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof() {
2022-01-30 15:27:37 -08:00
}
func (*HighlyStructuredMessage_HSMLocalizableParameter_DateTime) isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof() {
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
// Types that are assignable to DatetimeOneof:
2022-11-26 15:42:16 -08:00
//
// *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component
// *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch
DatetimeOneof isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof `protobuf_oneof:"datetimeOneof"`
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Reset() {
*x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[199]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoMessage() {}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[199]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime.ProtoReflect.Descriptor instead.
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0}
2022-01-30 15:27:37 -08:00
}
func (m *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetDatetimeOneof() isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof {
if m != nil {
return m.DatetimeOneof
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetComponent() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent {
if x, ok := x.GetDatetimeOneof().(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component); ok {
return x.Component
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetUnixEpoch() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch {
if x, ok := x.GetDatetimeOneof().(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch); ok {
return x.UnixEpoch
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof interface {
isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof()
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component struct {
Component *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent `protobuf:"bytes,1,opt,name=component,oneof"`
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch struct {
UnixEpoch *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch `protobuf:"bytes,2,opt,name=unixEpoch,oneof"`
2022-01-30 15:27:37 -08:00
}
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component) isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof() {
2022-01-30 15:27:37 -08:00
}
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch) isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof() {
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CurrencyCode *string `protobuf:"bytes,1,opt,name=currencyCode" json:"currencyCode,omitempty"`
Amount1000 *int64 `protobuf:"varint,2,opt,name=amount1000" json:"amount1000,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Reset() {
*x = HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[200]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[200]
2022-01-30 15:27:37 -08:00
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 HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency.ProtoReflect.Descriptor instead.
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 1}
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetCurrencyCode() string {
if x != nil && x.CurrencyCode != nil {
return *x.CurrencyCode
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetAmount1000() int64 {
if x != nil && x.Amount1000 != nil {
return *x.Amount1000
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Reset() {
*x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[201]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoMessage() {
}
2022-01-30 15:27:37 -08:00
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[201]
2022-01-30 15:27:37 -08:00
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 HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch.ProtoReflect.Descriptor instead.
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 0}
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) GetTimestamp() int64 {
if x != nil && x.Timestamp != nil {
return *x.Timestamp
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DayOfWeek *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType `protobuf:"varint,1,opt,name=dayOfWeek,enum=proto.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType" json:"dayOfWeek,omitempty"`
Year *uint32 `protobuf:"varint,2,opt,name=year" json:"year,omitempty"`
Month *uint32 `protobuf:"varint,3,opt,name=month" json:"month,omitempty"`
DayOfMonth *uint32 `protobuf:"varint,4,opt,name=dayOfMonth" json:"dayOfMonth,omitempty"`
Hour *uint32 `protobuf:"varint,5,opt,name=hour" json:"hour,omitempty"`
Minute *uint32 `protobuf:"varint,6,opt,name=minute" json:"minute,omitempty"`
Calendar *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType `protobuf:"varint,7,opt,name=calendar,enum=proto.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType" json:"calendar,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Reset() {
*x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[202]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoMessage() {
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[202]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent.ProtoReflect.Descriptor instead.
func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1}
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfWeek() HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType {
if x != nil && x.DayOfWeek != nil {
return *x.DayOfWeek
2022-03-12 14:02:04 -08:00
}
return HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_MONDAY
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetYear() uint32 {
if x != nil && x.Year != nil {
return *x.Year
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetMonth() uint32 {
if x != nil && x.Month != nil {
return *x.Month
2022-03-12 14:02:04 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfMonth() uint32 {
if x != nil && x.DayOfMonth != nil {
return *x.DayOfMonth
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetHour() uint32 {
if x != nil && x.Hour != nil {
return *x.Hour
2022-03-12 14:02:04 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetMinute() uint32 {
if x != nil && x.Minute != nil {
return *x.Minute
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetCalendar() HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType {
if x != nil && x.Calendar != nil {
return *x.Calendar
2022-01-30 15:27:37 -08:00
}
return HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_GREGORIAN
2022-01-30 15:27:37 -08:00
}
type ButtonsMessage_Button struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ButtonId *string `protobuf:"bytes,1,opt,name=buttonId" json:"buttonId,omitempty"`
ButtonText *ButtonsMessage_Button_ButtonText `protobuf:"bytes,2,opt,name=buttonText" json:"buttonText,omitempty"`
Type *ButtonsMessage_Button_Type `protobuf:"varint,3,opt,name=type,enum=proto.ButtonsMessage_Button_Type" json:"type,omitempty"`
NativeFlowInfo *ButtonsMessage_Button_NativeFlowInfo `protobuf:"bytes,4,opt,name=nativeFlowInfo" json:"nativeFlowInfo,omitempty"`
}
func (x *ButtonsMessage_Button) Reset() {
*x = ButtonsMessage_Button{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[203]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ButtonsMessage_Button) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ButtonsMessage_Button) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ButtonsMessage_Button) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[203]
2022-01-30 15:27:37 -08:00
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 ButtonsMessage_Button.ProtoReflect.Descriptor instead.
func (*ButtonsMessage_Button) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0}
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage_Button) GetButtonId() string {
if x != nil && x.ButtonId != nil {
return *x.ButtonId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage_Button) GetButtonText() *ButtonsMessage_Button_ButtonText {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.ButtonText
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ButtonsMessage_Button) GetType() ButtonsMessage_Button_Type {
if x != nil && x.Type != nil {
return *x.Type
2022-01-30 15:27:37 -08:00
}
return ButtonsMessage_Button_UNKNOWN
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage_Button) GetNativeFlowInfo() *ButtonsMessage_Button_NativeFlowInfo {
if x != nil {
return x.NativeFlowInfo
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type ButtonsMessage_Button_NativeFlowInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
ParamsJson *string `protobuf:"bytes,2,opt,name=paramsJson" json:"paramsJson,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage_Button_NativeFlowInfo) Reset() {
*x = ButtonsMessage_Button_NativeFlowInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[204]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage_Button_NativeFlowInfo) String() string {
return protoimpl.X.MessageStringOf(x)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
func (*ButtonsMessage_Button_NativeFlowInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ButtonsMessage_Button_NativeFlowInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[204]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ButtonsMessage_Button_NativeFlowInfo.ProtoReflect.Descriptor instead.
func (*ButtonsMessage_Button_NativeFlowInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 0}
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage_Button_NativeFlowInfo) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage_Button_NativeFlowInfo) GetParamsJson() string {
if x != nil && x.ParamsJson != nil {
return *x.ParamsJson
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
type ButtonsMessage_Button_ButtonText struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage_Button_ButtonText) Reset() {
*x = ButtonsMessage_Button_ButtonText{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[205]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ButtonsMessage_Button_ButtonText) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ButtonsMessage_Button_ButtonText) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ButtonsMessage_Button_ButtonText) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[205]
2022-01-30 15:27:37 -08:00
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 ButtonsMessage_Button_ButtonText.ProtoReflect.Descriptor instead.
func (*ButtonsMessage_Button_ButtonText) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 1}
2022-01-30 15:27:37 -08:00
}
func (x *ButtonsMessage_Button_ButtonText) GetDisplayText() string {
if x != nil && x.DisplayText != nil {
return *x.DisplayText
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type HydratedTemplateButton_HydratedURLButton struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"`
Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HydratedTemplateButton_HydratedURLButton) Reset() {
*x = HydratedTemplateButton_HydratedURLButton{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[206]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *HydratedTemplateButton_HydratedURLButton) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*HydratedTemplateButton_HydratedURLButton) ProtoMessage() {}
func (x *HydratedTemplateButton_HydratedURLButton) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[206]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-03-12 14:02:04 -08:00
}
// Deprecated: Use HydratedTemplateButton_HydratedURLButton.ProtoReflect.Descriptor instead.
func (*HydratedTemplateButton_HydratedURLButton) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 0}
2022-03-12 14:02:04 -08:00
}
func (x *HydratedTemplateButton_HydratedURLButton) GetDisplayText() string {
if x != nil && x.DisplayText != nil {
return *x.DisplayText
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *HydratedTemplateButton_HydratedURLButton) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
type HydratedTemplateButton_HydratedQuickReplyButton struct {
2022-06-11 14:07:42 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"`
Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
2022-06-11 14:07:42 -07:00
}
func (x *HydratedTemplateButton_HydratedQuickReplyButton) Reset() {
*x = HydratedTemplateButton_HydratedQuickReplyButton{}
2022-06-11 14:07:42 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[207]
2022-06-11 14:07:42 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HydratedTemplateButton_HydratedQuickReplyButton) String() string {
2022-06-11 14:07:42 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*HydratedTemplateButton_HydratedQuickReplyButton) ProtoMessage() {}
2022-06-11 14:07:42 -07:00
func (x *HydratedTemplateButton_HydratedQuickReplyButton) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[207]
2022-06-11 14:07:42 -07:00
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 HydratedTemplateButton_HydratedQuickReplyButton.ProtoReflect.Descriptor instead.
func (*HydratedTemplateButton_HydratedQuickReplyButton) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 1}
2022-06-11 14:07:42 -07:00
}
func (x *HydratedTemplateButton_HydratedQuickReplyButton) GetDisplayText() string {
if x != nil && x.DisplayText != nil {
return *x.DisplayText
2022-06-11 14:07:42 -07:00
}
return ""
2022-06-11 14:07:42 -07:00
}
func (x *HydratedTemplateButton_HydratedQuickReplyButton) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
2022-06-11 14:07:42 -07:00
}
return ""
2022-06-11 14:07:42 -07:00
}
type HydratedTemplateButton_HydratedCallButton struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"`
PhoneNumber *string `protobuf:"bytes,2,opt,name=phoneNumber" json:"phoneNumber,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *HydratedTemplateButton_HydratedCallButton) Reset() {
*x = HydratedTemplateButton_HydratedCallButton{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[208]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HydratedTemplateButton_HydratedCallButton) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*HydratedTemplateButton_HydratedCallButton) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *HydratedTemplateButton_HydratedCallButton) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[208]
2022-01-30 15:27:37 -08:00
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 HydratedTemplateButton_HydratedCallButton.ProtoReflect.Descriptor instead.
func (*HydratedTemplateButton_HydratedCallButton) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 2}
2022-01-30 15:27:37 -08:00
}
func (x *HydratedTemplateButton_HydratedCallButton) GetDisplayText() string {
if x != nil && x.DisplayText != nil {
return *x.DisplayText
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *HydratedTemplateButton_HydratedCallButton) GetPhoneNumber() string {
if x != nil && x.PhoneNumber != nil {
return *x.PhoneNumber
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type ContextInfo_UTMInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UtmSource *string `protobuf:"bytes,1,opt,name=utmSource" json:"utmSource,omitempty"`
UtmCampaign *string `protobuf:"bytes,2,opt,name=utmCampaign" json:"utmCampaign,omitempty"`
}
func (x *ContextInfo_UTMInfo) Reset() {
*x = ContextInfo_UTMInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[209]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContextInfo_UTMInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContextInfo_UTMInfo) ProtoMessage() {}
func (x *ContextInfo_UTMInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[209]
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 ContextInfo_UTMInfo.ProtoReflect.Descriptor instead.
func (*ContextInfo_UTMInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 0}
}
func (x *ContextInfo_UTMInfo) GetUtmSource() string {
if x != nil && x.UtmSource != nil {
return *x.UtmSource
}
return ""
}
func (x *ContextInfo_UTMInfo) GetUtmCampaign() string {
if x != nil && x.UtmCampaign != nil {
return *x.UtmCampaign
}
return ""
}
type ContextInfo_ForwardedNewsletterMessageInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NewsletterJid *string `protobuf:"bytes,1,opt,name=newsletterJid" json:"newsletterJid,omitempty"`
ServerMessageId *int32 `protobuf:"varint,2,opt,name=serverMessageId" json:"serverMessageId,omitempty"`
NewsletterName *string `protobuf:"bytes,3,opt,name=newsletterName" json:"newsletterName,omitempty"`
}
func (x *ContextInfo_ForwardedNewsletterMessageInfo) Reset() {
*x = ContextInfo_ForwardedNewsletterMessageInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[210]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContextInfo_ForwardedNewsletterMessageInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContextInfo_ForwardedNewsletterMessageInfo) ProtoMessage() {}
func (x *ContextInfo_ForwardedNewsletterMessageInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[210]
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 ContextInfo_ForwardedNewsletterMessageInfo.ProtoReflect.Descriptor instead.
func (*ContextInfo_ForwardedNewsletterMessageInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 1}
}
func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetNewsletterJid() string {
if x != nil && x.NewsletterJid != nil {
return *x.NewsletterJid
}
return ""
}
func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetServerMessageId() int32 {
if x != nil && x.ServerMessageId != nil {
return *x.ServerMessageId
}
return 0
}
func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetNewsletterName() string {
if x != nil && x.NewsletterName != nil {
return *x.NewsletterName
}
return ""
}
type ContextInfo_ExternalAdReplyInfo struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
Body *string `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"`
MediaType *ContextInfo_ExternalAdReplyInfo_MediaType `protobuf:"varint,3,opt,name=mediaType,enum=proto.ContextInfo_ExternalAdReplyInfo_MediaType" json:"mediaType,omitempty"`
ThumbnailUrl *string `protobuf:"bytes,4,opt,name=thumbnailUrl" json:"thumbnailUrl,omitempty"`
MediaUrl *string `protobuf:"bytes,5,opt,name=mediaUrl" json:"mediaUrl,omitempty"`
Thumbnail []byte `protobuf:"bytes,6,opt,name=thumbnail" json:"thumbnail,omitempty"`
SourceType *string `protobuf:"bytes,7,opt,name=sourceType" json:"sourceType,omitempty"`
SourceId *string `protobuf:"bytes,8,opt,name=sourceId" json:"sourceId,omitempty"`
SourceUrl *string `protobuf:"bytes,9,opt,name=sourceUrl" json:"sourceUrl,omitempty"`
ContainsAutoReply *bool `protobuf:"varint,10,opt,name=containsAutoReply" json:"containsAutoReply,omitempty"`
RenderLargerThumbnail *bool `protobuf:"varint,11,opt,name=renderLargerThumbnail" json:"renderLargerThumbnail,omitempty"`
ShowAdAttribution *bool `protobuf:"varint,12,opt,name=showAdAttribution" json:"showAdAttribution,omitempty"`
2022-11-26 15:42:16 -08:00
CtwaClid *string `protobuf:"bytes,13,opt,name=ctwaClid" json:"ctwaClid,omitempty"`
Ref *string `protobuf:"bytes,14,opt,name=ref" json:"ref,omitempty"`
}
func (x *ContextInfo_ExternalAdReplyInfo) Reset() {
*x = ContextInfo_ExternalAdReplyInfo{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[211]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContextInfo_ExternalAdReplyInfo) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ContextInfo_ExternalAdReplyInfo) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ContextInfo_ExternalAdReplyInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[211]
2022-01-30 15:27:37 -08:00
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 ContextInfo_ExternalAdReplyInfo.ProtoReflect.Descriptor instead.
func (*ContextInfo_ExternalAdReplyInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2}
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo_ExternalAdReplyInfo) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo_ExternalAdReplyInfo) GetBody() string {
if x != nil && x.Body != nil {
return *x.Body
}
return ""
}
func (x *ContextInfo_ExternalAdReplyInfo) GetMediaType() ContextInfo_ExternalAdReplyInfo_MediaType {
if x != nil && x.MediaType != nil {
return *x.MediaType
}
return ContextInfo_ExternalAdReplyInfo_NONE
}
func (x *ContextInfo_ExternalAdReplyInfo) GetThumbnailUrl() string {
if x != nil && x.ThumbnailUrl != nil {
return *x.ThumbnailUrl
}
return ""
}
func (x *ContextInfo_ExternalAdReplyInfo) GetMediaUrl() string {
if x != nil && x.MediaUrl != nil {
return *x.MediaUrl
}
return ""
}
func (x *ContextInfo_ExternalAdReplyInfo) GetThumbnail() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Thumbnail
2022-03-12 14:02:04 -08:00
}
return nil
}
func (x *ContextInfo_ExternalAdReplyInfo) GetSourceType() string {
if x != nil && x.SourceType != nil {
return *x.SourceType
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *ContextInfo_ExternalAdReplyInfo) GetSourceId() string {
if x != nil && x.SourceId != nil {
return *x.SourceId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo_ExternalAdReplyInfo) GetSourceUrl() string {
if x != nil && x.SourceUrl != nil {
return *x.SourceUrl
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *ContextInfo_ExternalAdReplyInfo) GetContainsAutoReply() bool {
if x != nil && x.ContainsAutoReply != nil {
return *x.ContainsAutoReply
2022-01-30 15:27:37 -08:00
}
return false
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo_ExternalAdReplyInfo) GetRenderLargerThumbnail() bool {
if x != nil && x.RenderLargerThumbnail != nil {
return *x.RenderLargerThumbnail
2022-01-30 15:27:37 -08:00
}
return false
}
func (x *ContextInfo_ExternalAdReplyInfo) GetShowAdAttribution() bool {
if x != nil && x.ShowAdAttribution != nil {
return *x.ShowAdAttribution
2022-03-12 14:02:04 -08:00
}
return false
}
2022-01-30 15:27:37 -08:00
2022-11-26 15:42:16 -08:00
func (x *ContextInfo_ExternalAdReplyInfo) GetCtwaClid() string {
if x != nil && x.CtwaClid != nil {
return *x.CtwaClid
}
return ""
}
func (x *ContextInfo_ExternalAdReplyInfo) GetRef() string {
if x != nil && x.Ref != nil {
return *x.Ref
}
return ""
}
type ContextInfo_BusinessMessageForwardInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BusinessOwnerJid *string `protobuf:"bytes,1,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"`
}
func (x *ContextInfo_BusinessMessageForwardInfo) Reset() {
*x = ContextInfo_BusinessMessageForwardInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[212]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContextInfo_BusinessMessageForwardInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContextInfo_BusinessMessageForwardInfo) ProtoMessage() {}
func (x *ContextInfo_BusinessMessageForwardInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[212]
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 ContextInfo_BusinessMessageForwardInfo.ProtoReflect.Descriptor instead.
func (*ContextInfo_BusinessMessageForwardInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 3}
}
func (x *ContextInfo_BusinessMessageForwardInfo) GetBusinessOwnerJid() string {
if x != nil && x.BusinessOwnerJid != nil {
return *x.BusinessOwnerJid
}
return ""
}
type ContextInfo_AdReplyInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AdvertiserName *string `protobuf:"bytes,1,opt,name=advertiserName" json:"advertiserName,omitempty"`
MediaType *ContextInfo_AdReplyInfo_MediaType `protobuf:"varint,2,opt,name=mediaType,enum=proto.ContextInfo_AdReplyInfo_MediaType" json:"mediaType,omitempty"`
JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"`
Caption *string `protobuf:"bytes,17,opt,name=caption" json:"caption,omitempty"`
}
func (x *ContextInfo_AdReplyInfo) Reset() {
*x = ContextInfo_AdReplyInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[213]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo_AdReplyInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContextInfo_AdReplyInfo) ProtoMessage() {}
func (x *ContextInfo_AdReplyInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[213]
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 ContextInfo_AdReplyInfo.ProtoReflect.Descriptor instead.
func (*ContextInfo_AdReplyInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 4}
}
func (x *ContextInfo_AdReplyInfo) GetAdvertiserName() string {
if x != nil && x.AdvertiserName != nil {
return *x.AdvertiserName
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo_AdReplyInfo) GetMediaType() ContextInfo_AdReplyInfo_MediaType {
if x != nil && x.MediaType != nil {
return *x.MediaType
}
return ContextInfo_AdReplyInfo_NONE
}
func (x *ContextInfo_AdReplyInfo) GetJpegThumbnail() []byte {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.JpegThumbnail
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ContextInfo_AdReplyInfo) GetCaption() string {
if x != nil && x.Caption != nil {
return *x.Caption
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
type TemplateButton_URLButton struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisplayText *HighlyStructuredMessage `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"`
Url *HighlyStructuredMessage `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
}
func (x *TemplateButton_URLButton) Reset() {
*x = TemplateButton_URLButton{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[214]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *TemplateButton_URLButton) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TemplateButton_URLButton) ProtoMessage() {}
func (x *TemplateButton_URLButton) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[214]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use TemplateButton_URLButton.ProtoReflect.Descriptor instead.
func (*TemplateButton_URLButton) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 0}
2022-01-30 15:27:37 -08:00
}
func (x *TemplateButton_URLButton) GetDisplayText() *HighlyStructuredMessage {
if x != nil {
return x.DisplayText
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *TemplateButton_URLButton) GetUrl() *HighlyStructuredMessage {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Url
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
type TemplateButton_QuickReplyButton struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisplayText *HighlyStructuredMessage `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"`
Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *TemplateButton_QuickReplyButton) Reset() {
*x = TemplateButton_QuickReplyButton{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[215]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *TemplateButton_QuickReplyButton) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*TemplateButton_QuickReplyButton) ProtoMessage() {}
func (x *TemplateButton_QuickReplyButton) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[215]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use TemplateButton_QuickReplyButton.ProtoReflect.Descriptor instead.
func (*TemplateButton_QuickReplyButton) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 1}
}
func (x *TemplateButton_QuickReplyButton) GetDisplayText() *HighlyStructuredMessage {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.DisplayText
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *TemplateButton_QuickReplyButton) GetId() string {
if x != nil && x.Id != nil {
return *x.Id
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type TemplateButton_CallButton struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
DisplayText *HighlyStructuredMessage `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"`
PhoneNumber *HighlyStructuredMessage `protobuf:"bytes,2,opt,name=phoneNumber" json:"phoneNumber,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *TemplateButton_CallButton) Reset() {
*x = TemplateButton_CallButton{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[216]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
}
func (x *TemplateButton_CallButton) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*TemplateButton_CallButton) ProtoMessage() {}
func (x *TemplateButton_CallButton) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[216]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-03-12 14:02:04 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use TemplateButton_CallButton.ProtoReflect.Descriptor instead.
func (*TemplateButton_CallButton) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 2}
2022-01-30 15:27:37 -08:00
}
func (x *TemplateButton_CallButton) GetDisplayText() *HighlyStructuredMessage {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.DisplayText
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *TemplateButton_CallButton) GetPhoneNumber() *HighlyStructuredMessage {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.PhoneNumber
2022-03-12 14:02:04 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type PaymentBackground_MediaData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey" json:"mediaKey,omitempty"`
MediaKeyTimestamp *int64 `protobuf:"varint,2,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"`
FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"`
FileEncSha256 []byte `protobuf:"bytes,4,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
DirectPath *string `protobuf:"bytes,5,opt,name=directPath" json:"directPath,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PaymentBackground_MediaData) Reset() {
*x = PaymentBackground_MediaData{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[217]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PaymentBackground_MediaData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PaymentBackground_MediaData) ProtoMessage() {}
func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[217]
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 PaymentBackground_MediaData.ProtoReflect.Descriptor instead.
func (*PaymentBackground_MediaData) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{54, 0}
}
func (x *PaymentBackground_MediaData) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
}
return nil
}
func (x *PaymentBackground_MediaData) GetMediaKeyTimestamp() int64 {
if x != nil && x.MediaKeyTimestamp != nil {
return *x.MediaKeyTimestamp
}
return 0
}
func (x *PaymentBackground_MediaData) GetFileSha256() []byte {
if x != nil {
return x.FileSha256
}
return nil
}
func (x *PaymentBackground_MediaData) GetFileEncSha256() []byte {
if x != nil {
return x.FileEncSha256
}
return nil
}
func (x *PaymentBackground_MediaData) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
}
return ""
}
type TemplateMessage_HydratedFourRowTemplate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
HydratedContentText *string `protobuf:"bytes,6,opt,name=hydratedContentText" json:"hydratedContentText,omitempty"`
HydratedFooterText *string `protobuf:"bytes,7,opt,name=hydratedFooterText" json:"hydratedFooterText,omitempty"`
HydratedButtons []*HydratedTemplateButton `protobuf:"bytes,8,rep,name=hydratedButtons" json:"hydratedButtons,omitempty"`
TemplateId *string `protobuf:"bytes,9,opt,name=templateId" json:"templateId,omitempty"`
// Types that are assignable to Title:
//
// *TemplateMessage_HydratedFourRowTemplate_DocumentMessage
// *TemplateMessage_HydratedFourRowTemplate_HydratedTitleText
// *TemplateMessage_HydratedFourRowTemplate_ImageMessage
// *TemplateMessage_HydratedFourRowTemplate_VideoMessage
// *TemplateMessage_HydratedFourRowTemplate_LocationMessage
Title isTemplateMessage_HydratedFourRowTemplate_Title `protobuf_oneof:"title"`
}
func (x *TemplateMessage_HydratedFourRowTemplate) Reset() {
*x = TemplateMessage_HydratedFourRowTemplate{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[218]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TemplateMessage_HydratedFourRowTemplate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TemplateMessage_HydratedFourRowTemplate) ProtoMessage() {}
func (x *TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[218]
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 TemplateMessage_HydratedFourRowTemplate.ProtoReflect.Descriptor instead.
func (*TemplateMessage_HydratedFourRowTemplate) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 0}
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedContentText() string {
if x != nil && x.HydratedContentText != nil {
return *x.HydratedContentText
}
return ""
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedFooterText() string {
if x != nil && x.HydratedFooterText != nil {
return *x.HydratedFooterText
}
return ""
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedButtons() []*HydratedTemplateButton {
if x != nil {
return x.HydratedButtons
}
return nil
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetTemplateId() string {
if x != nil && x.TemplateId != nil {
return *x.TemplateId
}
return ""
}
func (m *TemplateMessage_HydratedFourRowTemplate) GetTitle() isTemplateMessage_HydratedFourRowTemplate_Title {
if m != nil {
return m.Title
}
return nil
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetDocumentMessage() *DocumentMessage {
if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_DocumentMessage); ok {
return x.DocumentMessage
}
return nil
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedTitleText() string {
if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText); ok {
return x.HydratedTitleText
}
return ""
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetImageMessage() *ImageMessage {
if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_ImageMessage); ok {
return x.ImageMessage
}
return nil
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetVideoMessage() *VideoMessage {
if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_VideoMessage); ok {
return x.VideoMessage
}
return nil
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetLocationMessage() *LocationMessage {
if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_LocationMessage); ok {
return x.LocationMessage
}
return nil
}
type isTemplateMessage_HydratedFourRowTemplate_Title interface {
isTemplateMessage_HydratedFourRowTemplate_Title()
}
type TemplateMessage_HydratedFourRowTemplate_DocumentMessage struct {
DocumentMessage *DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,oneof"`
}
type TemplateMessage_HydratedFourRowTemplate_HydratedTitleText struct {
HydratedTitleText string `protobuf:"bytes,2,opt,name=hydratedTitleText,oneof"`
}
type TemplateMessage_HydratedFourRowTemplate_ImageMessage struct {
ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"`
}
type TemplateMessage_HydratedFourRowTemplate_VideoMessage struct {
VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"`
}
type TemplateMessage_HydratedFourRowTemplate_LocationMessage struct {
LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"`
}
func (*TemplateMessage_HydratedFourRowTemplate_DocumentMessage) isTemplateMessage_HydratedFourRowTemplate_Title() {
}
func (*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText) isTemplateMessage_HydratedFourRowTemplate_Title() {
}
func (*TemplateMessage_HydratedFourRowTemplate_ImageMessage) isTemplateMessage_HydratedFourRowTemplate_Title() {
}
func (*TemplateMessage_HydratedFourRowTemplate_VideoMessage) isTemplateMessage_HydratedFourRowTemplate_Title() {
}
func (*TemplateMessage_HydratedFourRowTemplate_LocationMessage) isTemplateMessage_HydratedFourRowTemplate_Title() {
}
type TemplateMessage_FourRowTemplate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Content *HighlyStructuredMessage `protobuf:"bytes,6,opt,name=content" json:"content,omitempty"`
Footer *HighlyStructuredMessage `protobuf:"bytes,7,opt,name=footer" json:"footer,omitempty"`
Buttons []*TemplateButton `protobuf:"bytes,8,rep,name=buttons" json:"buttons,omitempty"`
// Types that are assignable to Title:
//
// *TemplateMessage_FourRowTemplate_DocumentMessage
// *TemplateMessage_FourRowTemplate_HighlyStructuredMessage
// *TemplateMessage_FourRowTemplate_ImageMessage
// *TemplateMessage_FourRowTemplate_VideoMessage
// *TemplateMessage_FourRowTemplate_LocationMessage
Title isTemplateMessage_FourRowTemplate_Title `protobuf_oneof:"title"`
}
func (x *TemplateMessage_FourRowTemplate) Reset() {
*x = TemplateMessage_FourRowTemplate{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[219]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
}
func (x *TemplateMessage_FourRowTemplate) String() string {
return protoimpl.X.MessageStringOf(x)
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
func (*TemplateMessage_FourRowTemplate) ProtoMessage() {}
func (x *TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[219]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use TemplateMessage_FourRowTemplate.ProtoReflect.Descriptor instead.
func (*TemplateMessage_FourRowTemplate) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 1}
2022-01-30 15:27:37 -08:00
}
func (x *TemplateMessage_FourRowTemplate) GetContent() *HighlyStructuredMessage {
2022-03-12 14:02:04 -08:00
if x != nil {
return x.Content
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return nil
2022-01-30 15:27:37 -08:00
}
func (x *TemplateMessage_FourRowTemplate) GetFooter() *HighlyStructuredMessage {
if x != nil {
return x.Footer
2022-04-25 14:50:10 -07:00
}
return nil
2022-04-25 14:50:10 -07:00
}
func (x *TemplateMessage_FourRowTemplate) GetButtons() []*TemplateButton {
if x != nil {
return x.Buttons
2022-04-25 14:50:10 -07:00
}
return nil
2022-04-25 14:50:10 -07:00
}
func (m *TemplateMessage_FourRowTemplate) GetTitle() isTemplateMessage_FourRowTemplate_Title {
if m != nil {
return m.Title
2022-04-25 14:50:10 -07:00
}
return nil
}
func (x *TemplateMessage_FourRowTemplate) GetDocumentMessage() *DocumentMessage {
if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_DocumentMessage); ok {
return x.DocumentMessage
2022-06-24 15:36:16 -07:00
}
return nil
2022-06-24 15:36:16 -07:00
}
func (x *TemplateMessage_FourRowTemplate) GetHighlyStructuredMessage() *HighlyStructuredMessage {
if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_HighlyStructuredMessage); ok {
return x.HighlyStructuredMessage
}
return nil
}
func (x *TemplateMessage_FourRowTemplate) GetImageMessage() *ImageMessage {
if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_ImageMessage); ok {
return x.ImageMessage
}
return nil
}
func (x *TemplateMessage_FourRowTemplate) GetVideoMessage() *VideoMessage {
if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_VideoMessage); ok {
return x.VideoMessage
}
return nil
}
func (x *TemplateMessage_FourRowTemplate) GetLocationMessage() *LocationMessage {
if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_LocationMessage); ok {
return x.LocationMessage
}
return nil
}
type isTemplateMessage_FourRowTemplate_Title interface {
isTemplateMessage_FourRowTemplate_Title()
}
type TemplateMessage_FourRowTemplate_DocumentMessage struct {
DocumentMessage *DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,oneof"`
}
type TemplateMessage_FourRowTemplate_HighlyStructuredMessage struct {
HighlyStructuredMessage *HighlyStructuredMessage `protobuf:"bytes,2,opt,name=highlyStructuredMessage,oneof"`
}
type TemplateMessage_FourRowTemplate_ImageMessage struct {
ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"`
}
type TemplateMessage_FourRowTemplate_VideoMessage struct {
VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"`
}
type TemplateMessage_FourRowTemplate_LocationMessage struct {
LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"`
}
func (*TemplateMessage_FourRowTemplate_DocumentMessage) isTemplateMessage_FourRowTemplate_Title() {}
func (*TemplateMessage_FourRowTemplate_HighlyStructuredMessage) isTemplateMessage_FourRowTemplate_Title() {
}
func (*TemplateMessage_FourRowTemplate_ImageMessage) isTemplateMessage_FourRowTemplate_Title() {}
func (*TemplateMessage_FourRowTemplate_VideoMessage) isTemplateMessage_FourRowTemplate_Title() {}
func (*TemplateMessage_FourRowTemplate_LocationMessage) isTemplateMessage_FourRowTemplate_Title() {}
type ProductMessage_ProductSnapshot struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProductImage *ImageMessage `protobuf:"bytes,1,opt,name=productImage" json:"productImage,omitempty"`
ProductId *string `protobuf:"bytes,2,opt,name=productId" json:"productId,omitempty"`
Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
CurrencyCode *string `protobuf:"bytes,5,opt,name=currencyCode" json:"currencyCode,omitempty"`
PriceAmount1000 *int64 `protobuf:"varint,6,opt,name=priceAmount1000" json:"priceAmount1000,omitempty"`
RetailerId *string `protobuf:"bytes,7,opt,name=retailerId" json:"retailerId,omitempty"`
Url *string `protobuf:"bytes,8,opt,name=url" json:"url,omitempty"`
ProductImageCount *uint32 `protobuf:"varint,9,opt,name=productImageCount" json:"productImageCount,omitempty"`
FirstImageId *string `protobuf:"bytes,11,opt,name=firstImageId" json:"firstImageId,omitempty"`
SalePriceAmount1000 *int64 `protobuf:"varint,12,opt,name=salePriceAmount1000" json:"salePriceAmount1000,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_ProductSnapshot) Reset() {
*x = ProductMessage_ProductSnapshot{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[220]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProductMessage_ProductSnapshot) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ProductMessage_ProductSnapshot) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[220]
2022-01-30 15:27:37 -08:00
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 ProductMessage_ProductSnapshot.ProtoReflect.Descriptor instead.
func (*ProductMessage_ProductSnapshot) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 0}
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_ProductSnapshot) GetProductImage() *ImageMessage {
if x != nil {
return x.ProductImage
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_ProductSnapshot) GetProductId() string {
if x != nil && x.ProductId != nil {
return *x.ProductId
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *ProductMessage_ProductSnapshot) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
}
return ""
}
func (x *ProductMessage_ProductSnapshot) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *ProductMessage_ProductSnapshot) GetCurrencyCode() string {
if x != nil && x.CurrencyCode != nil {
return *x.CurrencyCode
}
return ""
}
func (x *ProductMessage_ProductSnapshot) GetPriceAmount1000() int64 {
if x != nil && x.PriceAmount1000 != nil {
return *x.PriceAmount1000
}
return 0
}
func (x *ProductMessage_ProductSnapshot) GetRetailerId() string {
if x != nil && x.RetailerId != nil {
return *x.RetailerId
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_ProductSnapshot) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_ProductSnapshot) GetProductImageCount() uint32 {
if x != nil && x.ProductImageCount != nil {
return *x.ProductImageCount
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_ProductSnapshot) GetFirstImageId() string {
if x != nil && x.FirstImageId != nil {
return *x.FirstImageId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_ProductSnapshot) GetSalePriceAmount1000() int64 {
if x != nil && x.SalePriceAmount1000 != nil {
return *x.SalePriceAmount1000
}
return 0
2022-01-30 15:27:37 -08:00
}
type ProductMessage_CatalogSnapshot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
CatalogImage *ImageMessage `protobuf:"bytes,1,opt,name=catalogImage" json:"catalogImage,omitempty"`
Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_CatalogSnapshot) Reset() {
*x = ProductMessage_CatalogSnapshot{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[221]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_CatalogSnapshot) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ProductMessage_CatalogSnapshot) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[221]
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)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ProductMessage_CatalogSnapshot.ProtoReflect.Descriptor instead.
func (*ProductMessage_CatalogSnapshot) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 1}
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_CatalogSnapshot) GetCatalogImage() *ImageMessage {
if x != nil {
return x.CatalogImage
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_CatalogSnapshot) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ProductMessage_CatalogSnapshot) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
2022-01-30 15:27:37 -08:00
}
type PollCreationMessage_Option struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OptionName *string `protobuf:"bytes,1,opt,name=optionName" json:"optionName,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PollCreationMessage_Option) Reset() {
*x = PollCreationMessage_Option{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[222]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *PollCreationMessage_Option) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*PollCreationMessage_Option) ProtoMessage() {}
func (x *PollCreationMessage_Option) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[222]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use PollCreationMessage_Option.ProtoReflect.Descriptor instead.
func (*PollCreationMessage_Option) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{77, 0}
2022-01-30 15:27:37 -08:00
}
func (x *PollCreationMessage_Option) GetOptionName() string {
if x != nil && x.OptionName != nil {
return *x.OptionName
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
type PeerDataOperationRequestResponseMessage_PeerDataOperationResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MediaUploadResult *MediaRetryNotification_ResultType `protobuf:"varint,1,opt,name=mediaUploadResult,enum=proto.MediaRetryNotification_ResultType" json:"mediaUploadResult,omitempty"`
StickerMessage *StickerMessage `protobuf:"bytes,2,opt,name=stickerMessage" json:"stickerMessage,omitempty"`
LinkPreviewResponse *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse `protobuf:"bytes,3,opt,name=linkPreviewResponse" json:"linkPreviewResponse,omitempty"`
PlaceholderMessageResendResponse *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse `protobuf:"bytes,4,opt,name=placeholderMessageResendResponse" json:"placeholderMessageResendResponse,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Reset() {
*x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[223]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) String() string {
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoMessage() {}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[223]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0}
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetMediaUploadResult() MediaRetryNotification_ResultType {
if x != nil && x.MediaUploadResult != nil {
return *x.MediaUploadResult
2022-01-30 15:27:37 -08:00
}
return MediaRetryNotification_GENERAL_ERROR
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetStickerMessage() *StickerMessage {
if x != nil {
return x.StickerMessage
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetLinkPreviewResponse() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse {
if x != nil {
return x.LinkPreviewResponse
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetPlaceholderMessageResendResponse() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse {
if x != nil {
return x.PlaceholderMessageResendResponse
2022-03-12 14:02:04 -08:00
}
return nil
2022-03-12 14:02:04 -08:00
}
type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-03-12 14:02:04 -08:00
WebMessageInfoBytes []byte `protobuf:"bytes,1,opt,name=webMessageInfoBytes" json:"webMessageInfoBytes,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Reset() {
*x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[224]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) String() string {
return protoimpl.X.MessageStringOf(x)
2022-03-12 14:02:04 -08:00
}
func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoMessage() {
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[224]
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)
2022-03-12 14:02:04 -08:00
}
// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 0}
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) GetWebMessageInfoBytes() []byte {
if x != nil {
return x.WebMessageInfoBytes
}
return nil
}
type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
ThumbData []byte `protobuf:"bytes,4,opt,name=thumbData" json:"thumbData,omitempty"`
CanonicalUrl *string `protobuf:"bytes,5,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"`
MatchText *string `protobuf:"bytes,6,opt,name=matchText" json:"matchText,omitempty"`
PreviewType *string `protobuf:"bytes,7,opt,name=previewType" json:"previewType,omitempty"`
HqThumbnail *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail `protobuf:"bytes,8,opt,name=hqThumbnail" json:"hqThumbnail,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Reset() {
*x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[225]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoMessage() {
}
2022-03-12 14:02:04 -08:00
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[225]
2022-03-12 14:02:04 -08:00
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 PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 1}
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
2022-03-12 14:02:04 -08:00
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetThumbData() []byte {
if x != nil {
return x.ThumbData
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetCanonicalUrl() string {
if x != nil && x.CanonicalUrl != nil {
return *x.CanonicalUrl
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetMatchText() string {
if x != nil && x.MatchText != nil {
return *x.MatchText
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetPreviewType() string {
if x != nil && x.PreviewType != nil {
return *x.PreviewType
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetHqThumbnail() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail {
if x != nil {
return x.HqThumbnail
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DirectPath *string `protobuf:"bytes,1,opt,name=directPath" json:"directPath,omitempty"`
ThumbHash *string `protobuf:"bytes,2,opt,name=thumbHash" json:"thumbHash,omitempty"`
EncThumbHash *string `protobuf:"bytes,3,opt,name=encThumbHash" json:"encThumbHash,omitempty"`
MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"`
MediaKeyTimestampMs *int64 `protobuf:"varint,5,opt,name=mediaKeyTimestampMs" json:"mediaKeyTimestampMs,omitempty"`
ThumbWidth *int32 `protobuf:"varint,6,opt,name=thumbWidth" json:"thumbWidth,omitempty"`
ThumbHeight *int32 `protobuf:"varint,7,opt,name=thumbHeight" json:"thumbHeight,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Reset() {
*x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[226]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoMessage() {
}
2022-03-12 14:02:04 -08:00
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[226]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 1, 0}
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHash() string {
if x != nil && x.ThumbHash != nil {
return *x.ThumbHash
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetEncThumbHash() string {
if x != nil && x.EncThumbHash != nil {
return *x.EncThumbHash
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return ""
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
}
return nil
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKeyTimestampMs() int64 {
if x != nil && x.MediaKeyTimestampMs != nil {
return *x.MediaKeyTimestampMs
}
return 0
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbWidth() int32 {
if x != nil && x.ThumbWidth != nil {
return *x.ThumbWidth
}
return 0
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHeight() int32 {
if x != nil && x.ThumbHeight != nil {
return *x.ThumbHeight
}
return 0
}
type PeerDataOperationRequestMessage_RequestUrlPreview struct {
2022-11-26 15:42:16 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
IncludeHqThumbnail *bool `protobuf:"varint,2,opt,name=includeHqThumbnail" json:"includeHqThumbnail,omitempty"`
2022-11-26 15:42:16 -08:00
}
func (x *PeerDataOperationRequestMessage_RequestUrlPreview) Reset() {
*x = PeerDataOperationRequestMessage_RequestUrlPreview{}
2022-11-26 15:42:16 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[227]
2022-11-26 15:42:16 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PeerDataOperationRequestMessage_RequestUrlPreview) String() string {
2022-11-26 15:42:16 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PeerDataOperationRequestMessage_RequestUrlPreview) ProtoMessage() {}
2022-11-26 15:42:16 -08:00
func (x *PeerDataOperationRequestMessage_RequestUrlPreview) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[227]
2022-11-26 15:42:16 -08:00
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 PeerDataOperationRequestMessage_RequestUrlPreview.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestMessage_RequestUrlPreview) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 0}
2022-11-26 15:42:16 -08:00
}
func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetUrl() string {
if x != nil && x.Url != nil {
return *x.Url
2022-11-26 15:42:16 -08:00
}
return ""
}
func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetIncludeHqThumbnail() bool {
if x != nil && x.IncludeHqThumbnail != nil {
return *x.IncludeHqThumbnail
}
return false
}
type PeerDataOperationRequestMessage_RequestStickerReupload struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileSha256 *string `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"`
}
func (x *PeerDataOperationRequestMessage_RequestStickerReupload) Reset() {
*x = PeerDataOperationRequestMessage_RequestStickerReupload{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[228]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PeerDataOperationRequestMessage_RequestStickerReupload) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PeerDataOperationRequestMessage_RequestStickerReupload) ProtoMessage() {}
func (x *PeerDataOperationRequestMessage_RequestStickerReupload) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[228]
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 PeerDataOperationRequestMessage_RequestStickerReupload.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestMessage_RequestStickerReupload) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 1}
}
func (x *PeerDataOperationRequestMessage_RequestStickerReupload) GetFileSha256() string {
if x != nil && x.FileSha256 != nil {
return *x.FileSha256
}
return ""
}
type PeerDataOperationRequestMessage_PlaceholderMessageResendRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageKey *MessageKey `protobuf:"bytes,1,opt,name=messageKey" json:"messageKey,omitempty"`
}
func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Reset() {
*x = PeerDataOperationRequestMessage_PlaceholderMessageResendRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[229]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoMessage() {}
func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[229]
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 PeerDataOperationRequestMessage_PlaceholderMessageResendRequest.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 2}
}
func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) GetMessageKey() *MessageKey {
if x != nil {
return x.MessageKey
}
return nil
}
type PeerDataOperationRequestMessage_HistorySyncOnDemandRequest struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ChatJid *string `protobuf:"bytes,1,opt,name=chatJid" json:"chatJid,omitempty"`
OldestMsgId *string `protobuf:"bytes,2,opt,name=oldestMsgId" json:"oldestMsgId,omitempty"`
OldestMsgFromMe *bool `protobuf:"varint,3,opt,name=oldestMsgFromMe" json:"oldestMsgFromMe,omitempty"`
OnDemandMsgCount *int32 `protobuf:"varint,4,opt,name=onDemandMsgCount" json:"onDemandMsgCount,omitempty"`
OldestMsgTimestampMs *int64 `protobuf:"varint,5,opt,name=oldestMsgTimestampMs" json:"oldestMsgTimestampMs,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Reset() {
*x = PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[230]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[230]
2022-01-30 15:27:37 -08:00
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 PeerDataOperationRequestMessage_HistorySyncOnDemandRequest.ProtoReflect.Descriptor instead.
func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 3}
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetChatJid() string {
if x != nil && x.ChatJid != nil {
return *x.ChatJid
}
return ""
}
func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgId() string {
if x != nil && x.OldestMsgId != nil {
return *x.OldestMsgId
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgFromMe() bool {
if x != nil && x.OldestMsgFromMe != nil {
return *x.OldestMsgFromMe
}
return false
}
func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOnDemandMsgCount() int32 {
if x != nil && x.OnDemandMsgCount != nil {
return *x.OnDemandMsgCount
}
return 0
}
func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgTimestampMs() int64 {
if x != nil && x.OldestMsgTimestampMs != nil {
return *x.OldestMsgTimestampMs
}
return 0
}
type VerifiedNameCertificate_Details struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Serial *uint64 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"`
Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"`
VerifiedName *string `protobuf:"bytes,4,opt,name=verifiedName" json:"verifiedName,omitempty"`
LocalizedNames []*LocalizedName `protobuf:"bytes,8,rep,name=localizedNames" json:"localizedNames,omitempty"`
IssueTime *uint64 `protobuf:"varint,10,opt,name=issueTime" json:"issueTime,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *VerifiedNameCertificate_Details) Reset() {
*x = VerifiedNameCertificate_Details{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[231]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *VerifiedNameCertificate_Details) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*VerifiedNameCertificate_Details) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[231]
2022-01-30 15:27:37 -08:00
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 VerifiedNameCertificate_Details.ProtoReflect.Descriptor instead.
func (*VerifiedNameCertificate_Details) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{152, 0}
2022-01-30 15:27:37 -08:00
}
func (x *VerifiedNameCertificate_Details) GetSerial() uint64 {
if x != nil && x.Serial != nil {
return *x.Serial
2022-01-30 15:27:37 -08:00
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *VerifiedNameCertificate_Details) GetIssuer() string {
if x != nil && x.Issuer != nil {
return *x.Issuer
}
return ""
}
func (x *VerifiedNameCertificate_Details) GetVerifiedName() string {
if x != nil && x.VerifiedName != nil {
return *x.VerifiedName
}
return ""
}
func (x *VerifiedNameCertificate_Details) GetLocalizedNames() []*LocalizedName {
if x != nil {
return x.LocalizedNames
}
return nil
}
func (x *VerifiedNameCertificate_Details) GetIssueTime() uint64 {
if x != nil && x.IssueTime != nil {
return *x.IssueTime
}
return 0
}
type ClientPayload_WebInfo struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RefToken *string `protobuf:"bytes,1,opt,name=refToken" json:"refToken,omitempty"`
Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
WebdPayload *ClientPayload_WebInfo_WebdPayload `protobuf:"bytes,3,opt,name=webdPayload" json:"webdPayload,omitempty"`
WebSubPlatform *ClientPayload_WebInfo_WebSubPlatform `protobuf:"varint,4,opt,name=webSubPlatform,enum=proto.ClientPayload_WebInfo_WebSubPlatform" json:"webSubPlatform,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *ClientPayload_WebInfo) Reset() {
*x = ClientPayload_WebInfo{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[232]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ClientPayload_WebInfo) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ClientPayload_WebInfo) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *ClientPayload_WebInfo) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[232]
2022-03-12 14:02:04 -08:00
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 ClientPayload_WebInfo.ProtoReflect.Descriptor instead.
func (*ClientPayload_WebInfo) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0}
}
func (x *ClientPayload_WebInfo) GetRefToken() string {
if x != nil && x.RefToken != nil {
return *x.RefToken
}
return ""
2022-03-12 14:02:04 -08:00
}
func (x *ClientPayload_WebInfo) GetVersion() string {
if x != nil && x.Version != nil {
return *x.Version
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_WebInfo) GetWebdPayload() *ClientPayload_WebInfo_WebdPayload {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.WebdPayload
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ClientPayload_WebInfo) GetWebSubPlatform() ClientPayload_WebInfo_WebSubPlatform {
if x != nil && x.WebSubPlatform != nil {
return *x.WebSubPlatform
2022-03-12 14:02:04 -08:00
}
return ClientPayload_WebInfo_WEB_BROWSER
2022-03-12 14:02:04 -08:00
}
type ClientPayload_UserAgent struct {
2022-01-30 15:27:37 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Platform *ClientPayload_UserAgent_Platform `protobuf:"varint,1,opt,name=platform,enum=proto.ClientPayload_UserAgent_Platform" json:"platform,omitempty"`
AppVersion *ClientPayload_UserAgent_AppVersion `protobuf:"bytes,2,opt,name=appVersion" json:"appVersion,omitempty"`
Mcc *string `protobuf:"bytes,3,opt,name=mcc" json:"mcc,omitempty"`
Mnc *string `protobuf:"bytes,4,opt,name=mnc" json:"mnc,omitempty"`
OsVersion *string `protobuf:"bytes,5,opt,name=osVersion" json:"osVersion,omitempty"`
Manufacturer *string `protobuf:"bytes,6,opt,name=manufacturer" json:"manufacturer,omitempty"`
Device *string `protobuf:"bytes,7,opt,name=device" json:"device,omitempty"`
OsBuildNumber *string `protobuf:"bytes,8,opt,name=osBuildNumber" json:"osBuildNumber,omitempty"`
PhoneId *string `protobuf:"bytes,9,opt,name=phoneId" json:"phoneId,omitempty"`
ReleaseChannel *ClientPayload_UserAgent_ReleaseChannel `protobuf:"varint,10,opt,name=releaseChannel,enum=proto.ClientPayload_UserAgent_ReleaseChannel" json:"releaseChannel,omitempty"`
LocaleLanguageIso6391 *string `protobuf:"bytes,11,opt,name=localeLanguageIso6391" json:"localeLanguageIso6391,omitempty"`
LocaleCountryIso31661Alpha2 *string `protobuf:"bytes,12,opt,name=localeCountryIso31661Alpha2" json:"localeCountryIso31661Alpha2,omitempty"`
DeviceBoard *string `protobuf:"bytes,13,opt,name=deviceBoard" json:"deviceBoard,omitempty"`
DeviceExpId *string `protobuf:"bytes,14,opt,name=deviceExpId" json:"deviceExpId,omitempty"`
DeviceType *ClientPayload_UserAgent_DeviceType `protobuf:"varint,15,opt,name=deviceType,enum=proto.ClientPayload_UserAgent_DeviceType" json:"deviceType,omitempty"`
}
func (x *ClientPayload_UserAgent) Reset() {
*x = ClientPayload_UserAgent{}
2022-01-30 15:27:37 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[233]
2022-01-30 15:27:37 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ClientPayload_UserAgent) String() string {
2022-01-30 15:27:37 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ClientPayload_UserAgent) ProtoMessage() {}
2022-01-30 15:27:37 -08:00
func (x *ClientPayload_UserAgent) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[233]
2022-01-30 15:27:37 -08:00
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 ClientPayload_UserAgent.ProtoReflect.Descriptor instead.
func (*ClientPayload_UserAgent) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1}
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetPlatform() ClientPayload_UserAgent_Platform {
if x != nil && x.Platform != nil {
return *x.Platform
2022-01-30 15:27:37 -08:00
}
return ClientPayload_UserAgent_ANDROID
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetAppVersion() *ClientPayload_UserAgent_AppVersion {
if x != nil {
return x.AppVersion
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetMcc() string {
if x != nil && x.Mcc != nil {
return *x.Mcc
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *ClientPayload_UserAgent) GetMnc() string {
if x != nil && x.Mnc != nil {
return *x.Mnc
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetOsVersion() string {
if x != nil && x.OsVersion != nil {
return *x.OsVersion
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetManufacturer() string {
if x != nil && x.Manufacturer != nil {
return *x.Manufacturer
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetDevice() string {
if x != nil && x.Device != nil {
return *x.Device
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetOsBuildNumber() string {
if x != nil && x.OsBuildNumber != nil {
return *x.OsBuildNumber
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetPhoneId() string {
if x != nil && x.PhoneId != nil {
return *x.PhoneId
2022-01-30 15:27:37 -08:00
}
return ""
}
func (x *ClientPayload_UserAgent) GetReleaseChannel() ClientPayload_UserAgent_ReleaseChannel {
if x != nil && x.ReleaseChannel != nil {
return *x.ReleaseChannel
2022-01-30 15:27:37 -08:00
}
return ClientPayload_UserAgent_RELEASE
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetLocaleLanguageIso6391() string {
if x != nil && x.LocaleLanguageIso6391 != nil {
return *x.LocaleLanguageIso6391
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetLocaleCountryIso31661Alpha2() string {
if x != nil && x.LocaleCountryIso31661Alpha2 != nil {
return *x.LocaleCountryIso31661Alpha2
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetDeviceBoard() string {
if x != nil && x.DeviceBoard != nil {
return *x.DeviceBoard
2022-01-30 15:27:37 -08:00
}
return ""
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_UserAgent) GetDeviceExpId() string {
if x != nil && x.DeviceExpId != nil {
return *x.DeviceExpId
}
return ""
}
func (x *ClientPayload_UserAgent) GetDeviceType() ClientPayload_UserAgent_DeviceType {
if x != nil && x.DeviceType != nil {
return *x.DeviceType
}
return ClientPayload_UserAgent_PHONE
}
type ClientPayload_InteropData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AccountId *uint64 `protobuf:"varint,1,opt,name=accountId" json:"accountId,omitempty"`
IntegratorId *uint32 `protobuf:"varint,2,opt,name=integratorId" json:"integratorId,omitempty"`
Token []byte `protobuf:"bytes,3,opt,name=token" json:"token,omitempty"`
}
func (x *ClientPayload_InteropData) Reset() {
*x = ClientPayload_InteropData{}
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[234]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ClientPayload_InteropData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClientPayload_InteropData) ProtoMessage() {}
func (x *ClientPayload_InteropData) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[234]
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 ClientPayload_InteropData.ProtoReflect.Descriptor instead.
func (*ClientPayload_InteropData) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 2}
}
func (x *ClientPayload_InteropData) GetAccountId() uint64 {
if x != nil && x.AccountId != nil {
return *x.AccountId
}
return 0
}
func (x *ClientPayload_InteropData) GetIntegratorId() uint32 {
if x != nil && x.IntegratorId != nil {
return *x.IntegratorId
}
return 0
}
func (x *ClientPayload_InteropData) GetToken() []byte {
if x != nil {
return x.Token
}
return nil
}
type ClientPayload_DevicePairingRegistrationData struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-01-30 15:27:37 -08:00
ERegid []byte `protobuf:"bytes,1,opt,name=eRegid" json:"eRegid,omitempty"`
EKeytype []byte `protobuf:"bytes,2,opt,name=eKeytype" json:"eKeytype,omitempty"`
EIdent []byte `protobuf:"bytes,3,opt,name=eIdent" json:"eIdent,omitempty"`
ESkeyId []byte `protobuf:"bytes,4,opt,name=eSkeyId" json:"eSkeyId,omitempty"`
ESkeyVal []byte `protobuf:"bytes,5,opt,name=eSkeyVal" json:"eSkeyVal,omitempty"`
ESkeySig []byte `protobuf:"bytes,6,opt,name=eSkeySig" json:"eSkeySig,omitempty"`
BuildHash []byte `protobuf:"bytes,7,opt,name=buildHash" json:"buildHash,omitempty"`
DeviceProps []byte `protobuf:"bytes,8,opt,name=deviceProps" json:"deviceProps,omitempty"`
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_DevicePairingRegistrationData) Reset() {
*x = ClientPayload_DevicePairingRegistrationData{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[235]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ClientPayload_DevicePairingRegistrationData) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
2022-01-30 15:27:37 -08:00
}
func (*ClientPayload_DevicePairingRegistrationData) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *ClientPayload_DevicePairingRegistrationData) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[235]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-03-12 14:02:04 -08:00
return mi.MessageOf(x)
2022-01-30 15:27:37 -08:00
}
// Deprecated: Use ClientPayload_DevicePairingRegistrationData.ProtoReflect.Descriptor instead.
func (*ClientPayload_DevicePairingRegistrationData) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 3}
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_DevicePairingRegistrationData) GetERegid() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.ERegid
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ClientPayload_DevicePairingRegistrationData) GetEKeytype() []byte {
2022-01-30 15:27:37 -08:00
if x != nil {
return x.EKeytype
2022-01-30 15:27:37 -08:00
}
return nil
}
func (x *ClientPayload_DevicePairingRegistrationData) GetEIdent() []byte {
if x != nil {
return x.EIdent
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_DevicePairingRegistrationData) GetESkeyId() []byte {
if x != nil {
return x.ESkeyId
2022-01-30 15:27:37 -08:00
}
return nil
2022-01-30 15:27:37 -08:00
}
func (x *ClientPayload_DevicePairingRegistrationData) GetESkeyVal() []byte {
if x != nil {
return x.ESkeyVal
}
return nil
}
func (x *ClientPayload_DevicePairingRegistrationData) GetESkeySig() []byte {
if x != nil {
return x.ESkeySig
}
return nil
}
func (x *ClientPayload_DevicePairingRegistrationData) GetBuildHash() []byte {
if x != nil {
return x.BuildHash
}
return nil
}
func (x *ClientPayload_DevicePairingRegistrationData) GetDeviceProps() []byte {
if x != nil {
return x.DeviceProps
}
return nil
}
type ClientPayload_DNSSource struct {
2022-03-12 14:02:04 -08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DnsMethod *ClientPayload_DNSSource_DNSResolutionMethod `protobuf:"varint,15,opt,name=dnsMethod,enum=proto.ClientPayload_DNSSource_DNSResolutionMethod" json:"dnsMethod,omitempty"`
AppCached *bool `protobuf:"varint,16,opt,name=appCached" json:"appCached,omitempty"`
2022-03-12 14:02:04 -08:00
}
func (x *ClientPayload_DNSSource) Reset() {
*x = ClientPayload_DNSSource{}
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[236]
2022-03-12 14:02:04 -08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2022-01-30 15:27:37 -08:00
}
}
func (x *ClientPayload_DNSSource) String() string {
2022-03-12 14:02:04 -08:00
return protoimpl.X.MessageStringOf(x)
}
func (*ClientPayload_DNSSource) ProtoMessage() {}
2022-03-12 14:02:04 -08:00
func (x *ClientPayload_DNSSource) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[236]
2022-03-12 14:02:04 -08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
return mi.MessageOf(x)
}
// Deprecated: Use ClientPayload_DNSSource.ProtoReflect.Descriptor instead.
func (*ClientPayload_DNSSource) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 4}
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_DNSSource) GetDnsMethod() ClientPayload_DNSSource_DNSResolutionMethod {
if x != nil && x.DnsMethod != nil {
return *x.DnsMethod
2022-06-24 15:36:16 -07:00
}
return ClientPayload_DNSSource_SYSTEM
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_DNSSource) GetAppCached() bool {
if x != nil && x.AppCached != nil {
return *x.AppCached
}
return false
}
type ClientPayload_WebInfo_WebdPayload struct {
2022-06-24 15:36:16 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UsesParticipantInKey *bool `protobuf:"varint,1,opt,name=usesParticipantInKey" json:"usesParticipantInKey,omitempty"`
SupportsStarredMessages *bool `protobuf:"varint,2,opt,name=supportsStarredMessages" json:"supportsStarredMessages,omitempty"`
SupportsDocumentMessages *bool `protobuf:"varint,3,opt,name=supportsDocumentMessages" json:"supportsDocumentMessages,omitempty"`
SupportsUrlMessages *bool `protobuf:"varint,4,opt,name=supportsUrlMessages" json:"supportsUrlMessages,omitempty"`
SupportsMediaRetry *bool `protobuf:"varint,5,opt,name=supportsMediaRetry" json:"supportsMediaRetry,omitempty"`
SupportsE2EImage *bool `protobuf:"varint,6,opt,name=supportsE2EImage" json:"supportsE2EImage,omitempty"`
SupportsE2EVideo *bool `protobuf:"varint,7,opt,name=supportsE2EVideo" json:"supportsE2EVideo,omitempty"`
SupportsE2EAudio *bool `protobuf:"varint,8,opt,name=supportsE2EAudio" json:"supportsE2EAudio,omitempty"`
SupportsE2EDocument *bool `protobuf:"varint,9,opt,name=supportsE2EDocument" json:"supportsE2EDocument,omitempty"`
DocumentTypes *string `protobuf:"bytes,10,opt,name=documentTypes" json:"documentTypes,omitempty"`
Features []byte `protobuf:"bytes,11,opt,name=features" json:"features,omitempty"`
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_WebInfo_WebdPayload) Reset() {
*x = ClientPayload_WebInfo_WebdPayload{}
2022-06-24 15:36:16 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[237]
2022-06-24 15:36:16 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ClientPayload_WebInfo_WebdPayload) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClientPayload_WebInfo_WebdPayload) ProtoMessage() {}
func (x *ClientPayload_WebInfo_WebdPayload) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[237]
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 ClientPayload_WebInfo_WebdPayload.ProtoReflect.Descriptor instead.
func (*ClientPayload_WebInfo_WebdPayload) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0, 0}
}
func (x *ClientPayload_WebInfo_WebdPayload) GetUsesParticipantInKey() bool {
if x != nil && x.UsesParticipantInKey != nil {
return *x.UsesParticipantInKey
}
return false
}
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsStarredMessages() bool {
if x != nil && x.SupportsStarredMessages != nil {
return *x.SupportsStarredMessages
}
return false
}
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsDocumentMessages() bool {
if x != nil && x.SupportsDocumentMessages != nil {
return *x.SupportsDocumentMessages
}
return false
}
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsUrlMessages() bool {
if x != nil && x.SupportsUrlMessages != nil {
return *x.SupportsUrlMessages
}
return false
}
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsMediaRetry() bool {
if x != nil && x.SupportsMediaRetry != nil {
return *x.SupportsMediaRetry
}
return false
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EImage() bool {
if x != nil && x.SupportsE2EImage != nil {
return *x.SupportsE2EImage
2022-06-24 15:36:16 -07:00
}
return false
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EVideo() bool {
if x != nil && x.SupportsE2EVideo != nil {
return *x.SupportsE2EVideo
}
return false
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EAudio() bool {
if x != nil && x.SupportsE2EAudio != nil {
return *x.SupportsE2EAudio
2022-06-24 15:36:16 -07:00
}
return false
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EDocument() bool {
if x != nil && x.SupportsE2EDocument != nil {
return *x.SupportsE2EDocument
2022-06-24 15:36:16 -07:00
}
return false
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_WebInfo_WebdPayload) GetDocumentTypes() string {
if x != nil && x.DocumentTypes != nil {
return *x.DocumentTypes
2022-06-24 15:36:16 -07:00
}
return ""
}
func (x *ClientPayload_WebInfo_WebdPayload) GetFeatures() []byte {
if x != nil {
return x.Features
}
return nil
}
type ClientPayload_UserAgent_AppVersion struct {
2022-06-24 15:36:16 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Primary *uint32 `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"`
Secondary *uint32 `protobuf:"varint,2,opt,name=secondary" json:"secondary,omitempty"`
Tertiary *uint32 `protobuf:"varint,3,opt,name=tertiary" json:"tertiary,omitempty"`
Quaternary *uint32 `protobuf:"varint,4,opt,name=quaternary" json:"quaternary,omitempty"`
Quinary *uint32 `protobuf:"varint,5,opt,name=quinary" json:"quinary,omitempty"`
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_UserAgent_AppVersion) Reset() {
*x = ClientPayload_UserAgent_AppVersion{}
2022-06-24 15:36:16 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[238]
2022-06-24 15:36:16 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ClientPayload_UserAgent_AppVersion) String() string {
2022-06-24 15:36:16 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*ClientPayload_UserAgent_AppVersion) ProtoMessage() {}
2022-06-24 15:36:16 -07:00
func (x *ClientPayload_UserAgent_AppVersion) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[238]
2022-06-24 15:36:16 -07:00
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 ClientPayload_UserAgent_AppVersion.ProtoReflect.Descriptor instead.
func (*ClientPayload_UserAgent_AppVersion) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 0}
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_UserAgent_AppVersion) GetPrimary() uint32 {
if x != nil && x.Primary != nil {
return *x.Primary
2022-06-24 15:36:16 -07:00
}
return 0
2022-06-24 15:36:16 -07:00
}
func (x *ClientPayload_UserAgent_AppVersion) GetSecondary() uint32 {
if x != nil && x.Secondary != nil {
return *x.Secondary
2022-06-24 15:36:16 -07:00
}
return 0
}
func (x *ClientPayload_UserAgent_AppVersion) GetTertiary() uint32 {
if x != nil && x.Tertiary != nil {
return *x.Tertiary
}
return 0
}
func (x *ClientPayload_UserAgent_AppVersion) GetQuaternary() uint32 {
if x != nil && x.Quaternary != nil {
return *x.Quaternary
}
return 0
}
func (x *ClientPayload_UserAgent_AppVersion) GetQuinary() uint32 {
if x != nil && x.Quinary != nil {
return *x.Quinary
}
return 0
2022-06-24 15:36:16 -07:00
}
type NoiseCertificate_Details struct {
2022-06-24 15:36:16 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Serial *uint32 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"`
Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"`
Expires *uint64 `protobuf:"varint,3,opt,name=expires" json:"expires,omitempty"`
Subject *string `protobuf:"bytes,4,opt,name=subject" json:"subject,omitempty"`
Key []byte `protobuf:"bytes,5,opt,name=key" json:"key,omitempty"`
}
func (x *NoiseCertificate_Details) Reset() {
*x = NoiseCertificate_Details{}
2022-06-24 15:36:16 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[239]
2022-06-24 15:36:16 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NoiseCertificate_Details) String() string {
2022-06-24 15:36:16 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*NoiseCertificate_Details) ProtoMessage() {}
2022-06-24 15:36:16 -07:00
func (x *NoiseCertificate_Details) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[239]
2022-06-24 15:36:16 -07:00
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 NoiseCertificate_Details.ProtoReflect.Descriptor instead.
func (*NoiseCertificate_Details) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{177, 0}
2022-06-24 15:36:16 -07:00
}
func (x *NoiseCertificate_Details) GetSerial() uint32 {
2022-06-24 15:36:16 -07:00
if x != nil && x.Serial != nil {
return *x.Serial
}
return 0
}
func (x *NoiseCertificate_Details) GetIssuer() string {
2022-06-24 15:36:16 -07:00
if x != nil && x.Issuer != nil {
return *x.Issuer
}
return ""
}
func (x *NoiseCertificate_Details) GetExpires() uint64 {
2022-06-24 15:36:16 -07:00
if x != nil && x.Expires != nil {
return *x.Expires
}
return 0
}
func (x *NoiseCertificate_Details) GetSubject() string {
2022-06-24 15:36:16 -07:00
if x != nil && x.Subject != nil {
return *x.Subject
}
return ""
}
func (x *NoiseCertificate_Details) GetKey() []byte {
2022-06-24 15:36:16 -07:00
if x != nil {
return x.Key
}
return nil
}
type CertChain_NoiseCertificate struct {
2022-06-24 15:36:16 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
}
func (x *CertChain_NoiseCertificate) Reset() {
*x = CertChain_NoiseCertificate{}
2022-06-24 15:36:16 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[240]
2022-06-24 15:36:16 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CertChain_NoiseCertificate) String() string {
2022-06-24 15:36:16 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*CertChain_NoiseCertificate) ProtoMessage() {}
2022-06-24 15:36:16 -07:00
func (x *CertChain_NoiseCertificate) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[240]
2022-06-24 15:36:16 -07:00
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 CertChain_NoiseCertificate.ProtoReflect.Descriptor instead.
func (*CertChain_NoiseCertificate) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{178, 0}
2022-06-24 15:36:16 -07:00
}
func (x *CertChain_NoiseCertificate) GetDetails() []byte {
2022-06-24 15:36:16 -07:00
if x != nil {
return x.Details
}
return nil
}
func (x *CertChain_NoiseCertificate) GetSignature() []byte {
2022-06-24 15:36:16 -07:00
if x != nil {
return x.Signature
}
return nil
}
type CertChain_NoiseCertificate_Details struct {
2022-06-24 15:36:16 -07:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Serial *uint32 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"`
IssuerSerial *uint32 `protobuf:"varint,2,opt,name=issuerSerial" json:"issuerSerial,omitempty"`
Key []byte `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"`
NotBefore *uint64 `protobuf:"varint,4,opt,name=notBefore" json:"notBefore,omitempty"`
NotAfter *uint64 `protobuf:"varint,5,opt,name=notAfter" json:"notAfter,omitempty"`
}
func (x *CertChain_NoiseCertificate_Details) Reset() {
*x = CertChain_NoiseCertificate_Details{}
2022-06-24 15:36:16 -07:00
if protoimpl.UnsafeEnabled {
mi := &file_binary_proto_def_proto_msgTypes[241]
2022-06-24 15:36:16 -07:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CertChain_NoiseCertificate_Details) String() string {
2022-06-24 15:36:16 -07:00
return protoimpl.X.MessageStringOf(x)
}
func (*CertChain_NoiseCertificate_Details) ProtoMessage() {}
2022-06-24 15:36:16 -07:00
func (x *CertChain_NoiseCertificate_Details) ProtoReflect() protoreflect.Message {
mi := &file_binary_proto_def_proto_msgTypes[241]
2022-06-24 15:36:16 -07:00
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 CertChain_NoiseCertificate_Details.ProtoReflect.Descriptor instead.
func (*CertChain_NoiseCertificate_Details) Descriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{178, 0, 0}
2022-06-24 15:36:16 -07:00
}
func (x *CertChain_NoiseCertificate_Details) GetSerial() uint32 {
2022-06-24 15:36:16 -07:00
if x != nil && x.Serial != nil {
return *x.Serial
}
return 0
}
func (x *CertChain_NoiseCertificate_Details) GetIssuerSerial() uint32 {
2022-06-24 15:36:16 -07:00
if x != nil && x.IssuerSerial != nil {
return *x.IssuerSerial
}
return 0
2022-01-30 15:27:37 -08:00
}
func (x *CertChain_NoiseCertificate_Details) GetKey() []byte {
2022-06-24 15:36:16 -07:00
if x != nil {
return x.Key
}
return nil
2022-03-12 14:02:04 -08:00
}
func (x *CertChain_NoiseCertificate_Details) GetNotBefore() uint64 {
2022-06-24 15:36:16 -07:00
if x != nil && x.NotBefore != nil {
return *x.NotBefore
2022-01-30 15:27:37 -08:00
}
2022-06-24 15:36:16 -07:00
return 0
}
func (x *CertChain_NoiseCertificate_Details) GetNotAfter() uint64 {
2022-06-24 15:36:16 -07:00
if x != nil && x.NotAfter != nil {
return *x.NotAfter
}
return 0
2022-01-30 15:27:37 -08:00
}
var File_binary_proto_def_proto protoreflect.FileDescriptor
//go:embed def.pb.raw
var file_binary_proto_def_proto_rawDesc []byte
var (
file_binary_proto_def_proto_rawDescOnce sync.Once
file_binary_proto_def_proto_rawDescData = file_binary_proto_def_proto_rawDesc
)
func file_binary_proto_def_proto_rawDescGZIP() []byte {
file_binary_proto_def_proto_rawDescOnce.Do(func() {
file_binary_proto_def_proto_rawDescData = protoimpl.X.CompressGZIP(file_binary_proto_def_proto_rawDescData)
})
return file_binary_proto_def_proto_rawDescData
}
var file_binary_proto_def_proto_enumTypes = make([]protoimpl.EnumInfo, 63)
var file_binary_proto_def_proto_msgTypes = make([]protoimpl.MessageInfo, 242)
2022-01-30 15:27:37 -08:00
var file_binary_proto_def_proto_goTypes = []interface{}{
(ADVEncryptionType)(0), // 0: proto.ADVEncryptionType
(KeepType)(0), // 1: proto.KeepType
(PeerDataOperationRequestType)(0), // 2: proto.PeerDataOperationRequestType
(MediaVisibility)(0), // 3: proto.MediaVisibility
(DeviceProps_PlatformType)(0), // 4: proto.DeviceProps.PlatformType
(ListResponseMessage_ListType)(0), // 5: proto.ListResponseMessage.ListType
(ListMessage_ListType)(0), // 6: proto.ListMessage.ListType
(InvoiceMessage_AttachmentType)(0), // 7: proto.InvoiceMessage.AttachmentType
(InteractiveResponseMessage_Body_Format)(0), // 8: proto.InteractiveResponseMessage.Body.Format
(InteractiveMessage_ShopMessage_Surface)(0), // 9: proto.InteractiveMessage.ShopMessage.Surface
(HistorySyncNotification_HistorySyncType)(0), // 10: proto.HistorySyncNotification.HistorySyncType
(HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType)(0), // 11: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType
(HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType)(0), // 12: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType
(GroupInviteMessage_GroupType)(0), // 13: proto.GroupInviteMessage.GroupType
(ExtendedTextMessage_PreviewType)(0), // 14: proto.ExtendedTextMessage.PreviewType
(ExtendedTextMessage_InviteLinkGroupType)(0), // 15: proto.ExtendedTextMessage.InviteLinkGroupType
(ExtendedTextMessage_FontType)(0), // 16: proto.ExtendedTextMessage.FontType
(ButtonsResponseMessage_Type)(0), // 17: proto.ButtonsResponseMessage.Type
(ButtonsMessage_HeaderType)(0), // 18: proto.ButtonsMessage.HeaderType
(ButtonsMessage_Button_Type)(0), // 19: proto.ButtonsMessage.Button.Type
(BotFeedbackMessage_BotFeedbackKind)(0), // 20: proto.BotFeedbackMessage.BotFeedbackKind
(DisappearingMode_Trigger)(0), // 21: proto.DisappearingMode.Trigger
(DisappearingMode_Initiator)(0), // 22: proto.DisappearingMode.Initiator
(ContextInfo_ExternalAdReplyInfo_MediaType)(0), // 23: proto.ContextInfo.ExternalAdReplyInfo.MediaType
(ContextInfo_AdReplyInfo_MediaType)(0), // 24: proto.ContextInfo.AdReplyInfo.MediaType
(PaymentBackground_Type)(0), // 25: proto.PaymentBackground.Type
(VideoMessage_Attribution)(0), // 26: proto.VideoMessage.Attribution
(ScheduledCallEditMessage_EditType)(0), // 27: proto.ScheduledCallEditMessage.EditType
(ScheduledCallCreationMessage_CallType)(0), // 28: proto.ScheduledCallCreationMessage.CallType
(ProtocolMessage_Type)(0), // 29: proto.ProtocolMessage.Type
(PinInChatMessage_Type)(0), // 30: proto.PinInChatMessage.Type
(PaymentInviteMessage_ServiceType)(0), // 31: proto.PaymentInviteMessage.ServiceType
(OrderMessage_OrderSurface)(0), // 32: proto.OrderMessage.OrderSurface
(OrderMessage_OrderStatus)(0), // 33: proto.OrderMessage.OrderStatus
(PastParticipant_LeaveReason)(0), // 34: proto.PastParticipant.LeaveReason
(HistorySync_HistorySyncType)(0), // 35: proto.HistorySync.HistorySyncType
(GroupParticipant_Rank)(0), // 36: proto.GroupParticipant.Rank
(Conversation_EndOfHistoryTransferType)(0), // 37: proto.Conversation.EndOfHistoryTransferType
(MediaRetryNotification_ResultType)(0), // 38: proto.MediaRetryNotification.ResultType
(SyncdMutation_SyncdOperation)(0), // 39: proto.SyncdMutation.SyncdOperation
(MarketingMessageAction_MarketingMessagePrototypeType)(0), // 40: proto.MarketingMessageAction.MarketingMessagePrototypeType
(BizIdentityInfo_VerifiedLevelValue)(0), // 41: proto.BizIdentityInfo.VerifiedLevelValue
(BizIdentityInfo_HostStorageType)(0), // 42: proto.BizIdentityInfo.HostStorageType
(BizIdentityInfo_ActualActorsType)(0), // 43: proto.BizIdentityInfo.ActualActorsType
(BizAccountLinkInfo_HostStorageType)(0), // 44: proto.BizAccountLinkInfo.HostStorageType
(BizAccountLinkInfo_AccountType)(0), // 45: proto.BizAccountLinkInfo.AccountType
(ClientPayload_Product)(0), // 46: proto.ClientPayload.Product
(ClientPayload_IOSAppExtension)(0), // 47: proto.ClientPayload.IOSAppExtension
(ClientPayload_ConnectType)(0), // 48: proto.ClientPayload.ConnectType
(ClientPayload_ConnectReason)(0), // 49: proto.ClientPayload.ConnectReason
(ClientPayload_WebInfo_WebSubPlatform)(0), // 50: proto.ClientPayload.WebInfo.WebSubPlatform
(ClientPayload_UserAgent_ReleaseChannel)(0), // 51: proto.ClientPayload.UserAgent.ReleaseChannel
(ClientPayload_UserAgent_Platform)(0), // 52: proto.ClientPayload.UserAgent.Platform
(ClientPayload_UserAgent_DeviceType)(0), // 53: proto.ClientPayload.UserAgent.DeviceType
(ClientPayload_DNSSource_DNSResolutionMethod)(0), // 54: proto.ClientPayload.DNSSource.DNSResolutionMethod
(WebMessageInfo_StubType)(0), // 55: proto.WebMessageInfo.StubType
(WebMessageInfo_Status)(0), // 56: proto.WebMessageInfo.Status
(WebMessageInfo_BizPrivacyStatus)(0), // 57: proto.WebMessageInfo.BizPrivacyStatus
(WebFeatures_Flag)(0), // 58: proto.WebFeatures.Flag
(PinInChat_Type)(0), // 59: proto.PinInChat.Type
(PaymentInfo_TxnStatus)(0), // 60: proto.PaymentInfo.TxnStatus
(PaymentInfo_Status)(0), // 61: proto.PaymentInfo.Status
(PaymentInfo_Currency)(0), // 62: proto.PaymentInfo.Currency
(*ADVSignedKeyIndexList)(nil), // 63: proto.ADVSignedKeyIndexList
(*ADVSignedDeviceIdentity)(nil), // 64: proto.ADVSignedDeviceIdentity
(*ADVSignedDeviceIdentityHMAC)(nil), // 65: proto.ADVSignedDeviceIdentityHMAC
(*ADVKeyIndexList)(nil), // 66: proto.ADVKeyIndexList
(*ADVDeviceIdentity)(nil), // 67: proto.ADVDeviceIdentity
(*DeviceProps)(nil), // 68: proto.DeviceProps
(*LiveLocationMessage)(nil), // 69: proto.LiveLocationMessage
(*ListResponseMessage)(nil), // 70: proto.ListResponseMessage
(*ListMessage)(nil), // 71: proto.ListMessage
(*KeepInChatMessage)(nil), // 72: proto.KeepInChatMessage
(*InvoiceMessage)(nil), // 73: proto.InvoiceMessage
(*InteractiveResponseMessage)(nil), // 74: proto.InteractiveResponseMessage
(*InteractiveMessage)(nil), // 75: proto.InteractiveMessage
(*InitialSecurityNotificationSettingSync)(nil), // 76: proto.InitialSecurityNotificationSettingSync
(*ImageMessage)(nil), // 77: proto.ImageMessage
(*HistorySyncNotification)(nil), // 78: proto.HistorySyncNotification
(*HighlyStructuredMessage)(nil), // 79: proto.HighlyStructuredMessage
(*GroupInviteMessage)(nil), // 80: proto.GroupInviteMessage
(*FutureProofMessage)(nil), // 81: proto.FutureProofMessage
(*ExtendedTextMessage)(nil), // 82: proto.ExtendedTextMessage
(*EncReactionMessage)(nil), // 83: proto.EncReactionMessage
(*EncCommentMessage)(nil), // 84: proto.EncCommentMessage
(*DocumentMessage)(nil), // 85: proto.DocumentMessage
(*DeviceSentMessage)(nil), // 86: proto.DeviceSentMessage
(*DeclinePaymentRequestMessage)(nil), // 87: proto.DeclinePaymentRequestMessage
(*ContactsArrayMessage)(nil), // 88: proto.ContactsArrayMessage
(*ContactMessage)(nil), // 89: proto.ContactMessage
(*Chat)(nil), // 90: proto.Chat
(*CancelPaymentRequestMessage)(nil), // 91: proto.CancelPaymentRequestMessage
(*Call)(nil), // 92: proto.Call
(*ButtonsResponseMessage)(nil), // 93: proto.ButtonsResponseMessage
(*ButtonsMessage)(nil), // 94: proto.ButtonsMessage
(*BotFeedbackMessage)(nil), // 95: proto.BotFeedbackMessage
(*AudioMessage)(nil), // 96: proto.AudioMessage
(*AppStateSyncKey)(nil), // 97: proto.AppStateSyncKey
(*AppStateSyncKeyShare)(nil), // 98: proto.AppStateSyncKeyShare
(*AppStateSyncKeyRequest)(nil), // 99: proto.AppStateSyncKeyRequest
(*AppStateSyncKeyId)(nil), // 100: proto.AppStateSyncKeyId
(*AppStateSyncKeyFingerprint)(nil), // 101: proto.AppStateSyncKeyFingerprint
(*AppStateSyncKeyData)(nil), // 102: proto.AppStateSyncKeyData
(*AppStateFatalExceptionNotification)(nil), // 103: proto.AppStateFatalExceptionNotification
(*Location)(nil), // 104: proto.Location
(*InteractiveAnnotation)(nil), // 105: proto.InteractiveAnnotation
(*HydratedTemplateButton)(nil), // 106: proto.HydratedTemplateButton
(*GroupMention)(nil), // 107: proto.GroupMention
(*DisappearingMode)(nil), // 108: proto.DisappearingMode
(*DeviceListMetadata)(nil), // 109: proto.DeviceListMetadata
(*ContextInfo)(nil), // 110: proto.ContextInfo
(*BotPluginMetadata)(nil), // 111: proto.BotPluginMetadata
(*BotMetadata)(nil), // 112: proto.BotMetadata
(*BotAvatarMetadata)(nil), // 113: proto.BotAvatarMetadata
(*ActionLink)(nil), // 114: proto.ActionLink
(*TemplateButton)(nil), // 115: proto.TemplateButton
(*Point)(nil), // 116: proto.Point
(*PaymentBackground)(nil), // 117: proto.PaymentBackground
(*Money)(nil), // 118: proto.Money
(*Message)(nil), // 119: proto.Message
(*MessageSecretMessage)(nil), // 120: proto.MessageSecretMessage
(*MessageContextInfo)(nil), // 121: proto.MessageContextInfo
(*VideoMessage)(nil), // 122: proto.VideoMessage
(*TemplateMessage)(nil), // 123: proto.TemplateMessage
(*TemplateButtonReplyMessage)(nil), // 124: proto.TemplateButtonReplyMessage
(*StickerSyncRMRMessage)(nil), // 125: proto.StickerSyncRMRMessage
(*StickerMessage)(nil), // 126: proto.StickerMessage
(*SenderKeyDistributionMessage)(nil), // 127: proto.SenderKeyDistributionMessage
(*SendPaymentMessage)(nil), // 128: proto.SendPaymentMessage
(*ScheduledCallEditMessage)(nil), // 129: proto.ScheduledCallEditMessage
(*ScheduledCallCreationMessage)(nil), // 130: proto.ScheduledCallCreationMessage
(*RequestPhoneNumberMessage)(nil), // 131: proto.RequestPhoneNumberMessage
(*RequestPaymentMessage)(nil), // 132: proto.RequestPaymentMessage
(*ReactionMessage)(nil), // 133: proto.ReactionMessage
(*ProtocolMessage)(nil), // 134: proto.ProtocolMessage
(*ProductMessage)(nil), // 135: proto.ProductMessage
(*PollVoteMessage)(nil), // 136: proto.PollVoteMessage
(*PollUpdateMessage)(nil), // 137: proto.PollUpdateMessage
(*PollUpdateMessageMetadata)(nil), // 138: proto.PollUpdateMessageMetadata
(*PollEncValue)(nil), // 139: proto.PollEncValue
(*PollCreationMessage)(nil), // 140: proto.PollCreationMessage
(*PinInChatMessage)(nil), // 141: proto.PinInChatMessage
(*PeerDataOperationRequestResponseMessage)(nil), // 142: proto.PeerDataOperationRequestResponseMessage
(*PeerDataOperationRequestMessage)(nil), // 143: proto.PeerDataOperationRequestMessage
(*PaymentInviteMessage)(nil), // 144: proto.PaymentInviteMessage
(*OrderMessage)(nil), // 145: proto.OrderMessage
(*LocationMessage)(nil), // 146: proto.LocationMessage
(*EphemeralSetting)(nil), // 147: proto.EphemeralSetting
(*WallpaperSettings)(nil), // 148: proto.WallpaperSettings
(*StickerMetadata)(nil), // 149: proto.StickerMetadata
(*Pushname)(nil), // 150: proto.Pushname
(*PastParticipants)(nil), // 151: proto.PastParticipants
(*PastParticipant)(nil), // 152: proto.PastParticipant
(*NotificationSettings)(nil), // 153: proto.NotificationSettings
(*HistorySync)(nil), // 154: proto.HistorySync
(*HistorySyncMsg)(nil), // 155: proto.HistorySyncMsg
(*GroupParticipant)(nil), // 156: proto.GroupParticipant
(*GlobalSettings)(nil), // 157: proto.GlobalSettings
(*Conversation)(nil), // 158: proto.Conversation
(*AvatarUserSettings)(nil), // 159: proto.AvatarUserSettings
(*AutoDownloadSettings)(nil), // 160: proto.AutoDownloadSettings
(*ServerErrorReceipt)(nil), // 161: proto.ServerErrorReceipt
(*MediaRetryNotification)(nil), // 162: proto.MediaRetryNotification
(*MessageKey)(nil), // 163: proto.MessageKey
(*SyncdVersion)(nil), // 164: proto.SyncdVersion
(*SyncdValue)(nil), // 165: proto.SyncdValue
(*SyncdSnapshot)(nil), // 166: proto.SyncdSnapshot
(*SyncdRecord)(nil), // 167: proto.SyncdRecord
(*SyncdPatch)(nil), // 168: proto.SyncdPatch
(*SyncdMutations)(nil), // 169: proto.SyncdMutations
(*SyncdMutation)(nil), // 170: proto.SyncdMutation
(*SyncdIndex)(nil), // 171: proto.SyncdIndex
(*KeyId)(nil), // 172: proto.KeyId
(*ExternalBlobReference)(nil), // 173: proto.ExternalBlobReference
(*ExitCode)(nil), // 174: proto.ExitCode
(*SyncActionValue)(nil), // 175: proto.SyncActionValue
(*UserStatusMuteAction)(nil), // 176: proto.UserStatusMuteAction
(*UnarchiveChatsSetting)(nil), // 177: proto.UnarchiveChatsSetting
(*TimeFormatAction)(nil), // 178: proto.TimeFormatAction
(*SyncActionMessage)(nil), // 179: proto.SyncActionMessage
(*SyncActionMessageRange)(nil), // 180: proto.SyncActionMessageRange
(*SubscriptionAction)(nil), // 181: proto.SubscriptionAction
(*StickerAction)(nil), // 182: proto.StickerAction
(*StarAction)(nil), // 183: proto.StarAction
(*SecurityNotificationSetting)(nil), // 184: proto.SecurityNotificationSetting
(*RemoveRecentStickerAction)(nil), // 185: proto.RemoveRecentStickerAction
(*RecentEmojiWeightsAction)(nil), // 186: proto.RecentEmojiWeightsAction
(*QuickReplyAction)(nil), // 187: proto.QuickReplyAction
(*PushNameSetting)(nil), // 188: proto.PushNameSetting
(*PrivacySettingRelayAllCalls)(nil), // 189: proto.PrivacySettingRelayAllCalls
(*PrimaryVersionAction)(nil), // 190: proto.PrimaryVersionAction
(*PrimaryFeature)(nil), // 191: proto.PrimaryFeature
(*PnForLidChatAction)(nil), // 192: proto.PnForLidChatAction
(*PinAction)(nil), // 193: proto.PinAction
(*NuxAction)(nil), // 194: proto.NuxAction
(*MuteAction)(nil), // 195: proto.MuteAction
(*MarketingMessageBroadcastAction)(nil), // 196: proto.MarketingMessageBroadcastAction
(*MarketingMessageAction)(nil), // 197: proto.MarketingMessageAction
(*MarkChatAsReadAction)(nil), // 198: proto.MarkChatAsReadAction
(*LocaleSetting)(nil), // 199: proto.LocaleSetting
(*LabelEditAction)(nil), // 200: proto.LabelEditAction
(*LabelAssociationAction)(nil), // 201: proto.LabelAssociationAction
(*KeyExpiration)(nil), // 202: proto.KeyExpiration
(*ExternalWebBetaAction)(nil), // 203: proto.ExternalWebBetaAction
(*DeleteMessageForMeAction)(nil), // 204: proto.DeleteMessageForMeAction
(*DeleteChatAction)(nil), // 205: proto.DeleteChatAction
(*ContactAction)(nil), // 206: proto.ContactAction
(*ClearChatAction)(nil), // 207: proto.ClearChatAction
(*ChatAssignmentOpenedStatusAction)(nil), // 208: proto.ChatAssignmentOpenedStatusAction
(*ChatAssignmentAction)(nil), // 209: proto.ChatAssignmentAction
(*ArchiveChatAction)(nil), // 210: proto.ArchiveChatAction
(*AndroidUnsupportedActions)(nil), // 211: proto.AndroidUnsupportedActions
(*AgentAction)(nil), // 212: proto.AgentAction
(*SyncActionData)(nil), // 213: proto.SyncActionData
(*RecentEmojiWeight)(nil), // 214: proto.RecentEmojiWeight
(*VerifiedNameCertificate)(nil), // 215: proto.VerifiedNameCertificate
(*LocalizedName)(nil), // 216: proto.LocalizedName
(*BizIdentityInfo)(nil), // 217: proto.BizIdentityInfo
(*BizAccountPayload)(nil), // 218: proto.BizAccountPayload
(*BizAccountLinkInfo)(nil), // 219: proto.BizAccountLinkInfo
(*HandshakeMessage)(nil), // 220: proto.HandshakeMessage
(*HandshakeServerHello)(nil), // 221: proto.HandshakeServerHello
(*HandshakeClientHello)(nil), // 222: proto.HandshakeClientHello
(*HandshakeClientFinish)(nil), // 223: proto.HandshakeClientFinish
(*ClientPayload)(nil), // 224: proto.ClientPayload
(*WebNotificationsInfo)(nil), // 225: proto.WebNotificationsInfo
(*WebMessageInfo)(nil), // 226: proto.WebMessageInfo
(*WebFeatures)(nil), // 227: proto.WebFeatures
(*UserReceipt)(nil), // 228: proto.UserReceipt
(*StatusPSA)(nil), // 229: proto.StatusPSA
(*Reaction)(nil), // 230: proto.Reaction
(*PollUpdate)(nil), // 231: proto.PollUpdate
(*PollAdditionalMetadata)(nil), // 232: proto.PollAdditionalMetadata
(*PinInChat)(nil), // 233: proto.PinInChat
(*PhotoChange)(nil), // 234: proto.PhotoChange
(*PaymentInfo)(nil), // 235: proto.PaymentInfo
(*NotificationMessageInfo)(nil), // 236: proto.NotificationMessageInfo
(*MessageAddOnContextInfo)(nil), // 237: proto.MessageAddOnContextInfo
(*MediaData)(nil), // 238: proto.MediaData
(*KeepInChat)(nil), // 239: proto.KeepInChat
(*NoiseCertificate)(nil), // 240: proto.NoiseCertificate
(*CertChain)(nil), // 241: proto.CertChain
(*DeviceProps_HistorySyncConfig)(nil), // 242: proto.DeviceProps.HistorySyncConfig
(*DeviceProps_AppVersion)(nil), // 243: proto.DeviceProps.AppVersion
(*ListResponseMessage_SingleSelectReply)(nil), // 244: proto.ListResponseMessage.SingleSelectReply
(*ListMessage_Section)(nil), // 245: proto.ListMessage.Section
(*ListMessage_Row)(nil), // 246: proto.ListMessage.Row
(*ListMessage_Product)(nil), // 247: proto.ListMessage.Product
(*ListMessage_ProductSection)(nil), // 248: proto.ListMessage.ProductSection
(*ListMessage_ProductListInfo)(nil), // 249: proto.ListMessage.ProductListInfo
(*ListMessage_ProductListHeaderImage)(nil), // 250: proto.ListMessage.ProductListHeaderImage
(*InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 251: proto.InteractiveResponseMessage.NativeFlowResponseMessage
(*InteractiveResponseMessage_Body)(nil), // 252: proto.InteractiveResponseMessage.Body
(*InteractiveMessage_ShopMessage)(nil), // 253: proto.InteractiveMessage.ShopMessage
(*InteractiveMessage_NativeFlowMessage)(nil), // 254: proto.InteractiveMessage.NativeFlowMessage
(*InteractiveMessage_Header)(nil), // 255: proto.InteractiveMessage.Header
(*InteractiveMessage_Footer)(nil), // 256: proto.InteractiveMessage.Footer
(*InteractiveMessage_CollectionMessage)(nil), // 257: proto.InteractiveMessage.CollectionMessage
(*InteractiveMessage_CarouselMessage)(nil), // 258: proto.InteractiveMessage.CarouselMessage
(*InteractiveMessage_Body)(nil), // 259: proto.InteractiveMessage.Body
(*InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 260: proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton
(*HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 261: proto.HighlyStructuredMessage.HSMLocalizableParameter
(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 262: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime
(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 263: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency
(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 264: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch
(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 265: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent
(*ButtonsMessage_Button)(nil), // 266: proto.ButtonsMessage.Button
(*ButtonsMessage_Button_NativeFlowInfo)(nil), // 267: proto.ButtonsMessage.Button.NativeFlowInfo
(*ButtonsMessage_Button_ButtonText)(nil), // 268: proto.ButtonsMessage.Button.ButtonText
(*HydratedTemplateButton_HydratedURLButton)(nil), // 269: proto.HydratedTemplateButton.HydratedURLButton
(*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 270: proto.HydratedTemplateButton.HydratedQuickReplyButton
(*HydratedTemplateButton_HydratedCallButton)(nil), // 271: proto.HydratedTemplateButton.HydratedCallButton
(*ContextInfo_UTMInfo)(nil), // 272: proto.ContextInfo.UTMInfo
(*ContextInfo_ForwardedNewsletterMessageInfo)(nil), // 273: proto.ContextInfo.ForwardedNewsletterMessageInfo
(*ContextInfo_ExternalAdReplyInfo)(nil), // 274: proto.ContextInfo.ExternalAdReplyInfo
(*ContextInfo_BusinessMessageForwardInfo)(nil), // 275: proto.ContextInfo.BusinessMessageForwardInfo
(*ContextInfo_AdReplyInfo)(nil), // 276: proto.ContextInfo.AdReplyInfo
(*TemplateButton_URLButton)(nil), // 277: proto.TemplateButton.URLButton
(*TemplateButton_QuickReplyButton)(nil), // 278: proto.TemplateButton.QuickReplyButton
(*TemplateButton_CallButton)(nil), // 279: proto.TemplateButton.CallButton
(*PaymentBackground_MediaData)(nil), // 280: proto.PaymentBackground.MediaData
(*TemplateMessage_HydratedFourRowTemplate)(nil), // 281: proto.TemplateMessage.HydratedFourRowTemplate
(*TemplateMessage_FourRowTemplate)(nil), // 282: proto.TemplateMessage.FourRowTemplate
(*ProductMessage_ProductSnapshot)(nil), // 283: proto.ProductMessage.ProductSnapshot
(*ProductMessage_CatalogSnapshot)(nil), // 284: proto.ProductMessage.CatalogSnapshot
(*PollCreationMessage_Option)(nil), // 285: proto.PollCreationMessage.Option
(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult)(nil), // 286: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult
(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse)(nil), // 287: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse
(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse)(nil), // 288: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse
(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail)(nil), // 289: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail
(*PeerDataOperationRequestMessage_RequestUrlPreview)(nil), // 290: proto.PeerDataOperationRequestMessage.RequestUrlPreview
(*PeerDataOperationRequestMessage_RequestStickerReupload)(nil), // 291: proto.PeerDataOperationRequestMessage.RequestStickerReupload
(*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest)(nil), // 292: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest
(*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest)(nil), // 293: proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest
(*VerifiedNameCertificate_Details)(nil), // 294: proto.VerifiedNameCertificate.Details
(*ClientPayload_WebInfo)(nil), // 295: proto.ClientPayload.WebInfo
(*ClientPayload_UserAgent)(nil), // 296: proto.ClientPayload.UserAgent
(*ClientPayload_InteropData)(nil), // 297: proto.ClientPayload.InteropData
(*ClientPayload_DevicePairingRegistrationData)(nil), // 298: proto.ClientPayload.DevicePairingRegistrationData
(*ClientPayload_DNSSource)(nil), // 299: proto.ClientPayload.DNSSource
(*ClientPayload_WebInfo_WebdPayload)(nil), // 300: proto.ClientPayload.WebInfo.WebdPayload
(*ClientPayload_UserAgent_AppVersion)(nil), // 301: proto.ClientPayload.UserAgent.AppVersion
(*NoiseCertificate_Details)(nil), // 302: proto.NoiseCertificate.Details
(*CertChain_NoiseCertificate)(nil), // 303: proto.CertChain.NoiseCertificate
(*CertChain_NoiseCertificate_Details)(nil), // 304: proto.CertChain.NoiseCertificate.Details
2022-01-30 15:27:37 -08:00
}
var file_binary_proto_def_proto_depIdxs = []int32{
0, // 0: proto.ADVSignedDeviceIdentityHMAC.accountType:type_name -> proto.ADVEncryptionType
0, // 1: proto.ADVKeyIndexList.accountType:type_name -> proto.ADVEncryptionType
0, // 2: proto.ADVDeviceIdentity.accountType:type_name -> proto.ADVEncryptionType
0, // 3: proto.ADVDeviceIdentity.deviceType:type_name -> proto.ADVEncryptionType
243, // 4: proto.DeviceProps.version:type_name -> proto.DeviceProps.AppVersion
4, // 5: proto.DeviceProps.platformType:type_name -> proto.DeviceProps.PlatformType
242, // 6: proto.DeviceProps.historySyncConfig:type_name -> proto.DeviceProps.HistorySyncConfig
110, // 7: proto.LiveLocationMessage.contextInfo:type_name -> proto.ContextInfo
5, // 8: proto.ListResponseMessage.listType:type_name -> proto.ListResponseMessage.ListType
244, // 9: proto.ListResponseMessage.singleSelectReply:type_name -> proto.ListResponseMessage.SingleSelectReply
110, // 10: proto.ListResponseMessage.contextInfo:type_name -> proto.ContextInfo
6, // 11: proto.ListMessage.listType:type_name -> proto.ListMessage.ListType
245, // 12: proto.ListMessage.sections:type_name -> proto.ListMessage.Section
249, // 13: proto.ListMessage.productListInfo:type_name -> proto.ListMessage.ProductListInfo
110, // 14: proto.ListMessage.contextInfo:type_name -> proto.ContextInfo
163, // 15: proto.KeepInChatMessage.key:type_name -> proto.MessageKey
1, // 16: proto.KeepInChatMessage.keepType:type_name -> proto.KeepType
7, // 17: proto.InvoiceMessage.attachmentType:type_name -> proto.InvoiceMessage.AttachmentType
252, // 18: proto.InteractiveResponseMessage.body:type_name -> proto.InteractiveResponseMessage.Body
110, // 19: proto.InteractiveResponseMessage.contextInfo:type_name -> proto.ContextInfo
251, // 20: proto.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> proto.InteractiveResponseMessage.NativeFlowResponseMessage
255, // 21: proto.InteractiveMessage.header:type_name -> proto.InteractiveMessage.Header
259, // 22: proto.InteractiveMessage.body:type_name -> proto.InteractiveMessage.Body
256, // 23: proto.InteractiveMessage.footer:type_name -> proto.InteractiveMessage.Footer
110, // 24: proto.InteractiveMessage.contextInfo:type_name -> proto.ContextInfo
253, // 25: proto.InteractiveMessage.shopStorefrontMessage:type_name -> proto.InteractiveMessage.ShopMessage
257, // 26: proto.InteractiveMessage.collectionMessage:type_name -> proto.InteractiveMessage.CollectionMessage
254, // 27: proto.InteractiveMessage.nativeFlowMessage:type_name -> proto.InteractiveMessage.NativeFlowMessage
258, // 28: proto.InteractiveMessage.carouselMessage:type_name -> proto.InteractiveMessage.CarouselMessage
105, // 29: proto.ImageMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation
110, // 30: proto.ImageMessage.contextInfo:type_name -> proto.ContextInfo
10, // 31: proto.HistorySyncNotification.syncType:type_name -> proto.HistorySyncNotification.HistorySyncType
261, // 32: proto.HighlyStructuredMessage.localizableParams:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter
123, // 33: proto.HighlyStructuredMessage.hydratedHsm:type_name -> proto.TemplateMessage
110, // 34: proto.GroupInviteMessage.contextInfo:type_name -> proto.ContextInfo
13, // 35: proto.GroupInviteMessage.groupType:type_name -> proto.GroupInviteMessage.GroupType
119, // 36: proto.FutureProofMessage.message:type_name -> proto.Message
16, // 37: proto.ExtendedTextMessage.font:type_name -> proto.ExtendedTextMessage.FontType
14, // 38: proto.ExtendedTextMessage.previewType:type_name -> proto.ExtendedTextMessage.PreviewType
110, // 39: proto.ExtendedTextMessage.contextInfo:type_name -> proto.ContextInfo
15, // 40: proto.ExtendedTextMessage.inviteLinkGroupType:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType
15, // 41: proto.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType
163, // 42: proto.EncReactionMessage.targetMessageKey:type_name -> proto.MessageKey
163, // 43: proto.EncCommentMessage.targetMessageKey:type_name -> proto.MessageKey
110, // 44: proto.DocumentMessage.contextInfo:type_name -> proto.ContextInfo
119, // 45: proto.DeviceSentMessage.message:type_name -> proto.Message
163, // 46: proto.DeclinePaymentRequestMessage.key:type_name -> proto.MessageKey
89, // 47: proto.ContactsArrayMessage.contacts:type_name -> proto.ContactMessage
110, // 48: proto.ContactsArrayMessage.contextInfo:type_name -> proto.ContextInfo
110, // 49: proto.ContactMessage.contextInfo:type_name -> proto.ContextInfo
163, // 50: proto.CancelPaymentRequestMessage.key:type_name -> proto.MessageKey
110, // 51: proto.ButtonsResponseMessage.contextInfo:type_name -> proto.ContextInfo
17, // 52: proto.ButtonsResponseMessage.type:type_name -> proto.ButtonsResponseMessage.Type
110, // 53: proto.ButtonsMessage.contextInfo:type_name -> proto.ContextInfo
266, // 54: proto.ButtonsMessage.buttons:type_name -> proto.ButtonsMessage.Button
18, // 55: proto.ButtonsMessage.headerType:type_name -> proto.ButtonsMessage.HeaderType
85, // 56: proto.ButtonsMessage.documentMessage:type_name -> proto.DocumentMessage
77, // 57: proto.ButtonsMessage.imageMessage:type_name -> proto.ImageMessage
122, // 58: proto.ButtonsMessage.videoMessage:type_name -> proto.VideoMessage
146, // 59: proto.ButtonsMessage.locationMessage:type_name -> proto.LocationMessage
163, // 60: proto.BotFeedbackMessage.messageKey:type_name -> proto.MessageKey
20, // 61: proto.BotFeedbackMessage.kind:type_name -> proto.BotFeedbackMessage.BotFeedbackKind
110, // 62: proto.AudioMessage.contextInfo:type_name -> proto.ContextInfo
100, // 63: proto.AppStateSyncKey.keyId:type_name -> proto.AppStateSyncKeyId
102, // 64: proto.AppStateSyncKey.keyData:type_name -> proto.AppStateSyncKeyData
97, // 65: proto.AppStateSyncKeyShare.keys:type_name -> proto.AppStateSyncKey
100, // 66: proto.AppStateSyncKeyRequest.keyIds:type_name -> proto.AppStateSyncKeyId
101, // 67: proto.AppStateSyncKeyData.fingerprint:type_name -> proto.AppStateSyncKeyFingerprint
116, // 68: proto.InteractiveAnnotation.polygonVertices:type_name -> proto.Point
104, // 69: proto.InteractiveAnnotation.location:type_name -> proto.Location
270, // 70: proto.HydratedTemplateButton.quickReplyButton:type_name -> proto.HydratedTemplateButton.HydratedQuickReplyButton
269, // 71: proto.HydratedTemplateButton.urlButton:type_name -> proto.HydratedTemplateButton.HydratedURLButton
271, // 72: proto.HydratedTemplateButton.callButton:type_name -> proto.HydratedTemplateButton.HydratedCallButton
22, // 73: proto.DisappearingMode.initiator:type_name -> proto.DisappearingMode.Initiator
21, // 74: proto.DisappearingMode.trigger:type_name -> proto.DisappearingMode.Trigger
119, // 75: proto.ContextInfo.quotedMessage:type_name -> proto.Message
276, // 76: proto.ContextInfo.quotedAd:type_name -> proto.ContextInfo.AdReplyInfo
163, // 77: proto.ContextInfo.placeholderKey:type_name -> proto.MessageKey
274, // 78: proto.ContextInfo.externalAdReply:type_name -> proto.ContextInfo.ExternalAdReplyInfo
108, // 79: proto.ContextInfo.disappearingMode:type_name -> proto.DisappearingMode
114, // 80: proto.ContextInfo.actionLink:type_name -> proto.ActionLink
107, // 81: proto.ContextInfo.groupMentions:type_name -> proto.GroupMention
272, // 82: proto.ContextInfo.utm:type_name -> proto.ContextInfo.UTMInfo
273, // 83: proto.ContextInfo.forwardedNewsletterMessageInfo:type_name -> proto.ContextInfo.ForwardedNewsletterMessageInfo
275, // 84: proto.ContextInfo.businessMessageForwardInfo:type_name -> proto.ContextInfo.BusinessMessageForwardInfo
113, // 85: proto.BotMetadata.avatarMetadata:type_name -> proto.BotAvatarMetadata
111, // 86: proto.BotMetadata.pluginMetadata:type_name -> proto.BotPluginMetadata
278, // 87: proto.TemplateButton.quickReplyButton:type_name -> proto.TemplateButton.QuickReplyButton
277, // 88: proto.TemplateButton.urlButton:type_name -> proto.TemplateButton.URLButton
279, // 89: proto.TemplateButton.callButton:type_name -> proto.TemplateButton.CallButton
280, // 90: proto.PaymentBackground.mediaData:type_name -> proto.PaymentBackground.MediaData
25, // 91: proto.PaymentBackground.type:type_name -> proto.PaymentBackground.Type
127, // 92: proto.Message.senderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage
77, // 93: proto.Message.imageMessage:type_name -> proto.ImageMessage
89, // 94: proto.Message.contactMessage:type_name -> proto.ContactMessage
146, // 95: proto.Message.locationMessage:type_name -> proto.LocationMessage
82, // 96: proto.Message.extendedTextMessage:type_name -> proto.ExtendedTextMessage
85, // 97: proto.Message.documentMessage:type_name -> proto.DocumentMessage
96, // 98: proto.Message.audioMessage:type_name -> proto.AudioMessage
122, // 99: proto.Message.videoMessage:type_name -> proto.VideoMessage
92, // 100: proto.Message.call:type_name -> proto.Call
90, // 101: proto.Message.chat:type_name -> proto.Chat
134, // 102: proto.Message.protocolMessage:type_name -> proto.ProtocolMessage
88, // 103: proto.Message.contactsArrayMessage:type_name -> proto.ContactsArrayMessage
79, // 104: proto.Message.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage
127, // 105: proto.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage
128, // 106: proto.Message.sendPaymentMessage:type_name -> proto.SendPaymentMessage
69, // 107: proto.Message.liveLocationMessage:type_name -> proto.LiveLocationMessage
132, // 108: proto.Message.requestPaymentMessage:type_name -> proto.RequestPaymentMessage
87, // 109: proto.Message.declinePaymentRequestMessage:type_name -> proto.DeclinePaymentRequestMessage
91, // 110: proto.Message.cancelPaymentRequestMessage:type_name -> proto.CancelPaymentRequestMessage
123, // 111: proto.Message.templateMessage:type_name -> proto.TemplateMessage
126, // 112: proto.Message.stickerMessage:type_name -> proto.StickerMessage
80, // 113: proto.Message.groupInviteMessage:type_name -> proto.GroupInviteMessage
124, // 114: proto.Message.templateButtonReplyMessage:type_name -> proto.TemplateButtonReplyMessage
135, // 115: proto.Message.productMessage:type_name -> proto.ProductMessage
86, // 116: proto.Message.deviceSentMessage:type_name -> proto.DeviceSentMessage
121, // 117: proto.Message.messageContextInfo:type_name -> proto.MessageContextInfo
71, // 118: proto.Message.listMessage:type_name -> proto.ListMessage
81, // 119: proto.Message.viewOnceMessage:type_name -> proto.FutureProofMessage
145, // 120: proto.Message.orderMessage:type_name -> proto.OrderMessage
70, // 121: proto.Message.listResponseMessage:type_name -> proto.ListResponseMessage
81, // 122: proto.Message.ephemeralMessage:type_name -> proto.FutureProofMessage
73, // 123: proto.Message.invoiceMessage:type_name -> proto.InvoiceMessage
94, // 124: proto.Message.buttonsMessage:type_name -> proto.ButtonsMessage
93, // 125: proto.Message.buttonsResponseMessage:type_name -> proto.ButtonsResponseMessage
144, // 126: proto.Message.paymentInviteMessage:type_name -> proto.PaymentInviteMessage
75, // 127: proto.Message.interactiveMessage:type_name -> proto.InteractiveMessage
133, // 128: proto.Message.reactionMessage:type_name -> proto.ReactionMessage
125, // 129: proto.Message.stickerSyncRmrMessage:type_name -> proto.StickerSyncRMRMessage
74, // 130: proto.Message.interactiveResponseMessage:type_name -> proto.InteractiveResponseMessage
140, // 131: proto.Message.pollCreationMessage:type_name -> proto.PollCreationMessage
137, // 132: proto.Message.pollUpdateMessage:type_name -> proto.PollUpdateMessage
72, // 133: proto.Message.keepInChatMessage:type_name -> proto.KeepInChatMessage
81, // 134: proto.Message.documentWithCaptionMessage:type_name -> proto.FutureProofMessage
131, // 135: proto.Message.requestPhoneNumberMessage:type_name -> proto.RequestPhoneNumberMessage
81, // 136: proto.Message.viewOnceMessageV2:type_name -> proto.FutureProofMessage
83, // 137: proto.Message.encReactionMessage:type_name -> proto.EncReactionMessage
81, // 138: proto.Message.editedMessage:type_name -> proto.FutureProofMessage
81, // 139: proto.Message.viewOnceMessageV2Extension:type_name -> proto.FutureProofMessage
140, // 140: proto.Message.pollCreationMessageV2:type_name -> proto.PollCreationMessage
130, // 141: proto.Message.scheduledCallCreationMessage:type_name -> proto.ScheduledCallCreationMessage
81, // 142: proto.Message.groupMentionedMessage:type_name -> proto.FutureProofMessage
141, // 143: proto.Message.pinInChatMessage:type_name -> proto.PinInChatMessage
140, // 144: proto.Message.pollCreationMessageV3:type_name -> proto.PollCreationMessage
129, // 145: proto.Message.scheduledCallEditMessage:type_name -> proto.ScheduledCallEditMessage
122, // 146: proto.Message.ptvMessage:type_name -> proto.VideoMessage
81, // 147: proto.Message.botInvokeMessage:type_name -> proto.FutureProofMessage
84, // 148: proto.Message.encCommentMessage:type_name -> proto.EncCommentMessage
109, // 149: proto.MessageContextInfo.deviceListMetadata:type_name -> proto.DeviceListMetadata
112, // 150: proto.MessageContextInfo.botMetadata:type_name -> proto.BotMetadata
105, // 151: proto.VideoMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation
110, // 152: proto.VideoMessage.contextInfo:type_name -> proto.ContextInfo
26, // 153: proto.VideoMessage.gifAttribution:type_name -> proto.VideoMessage.Attribution
110, // 154: proto.TemplateMessage.contextInfo:type_name -> proto.ContextInfo
281, // 155: proto.TemplateMessage.hydratedTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate
282, // 156: proto.TemplateMessage.fourRowTemplate:type_name -> proto.TemplateMessage.FourRowTemplate
281, // 157: proto.TemplateMessage.hydratedFourRowTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate
75, // 158: proto.TemplateMessage.interactiveMessageTemplate:type_name -> proto.InteractiveMessage
110, // 159: proto.TemplateButtonReplyMessage.contextInfo:type_name -> proto.ContextInfo
110, // 160: proto.StickerMessage.contextInfo:type_name -> proto.ContextInfo
119, // 161: proto.SendPaymentMessage.noteMessage:type_name -> proto.Message
163, // 162: proto.SendPaymentMessage.requestMessageKey:type_name -> proto.MessageKey
117, // 163: proto.SendPaymentMessage.background:type_name -> proto.PaymentBackground
163, // 164: proto.ScheduledCallEditMessage.key:type_name -> proto.MessageKey
27, // 165: proto.ScheduledCallEditMessage.editType:type_name -> proto.ScheduledCallEditMessage.EditType
28, // 166: proto.ScheduledCallCreationMessage.callType:type_name -> proto.ScheduledCallCreationMessage.CallType
110, // 167: proto.RequestPhoneNumberMessage.contextInfo:type_name -> proto.ContextInfo
119, // 168: proto.RequestPaymentMessage.noteMessage:type_name -> proto.Message
118, // 169: proto.RequestPaymentMessage.amount:type_name -> proto.Money
117, // 170: proto.RequestPaymentMessage.background:type_name -> proto.PaymentBackground
163, // 171: proto.ReactionMessage.key:type_name -> proto.MessageKey
163, // 172: proto.ProtocolMessage.key:type_name -> proto.MessageKey
29, // 173: proto.ProtocolMessage.type:type_name -> proto.ProtocolMessage.Type
78, // 174: proto.ProtocolMessage.historySyncNotification:type_name -> proto.HistorySyncNotification
98, // 175: proto.ProtocolMessage.appStateSyncKeyShare:type_name -> proto.AppStateSyncKeyShare
99, // 176: proto.ProtocolMessage.appStateSyncKeyRequest:type_name -> proto.AppStateSyncKeyRequest
76, // 177: proto.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> proto.InitialSecurityNotificationSettingSync
103, // 178: proto.ProtocolMessage.appStateFatalExceptionNotification:type_name -> proto.AppStateFatalExceptionNotification
108, // 179: proto.ProtocolMessage.disappearingMode:type_name -> proto.DisappearingMode
119, // 180: proto.ProtocolMessage.editedMessage:type_name -> proto.Message
143, // 181: proto.ProtocolMessage.peerDataOperationRequestMessage:type_name -> proto.PeerDataOperationRequestMessage
142, // 182: proto.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> proto.PeerDataOperationRequestResponseMessage
95, // 183: proto.ProtocolMessage.botFeedbackMessage:type_name -> proto.BotFeedbackMessage
283, // 184: proto.ProductMessage.product:type_name -> proto.ProductMessage.ProductSnapshot
284, // 185: proto.ProductMessage.catalog:type_name -> proto.ProductMessage.CatalogSnapshot
110, // 186: proto.ProductMessage.contextInfo:type_name -> proto.ContextInfo
163, // 187: proto.PollUpdateMessage.pollCreationMessageKey:type_name -> proto.MessageKey
139, // 188: proto.PollUpdateMessage.vote:type_name -> proto.PollEncValue
138, // 189: proto.PollUpdateMessage.metadata:type_name -> proto.PollUpdateMessageMetadata
285, // 190: proto.PollCreationMessage.options:type_name -> proto.PollCreationMessage.Option
110, // 191: proto.PollCreationMessage.contextInfo:type_name -> proto.ContextInfo
163, // 192: proto.PinInChatMessage.key:type_name -> proto.MessageKey
30, // 193: proto.PinInChatMessage.type:type_name -> proto.PinInChatMessage.Type
2, // 194: proto.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType
286, // 195: proto.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult
2, // 196: proto.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType
291, // 197: proto.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> proto.PeerDataOperationRequestMessage.RequestStickerReupload
290, // 198: proto.PeerDataOperationRequestMessage.requestUrlPreview:type_name -> proto.PeerDataOperationRequestMessage.RequestUrlPreview
293, // 199: proto.PeerDataOperationRequestMessage.historySyncOnDemandRequest:type_name -> proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest
292, // 200: proto.PeerDataOperationRequestMessage.placeholderMessageResendRequest:type_name -> proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest
31, // 201: proto.PaymentInviteMessage.serviceType:type_name -> proto.PaymentInviteMessage.ServiceType
33, // 202: proto.OrderMessage.status:type_name -> proto.OrderMessage.OrderStatus
32, // 203: proto.OrderMessage.surface:type_name -> proto.OrderMessage.OrderSurface
110, // 204: proto.OrderMessage.contextInfo:type_name -> proto.ContextInfo
110, // 205: proto.LocationMessage.contextInfo:type_name -> proto.ContextInfo
152, // 206: proto.PastParticipants.pastParticipants:type_name -> proto.PastParticipant
34, // 207: proto.PastParticipant.leaveReason:type_name -> proto.PastParticipant.LeaveReason
35, // 208: proto.HistorySync.syncType:type_name -> proto.HistorySync.HistorySyncType
158, // 209: proto.HistorySync.conversations:type_name -> proto.Conversation
226, // 210: proto.HistorySync.statusV3Messages:type_name -> proto.WebMessageInfo
150, // 211: proto.HistorySync.pushnames:type_name -> proto.Pushname
157, // 212: proto.HistorySync.globalSettings:type_name -> proto.GlobalSettings
149, // 213: proto.HistorySync.recentStickers:type_name -> proto.StickerMetadata
151, // 214: proto.HistorySync.pastParticipants:type_name -> proto.PastParticipants
226, // 215: proto.HistorySyncMsg.message:type_name -> proto.WebMessageInfo
36, // 216: proto.GroupParticipant.rank:type_name -> proto.GroupParticipant.Rank
148, // 217: proto.GlobalSettings.lightThemeWallpaper:type_name -> proto.WallpaperSettings
3, // 218: proto.GlobalSettings.mediaVisibility:type_name -> proto.MediaVisibility
148, // 219: proto.GlobalSettings.darkThemeWallpaper:type_name -> proto.WallpaperSettings
160, // 220: proto.GlobalSettings.autoDownloadWiFi:type_name -> proto.AutoDownloadSettings
160, // 221: proto.GlobalSettings.autoDownloadCellular:type_name -> proto.AutoDownloadSettings
160, // 222: proto.GlobalSettings.autoDownloadRoaming:type_name -> proto.AutoDownloadSettings
159, // 223: proto.GlobalSettings.avatarUserSettings:type_name -> proto.AvatarUserSettings
153, // 224: proto.GlobalSettings.individualNotificationSettings:type_name -> proto.NotificationSettings
153, // 225: proto.GlobalSettings.groupNotificationSettings:type_name -> proto.NotificationSettings
155, // 226: proto.Conversation.messages:type_name -> proto.HistorySyncMsg
37, // 227: proto.Conversation.endOfHistoryTransferType:type_name -> proto.Conversation.EndOfHistoryTransferType
108, // 228: proto.Conversation.disappearingMode:type_name -> proto.DisappearingMode
156, // 229: proto.Conversation.participant:type_name -> proto.GroupParticipant
148, // 230: proto.Conversation.wallpaper:type_name -> proto.WallpaperSettings
3, // 231: proto.Conversation.mediaVisibility:type_name -> proto.MediaVisibility
38, // 232: proto.MediaRetryNotification.result:type_name -> proto.MediaRetryNotification.ResultType
164, // 233: proto.SyncdSnapshot.version:type_name -> proto.SyncdVersion
167, // 234: proto.SyncdSnapshot.records:type_name -> proto.SyncdRecord
172, // 235: proto.SyncdSnapshot.keyId:type_name -> proto.KeyId
171, // 236: proto.SyncdRecord.index:type_name -> proto.SyncdIndex
165, // 237: proto.SyncdRecord.value:type_name -> proto.SyncdValue
172, // 238: proto.SyncdRecord.keyId:type_name -> proto.KeyId
164, // 239: proto.SyncdPatch.version:type_name -> proto.SyncdVersion
170, // 240: proto.SyncdPatch.mutations:type_name -> proto.SyncdMutation
173, // 241: proto.SyncdPatch.externalMutations:type_name -> proto.ExternalBlobReference
172, // 242: proto.SyncdPatch.keyId:type_name -> proto.KeyId
174, // 243: proto.SyncdPatch.exitCode:type_name -> proto.ExitCode
170, // 244: proto.SyncdMutations.mutations:type_name -> proto.SyncdMutation
39, // 245: proto.SyncdMutation.operation:type_name -> proto.SyncdMutation.SyncdOperation
167, // 246: proto.SyncdMutation.record:type_name -> proto.SyncdRecord
183, // 247: proto.SyncActionValue.starAction:type_name -> proto.StarAction
206, // 248: proto.SyncActionValue.contactAction:type_name -> proto.ContactAction
195, // 249: proto.SyncActionValue.muteAction:type_name -> proto.MuteAction
193, // 250: proto.SyncActionValue.pinAction:type_name -> proto.PinAction
184, // 251: proto.SyncActionValue.securityNotificationSetting:type_name -> proto.SecurityNotificationSetting
188, // 252: proto.SyncActionValue.pushNameSetting:type_name -> proto.PushNameSetting
187, // 253: proto.SyncActionValue.quickReplyAction:type_name -> proto.QuickReplyAction
186, // 254: proto.SyncActionValue.recentEmojiWeightsAction:type_name -> proto.RecentEmojiWeightsAction
200, // 255: proto.SyncActionValue.labelEditAction:type_name -> proto.LabelEditAction
201, // 256: proto.SyncActionValue.labelAssociationAction:type_name -> proto.LabelAssociationAction
199, // 257: proto.SyncActionValue.localeSetting:type_name -> proto.LocaleSetting
210, // 258: proto.SyncActionValue.archiveChatAction:type_name -> proto.ArchiveChatAction
204, // 259: proto.SyncActionValue.deleteMessageForMeAction:type_name -> proto.DeleteMessageForMeAction
202, // 260: proto.SyncActionValue.keyExpiration:type_name -> proto.KeyExpiration
198, // 261: proto.SyncActionValue.markChatAsReadAction:type_name -> proto.MarkChatAsReadAction
207, // 262: proto.SyncActionValue.clearChatAction:type_name -> proto.ClearChatAction
205, // 263: proto.SyncActionValue.deleteChatAction:type_name -> proto.DeleteChatAction
177, // 264: proto.SyncActionValue.unarchiveChatsSetting:type_name -> proto.UnarchiveChatsSetting
191, // 265: proto.SyncActionValue.primaryFeature:type_name -> proto.PrimaryFeature
211, // 266: proto.SyncActionValue.androidUnsupportedActions:type_name -> proto.AndroidUnsupportedActions
212, // 267: proto.SyncActionValue.agentAction:type_name -> proto.AgentAction
181, // 268: proto.SyncActionValue.subscriptionAction:type_name -> proto.SubscriptionAction
176, // 269: proto.SyncActionValue.userStatusMuteAction:type_name -> proto.UserStatusMuteAction
178, // 270: proto.SyncActionValue.timeFormatAction:type_name -> proto.TimeFormatAction
194, // 271: proto.SyncActionValue.nuxAction:type_name -> proto.NuxAction
190, // 272: proto.SyncActionValue.primaryVersionAction:type_name -> proto.PrimaryVersionAction
182, // 273: proto.SyncActionValue.stickerAction:type_name -> proto.StickerAction
185, // 274: proto.SyncActionValue.removeRecentStickerAction:type_name -> proto.RemoveRecentStickerAction
209, // 275: proto.SyncActionValue.chatAssignment:type_name -> proto.ChatAssignmentAction
208, // 276: proto.SyncActionValue.chatAssignmentOpenedStatus:type_name -> proto.ChatAssignmentOpenedStatusAction
192, // 277: proto.SyncActionValue.pnForLidChatAction:type_name -> proto.PnForLidChatAction
197, // 278: proto.SyncActionValue.marketingMessageAction:type_name -> proto.MarketingMessageAction
196, // 279: proto.SyncActionValue.marketingMessageBroadcastAction:type_name -> proto.MarketingMessageBroadcastAction
203, // 280: proto.SyncActionValue.externalWebBetaAction:type_name -> proto.ExternalWebBetaAction
189, // 281: proto.SyncActionValue.privacySettingRelayAllCalls:type_name -> proto.PrivacySettingRelayAllCalls
163, // 282: proto.SyncActionMessage.key:type_name -> proto.MessageKey
179, // 283: proto.SyncActionMessageRange.messages:type_name -> proto.SyncActionMessage
214, // 284: proto.RecentEmojiWeightsAction.weights:type_name -> proto.RecentEmojiWeight
40, // 285: proto.MarketingMessageAction.type:type_name -> proto.MarketingMessageAction.MarketingMessagePrototypeType
180, // 286: proto.MarkChatAsReadAction.messageRange:type_name -> proto.SyncActionMessageRange
180, // 287: proto.DeleteChatAction.messageRange:type_name -> proto.SyncActionMessageRange
180, // 288: proto.ClearChatAction.messageRange:type_name -> proto.SyncActionMessageRange
180, // 289: proto.ArchiveChatAction.messageRange:type_name -> proto.SyncActionMessageRange
175, // 290: proto.SyncActionData.value:type_name -> proto.SyncActionValue
41, // 291: proto.BizIdentityInfo.vlevel:type_name -> proto.BizIdentityInfo.VerifiedLevelValue
215, // 292: proto.BizIdentityInfo.vnameCert:type_name -> proto.VerifiedNameCertificate
42, // 293: proto.BizIdentityInfo.hostStorage:type_name -> proto.BizIdentityInfo.HostStorageType
43, // 294: proto.BizIdentityInfo.actualActors:type_name -> proto.BizIdentityInfo.ActualActorsType
215, // 295: proto.BizAccountPayload.vnameCert:type_name -> proto.VerifiedNameCertificate
44, // 296: proto.BizAccountLinkInfo.hostStorage:type_name -> proto.BizAccountLinkInfo.HostStorageType
45, // 297: proto.BizAccountLinkInfo.accountType:type_name -> proto.BizAccountLinkInfo.AccountType
222, // 298: proto.HandshakeMessage.clientHello:type_name -> proto.HandshakeClientHello
221, // 299: proto.HandshakeMessage.serverHello:type_name -> proto.HandshakeServerHello
223, // 300: proto.HandshakeMessage.clientFinish:type_name -> proto.HandshakeClientFinish
296, // 301: proto.ClientPayload.userAgent:type_name -> proto.ClientPayload.UserAgent
295, // 302: proto.ClientPayload.webInfo:type_name -> proto.ClientPayload.WebInfo
48, // 303: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ConnectType
49, // 304: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ConnectReason
299, // 305: proto.ClientPayload.dnsSource:type_name -> proto.ClientPayload.DNSSource
298, // 306: proto.ClientPayload.devicePairingData:type_name -> proto.ClientPayload.DevicePairingRegistrationData
46, // 307: proto.ClientPayload.product:type_name -> proto.ClientPayload.Product
47, // 308: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.IOSAppExtension
297, // 309: proto.ClientPayload.interopData:type_name -> proto.ClientPayload.InteropData
226, // 310: proto.WebNotificationsInfo.notifyMessages:type_name -> proto.WebMessageInfo
163, // 311: proto.WebMessageInfo.key:type_name -> proto.MessageKey
119, // 312: proto.WebMessageInfo.message:type_name -> proto.Message
56, // 313: proto.WebMessageInfo.status:type_name -> proto.WebMessageInfo.Status
55, // 314: proto.WebMessageInfo.messageStubType:type_name -> proto.WebMessageInfo.StubType
235, // 315: proto.WebMessageInfo.paymentInfo:type_name -> proto.PaymentInfo
69, // 316: proto.WebMessageInfo.finalLiveLocation:type_name -> proto.LiveLocationMessage
235, // 317: proto.WebMessageInfo.quotedPaymentInfo:type_name -> proto.PaymentInfo
57, // 318: proto.WebMessageInfo.bizPrivacyStatus:type_name -> proto.WebMessageInfo.BizPrivacyStatus
238, // 319: proto.WebMessageInfo.mediaData:type_name -> proto.MediaData
234, // 320: proto.WebMessageInfo.photoChange:type_name -> proto.PhotoChange
228, // 321: proto.WebMessageInfo.userReceipt:type_name -> proto.UserReceipt
230, // 322: proto.WebMessageInfo.reactions:type_name -> proto.Reaction
238, // 323: proto.WebMessageInfo.quotedStickerData:type_name -> proto.MediaData
229, // 324: proto.WebMessageInfo.statusPsa:type_name -> proto.StatusPSA
231, // 325: proto.WebMessageInfo.pollUpdates:type_name -> proto.PollUpdate
232, // 326: proto.WebMessageInfo.pollAdditionalMetadata:type_name -> proto.PollAdditionalMetadata
239, // 327: proto.WebMessageInfo.keepInChat:type_name -> proto.KeepInChat
233, // 328: proto.WebMessageInfo.pinInChat:type_name -> proto.PinInChat
58, // 329: proto.WebFeatures.labelsDisplay:type_name -> proto.WebFeatures.Flag
58, // 330: proto.WebFeatures.voipIndividualOutgoing:type_name -> proto.WebFeatures.Flag
58, // 331: proto.WebFeatures.groupsV3:type_name -> proto.WebFeatures.Flag
58, // 332: proto.WebFeatures.groupsV3Create:type_name -> proto.WebFeatures.Flag
58, // 333: proto.WebFeatures.changeNumberV2:type_name -> proto.WebFeatures.Flag
58, // 334: proto.WebFeatures.queryStatusV3Thumbnail:type_name -> proto.WebFeatures.Flag
58, // 335: proto.WebFeatures.liveLocations:type_name -> proto.WebFeatures.Flag
58, // 336: proto.WebFeatures.queryVname:type_name -> proto.WebFeatures.Flag
58, // 337: proto.WebFeatures.voipIndividualIncoming:type_name -> proto.WebFeatures.Flag
58, // 338: proto.WebFeatures.quickRepliesQuery:type_name -> proto.WebFeatures.Flag
58, // 339: proto.WebFeatures.payments:type_name -> proto.WebFeatures.Flag
58, // 340: proto.WebFeatures.stickerPackQuery:type_name -> proto.WebFeatures.Flag
58, // 341: proto.WebFeatures.liveLocationsFinal:type_name -> proto.WebFeatures.Flag
58, // 342: proto.WebFeatures.labelsEdit:type_name -> proto.WebFeatures.Flag
58, // 343: proto.WebFeatures.mediaUpload:type_name -> proto.WebFeatures.Flag
58, // 344: proto.WebFeatures.mediaUploadRichQuickReplies:type_name -> proto.WebFeatures.Flag
58, // 345: proto.WebFeatures.vnameV2:type_name -> proto.WebFeatures.Flag
58, // 346: proto.WebFeatures.videoPlaybackUrl:type_name -> proto.WebFeatures.Flag
58, // 347: proto.WebFeatures.statusRanking:type_name -> proto.WebFeatures.Flag
58, // 348: proto.WebFeatures.voipIndividualVideo:type_name -> proto.WebFeatures.Flag
58, // 349: proto.WebFeatures.thirdPartyStickers:type_name -> proto.WebFeatures.Flag
58, // 350: proto.WebFeatures.frequentlyForwardedSetting:type_name -> proto.WebFeatures.Flag
58, // 351: proto.WebFeatures.groupsV4JoinPermission:type_name -> proto.WebFeatures.Flag
58, // 352: proto.WebFeatures.recentStickers:type_name -> proto.WebFeatures.Flag
58, // 353: proto.WebFeatures.catalog:type_name -> proto.WebFeatures.Flag
58, // 354: proto.WebFeatures.starredStickers:type_name -> proto.WebFeatures.Flag
58, // 355: proto.WebFeatures.voipGroupCall:type_name -> proto.WebFeatures.Flag
58, // 356: proto.WebFeatures.templateMessage:type_name -> proto.WebFeatures.Flag
58, // 357: proto.WebFeatures.templateMessageInteractivity:type_name -> proto.WebFeatures.Flag
58, // 358: proto.WebFeatures.ephemeralMessages:type_name -> proto.WebFeatures.Flag
58, // 359: proto.WebFeatures.e2ENotificationSync:type_name -> proto.WebFeatures.Flag
58, // 360: proto.WebFeatures.recentStickersV2:type_name -> proto.WebFeatures.Flag
58, // 361: proto.WebFeatures.recentStickersV3:type_name -> proto.WebFeatures.Flag
58, // 362: proto.WebFeatures.userNotice:type_name -> proto.WebFeatures.Flag
58, // 363: proto.WebFeatures.support:type_name -> proto.WebFeatures.Flag
58, // 364: proto.WebFeatures.groupUiiCleanup:type_name -> proto.WebFeatures.Flag
58, // 365: proto.WebFeatures.groupDogfoodingInternalOnly:type_name -> proto.WebFeatures.Flag
58, // 366: proto.WebFeatures.settingsSync:type_name -> proto.WebFeatures.Flag
58, // 367: proto.WebFeatures.archiveV2:type_name -> proto.WebFeatures.Flag
58, // 368: proto.WebFeatures.ephemeralAllowGroupMembers:type_name -> proto.WebFeatures.Flag
58, // 369: proto.WebFeatures.ephemeral24HDuration:type_name -> proto.WebFeatures.Flag
58, // 370: proto.WebFeatures.mdForceUpgrade:type_name -> proto.WebFeatures.Flag
58, // 371: proto.WebFeatures.disappearingMode:type_name -> proto.WebFeatures.Flag
58, // 372: proto.WebFeatures.externalMdOptInAvailable:type_name -> proto.WebFeatures.Flag
58, // 373: proto.WebFeatures.noDeleteMessageTimeLimit:type_name -> proto.WebFeatures.Flag
163, // 374: proto.Reaction.key:type_name -> proto.MessageKey
163, // 375: proto.PollUpdate.pollUpdateMessageKey:type_name -> proto.MessageKey
136, // 376: proto.PollUpdate.vote:type_name -> proto.PollVoteMessage
59, // 377: proto.PinInChat.type:type_name -> proto.PinInChat.Type
163, // 378: proto.PinInChat.key:type_name -> proto.MessageKey
237, // 379: proto.PinInChat.messageAddOnContextInfo:type_name -> proto.MessageAddOnContextInfo
62, // 380: proto.PaymentInfo.currencyDeprecated:type_name -> proto.PaymentInfo.Currency
61, // 381: proto.PaymentInfo.status:type_name -> proto.PaymentInfo.Status
163, // 382: proto.PaymentInfo.requestMessageKey:type_name -> proto.MessageKey
60, // 383: proto.PaymentInfo.txnStatus:type_name -> proto.PaymentInfo.TxnStatus
118, // 384: proto.PaymentInfo.primaryAmount:type_name -> proto.Money
118, // 385: proto.PaymentInfo.exchangeAmount:type_name -> proto.Money
163, // 386: proto.NotificationMessageInfo.key:type_name -> proto.MessageKey
119, // 387: proto.NotificationMessageInfo.message:type_name -> proto.Message
1, // 388: proto.KeepInChat.keepType:type_name -> proto.KeepType
163, // 389: proto.KeepInChat.key:type_name -> proto.MessageKey
303, // 390: proto.CertChain.leaf:type_name -> proto.CertChain.NoiseCertificate
303, // 391: proto.CertChain.intermediate:type_name -> proto.CertChain.NoiseCertificate
246, // 392: proto.ListMessage.Section.rows:type_name -> proto.ListMessage.Row
247, // 393: proto.ListMessage.ProductSection.products:type_name -> proto.ListMessage.Product
248, // 394: proto.ListMessage.ProductListInfo.productSections:type_name -> proto.ListMessage.ProductSection
250, // 395: proto.ListMessage.ProductListInfo.headerImage:type_name -> proto.ListMessage.ProductListHeaderImage
8, // 396: proto.InteractiveResponseMessage.Body.format:type_name -> proto.InteractiveResponseMessage.Body.Format
9, // 397: proto.InteractiveMessage.ShopMessage.surface:type_name -> proto.InteractiveMessage.ShopMessage.Surface
260, // 398: proto.InteractiveMessage.NativeFlowMessage.buttons:type_name -> proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton
85, // 399: proto.InteractiveMessage.Header.documentMessage:type_name -> proto.DocumentMessage
77, // 400: proto.InteractiveMessage.Header.imageMessage:type_name -> proto.ImageMessage
122, // 401: proto.InteractiveMessage.Header.videoMessage:type_name -> proto.VideoMessage
146, // 402: proto.InteractiveMessage.Header.locationMessage:type_name -> proto.LocationMessage
75, // 403: proto.InteractiveMessage.CarouselMessage.cards:type_name -> proto.InteractiveMessage
263, // 404: proto.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency
262, // 405: proto.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime
265, // 406: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent
264, // 407: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch
11, // 408: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType
12, // 409: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType
268, // 410: proto.ButtonsMessage.Button.buttonText:type_name -> proto.ButtonsMessage.Button.ButtonText
19, // 411: proto.ButtonsMessage.Button.type:type_name -> proto.ButtonsMessage.Button.Type
267, // 412: proto.ButtonsMessage.Button.nativeFlowInfo:type_name -> proto.ButtonsMessage.Button.NativeFlowInfo
23, // 413: proto.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> proto.ContextInfo.ExternalAdReplyInfo.MediaType
24, // 414: proto.ContextInfo.AdReplyInfo.mediaType:type_name -> proto.ContextInfo.AdReplyInfo.MediaType
79, // 415: proto.TemplateButton.URLButton.displayText:type_name -> proto.HighlyStructuredMessage
79, // 416: proto.TemplateButton.URLButton.url:type_name -> proto.HighlyStructuredMessage
79, // 417: proto.TemplateButton.QuickReplyButton.displayText:type_name -> proto.HighlyStructuredMessage
79, // 418: proto.TemplateButton.CallButton.displayText:type_name -> proto.HighlyStructuredMessage
79, // 419: proto.TemplateButton.CallButton.phoneNumber:type_name -> proto.HighlyStructuredMessage
106, // 420: proto.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> proto.HydratedTemplateButton
85, // 421: proto.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> proto.DocumentMessage
77, // 422: proto.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> proto.ImageMessage
122, // 423: proto.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> proto.VideoMessage
146, // 424: proto.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> proto.LocationMessage
79, // 425: proto.TemplateMessage.FourRowTemplate.content:type_name -> proto.HighlyStructuredMessage
79, // 426: proto.TemplateMessage.FourRowTemplate.footer:type_name -> proto.HighlyStructuredMessage
115, // 427: proto.TemplateMessage.FourRowTemplate.buttons:type_name -> proto.TemplateButton
85, // 428: proto.TemplateMessage.FourRowTemplate.documentMessage:type_name -> proto.DocumentMessage
79, // 429: proto.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage
77, // 430: proto.TemplateMessage.FourRowTemplate.imageMessage:type_name -> proto.ImageMessage
122, // 431: proto.TemplateMessage.FourRowTemplate.videoMessage:type_name -> proto.VideoMessage
146, // 432: proto.TemplateMessage.FourRowTemplate.locationMessage:type_name -> proto.LocationMessage
77, // 433: proto.ProductMessage.ProductSnapshot.productImage:type_name -> proto.ImageMessage
77, // 434: proto.ProductMessage.CatalogSnapshot.catalogImage:type_name -> proto.ImageMessage
38, // 435: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> proto.MediaRetryNotification.ResultType
126, // 436: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> proto.StickerMessage
288, // 437: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse
287, // 438: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.placeholderMessageResendResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse
289, // 439: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.hqThumbnail:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail
163, // 440: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.messageKey:type_name -> proto.MessageKey
216, // 441: proto.VerifiedNameCertificate.Details.localizedNames:type_name -> proto.LocalizedName
300, // 442: proto.ClientPayload.WebInfo.webdPayload:type_name -> proto.ClientPayload.WebInfo.WebdPayload
50, // 443: proto.ClientPayload.WebInfo.webSubPlatform:type_name -> proto.ClientPayload.WebInfo.WebSubPlatform
52, // 444: proto.ClientPayload.UserAgent.platform:type_name -> proto.ClientPayload.UserAgent.Platform
301, // 445: proto.ClientPayload.UserAgent.appVersion:type_name -> proto.ClientPayload.UserAgent.AppVersion
51, // 446: proto.ClientPayload.UserAgent.releaseChannel:type_name -> proto.ClientPayload.UserAgent.ReleaseChannel
53, // 447: proto.ClientPayload.UserAgent.deviceType:type_name -> proto.ClientPayload.UserAgent.DeviceType
54, // 448: proto.ClientPayload.DNSSource.dnsMethod:type_name -> proto.ClientPayload.DNSSource.DNSResolutionMethod
449, // [449:449] is the sub-list for method output_type
449, // [449:449] is the sub-list for method input_type
449, // [449:449] is the sub-list for extension type_name
449, // [449:449] is the sub-list for extension extendee
0, // [0:449] is the sub-list for field type_name
2022-01-30 15:27:37 -08:00
}
func init() { file_binary_proto_def_proto_init() }
func file_binary_proto_def_proto_init() {
if File_binary_proto_def_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_binary_proto_def_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2022-03-12 14:02:04 -08:00
switch v := v.(*ADVSignedKeyIndexList); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2022-03-12 14:02:04 -08:00
switch v := v.(*ADVSignedDeviceIdentity); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2022-03-12 14:02:04 -08:00
switch v := v.(*ADVSignedDeviceIdentityHMAC); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2022-03-12 14:02:04 -08:00
switch v := v.(*ADVKeyIndexList); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2022-03-12 14:02:04 -08:00
switch v := v.(*ADVDeviceIdentity); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2022-06-24 15:36:16 -07:00
switch v := v.(*DeviceProps); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LiveLocationMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListResponseMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*KeepInChatMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InvoiceMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InteractiveResponseMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InteractiveMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InitialSecurityNotificationSettingSync); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ImageMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HistorySyncNotification); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HighlyStructuredMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GroupInviteMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FutureProofMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExtendedTextMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EncReactionMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EncCommentMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DocumentMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeviceSentMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeclinePaymentRequestMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContactsArrayMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContactMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Chat); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CancelPaymentRequestMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Call); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ButtonsResponseMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ButtonsMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BotFeedbackMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AudioMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AppStateSyncKey); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AppStateSyncKeyShare); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AppStateSyncKeyRequest); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AppStateSyncKeyId); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AppStateSyncKeyFingerprint); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AppStateSyncKeyData); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AppStateFatalExceptionNotification); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Location); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InteractiveAnnotation); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HydratedTemplateButton); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GroupMention); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DisappearingMode); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeviceListMetadata); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContextInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BotPluginMetadata); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BotMetadata); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BotAvatarMetadata); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ActionLink); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TemplateButton); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Point); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PaymentBackground); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Money); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Message); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageSecretMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageContextInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VideoMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TemplateMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TemplateButtonReplyMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StickerSyncRMRMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StickerMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SenderKeyDistributionMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SendPaymentMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ScheduledCallEditMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ScheduledCallCreationMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RequestPhoneNumberMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RequestPaymentMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReactionMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProtocolMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProductMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PollVoteMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PollUpdateMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PollUpdateMessageMetadata); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PollEncValue); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PollCreationMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PinInChatMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestResponseMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PaymentInviteMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrderMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LocationMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EphemeralSetting); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WallpaperSettings); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StickerMetadata); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Pushname); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PastParticipants); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PastParticipant); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NotificationSettings); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HistorySync); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*HistorySyncMsg); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GroupParticipant); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GlobalSettings); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Conversation); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AvatarUserSettings); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AutoDownloadSettings); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ServerErrorReceipt); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MediaRetryNotification); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageKey); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncdVersion); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncdValue); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncdSnapshot); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncdRecord); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncdPatch); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncdMutations); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncdMutation); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncdIndex); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*KeyId); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExternalBlobReference); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExitCode); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncActionValue); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UserStatusMuteAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UnarchiveChatsSetting); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TimeFormatAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncActionMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncActionMessageRange); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubscriptionAction); i {
2022-11-26 15:42:16 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StickerAction); i {
2022-11-26 15:42:16 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StarAction); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SecurityNotificationSetting); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemoveRecentStickerAction); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RecentEmojiWeightsAction); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QuickReplyAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PushNameSetting); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PrivacySettingRelayAllCalls); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PrimaryVersionAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PrimaryFeature); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*PnForLidChatAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*PinAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*NuxAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*MuteAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MarketingMessageBroadcastAction); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MarketingMessageAction); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*MarkChatAsReadAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*LocaleSetting); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*LabelEditAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*LabelAssociationAction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*KeyExpiration); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExternalWebBetaAction); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*DeleteMessageForMeAction); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*DeleteChatAction); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ContactAction); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ClearChatAction); i {
2022-11-26 15:42:16 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ChatAssignmentOpenedStatusAction); i {
2022-11-26 15:42:16 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ChatAssignmentAction); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ArchiveChatAction); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*AndroidUnsupportedActions); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*AgentAction); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*SyncActionData); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*RecentEmojiWeight); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*VerifiedNameCertificate); i {
2022-03-12 14:02:04 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*LocalizedName); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*BizIdentityInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*BizAccountPayload); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*BizAccountLinkInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HandshakeMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HandshakeServerHello); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HandshakeClientHello); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HandshakeClientFinish); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ClientPayload); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*WebNotificationsInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*WebMessageInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*WebFeatures); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*UserReceipt); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*StatusPSA); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*Reaction); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*PollUpdate); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*PollAdditionalMetadata); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PinInChat); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PhotoChange); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PaymentInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NotificationMessageInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageAddOnContextInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MediaData); i {
2022-11-26 15:42:16 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*KeepInChat); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NoiseCertificate); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CertChain); i {
2022-11-26 15:42:16 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeviceProps_HistorySyncConfig); i {
2022-11-26 15:42:16 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeviceProps_AppVersion); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ListResponseMessage_SingleSelectReply); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ListMessage_Section); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ListMessage_Row); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ListMessage_Product); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ListMessage_ProductSection); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ListMessage_ProductListInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ListMessage_ProductListHeaderImage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*InteractiveResponseMessage_NativeFlowResponseMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*InteractiveResponseMessage_Body); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*InteractiveMessage_ShopMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*InteractiveMessage_NativeFlowMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*InteractiveMessage_Header); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*InteractiveMessage_Footer); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*InteractiveMessage_CollectionMessage); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InteractiveMessage_CarouselMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*InteractiveMessage_Body); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ButtonsMessage_Button); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ButtonsMessage_Button_NativeFlowInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ButtonsMessage_Button_ButtonText); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HydratedTemplateButton_HydratedURLButton); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*HydratedTemplateButton_HydratedCallButton); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContextInfo_UTMInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContextInfo_ForwardedNewsletterMessageInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ContextInfo_ExternalAdReplyInfo); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContextInfo_BusinessMessageForwardInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[213].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ContextInfo_AdReplyInfo); i {
2022-04-25 14:50:10 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*TemplateButton_URLButton); i {
2022-04-25 14:50:10 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*TemplateButton_QuickReplyButton); i {
2022-04-25 14:50:10 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*TemplateButton_CallButton); i {
2022-04-25 14:50:10 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*PaymentBackground_MediaData); i {
2022-04-25 14:50:10 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[218].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*TemplateMessage_HydratedFourRowTemplate); i {
2022-01-30 15:27:37 -08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[219].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*TemplateMessage_FourRowTemplate); i {
2022-06-24 15:36:16 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[220].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ProductMessage_ProductSnapshot); i {
2022-06-24 15:36:16 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[221].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ProductMessage_CatalogSnapshot); i {
2022-06-24 15:36:16 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[222].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*PollCreationMessage_Option); i {
2022-06-24 15:36:16 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[223].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[224].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[225].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[226].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail); i {
2022-06-24 15:36:16 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[227].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestMessage_RequestUrlPreview); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[228].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestMessage_RequestStickerReupload); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[229].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[230].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[231].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*VerifiedNameCertificate_Details); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[232].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ClientPayload_WebInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[233].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ClientPayload_UserAgent); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[234].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ClientPayload_InteropData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[235].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ClientPayload_DevicePairingRegistrationData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[236].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ClientPayload_DNSSource); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[237].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ClientPayload_WebInfo_WebdPayload); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[238].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*ClientPayload_UserAgent_AppVersion); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[239].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*NoiseCertificate_Details); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[240].Exporter = func(v interface{}, i int) interface{} {
2023-01-28 13:57:53 -08:00
switch v := v.(*CertChain_NoiseCertificate); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_binary_proto_def_proto_msgTypes[241].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CertChain_NoiseCertificate_Details); i {
2022-06-24 15:36:16 -07:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2022-01-30 15:27:37 -08:00
}
file_binary_proto_def_proto_msgTypes[11].OneofWrappers = []interface{}{
(*InteractiveResponseMessage_NativeFlowResponseMessage_)(nil),
2022-01-30 15:27:37 -08:00
}
file_binary_proto_def_proto_msgTypes[12].OneofWrappers = []interface{}{
2022-03-12 14:02:04 -08:00
(*InteractiveMessage_ShopStorefrontMessage)(nil),
(*InteractiveMessage_CollectionMessage_)(nil),
(*InteractiveMessage_NativeFlowMessage_)(nil),
(*InteractiveMessage_CarouselMessage_)(nil),
2022-03-12 14:02:04 -08:00
}
file_binary_proto_def_proto_msgTypes[30].OneofWrappers = []interface{}{
2022-03-12 14:02:04 -08:00
(*ButtonsResponseMessage_SelectedDisplayText)(nil),
2022-01-30 15:27:37 -08:00
}
file_binary_proto_def_proto_msgTypes[31].OneofWrappers = []interface{}{
2022-01-30 15:27:37 -08:00
(*ButtonsMessage_Text)(nil),
(*ButtonsMessage_DocumentMessage)(nil),
(*ButtonsMessage_ImageMessage)(nil),
(*ButtonsMessage_VideoMessage)(nil),
(*ButtonsMessage_LocationMessage)(nil),
}
file_binary_proto_def_proto_msgTypes[42].OneofWrappers = []interface{}{
2022-03-12 14:02:04 -08:00
(*InteractiveAnnotation_Location)(nil),
2022-01-30 15:27:37 -08:00
}
file_binary_proto_def_proto_msgTypes[43].OneofWrappers = []interface{}{
2022-01-30 15:27:37 -08:00
(*HydratedTemplateButton_QuickReplyButton)(nil),
(*HydratedTemplateButton_UrlButton)(nil),
(*HydratedTemplateButton_CallButton)(nil),
}
file_binary_proto_def_proto_msgTypes[52].OneofWrappers = []interface{}{
(*TemplateButton_QuickReplyButton_)(nil),
2022-01-30 15:27:37 -08:00
(*TemplateButton_UrlButton)(nil),
(*TemplateButton_CallButton_)(nil),
}
file_binary_proto_def_proto_msgTypes[60].OneofWrappers = []interface{}{
(*TemplateMessage_FourRowTemplate_)(nil),
(*TemplateMessage_HydratedFourRowTemplate_)(nil),
2022-11-26 15:42:16 -08:00
(*TemplateMessage_InteractiveMessageTemplate)(nil),
}
file_binary_proto_def_proto_msgTypes[192].OneofWrappers = []interface{}{
(*InteractiveMessage_Header_DocumentMessage)(nil),
(*InteractiveMessage_Header_ImageMessage)(nil),
(*InteractiveMessage_Header_JpegThumbnail)(nil),
(*InteractiveMessage_Header_VideoMessage)(nil),
(*InteractiveMessage_Header_LocationMessage)(nil),
}
file_binary_proto_def_proto_msgTypes[198].OneofWrappers = []interface{}{
(*HighlyStructuredMessage_HSMLocalizableParameter_Currency)(nil),
(*HighlyStructuredMessage_HSMLocalizableParameter_DateTime)(nil),
}
file_binary_proto_def_proto_msgTypes[199].OneofWrappers = []interface{}{
(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component)(nil),
(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch)(nil),
}
file_binary_proto_def_proto_msgTypes[218].OneofWrappers = []interface{}{
(*TemplateMessage_HydratedFourRowTemplate_DocumentMessage)(nil),
(*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText)(nil),
(*TemplateMessage_HydratedFourRowTemplate_ImageMessage)(nil),
(*TemplateMessage_HydratedFourRowTemplate_VideoMessage)(nil),
(*TemplateMessage_HydratedFourRowTemplate_LocationMessage)(nil),
}
file_binary_proto_def_proto_msgTypes[219].OneofWrappers = []interface{}{
(*TemplateMessage_FourRowTemplate_DocumentMessage)(nil),
(*TemplateMessage_FourRowTemplate_HighlyStructuredMessage)(nil),
(*TemplateMessage_FourRowTemplate_ImageMessage)(nil),
(*TemplateMessage_FourRowTemplate_VideoMessage)(nil),
(*TemplateMessage_FourRowTemplate_LocationMessage)(nil),
2022-03-12 14:02:04 -08:00
}
2022-01-30 15:27:37 -08:00
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_binary_proto_def_proto_rawDesc,
NumEnums: 63,
NumMessages: 242,
2022-01-30 15:27:37 -08:00
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_binary_proto_def_proto_goTypes,
DependencyIndexes: file_binary_proto_def_proto_depIdxs,
EnumInfos: file_binary_proto_def_proto_enumTypes,
MessageInfos: file_binary_proto_def_proto_msgTypes,
}.Build()
File_binary_proto_def_proto = out.File
file_binary_proto_def_proto_rawDesc = nil
file_binary_proto_def_proto_goTypes = nil
file_binary_proto_def_proto_depIdxs = nil
}