waCompanionReg

package
v0.0.0-...-68b0856 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2024 License: MPL-2.0 Imports: 5 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeviceProps_PlatformType_name = map[int32]string{
		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",
		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",
		23: "CLOUD_API",
		24: "SMARTGLASSES",
	}
	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,
		"CLOUD_API":         23,
		"SMARTGLASSES":      24,
	}
)

Enum value maps for DeviceProps_PlatformType.

View Source
var File_waCompanionReg_WAWebProtobufsCompanionReg_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClientPairingProps

type ClientPairingProps struct {
	IsChatDbLidMigrated *bool `protobuf:"varint,1,opt,name=isChatDbLidMigrated" json:"isChatDbLidMigrated,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientPairingProps) Descriptor deprecated

func (*ClientPairingProps) Descriptor() ([]byte, []int)

Deprecated: Use ClientPairingProps.ProtoReflect.Descriptor instead.

func (*ClientPairingProps) GetIsChatDbLidMigrated

func (x *ClientPairingProps) GetIsChatDbLidMigrated() bool

func (*ClientPairingProps) ProtoMessage

func (*ClientPairingProps) ProtoMessage()

func (*ClientPairingProps) ProtoReflect

func (x *ClientPairingProps) ProtoReflect() protoreflect.Message

func (*ClientPairingProps) Reset

func (x *ClientPairingProps) Reset()

func (*ClientPairingProps) String

func (x *ClientPairingProps) String() string

type CompanionCommitment

type CompanionCommitment struct {
	Hash []byte `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*CompanionCommitment) Descriptor deprecated

func (*CompanionCommitment) Descriptor() ([]byte, []int)

Deprecated: Use CompanionCommitment.ProtoReflect.Descriptor instead.

func (*CompanionCommitment) GetHash

func (x *CompanionCommitment) GetHash() []byte

func (*CompanionCommitment) ProtoMessage

func (*CompanionCommitment) ProtoMessage()

func (*CompanionCommitment) ProtoReflect

func (x *CompanionCommitment) ProtoReflect() protoreflect.Message

func (*CompanionCommitment) Reset

func (x *CompanionCommitment) Reset()

func (*CompanionCommitment) String

func (x *CompanionCommitment) String() string

type CompanionEphemeralIdentity

type CompanionEphemeralIdentity struct {
	PublicKey  []byte                    `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"`
	DeviceType *DeviceProps_PlatformType `protobuf:"varint,2,opt,name=deviceType,enum=WAWebProtobufsCompanionReg.DeviceProps_PlatformType" json:"deviceType,omitempty"`
	Ref        *string                   `protobuf:"bytes,3,opt,name=ref" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*CompanionEphemeralIdentity) Descriptor deprecated

func (*CompanionEphemeralIdentity) Descriptor() ([]byte, []int)

Deprecated: Use CompanionEphemeralIdentity.ProtoReflect.Descriptor instead.

func (*CompanionEphemeralIdentity) GetDeviceType

func (*CompanionEphemeralIdentity) GetPublicKey

func (x *CompanionEphemeralIdentity) GetPublicKey() []byte

func (*CompanionEphemeralIdentity) GetRef

func (x *CompanionEphemeralIdentity) GetRef() string

func (*CompanionEphemeralIdentity) ProtoMessage

func (*CompanionEphemeralIdentity) ProtoMessage()

func (*CompanionEphemeralIdentity) ProtoReflect

func (*CompanionEphemeralIdentity) Reset

func (x *CompanionEphemeralIdentity) Reset()

func (*CompanionEphemeralIdentity) String

func (x *CompanionEphemeralIdentity) String() string

type DeviceProps

type DeviceProps struct {
	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      `` /* 128-byte string literal not displayed */
	RequireFullSync   *bool                          `protobuf:"varint,4,opt,name=requireFullSync" json:"requireFullSync,omitempty"`
	HistorySyncConfig *DeviceProps_HistorySyncConfig `protobuf:"bytes,5,opt,name=historySyncConfig" json:"historySyncConfig,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceProps) Descriptor deprecated

func (*DeviceProps) Descriptor() ([]byte, []int)

Deprecated: Use DeviceProps.ProtoReflect.Descriptor instead.

func (*DeviceProps) GetHistorySyncConfig

func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig

func (*DeviceProps) GetOs

func (x *DeviceProps) GetOs() string

func (*DeviceProps) GetPlatformType

func (x *DeviceProps) GetPlatformType() DeviceProps_PlatformType

func (*DeviceProps) GetRequireFullSync

func (x *DeviceProps) GetRequireFullSync() bool

func (*DeviceProps) GetVersion

func (x *DeviceProps) GetVersion() *DeviceProps_AppVersion

func (*DeviceProps) ProtoMessage

func (*DeviceProps) ProtoMessage()

func (*DeviceProps) ProtoReflect

func (x *DeviceProps) ProtoReflect() protoreflect.Message

func (*DeviceProps) Reset

func (x *DeviceProps) Reset()

func (*DeviceProps) String

func (x *DeviceProps) String() string

type DeviceProps_AppVersion

type DeviceProps_AppVersion struct {
	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"`
	// contains filtered or unexported fields
}

func (*DeviceProps_AppVersion) Descriptor deprecated

func (*DeviceProps_AppVersion) Descriptor() ([]byte, []int)

Deprecated: Use DeviceProps_AppVersion.ProtoReflect.Descriptor instead.

func (*DeviceProps_AppVersion) GetPrimary

func (x *DeviceProps_AppVersion) GetPrimary() uint32

func (*DeviceProps_AppVersion) GetQuaternary

func (x *DeviceProps_AppVersion) GetQuaternary() uint32

func (*DeviceProps_AppVersion) GetQuinary

func (x *DeviceProps_AppVersion) GetQuinary() uint32

func (*DeviceProps_AppVersion) GetSecondary

func (x *DeviceProps_AppVersion) GetSecondary() uint32

func (*DeviceProps_AppVersion) GetTertiary

func (x *DeviceProps_AppVersion) GetTertiary() uint32

func (*DeviceProps_AppVersion) ProtoMessage

func (*DeviceProps_AppVersion) ProtoMessage()

func (*DeviceProps_AppVersion) ProtoReflect

func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message

func (*DeviceProps_AppVersion) Reset

func (x *DeviceProps_AppVersion) Reset()

func (*DeviceProps_AppVersion) String

func (x *DeviceProps_AppVersion) String() string

type DeviceProps_HistorySyncConfig

type DeviceProps_HistorySyncConfig struct {
	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"`
	SupportCallLogHistory                    *bool   `protobuf:"varint,6,opt,name=supportCallLogHistory" json:"supportCallLogHistory,omitempty"`
	SupportBotUserAgentChatHistory           *bool   `protobuf:"varint,7,opt,name=supportBotUserAgentChatHistory" json:"supportBotUserAgentChatHistory,omitempty"`
	SupportCagReactionsAndPolls              *bool   `protobuf:"varint,8,opt,name=supportCagReactionsAndPolls" json:"supportCagReactionsAndPolls,omitempty"`
	SupportBizHostedMsg                      *bool   `protobuf:"varint,9,opt,name=supportBizHostedMsg" json:"supportBizHostedMsg,omitempty"`
	SupportRecentSyncChunkMessageCountTuning *bool   `` /* 128-byte string literal not displayed */
	SupportHostedGroupMsg                    *bool   `protobuf:"varint,11,opt,name=supportHostedGroupMsg" json:"supportHostedGroupMsg,omitempty"`
	SupportFbidBotChatHistory                *bool   `protobuf:"varint,12,opt,name=supportFbidBotChatHistory" json:"supportFbidBotChatHistory,omitempty"`
	SupportAddOnHistorySyncMigration         *bool   `protobuf:"varint,13,opt,name=supportAddOnHistorySyncMigration" json:"supportAddOnHistorySyncMigration,omitempty"`
	SupportMessageAssociation                *bool   `protobuf:"varint,14,opt,name=supportMessageAssociation" json:"supportMessageAssociation,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceProps_HistorySyncConfig) Descriptor deprecated

func (*DeviceProps_HistorySyncConfig) Descriptor() ([]byte, []int)

Deprecated: Use DeviceProps_HistorySyncConfig.ProtoReflect.Descriptor instead.

func (*DeviceProps_HistorySyncConfig) GetFullSyncDaysLimit

func (x *DeviceProps_HistorySyncConfig) GetFullSyncDaysLimit() uint32

func (*DeviceProps_HistorySyncConfig) GetFullSyncSizeMbLimit

func (x *DeviceProps_HistorySyncConfig) GetFullSyncSizeMbLimit() uint32

func (*DeviceProps_HistorySyncConfig) GetInlineInitialPayloadInE2EeMsg

func (x *DeviceProps_HistorySyncConfig) GetInlineInitialPayloadInE2EeMsg() bool

func (*DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit

func (x *DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit() uint32

func (*DeviceProps_HistorySyncConfig) GetStorageQuotaMb

func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32

func (*DeviceProps_HistorySyncConfig) GetSupportAddOnHistorySyncMigration

func (x *DeviceProps_HistorySyncConfig) GetSupportAddOnHistorySyncMigration() bool

func (*DeviceProps_HistorySyncConfig) GetSupportBizHostedMsg

func (x *DeviceProps_HistorySyncConfig) GetSupportBizHostedMsg() bool

func (*DeviceProps_HistorySyncConfig) GetSupportBotUserAgentChatHistory

func (x *DeviceProps_HistorySyncConfig) GetSupportBotUserAgentChatHistory() bool

func (*DeviceProps_HistorySyncConfig) GetSupportCagReactionsAndPolls

func (x *DeviceProps_HistorySyncConfig) GetSupportCagReactionsAndPolls() bool

func (*DeviceProps_HistorySyncConfig) GetSupportCallLogHistory

func (x *DeviceProps_HistorySyncConfig) GetSupportCallLogHistory() bool

func (*DeviceProps_HistorySyncConfig) GetSupportFbidBotChatHistory

func (x *DeviceProps_HistorySyncConfig) GetSupportFbidBotChatHistory() bool

func (*DeviceProps_HistorySyncConfig) GetSupportHostedGroupMsg

func (x *DeviceProps_HistorySyncConfig) GetSupportHostedGroupMsg() bool

func (*DeviceProps_HistorySyncConfig) GetSupportMessageAssociation

func (x *DeviceProps_HistorySyncConfig) GetSupportMessageAssociation() bool

func (*DeviceProps_HistorySyncConfig) GetSupportRecentSyncChunkMessageCountTuning

func (x *DeviceProps_HistorySyncConfig) GetSupportRecentSyncChunkMessageCountTuning() bool

func (*DeviceProps_HistorySyncConfig) ProtoMessage

func (*DeviceProps_HistorySyncConfig) ProtoMessage()

func (*DeviceProps_HistorySyncConfig) ProtoReflect

func (*DeviceProps_HistorySyncConfig) Reset

func (x *DeviceProps_HistorySyncConfig) Reset()

func (*DeviceProps_HistorySyncConfig) String

type DeviceProps_PlatformType

type DeviceProps_PlatformType int32
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
	DeviceProps_CLOUD_API         DeviceProps_PlatformType = 23
	DeviceProps_SMARTGLASSES      DeviceProps_PlatformType = 24
)

func (DeviceProps_PlatformType) Descriptor

func (DeviceProps_PlatformType) Enum

func (DeviceProps_PlatformType) EnumDescriptor deprecated

func (DeviceProps_PlatformType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeviceProps_PlatformType.Descriptor instead.

func (DeviceProps_PlatformType) Number

func (DeviceProps_PlatformType) String

func (x DeviceProps_PlatformType) String() string

func (DeviceProps_PlatformType) Type

func (*DeviceProps_PlatformType) UnmarshalJSON deprecated

func (x *DeviceProps_PlatformType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type EncryptedPairingRequest

type EncryptedPairingRequest struct {
	EncryptedPayload []byte `protobuf:"bytes,1,opt,name=encryptedPayload" json:"encryptedPayload,omitempty"`
	IV               []byte `protobuf:"bytes,2,opt,name=IV" json:"IV,omitempty"`
	// contains filtered or unexported fields
}

func (*EncryptedPairingRequest) Descriptor deprecated

func (*EncryptedPairingRequest) Descriptor() ([]byte, []int)

Deprecated: Use EncryptedPairingRequest.ProtoReflect.Descriptor instead.

func (*EncryptedPairingRequest) GetEncryptedPayload

func (x *EncryptedPairingRequest) GetEncryptedPayload() []byte

func (*EncryptedPairingRequest) GetIV

func (x *EncryptedPairingRequest) GetIV() []byte

func (*EncryptedPairingRequest) ProtoMessage

func (*EncryptedPairingRequest) ProtoMessage()

func (*EncryptedPairingRequest) ProtoReflect

func (x *EncryptedPairingRequest) ProtoReflect() protoreflect.Message

func (*EncryptedPairingRequest) Reset

func (x *EncryptedPairingRequest) Reset()

func (*EncryptedPairingRequest) String

func (x *EncryptedPairingRequest) String() string

type PairingRequest

type PairingRequest struct {
	CompanionPublicKey   []byte `protobuf:"bytes,1,opt,name=companionPublicKey" json:"companionPublicKey,omitempty"`
	CompanionIdentityKey []byte `protobuf:"bytes,2,opt,name=companionIdentityKey" json:"companionIdentityKey,omitempty"`
	AdvSecret            []byte `protobuf:"bytes,3,opt,name=advSecret" json:"advSecret,omitempty"`
	// contains filtered or unexported fields
}

func (*PairingRequest) Descriptor deprecated

func (*PairingRequest) Descriptor() ([]byte, []int)

Deprecated: Use PairingRequest.ProtoReflect.Descriptor instead.

func (*PairingRequest) GetAdvSecret

func (x *PairingRequest) GetAdvSecret() []byte

func (*PairingRequest) GetCompanionIdentityKey

func (x *PairingRequest) GetCompanionIdentityKey() []byte

func (*PairingRequest) GetCompanionPublicKey

func (x *PairingRequest) GetCompanionPublicKey() []byte

func (*PairingRequest) ProtoMessage

func (*PairingRequest) ProtoMessage()

func (*PairingRequest) ProtoReflect

func (x *PairingRequest) ProtoReflect() protoreflect.Message

func (*PairingRequest) Reset

func (x *PairingRequest) Reset()

func (*PairingRequest) String

func (x *PairingRequest) String() string

type PrimaryEphemeralIdentity

type PrimaryEphemeralIdentity struct {
	PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"`
	Nonce     []byte `protobuf:"bytes,2,opt,name=nonce" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*PrimaryEphemeralIdentity) Descriptor deprecated

func (*PrimaryEphemeralIdentity) Descriptor() ([]byte, []int)

Deprecated: Use PrimaryEphemeralIdentity.ProtoReflect.Descriptor instead.

func (*PrimaryEphemeralIdentity) GetNonce

func (x *PrimaryEphemeralIdentity) GetNonce() []byte

func (*PrimaryEphemeralIdentity) GetPublicKey

func (x *PrimaryEphemeralIdentity) GetPublicKey() []byte

func (*PrimaryEphemeralIdentity) ProtoMessage

func (*PrimaryEphemeralIdentity) ProtoMessage()

func (*PrimaryEphemeralIdentity) ProtoReflect

func (x *PrimaryEphemeralIdentity) ProtoReflect() protoreflect.Message

func (*PrimaryEphemeralIdentity) Reset

func (x *PrimaryEphemeralIdentity) Reset()

func (*PrimaryEphemeralIdentity) String

func (x *PrimaryEphemeralIdentity) String() string

type ProloguePayload

type ProloguePayload struct {
	CompanionEphemeralIdentity []byte               `protobuf:"bytes,1,opt,name=companionEphemeralIdentity" json:"companionEphemeralIdentity,omitempty"`
	Commitment                 *CompanionCommitment `protobuf:"bytes,2,opt,name=commitment" json:"commitment,omitempty"`
	// contains filtered or unexported fields
}

func (*ProloguePayload) Descriptor deprecated

func (*ProloguePayload) Descriptor() ([]byte, []int)

Deprecated: Use ProloguePayload.ProtoReflect.Descriptor instead.

func (*ProloguePayload) GetCommitment

func (x *ProloguePayload) GetCommitment() *CompanionCommitment

func (*ProloguePayload) GetCompanionEphemeralIdentity

func (x *ProloguePayload) GetCompanionEphemeralIdentity() []byte

func (*ProloguePayload) ProtoMessage

func (*ProloguePayload) ProtoMessage()

func (*ProloguePayload) ProtoReflect

func (x *ProloguePayload) ProtoReflect() protoreflect.Message

func (*ProloguePayload) Reset

func (x *ProloguePayload) Reset()

func (*ProloguePayload) String

func (x *ProloguePayload) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL