java.lang.Object
java.lang.Record
it.auties.whatsapp.model.signal.auth.ClientPayload
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage
,it.auties.protobuf.model.ProtobufObject
public record ClientPayload(Long username, Boolean passive, UserAgent userAgent, WebInfo webInfo, String pushName, Integer sessionId, Boolean shortConnect, ClientPayload.ClientPayloadConnectType connectType, ClientPayload.ClientPayloadConnectReason connectReason, List<Integer> shards, DNSSource dnsSource, Integer connectAttemptCount, Integer device, CompanionRegistrationData regData, ClientPayload.ClientPayloadProduct product, byte[] fbCat, byte[] fbUserAgent, Boolean oc, Integer lc, ClientPayload.ClientPayloadIOSAppExtension iosAppExtension, Long fbAppId, byte[] fbDeviceId, Boolean pull)
extends Record
implements it.auties.protobuf.model.ProtobufMessage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Integer
The field for theconnectAttemptCount
record component.private final ClientPayload.ClientPayloadConnectReason
The field for theconnectReason
record component.private final ClientPayload.ClientPayloadConnectType
The field for theconnectType
record component.private final Integer
The field for thedevice
record component.private final DNSSource
The field for thednsSource
record component.private final Long
The field for thefbAppId
record component.private final byte[]
The field for thefbCat
record component.private final byte[]
The field for thefbDeviceId
record component.private final byte[]
The field for thefbUserAgent
record component.private final ClientPayload.ClientPayloadIOSAppExtension
The field for theiosAppExtension
record component.private final Integer
The field for thelc
record component.private final Boolean
The field for theoc
record component.private final Boolean
The field for thepassive
record component.private final ClientPayload.ClientPayloadProduct
The field for theproduct
record component.private final Boolean
The field for thepull
record component.private final String
The field for thepushName
record component.private final CompanionRegistrationData
The field for theregData
record component.private final Integer
The field for thesessionId
record component.The field for theshards
record component.private final Boolean
The field for theshortConnect
record component.private final UserAgent
The field for theuserAgent
record component.private final Long
The field for theusername
record component.private final WebInfo
The field for thewebInfo
record component. -
Constructor Summary
ConstructorsConstructorDescriptionClientPayload
(Long username, Boolean passive, UserAgent userAgent, WebInfo webInfo, String pushName, Integer sessionId, Boolean shortConnect, ClientPayload.ClientPayloadConnectType connectType, ClientPayload.ClientPayloadConnectReason connectReason, List<Integer> shards, DNSSource dnsSource, Integer connectAttemptCount, Integer device, CompanionRegistrationData regData, ClientPayload.ClientPayloadProduct product, byte[] fbCat, byte[] fbUserAgent, Boolean oc, Integer lc, ClientPayload.ClientPayloadIOSAppExtension iosAppExtension, Long fbAppId, byte[] fbDeviceId, Boolean pull) Creates an instance of aClientPayload
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectAttemptCount
record component.Returns the value of theconnectReason
record component.Returns the value of theconnectType
record component.device()
Returns the value of thedevice
record component.Returns the value of thednsSource
record component.final boolean
Indicates whether some other object is "equal to" this one.fbAppId()
Returns the value of thefbAppId
record component.byte[]
fbCat()
Returns the value of thefbCat
record component.byte[]
Returns the value of thefbDeviceId
record component.byte[]
Returns the value of thefbUserAgent
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theiosAppExtension
record component.lc()
Returns the value of thelc
record component.oc()
Returns the value of theoc
record component.passive()
Returns the value of thepassive
record component.product()
Returns the value of theproduct
record component.pull()
Returns the value of thepull
record component.pushName()
Returns the value of thepushName
record component.regData()
Returns the value of theregData
record component.Returns the value of thesessionId
record component.shards()
Returns the value of theshards
record component.Returns the value of theshortConnect
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theuserAgent
record component.username()
Returns the value of theusername
record component.webInfo()
Returns the value of thewebInfo
record component.
-
Field Details
-
username
The field for theusername
record component. -
passive
The field for thepassive
record component. -
userAgent
The field for theuserAgent
record component. -
webInfo
The field for thewebInfo
record component. -
pushName
The field for thepushName
record component. -
sessionId
The field for thesessionId
record component. -
shortConnect
The field for theshortConnect
record component. -
connectType
The field for theconnectType
record component. -
connectReason
The field for theconnectReason
record component. -
shards
The field for theshards
record component. -
dnsSource
The field for thednsSource
record component. -
connectAttemptCount
The field for theconnectAttemptCount
record component. -
device
The field for thedevice
record component. -
regData
The field for theregData
record component. -
product
The field for theproduct
record component. -
fbCat
private final byte[] fbCatThe field for thefbCat
record component. -
fbUserAgent
private final byte[] fbUserAgentThe field for thefbUserAgent
record component. -
oc
The field for theoc
record component. -
lc
The field for thelc
record component. -
iosAppExtension
The field for theiosAppExtension
record component. -
fbAppId
The field for thefbAppId
record component. -
fbDeviceId
private final byte[] fbDeviceIdThe field for thefbDeviceId
record component. -
pull
The field for thepull
record component.
-
-
Constructor Details
-
ClientPayload
public ClientPayload(Long username, Boolean passive, UserAgent userAgent, WebInfo webInfo, String pushName, Integer sessionId, Boolean shortConnect, ClientPayload.ClientPayloadConnectType connectType, ClientPayload.ClientPayloadConnectReason connectReason, List<Integer> shards, DNSSource dnsSource, Integer connectAttemptCount, Integer device, CompanionRegistrationData regData, ClientPayload.ClientPayloadProduct product, byte[] fbCat, byte[] fbUserAgent, Boolean oc, Integer lc, ClientPayload.ClientPayloadIOSAppExtension iosAppExtension, Long fbAppId, byte[] fbDeviceId, Boolean pull) Creates an instance of aClientPayload
record class.- Parameters:
username
- the value for theusername
record componentpassive
- the value for thepassive
record componentuserAgent
- the value for theuserAgent
record componentwebInfo
- the value for thewebInfo
record componentpushName
- the value for thepushName
record componentsessionId
- the value for thesessionId
record componentshortConnect
- the value for theshortConnect
record componentconnectType
- the value for theconnectType
record componentconnectReason
- the value for theconnectReason
record componentshards
- the value for theshards
record componentdnsSource
- the value for thednsSource
record componentconnectAttemptCount
- the value for theconnectAttemptCount
record componentdevice
- the value for thedevice
record componentregData
- the value for theregData
record componentproduct
- the value for theproduct
record componentfbCat
- the value for thefbCat
record componentfbUserAgent
- the value for thefbUserAgent
record componentoc
- the value for theoc
record componentlc
- the value for thelc
record componentiosAppExtension
- the value for theiosAppExtension
record componentfbAppId
- the value for thefbAppId
record componentfbDeviceId
- the value for thefbDeviceId
record componentpull
- the value for thepull
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
username
Returns the value of theusername
record component.- Returns:
- the value of the
username
record component
-
passive
Returns the value of thepassive
record component.- Returns:
- the value of the
passive
record component
-
userAgent
Returns the value of theuserAgent
record component.- Returns:
- the value of the
userAgent
record component
-
webInfo
Returns the value of thewebInfo
record component.- Returns:
- the value of the
webInfo
record component
-
pushName
Returns the value of thepushName
record component.- Returns:
- the value of the
pushName
record component
-
sessionId
Returns the value of thesessionId
record component.- Returns:
- the value of the
sessionId
record component
-
shortConnect
Returns the value of theshortConnect
record component.- Returns:
- the value of the
shortConnect
record component
-
connectType
Returns the value of theconnectType
record component.- Returns:
- the value of the
connectType
record component
-
connectReason
Returns the value of theconnectReason
record component.- Returns:
- the value of the
connectReason
record component
-
shards
Returns the value of theshards
record component.- Returns:
- the value of the
shards
record component
-
dnsSource
Returns the value of thednsSource
record component.- Returns:
- the value of the
dnsSource
record component
-
connectAttemptCount
Returns the value of theconnectAttemptCount
record component.- Returns:
- the value of the
connectAttemptCount
record component
-
device
Returns the value of thedevice
record component.- Returns:
- the value of the
device
record component
-
regData
Returns the value of theregData
record component.- Returns:
- the value of the
regData
record component
-
product
Returns the value of theproduct
record component.- Returns:
- the value of the
product
record component
-
fbCat
public byte[] fbCat()Returns the value of thefbCat
record component.- Returns:
- the value of the
fbCat
record component
-
fbUserAgent
public byte[] fbUserAgent()Returns the value of thefbUserAgent
record component.- Returns:
- the value of the
fbUserAgent
record component
-
oc
Returns the value of theoc
record component.- Returns:
- the value of the
oc
record component
-
lc
Returns the value of thelc
record component.- Returns:
- the value of the
lc
record component
-
iosAppExtension
Returns the value of theiosAppExtension
record component.- Returns:
- the value of the
iosAppExtension
record component
-
fbAppId
Returns the value of thefbAppId
record component.- Returns:
- the value of the
fbAppId
record component
-
fbDeviceId
public byte[] fbDeviceId()Returns the value of thefbDeviceId
record component.- Returns:
- the value of the
fbDeviceId
record component
-
pull
Returns the value of thepull
record component.- Returns:
- the value of the
pull
record component
-