1943 lines
60 KiB
Go
1943 lines
60 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.0
|
|
// protoc v3.21.12
|
|
// source: waWa5/WAWa5.proto
|
|
|
|
package waWa5
|
|
|
|
import (
|
|
reflect "reflect"
|
|
sync "sync"
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
_ "embed"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type ClientPayload_Product int32
|
|
|
|
const (
|
|
ClientPayload_WHATSAPP ClientPayload_Product = 0
|
|
ClientPayload_MESSENGER ClientPayload_Product = 1
|
|
)
|
|
|
|
// Enum value maps for ClientPayload_Product.
|
|
var (
|
|
ClientPayload_Product_name = map[int32]string{
|
|
0: "WHATSAPP",
|
|
1: "MESSENGER",
|
|
}
|
|
ClientPayload_Product_value = map[string]int32{
|
|
"WHATSAPP": 0,
|
|
"MESSENGER": 1,
|
|
}
|
|
)
|
|
|
|
func (x ClientPayload_Product) Enum() *ClientPayload_Product {
|
|
p := new(ClientPayload_Product)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ClientPayload_Product) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ClientPayload_Product) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waWa5_WAWa5_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (ClientPayload_Product) Type() protoreflect.EnumType {
|
|
return &file_waWa5_WAWa5_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x ClientPayload_Product) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_Product.Descriptor instead.
|
|
func (ClientPayload_Product) EnumDescriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
type ClientPayload_ConnectType int32
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for ClientPayload_ConnectType.
|
|
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",
|
|
}
|
|
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,
|
|
}
|
|
)
|
|
|
|
func (x ClientPayload_ConnectType) Enum() *ClientPayload_ConnectType {
|
|
p := new(ClientPayload_ConnectType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ClientPayload_ConnectType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ClientPayload_ConnectType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waWa5_WAWa5_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (ClientPayload_ConnectType) Type() protoreflect.EnumType {
|
|
return &file_waWa5_WAWa5_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x ClientPayload_ConnectType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_ConnectType.Descriptor instead.
|
|
func (ClientPayload_ConnectType) EnumDescriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 1}
|
|
}
|
|
|
|
type ClientPayload_ConnectReason int32
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for ClientPayload_ConnectReason.
|
|
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",
|
|
}
|
|
ClientPayload_ConnectReason_value = map[string]int32{
|
|
"PUSH": 0,
|
|
"USER_ACTIVATED": 1,
|
|
"SCHEDULED": 2,
|
|
"ERROR_RECONNECT": 3,
|
|
"NETWORK_SWITCH": 4,
|
|
"PING_RECONNECT": 5,
|
|
"UNKNOWN": 6,
|
|
}
|
|
)
|
|
|
|
func (x ClientPayload_ConnectReason) Enum() *ClientPayload_ConnectReason {
|
|
p := new(ClientPayload_ConnectReason)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ClientPayload_ConnectReason) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ClientPayload_ConnectReason) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waWa5_WAWa5_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (ClientPayload_ConnectReason) Type() protoreflect.EnumType {
|
|
return &file_waWa5_WAWa5_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x ClientPayload_ConnectReason) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_ConnectReason.Descriptor instead.
|
|
func (ClientPayload_ConnectReason) EnumDescriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2}
|
|
}
|
|
|
|
type ClientPayload_IOSAppExtension int32
|
|
|
|
const (
|
|
ClientPayload_SHARE_EXTENSION ClientPayload_IOSAppExtension = 0
|
|
ClientPayload_SERVICE_EXTENSION ClientPayload_IOSAppExtension = 1
|
|
ClientPayload_INTENTS_EXTENSION ClientPayload_IOSAppExtension = 2
|
|
)
|
|
|
|
// Enum value maps for ClientPayload_IOSAppExtension.
|
|
var (
|
|
ClientPayload_IOSAppExtension_name = map[int32]string{
|
|
0: "SHARE_EXTENSION",
|
|
1: "SERVICE_EXTENSION",
|
|
2: "INTENTS_EXTENSION",
|
|
}
|
|
ClientPayload_IOSAppExtension_value = map[string]int32{
|
|
"SHARE_EXTENSION": 0,
|
|
"SERVICE_EXTENSION": 1,
|
|
"INTENTS_EXTENSION": 2,
|
|
}
|
|
)
|
|
|
|
func (x ClientPayload_IOSAppExtension) Enum() *ClientPayload_IOSAppExtension {
|
|
p := new(ClientPayload_IOSAppExtension)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ClientPayload_IOSAppExtension) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ClientPayload_IOSAppExtension) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waWa5_WAWa5_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (ClientPayload_IOSAppExtension) Type() protoreflect.EnumType {
|
|
return &file_waWa5_WAWa5_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x ClientPayload_IOSAppExtension) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_IOSAppExtension.Descriptor instead.
|
|
func (ClientPayload_IOSAppExtension) EnumDescriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 3}
|
|
}
|
|
|
|
type ClientPayload_DNSSource_DNSResolutionMethod int32
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for ClientPayload_DNSSource_DNSResolutionMethod.
|
|
var (
|
|
ClientPayload_DNSSource_DNSResolutionMethod_name = map[int32]string{
|
|
0: "SYSTEM",
|
|
1: "GOOGLE",
|
|
2: "HARDCODED",
|
|
3: "OVERRIDE",
|
|
4: "FALLBACK",
|
|
}
|
|
ClientPayload_DNSSource_DNSResolutionMethod_value = map[string]int32{
|
|
"SYSTEM": 0,
|
|
"GOOGLE": 1,
|
|
"HARDCODED": 2,
|
|
"OVERRIDE": 3,
|
|
"FALLBACK": 4,
|
|
}
|
|
)
|
|
|
|
func (x ClientPayload_DNSSource_DNSResolutionMethod) Enum() *ClientPayload_DNSSource_DNSResolutionMethod {
|
|
p := new(ClientPayload_DNSSource_DNSResolutionMethod)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ClientPayload_DNSSource_DNSResolutionMethod) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ClientPayload_DNSSource_DNSResolutionMethod) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waWa5_WAWa5_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (ClientPayload_DNSSource_DNSResolutionMethod) Type() protoreflect.EnumType {
|
|
return &file_waWa5_WAWa5_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x ClientPayload_DNSSource_DNSResolutionMethod) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_DNSSource_DNSResolutionMethod.Descriptor instead.
|
|
func (ClientPayload_DNSSource_DNSResolutionMethod) EnumDescriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 0, 0}
|
|
}
|
|
|
|
type ClientPayload_WebInfo_WebSubPlatform int32
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for ClientPayload_WebInfo_WebSubPlatform.
|
|
var (
|
|
ClientPayload_WebInfo_WebSubPlatform_name = map[int32]string{
|
|
0: "WEB_BROWSER",
|
|
1: "APP_STORE",
|
|
2: "WIN_STORE",
|
|
3: "DARWIN",
|
|
4: "WIN32",
|
|
}
|
|
ClientPayload_WebInfo_WebSubPlatform_value = map[string]int32{
|
|
"WEB_BROWSER": 0,
|
|
"APP_STORE": 1,
|
|
"WIN_STORE": 2,
|
|
"DARWIN": 3,
|
|
"WIN32": 4,
|
|
}
|
|
)
|
|
|
|
func (x ClientPayload_WebInfo_WebSubPlatform) Enum() *ClientPayload_WebInfo_WebSubPlatform {
|
|
p := new(ClientPayload_WebInfo_WebSubPlatform)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ClientPayload_WebInfo_WebSubPlatform) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ClientPayload_WebInfo_WebSubPlatform) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waWa5_WAWa5_proto_enumTypes[5].Descriptor()
|
|
}
|
|
|
|
func (ClientPayload_WebInfo_WebSubPlatform) Type() protoreflect.EnumType {
|
|
return &file_waWa5_WAWa5_proto_enumTypes[5]
|
|
}
|
|
|
|
func (x ClientPayload_WebInfo_WebSubPlatform) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_WebInfo_WebSubPlatform.Descriptor instead.
|
|
func (ClientPayload_WebInfo_WebSubPlatform) EnumDescriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 1, 0}
|
|
}
|
|
|
|
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_waWa5_WAWa5_proto_enumTypes[6].Descriptor()
|
|
}
|
|
|
|
func (ClientPayload_UserAgent_DeviceType) Type() protoreflect.EnumType {
|
|
return &file_waWa5_WAWa5_proto_enumTypes[6]
|
|
}
|
|
|
|
func (x ClientPayload_UserAgent_DeviceType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_UserAgent_DeviceType.Descriptor instead.
|
|
func (ClientPayload_UserAgent_DeviceType) EnumDescriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2, 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))
|
|
}
|
|
|
|
func (ClientPayload_UserAgent_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waWa5_WAWa5_proto_enumTypes[7].Descriptor()
|
|
}
|
|
|
|
func (ClientPayload_UserAgent_ReleaseChannel) Type() protoreflect.EnumType {
|
|
return &file_waWa5_WAWa5_proto_enumTypes[7]
|
|
}
|
|
|
|
func (x ClientPayload_UserAgent_ReleaseChannel) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_UserAgent_ReleaseChannel.Descriptor instead.
|
|
func (ClientPayload_UserAgent_ReleaseChannel) EnumDescriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2, 1}
|
|
}
|
|
|
|
type ClientPayload_UserAgent_Platform int32
|
|
|
|
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
|
|
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
|
|
ClientPayload_UserAgent_TEST ClientPayload_UserAgent_Platform = 34
|
|
ClientPayload_UserAgent_SMART_GLASSES ClientPayload_UserAgent_Platform = 35
|
|
)
|
|
|
|
// Enum value maps for ClientPayload_UserAgent_Platform.
|
|
var (
|
|
ClientPayload_UserAgent_Platform_name = map[int32]string{
|
|
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",
|
|
29: "WEAROS",
|
|
30: "ARDEVICE",
|
|
31: "VRDEVICE",
|
|
32: "BLUE_WEB",
|
|
33: "IPAD",
|
|
34: "TEST",
|
|
35: "SMART_GLASSES",
|
|
}
|
|
ClientPayload_UserAgent_Platform_value = map[string]int32{
|
|
"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,
|
|
"WEAROS": 29,
|
|
"ARDEVICE": 30,
|
|
"VRDEVICE": 31,
|
|
"BLUE_WEB": 32,
|
|
"IPAD": 33,
|
|
"TEST": 34,
|
|
"SMART_GLASSES": 35,
|
|
}
|
|
)
|
|
|
|
func (x ClientPayload_UserAgent_Platform) Enum() *ClientPayload_UserAgent_Platform {
|
|
p := new(ClientPayload_UserAgent_Platform)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ClientPayload_UserAgent_Platform) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ClientPayload_UserAgent_Platform) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waWa5_WAWa5_proto_enumTypes[8].Descriptor()
|
|
}
|
|
|
|
func (ClientPayload_UserAgent_Platform) Type() protoreflect.EnumType {
|
|
return &file_waWa5_WAWa5_proto_enumTypes[8]
|
|
}
|
|
|
|
func (x ClientPayload_UserAgent_Platform) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_UserAgent_Platform.Descriptor instead.
|
|
func (ClientPayload_UserAgent_Platform) EnumDescriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2, 2}
|
|
}
|
|
|
|
type ClientPayload struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Username uint64 `protobuf:"varint,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Passive bool `protobuf:"varint,3,opt,name=passive,proto3" json:"passive,omitempty"`
|
|
UserAgent *ClientPayload_UserAgent `protobuf:"bytes,5,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
|
|
WebInfo *ClientPayload_WebInfo `protobuf:"bytes,6,opt,name=webInfo,proto3" json:"webInfo,omitempty"`
|
|
PushName string `protobuf:"bytes,7,opt,name=pushName,proto3" json:"pushName,omitempty"`
|
|
SessionID int32 `protobuf:"fixed32,9,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
|
|
ShortConnect bool `protobuf:"varint,10,opt,name=shortConnect,proto3" json:"shortConnect,omitempty"`
|
|
ConnectType ClientPayload_ConnectType `protobuf:"varint,12,opt,name=connectType,proto3,enum=WAWa5.ClientPayload_ConnectType" json:"connectType,omitempty"`
|
|
ConnectReason ClientPayload_ConnectReason `protobuf:"varint,13,opt,name=connectReason,proto3,enum=WAWa5.ClientPayload_ConnectReason" json:"connectReason,omitempty"`
|
|
Shards []int32 `protobuf:"varint,14,rep,packed,name=shards,proto3" json:"shards,omitempty"`
|
|
DnsSource *ClientPayload_DNSSource `protobuf:"bytes,15,opt,name=dnsSource,proto3" json:"dnsSource,omitempty"`
|
|
ConnectAttemptCount uint32 `protobuf:"varint,16,opt,name=connectAttemptCount,proto3" json:"connectAttemptCount,omitempty"`
|
|
Device uint32 `protobuf:"varint,18,opt,name=device,proto3" json:"device,omitempty"`
|
|
DevicePairingData *ClientPayload_DevicePairingRegistrationData `protobuf:"bytes,19,opt,name=devicePairingData,proto3" json:"devicePairingData,omitempty"`
|
|
Product ClientPayload_Product `protobuf:"varint,20,opt,name=product,proto3,enum=WAWa5.ClientPayload_Product" json:"product,omitempty"`
|
|
FbCat []byte `protobuf:"bytes,21,opt,name=fbCat,proto3" json:"fbCat,omitempty"`
|
|
FbUserAgent []byte `protobuf:"bytes,22,opt,name=fbUserAgent,proto3" json:"fbUserAgent,omitempty"`
|
|
Oc bool `protobuf:"varint,23,opt,name=oc,proto3" json:"oc,omitempty"`
|
|
Lc int32 `protobuf:"varint,24,opt,name=lc,proto3" json:"lc,omitempty"`
|
|
IosAppExtension ClientPayload_IOSAppExtension `protobuf:"varint,30,opt,name=iosAppExtension,proto3,enum=WAWa5.ClientPayload_IOSAppExtension" json:"iosAppExtension,omitempty"`
|
|
FbAppID uint64 `protobuf:"varint,31,opt,name=fbAppID,proto3" json:"fbAppID,omitempty"`
|
|
FbDeviceID []byte `protobuf:"bytes,32,opt,name=fbDeviceID,proto3" json:"fbDeviceID,omitempty"`
|
|
Pull bool `protobuf:"varint,33,opt,name=pull,proto3" json:"pull,omitempty"`
|
|
PaddingBytes []byte `protobuf:"bytes,34,opt,name=paddingBytes,proto3" json:"paddingBytes,omitempty"`
|
|
YearClass int32 `protobuf:"varint,36,opt,name=yearClass,proto3" json:"yearClass,omitempty"`
|
|
MemClass int32 `protobuf:"varint,37,opt,name=memClass,proto3" json:"memClass,omitempty"`
|
|
}
|
|
|
|
func (x *ClientPayload) Reset() {
|
|
*x = ClientPayload{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClientPayload) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClientPayload) ProtoMessage() {}
|
|
|
|
func (x *ClientPayload) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload.ProtoReflect.Descriptor instead.
|
|
func (*ClientPayload) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ClientPayload) GetUsername() uint64 {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload) GetPassive() bool {
|
|
if x != nil {
|
|
return x.Passive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload) GetUserAgent() *ClientPayload_UserAgent {
|
|
if x != nil {
|
|
return x.UserAgent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload) GetWebInfo() *ClientPayload_WebInfo {
|
|
if x != nil {
|
|
return x.WebInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload) GetPushName() string {
|
|
if x != nil {
|
|
return x.PushName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload) GetSessionID() int32 {
|
|
if x != nil {
|
|
return x.SessionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload) GetShortConnect() bool {
|
|
if x != nil {
|
|
return x.ShortConnect
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload) GetConnectType() ClientPayload_ConnectType {
|
|
if x != nil {
|
|
return x.ConnectType
|
|
}
|
|
return ClientPayload_CELLULAR_UNKNOWN
|
|
}
|
|
|
|
func (x *ClientPayload) GetConnectReason() ClientPayload_ConnectReason {
|
|
if x != nil {
|
|
return x.ConnectReason
|
|
}
|
|
return ClientPayload_PUSH
|
|
}
|
|
|
|
func (x *ClientPayload) GetShards() []int32 {
|
|
if x != nil {
|
|
return x.Shards
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload) GetDnsSource() *ClientPayload_DNSSource {
|
|
if x != nil {
|
|
return x.DnsSource
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload) GetConnectAttemptCount() uint32 {
|
|
if x != nil {
|
|
return x.ConnectAttemptCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload) GetDevice() uint32 {
|
|
if x != nil {
|
|
return x.Device
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload) GetDevicePairingData() *ClientPayload_DevicePairingRegistrationData {
|
|
if x != nil {
|
|
return x.DevicePairingData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload) GetProduct() ClientPayload_Product {
|
|
if x != nil {
|
|
return x.Product
|
|
}
|
|
return ClientPayload_WHATSAPP
|
|
}
|
|
|
|
func (x *ClientPayload) GetFbCat() []byte {
|
|
if x != nil {
|
|
return x.FbCat
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload) GetFbUserAgent() []byte {
|
|
if x != nil {
|
|
return x.FbUserAgent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload) GetOc() bool {
|
|
if x != nil {
|
|
return x.Oc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload) GetLc() int32 {
|
|
if x != nil {
|
|
return x.Lc
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload) GetIosAppExtension() ClientPayload_IOSAppExtension {
|
|
if x != nil {
|
|
return x.IosAppExtension
|
|
}
|
|
return ClientPayload_SHARE_EXTENSION
|
|
}
|
|
|
|
func (x *ClientPayload) GetFbAppID() uint64 {
|
|
if x != nil {
|
|
return x.FbAppID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload) GetFbDeviceID() []byte {
|
|
if x != nil {
|
|
return x.FbDeviceID
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload) GetPull() bool {
|
|
if x != nil {
|
|
return x.Pull
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload) GetPaddingBytes() []byte {
|
|
if x != nil {
|
|
return x.PaddingBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload) GetYearClass() int32 {
|
|
if x != nil {
|
|
return x.YearClass
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload) GetMemClass() int32 {
|
|
if x != nil {
|
|
return x.MemClass
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type HandshakeMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClientHello *HandshakeMessage_ClientHello `protobuf:"bytes,2,opt,name=clientHello,proto3" json:"clientHello,omitempty"`
|
|
ServerHello *HandshakeMessage_ServerHello `protobuf:"bytes,3,opt,name=serverHello,proto3" json:"serverHello,omitempty"`
|
|
ClientFinish *HandshakeMessage_ClientFinish `protobuf:"bytes,4,opt,name=clientFinish,proto3" json:"clientFinish,omitempty"`
|
|
}
|
|
|
|
func (x *HandshakeMessage) Reset() {
|
|
*x = HandshakeMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HandshakeMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HandshakeMessage) ProtoMessage() {}
|
|
|
|
func (x *HandshakeMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HandshakeMessage.ProtoReflect.Descriptor instead.
|
|
func (*HandshakeMessage) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *HandshakeMessage) GetClientHello() *HandshakeMessage_ClientHello {
|
|
if x != nil {
|
|
return x.ClientHello
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HandshakeMessage) GetServerHello() *HandshakeMessage_ServerHello {
|
|
if x != nil {
|
|
return x.ServerHello
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HandshakeMessage) GetClientFinish() *HandshakeMessage_ClientFinish {
|
|
if x != nil {
|
|
return x.ClientFinish
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ClientPayload_DNSSource struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DnsMethod ClientPayload_DNSSource_DNSResolutionMethod `protobuf:"varint,15,opt,name=dnsMethod,proto3,enum=WAWa5.ClientPayload_DNSSource_DNSResolutionMethod" json:"dnsMethod,omitempty"`
|
|
AppCached bool `protobuf:"varint,16,opt,name=appCached,proto3" json:"appCached,omitempty"`
|
|
}
|
|
|
|
func (x *ClientPayload_DNSSource) Reset() {
|
|
*x = ClientPayload_DNSSource{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClientPayload_DNSSource) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClientPayload_DNSSource) ProtoMessage() {}
|
|
|
|
func (x *ClientPayload_DNSSource) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_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 ClientPayload_DNSSource.ProtoReflect.Descriptor instead.
|
|
func (*ClientPayload_DNSSource) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
func (x *ClientPayload_DNSSource) GetDnsMethod() ClientPayload_DNSSource_DNSResolutionMethod {
|
|
if x != nil {
|
|
return x.DnsMethod
|
|
}
|
|
return ClientPayload_DNSSource_SYSTEM
|
|
}
|
|
|
|
func (x *ClientPayload_DNSSource) GetAppCached() bool {
|
|
if x != nil {
|
|
return x.AppCached
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ClientPayload_WebInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RefToken string `protobuf:"bytes,1,opt,name=refToken,proto3" json:"refToken,omitempty"`
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
WebdPayload *ClientPayload_WebInfo_WebdPayload `protobuf:"bytes,3,opt,name=webdPayload,proto3" json:"webdPayload,omitempty"`
|
|
WebSubPlatform ClientPayload_WebInfo_WebSubPlatform `protobuf:"varint,4,opt,name=webSubPlatform,proto3,enum=WAWa5.ClientPayload_WebInfo_WebSubPlatform" json:"webSubPlatform,omitempty"`
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo) Reset() {
|
|
*x = ClientPayload_WebInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClientPayload_WebInfo) ProtoMessage() {}
|
|
|
|
func (x *ClientPayload_WebInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_WebInfo.ProtoReflect.Descriptor instead.
|
|
func (*ClientPayload_WebInfo) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 1}
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo) GetRefToken() string {
|
|
if x != nil {
|
|
return x.RefToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo) GetWebdPayload() *ClientPayload_WebInfo_WebdPayload {
|
|
if x != nil {
|
|
return x.WebdPayload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo) GetWebSubPlatform() ClientPayload_WebInfo_WebSubPlatform {
|
|
if x != nil {
|
|
return x.WebSubPlatform
|
|
}
|
|
return ClientPayload_WebInfo_WEB_BROWSER
|
|
}
|
|
|
|
type ClientPayload_UserAgent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Platform ClientPayload_UserAgent_Platform `protobuf:"varint,1,opt,name=platform,proto3,enum=WAWa5.ClientPayload_UserAgent_Platform" json:"platform,omitempty"`
|
|
AppVersion *ClientPayload_UserAgent_AppVersion `protobuf:"bytes,2,opt,name=appVersion,proto3" json:"appVersion,omitempty"`
|
|
Mcc string `protobuf:"bytes,3,opt,name=mcc,proto3" json:"mcc,omitempty"`
|
|
Mnc string `protobuf:"bytes,4,opt,name=mnc,proto3" json:"mnc,omitempty"`
|
|
OsVersion string `protobuf:"bytes,5,opt,name=osVersion,proto3" json:"osVersion,omitempty"`
|
|
Manufacturer string `protobuf:"bytes,6,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
|
|
Device string `protobuf:"bytes,7,opt,name=device,proto3" json:"device,omitempty"`
|
|
OsBuildNumber string `protobuf:"bytes,8,opt,name=osBuildNumber,proto3" json:"osBuildNumber,omitempty"`
|
|
PhoneID string `protobuf:"bytes,9,opt,name=phoneID,proto3" json:"phoneID,omitempty"`
|
|
ReleaseChannel ClientPayload_UserAgent_ReleaseChannel `protobuf:"varint,10,opt,name=releaseChannel,proto3,enum=WAWa5.ClientPayload_UserAgent_ReleaseChannel" json:"releaseChannel,omitempty"`
|
|
LocaleLanguageIso6391 string `protobuf:"bytes,11,opt,name=localeLanguageIso6391,proto3" json:"localeLanguageIso6391,omitempty"`
|
|
LocaleCountryIso31661Alpha2 string `protobuf:"bytes,12,opt,name=localeCountryIso31661Alpha2,proto3" json:"localeCountryIso31661Alpha2,omitempty"`
|
|
DeviceBoard string `protobuf:"bytes,13,opt,name=deviceBoard,proto3" json:"deviceBoard,omitempty"`
|
|
DeviceExpID string `protobuf:"bytes,14,opt,name=deviceExpID,proto3" json:"deviceExpID,omitempty"`
|
|
DeviceType ClientPayload_UserAgent_DeviceType `protobuf:"varint,15,opt,name=deviceType,proto3,enum=WAWa5.ClientPayload_UserAgent_DeviceType" json:"deviceType,omitempty"`
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) Reset() {
|
|
*x = ClientPayload_UserAgent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClientPayload_UserAgent) ProtoMessage() {}
|
|
|
|
func (x *ClientPayload_UserAgent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_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 ClientPayload_UserAgent.ProtoReflect.Descriptor instead.
|
|
func (*ClientPayload_UserAgent) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2}
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetPlatform() ClientPayload_UserAgent_Platform {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return ClientPayload_UserAgent_ANDROID
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetAppVersion() *ClientPayload_UserAgent_AppVersion {
|
|
if x != nil {
|
|
return x.AppVersion
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetMcc() string {
|
|
if x != nil {
|
|
return x.Mcc
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetMnc() string {
|
|
if x != nil {
|
|
return x.Mnc
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetOsVersion() string {
|
|
if x != nil {
|
|
return x.OsVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetManufacturer() string {
|
|
if x != nil {
|
|
return x.Manufacturer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetDevice() string {
|
|
if x != nil {
|
|
return x.Device
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetOsBuildNumber() string {
|
|
if x != nil {
|
|
return x.OsBuildNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetPhoneID() string {
|
|
if x != nil {
|
|
return x.PhoneID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetReleaseChannel() ClientPayload_UserAgent_ReleaseChannel {
|
|
if x != nil {
|
|
return x.ReleaseChannel
|
|
}
|
|
return ClientPayload_UserAgent_RELEASE
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetLocaleLanguageIso6391() string {
|
|
if x != nil {
|
|
return x.LocaleLanguageIso6391
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetLocaleCountryIso31661Alpha2() string {
|
|
if x != nil {
|
|
return x.LocaleCountryIso31661Alpha2
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetDeviceBoard() string {
|
|
if x != nil {
|
|
return x.DeviceBoard
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetDeviceExpID() string {
|
|
if x != nil {
|
|
return x.DeviceExpID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent) GetDeviceType() ClientPayload_UserAgent_DeviceType {
|
|
if x != nil {
|
|
return x.DeviceType
|
|
}
|
|
return ClientPayload_UserAgent_PHONE
|
|
}
|
|
|
|
type ClientPayload_DevicePairingRegistrationData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ERegid []byte `protobuf:"bytes,1,opt,name=eRegid,proto3" json:"eRegid,omitempty"`
|
|
EKeytype []byte `protobuf:"bytes,2,opt,name=eKeytype,proto3" json:"eKeytype,omitempty"`
|
|
EIdent []byte `protobuf:"bytes,3,opt,name=eIdent,proto3" json:"eIdent,omitempty"`
|
|
ESkeyID []byte `protobuf:"bytes,4,opt,name=eSkeyID,proto3" json:"eSkeyID,omitempty"`
|
|
ESkeyVal []byte `protobuf:"bytes,5,opt,name=eSkeyVal,proto3" json:"eSkeyVal,omitempty"`
|
|
ESkeySig []byte `protobuf:"bytes,6,opt,name=eSkeySig,proto3" json:"eSkeySig,omitempty"`
|
|
BuildHash []byte `protobuf:"bytes,7,opt,name=buildHash,proto3" json:"buildHash,omitempty"`
|
|
DeviceProps []byte `protobuf:"bytes,8,opt,name=deviceProps,proto3" json:"deviceProps,omitempty"`
|
|
}
|
|
|
|
func (x *ClientPayload_DevicePairingRegistrationData) Reset() {
|
|
*x = ClientPayload_DevicePairingRegistrationData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClientPayload_DevicePairingRegistrationData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClientPayload_DevicePairingRegistrationData) ProtoMessage() {}
|
|
|
|
func (x *ClientPayload_DevicePairingRegistrationData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_DevicePairingRegistrationData.ProtoReflect.Descriptor instead.
|
|
func (*ClientPayload_DevicePairingRegistrationData) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 3}
|
|
}
|
|
|
|
func (x *ClientPayload_DevicePairingRegistrationData) GetERegid() []byte {
|
|
if x != nil {
|
|
return x.ERegid
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload_DevicePairingRegistrationData) GetEKeytype() []byte {
|
|
if x != nil {
|
|
return x.EKeytype
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload_DevicePairingRegistrationData) GetEIdent() []byte {
|
|
if x != nil {
|
|
return x.EIdent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientPayload_DevicePairingRegistrationData) GetESkeyID() []byte {
|
|
if x != nil {
|
|
return x.ESkeyID
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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_WebInfo_WebdPayload struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UsesParticipantInKey bool `protobuf:"varint,1,opt,name=usesParticipantInKey,proto3" json:"usesParticipantInKey,omitempty"`
|
|
SupportsStarredMessages bool `protobuf:"varint,2,opt,name=supportsStarredMessages,proto3" json:"supportsStarredMessages,omitempty"`
|
|
SupportsDocumentMessages bool `protobuf:"varint,3,opt,name=supportsDocumentMessages,proto3" json:"supportsDocumentMessages,omitempty"`
|
|
SupportsURLMessages bool `protobuf:"varint,4,opt,name=supportsURLMessages,proto3" json:"supportsURLMessages,omitempty"`
|
|
SupportsMediaRetry bool `protobuf:"varint,5,opt,name=supportsMediaRetry,proto3" json:"supportsMediaRetry,omitempty"`
|
|
SupportsE2EImage bool `protobuf:"varint,6,opt,name=supportsE2EImage,proto3" json:"supportsE2EImage,omitempty"`
|
|
SupportsE2EVideo bool `protobuf:"varint,7,opt,name=supportsE2EVideo,proto3" json:"supportsE2EVideo,omitempty"`
|
|
SupportsE2EAudio bool `protobuf:"varint,8,opt,name=supportsE2EAudio,proto3" json:"supportsE2EAudio,omitempty"`
|
|
SupportsE2EDocument bool `protobuf:"varint,9,opt,name=supportsE2EDocument,proto3" json:"supportsE2EDocument,omitempty"`
|
|
DocumentTypes string `protobuf:"bytes,10,opt,name=documentTypes,proto3" json:"documentTypes,omitempty"`
|
|
Features []byte `protobuf:"bytes,11,opt,name=features,proto3" json:"features,omitempty"`
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) Reset() {
|
|
*x = ClientPayload_WebInfo_WebdPayload{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[6]
|
|
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_waWa5_WAWa5_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_WebInfo_WebdPayload.ProtoReflect.Descriptor instead.
|
|
func (*ClientPayload_WebInfo_WebdPayload) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 1, 0}
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetUsesParticipantInKey() bool {
|
|
if x != nil {
|
|
return x.UsesParticipantInKey
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsStarredMessages() bool {
|
|
if x != nil {
|
|
return x.SupportsStarredMessages
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsDocumentMessages() bool {
|
|
if x != nil {
|
|
return x.SupportsDocumentMessages
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsURLMessages() bool {
|
|
if x != nil {
|
|
return x.SupportsURLMessages
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsMediaRetry() bool {
|
|
if x != nil {
|
|
return x.SupportsMediaRetry
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EImage() bool {
|
|
if x != nil {
|
|
return x.SupportsE2EImage
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EVideo() bool {
|
|
if x != nil {
|
|
return x.SupportsE2EVideo
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EAudio() bool {
|
|
if x != nil {
|
|
return x.SupportsE2EAudio
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EDocument() bool {
|
|
if x != nil {
|
|
return x.SupportsE2EDocument
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetDocumentTypes() string {
|
|
if x != nil {
|
|
return x.DocumentTypes
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientPayload_WebInfo_WebdPayload) GetFeatures() []byte {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ClientPayload_UserAgent_AppVersion struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Primary uint32 `protobuf:"varint,1,opt,name=primary,proto3" json:"primary,omitempty"`
|
|
Secondary uint32 `protobuf:"varint,2,opt,name=secondary,proto3" json:"secondary,omitempty"`
|
|
Tertiary uint32 `protobuf:"varint,3,opt,name=tertiary,proto3" json:"tertiary,omitempty"`
|
|
Quaternary uint32 `protobuf:"varint,4,opt,name=quaternary,proto3" json:"quaternary,omitempty"`
|
|
Quinary uint32 `protobuf:"varint,5,opt,name=quinary,proto3" json:"quinary,omitempty"`
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent_AppVersion) Reset() {
|
|
*x = ClientPayload_UserAgent_AppVersion{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent_AppVersion) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClientPayload_UserAgent_AppVersion) ProtoMessage() {}
|
|
|
|
func (x *ClientPayload_UserAgent_AppVersion) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientPayload_UserAgent_AppVersion.ProtoReflect.Descriptor instead.
|
|
func (*ClientPayload_UserAgent_AppVersion) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2, 0}
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent_AppVersion) GetPrimary() uint32 {
|
|
if x != nil {
|
|
return x.Primary
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent_AppVersion) GetSecondary() uint32 {
|
|
if x != nil {
|
|
return x.Secondary
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent_AppVersion) GetTertiary() uint32 {
|
|
if x != nil {
|
|
return x.Tertiary
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent_AppVersion) GetQuaternary() uint32 {
|
|
if x != nil {
|
|
return x.Quaternary
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientPayload_UserAgent_AppVersion) GetQuinary() uint32 {
|
|
if x != nil {
|
|
return x.Quinary
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type HandshakeMessage_ClientFinish struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Static []byte `protobuf:"bytes,1,opt,name=static,proto3" json:"static,omitempty"`
|
|
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
}
|
|
|
|
func (x *HandshakeMessage_ClientFinish) Reset() {
|
|
*x = HandshakeMessage_ClientFinish{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HandshakeMessage_ClientFinish) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HandshakeMessage_ClientFinish) ProtoMessage() {}
|
|
|
|
func (x *HandshakeMessage_ClientFinish) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HandshakeMessage_ClientFinish.ProtoReflect.Descriptor instead.
|
|
func (*HandshakeMessage_ClientFinish) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
func (x *HandshakeMessage_ClientFinish) GetStatic() []byte {
|
|
if x != nil {
|
|
return x.Static
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HandshakeMessage_ClientFinish) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HandshakeMessage_ServerHello struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
|
|
Static []byte `protobuf:"bytes,2,opt,name=static,proto3" json:"static,omitempty"`
|
|
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
}
|
|
|
|
func (x *HandshakeMessage_ServerHello) Reset() {
|
|
*x = HandshakeMessage_ServerHello{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HandshakeMessage_ServerHello) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HandshakeMessage_ServerHello) ProtoMessage() {}
|
|
|
|
func (x *HandshakeMessage_ServerHello) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HandshakeMessage_ServerHello.ProtoReflect.Descriptor instead.
|
|
func (*HandshakeMessage_ServerHello) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{1, 1}
|
|
}
|
|
|
|
func (x *HandshakeMessage_ServerHello) GetEphemeral() []byte {
|
|
if x != nil {
|
|
return x.Ephemeral
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HandshakeMessage_ServerHello) GetStatic() []byte {
|
|
if x != nil {
|
|
return x.Static
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HandshakeMessage_ServerHello) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HandshakeMessage_ClientHello struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
|
|
Static []byte `protobuf:"bytes,2,opt,name=static,proto3" json:"static,omitempty"`
|
|
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
}
|
|
|
|
func (x *HandshakeMessage_ClientHello) Reset() {
|
|
*x = HandshakeMessage_ClientHello{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HandshakeMessage_ClientHello) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HandshakeMessage_ClientHello) ProtoMessage() {}
|
|
|
|
func (x *HandshakeMessage_ClientHello) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waWa5_WAWa5_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HandshakeMessage_ClientHello.ProtoReflect.Descriptor instead.
|
|
func (*HandshakeMessage_ClientHello) Descriptor() ([]byte, []int) {
|
|
return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{1, 2}
|
|
}
|
|
|
|
func (x *HandshakeMessage_ClientHello) GetEphemeral() []byte {
|
|
if x != nil {
|
|
return x.Ephemeral
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HandshakeMessage_ClientHello) GetStatic() []byte {
|
|
if x != nil {
|
|
return x.Static
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HandshakeMessage_ClientHello) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_waWa5_WAWa5_proto protoreflect.FileDescriptor
|
|
|
|
//go:embed WAWa5.pb.raw
|
|
var file_waWa5_WAWa5_proto_rawDesc []byte
|
|
|
|
var (
|
|
file_waWa5_WAWa5_proto_rawDescOnce sync.Once
|
|
file_waWa5_WAWa5_proto_rawDescData = file_waWa5_WAWa5_proto_rawDesc
|
|
)
|
|
|
|
func file_waWa5_WAWa5_proto_rawDescGZIP() []byte {
|
|
file_waWa5_WAWa5_proto_rawDescOnce.Do(func() {
|
|
file_waWa5_WAWa5_proto_rawDescData = protoimpl.X.CompressGZIP(file_waWa5_WAWa5_proto_rawDescData)
|
|
})
|
|
return file_waWa5_WAWa5_proto_rawDescData
|
|
}
|
|
|
|
var file_waWa5_WAWa5_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
|
|
var file_waWa5_WAWa5_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
var file_waWa5_WAWa5_proto_goTypes = []interface{}{
|
|
(ClientPayload_Product)(0), // 0: WAWa5.ClientPayload.Product
|
|
(ClientPayload_ConnectType)(0), // 1: WAWa5.ClientPayload.ConnectType
|
|
(ClientPayload_ConnectReason)(0), // 2: WAWa5.ClientPayload.ConnectReason
|
|
(ClientPayload_IOSAppExtension)(0), // 3: WAWa5.ClientPayload.IOSAppExtension
|
|
(ClientPayload_DNSSource_DNSResolutionMethod)(0), // 4: WAWa5.ClientPayload.DNSSource.DNSResolutionMethod
|
|
(ClientPayload_WebInfo_WebSubPlatform)(0), // 5: WAWa5.ClientPayload.WebInfo.WebSubPlatform
|
|
(ClientPayload_UserAgent_DeviceType)(0), // 6: WAWa5.ClientPayload.UserAgent.DeviceType
|
|
(ClientPayload_UserAgent_ReleaseChannel)(0), // 7: WAWa5.ClientPayload.UserAgent.ReleaseChannel
|
|
(ClientPayload_UserAgent_Platform)(0), // 8: WAWa5.ClientPayload.UserAgent.Platform
|
|
(*ClientPayload)(nil), // 9: WAWa5.ClientPayload
|
|
(*HandshakeMessage)(nil), // 10: WAWa5.HandshakeMessage
|
|
(*ClientPayload_DNSSource)(nil), // 11: WAWa5.ClientPayload.DNSSource
|
|
(*ClientPayload_WebInfo)(nil), // 12: WAWa5.ClientPayload.WebInfo
|
|
(*ClientPayload_UserAgent)(nil), // 13: WAWa5.ClientPayload.UserAgent
|
|
(*ClientPayload_DevicePairingRegistrationData)(nil), // 14: WAWa5.ClientPayload.DevicePairingRegistrationData
|
|
(*ClientPayload_WebInfo_WebdPayload)(nil), // 15: WAWa5.ClientPayload.WebInfo.WebdPayload
|
|
(*ClientPayload_UserAgent_AppVersion)(nil), // 16: WAWa5.ClientPayload.UserAgent.AppVersion
|
|
(*HandshakeMessage_ClientFinish)(nil), // 17: WAWa5.HandshakeMessage.ClientFinish
|
|
(*HandshakeMessage_ServerHello)(nil), // 18: WAWa5.HandshakeMessage.ServerHello
|
|
(*HandshakeMessage_ClientHello)(nil), // 19: WAWa5.HandshakeMessage.ClientHello
|
|
}
|
|
var file_waWa5_WAWa5_proto_depIdxs = []int32{
|
|
13, // 0: WAWa5.ClientPayload.userAgent:type_name -> WAWa5.ClientPayload.UserAgent
|
|
12, // 1: WAWa5.ClientPayload.webInfo:type_name -> WAWa5.ClientPayload.WebInfo
|
|
1, // 2: WAWa5.ClientPayload.connectType:type_name -> WAWa5.ClientPayload.ConnectType
|
|
2, // 3: WAWa5.ClientPayload.connectReason:type_name -> WAWa5.ClientPayload.ConnectReason
|
|
11, // 4: WAWa5.ClientPayload.dnsSource:type_name -> WAWa5.ClientPayload.DNSSource
|
|
14, // 5: WAWa5.ClientPayload.devicePairingData:type_name -> WAWa5.ClientPayload.DevicePairingRegistrationData
|
|
0, // 6: WAWa5.ClientPayload.product:type_name -> WAWa5.ClientPayload.Product
|
|
3, // 7: WAWa5.ClientPayload.iosAppExtension:type_name -> WAWa5.ClientPayload.IOSAppExtension
|
|
19, // 8: WAWa5.HandshakeMessage.clientHello:type_name -> WAWa5.HandshakeMessage.ClientHello
|
|
18, // 9: WAWa5.HandshakeMessage.serverHello:type_name -> WAWa5.HandshakeMessage.ServerHello
|
|
17, // 10: WAWa5.HandshakeMessage.clientFinish:type_name -> WAWa5.HandshakeMessage.ClientFinish
|
|
4, // 11: WAWa5.ClientPayload.DNSSource.dnsMethod:type_name -> WAWa5.ClientPayload.DNSSource.DNSResolutionMethod
|
|
15, // 12: WAWa5.ClientPayload.WebInfo.webdPayload:type_name -> WAWa5.ClientPayload.WebInfo.WebdPayload
|
|
5, // 13: WAWa5.ClientPayload.WebInfo.webSubPlatform:type_name -> WAWa5.ClientPayload.WebInfo.WebSubPlatform
|
|
8, // 14: WAWa5.ClientPayload.UserAgent.platform:type_name -> WAWa5.ClientPayload.UserAgent.Platform
|
|
16, // 15: WAWa5.ClientPayload.UserAgent.appVersion:type_name -> WAWa5.ClientPayload.UserAgent.AppVersion
|
|
7, // 16: WAWa5.ClientPayload.UserAgent.releaseChannel:type_name -> WAWa5.ClientPayload.UserAgent.ReleaseChannel
|
|
6, // 17: WAWa5.ClientPayload.UserAgent.deviceType:type_name -> WAWa5.ClientPayload.UserAgent.DeviceType
|
|
18, // [18:18] is the sub-list for method output_type
|
|
18, // [18:18] is the sub-list for method input_type
|
|
18, // [18:18] is the sub-list for extension type_name
|
|
18, // [18:18] is the sub-list for extension extendee
|
|
0, // [0:18] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_waWa5_WAWa5_proto_init() }
|
|
func file_waWa5_WAWa5_proto_init() {
|
|
if File_waWa5_WAWa5_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_waWa5_WAWa5_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ClientPayload); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waWa5_WAWa5_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HandshakeMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waWa5_WAWa5_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
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_waWa5_WAWa5_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
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_waWa5_WAWa5_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
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_waWa5_WAWa5_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
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_waWa5_WAWa5_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
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_waWa5_WAWa5_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
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_waWa5_WAWa5_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HandshakeMessage_ClientFinish); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waWa5_WAWa5_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HandshakeMessage_ServerHello); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waWa5_WAWa5_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HandshakeMessage_ClientHello); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_waWa5_WAWa5_proto_rawDesc,
|
|
NumEnums: 9,
|
|
NumMessages: 11,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_waWa5_WAWa5_proto_goTypes,
|
|
DependencyIndexes: file_waWa5_WAWa5_proto_depIdxs,
|
|
EnumInfos: file_waWa5_WAWa5_proto_enumTypes,
|
|
MessageInfos: file_waWa5_WAWa5_proto_msgTypes,
|
|
}.Build()
|
|
File_waWa5_WAWa5_proto = out.File
|
|
file_waWa5_WAWa5_proto_rawDesc = nil
|
|
file_waWa5_WAWa5_proto_goTypes = nil
|
|
file_waWa5_WAWa5_proto_depIdxs = nil
|
|
}
|