java.lang.Object
it.auties.whatsapp.model.sync.PatchSync
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Integerprivate final ExitCodeprivate final ExternalBlobReferenceprivate final KeyIdprivate final List<MutationSync> private final byte[]private final byte[]private VersionSync -
Constructor Summary
ConstructorsConstructorDescriptionPatchSync(VersionSync version, List<MutationSync> mutations, ExternalBlobReference externalMutations, byte[] snapshotMac, byte[] patchMac, KeyId keyId, ExitCode exitCode, Integer deviceIndex) -
Method Summary
Modifier and TypeMethodDescriptionlongexitCode()booleanbooleankeyId()byte[]patchMac()voidsetVersion(VersionSync version) byte[]version()
-
Field Details
-
version
-
mutations
-
externalMutations
-
snapshotMac
private final byte[] snapshotMac -
patchMac
private final byte[] patchMac -
keyId
-
exitCode
-
deviceIndex
-
-
Constructor Details
-
PatchSync
public PatchSync(VersionSync version, List<MutationSync> mutations, ExternalBlobReference externalMutations, byte[] snapshotMac, byte[] patchMac, KeyId keyId, ExitCode exitCode, Integer deviceIndex)
-
-
Method Details
-
encodedVersion
public long encodedVersion() -
hasVersion
public boolean hasVersion() -
hasExternalMutations
public boolean hasExternalMutations() -
version
-
mutations
-
externalMutations
-
snapshotMac
public byte[] snapshotMac() -
patchMac
public byte[] patchMac() -
keyId
-
exitCode
-
deviceIndex
-
setVersion
-