Class PatchSync

java.lang.Object
it.auties.whatsapp.model.sync.PatchSync
All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage, it.auties.protobuf.model.ProtobufObject

public final class PatchSync extends Object implements it.auties.protobuf.model.ProtobufMessage
  • Field Details

    • version

      private VersionSync version
    • mutations

      private final List<MutationSync> mutations
    • externalMutations

      private final ExternalBlobReference externalMutations
    • snapshotMac

      private final byte[] snapshotMac
    • patchMac

      private final byte[] patchMac
    • keyId

      private final KeyId keyId
    • exitCode

      private final ExitCode exitCode
    • deviceIndex

      private final Integer deviceIndex
  • Constructor Details

  • Method Details

    • encodedVersion

      public long encodedVersion()
    • hasVersion

      public boolean hasVersion()
    • hasExternalMutations

      public boolean hasExternalMutations()
    • version

      public VersionSync version()
    • mutations

      public List<MutationSync> mutations()
    • externalMutations

      public ExternalBlobReference externalMutations()
    • snapshotMac

      public byte[] snapshotMac()
    • patchMac

      public byte[] patchMac()
    • keyId

      public KeyId keyId()
    • exitCode

      public ExitCode exitCode()
    • deviceIndex

      public Integer deviceIndex()
    • setVersion

      public void setVersion(VersionSync version)