java.lang.Object
it.auties.whatsapp.model.companion.CompanionHashState
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject
public final class CompanionHashState
extends Object
implements it.auties.protobuf.model.ProtobufMessage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCompanionHashState(PatchType type) CompanionHashState(PatchType type, long version) CompanionHashState(PatchType type, long version, byte[] hash, Map<String, byte[]> indexValueMap) -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancheckIndexEntryEquality(CompanionHashState that, String thisKey, byte[] thisValue) private booleancopy()booleanbyte[]hash()inthashCode()setHash(byte[] hash) setIndexValueMap(Map<String, byte[]> indexValueMap) setVersion(long version) toNode()type()longversion()
-
Field Details
-
type
-
version
private long version -
hash
private byte[] hash -
indexValueMap
-
-
Constructor Details
-
CompanionHashState
-
CompanionHashState
-
CompanionHashState
-
-
Method Details
-
toNode
-
copy
-
checkIndexEquality
-
checkIndexEntryEquality
private static boolean checkIndexEntryEquality(CompanionHashState that, String thisKey, byte[] thisValue) -
type
-
version
public long version() -
hash
public byte[] hash() -
indexValueMap
-
setType
-
setVersion
-
setHash
-
setIndexValueMap
-
equals
-
hashCode
public int hashCode()
-