java.lang.Object
java.lang.Record
it.auties.whatsapp.model.signal.auth.ClientFinish
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject
public record ClientFinish(byte[] _static, byte[] payload)
extends Record
implements it.auties.protobuf.model.ProtobufMessage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientFinish(byte[] _static, byte[] payload) Creates an instance of aClientFinishrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]_static()Returns the value of the_staticrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.byte[]payload()Returns the value of thepayloadrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
_static
private final byte[] _staticThe field for the_staticrecord component. -
payload
private final byte[] payloadThe field for thepayloadrecord component.
-
-
Constructor Details
-
ClientFinish
public ClientFinish(byte[] _static, byte[] payload) Creates an instance of aClientFinishrecord class.- Parameters:
_static- the value for the_staticrecord componentpayload- the value for thepayloadrecord 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). -
_static
public byte[] _static()Returns the value of the_staticrecord component.- Returns:
- the value of the
_staticrecord component
-
payload
public byte[] payload()Returns the value of thepayloadrecord component.- Returns:
- the value of the
payloadrecord component
-