Record Class CompanionRegistrationData

java.lang.Object
java.lang.Record
it.auties.whatsapp.model.signal.auth.CompanionRegistrationData
All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage, it.auties.protobuf.model.ProtobufObject

public record CompanionRegistrationData(byte[] eRegid, byte[] eKeytype, byte[] eIdent, byte[] eSkeyId, byte[] eSkeyVal, byte[] eSkeySig, byte[] buildHash, byte[] companionProps) extends Record implements it.auties.protobuf.model.ProtobufMessage
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final byte[]
    The field for the buildHash record component.
    private final byte[]
    The field for the companionProps record component.
    private final byte[]
    The field for the eIdent record component.
    private final byte[]
    The field for the eKeytype record component.
    private final byte[]
    The field for the eRegid record component.
    private final byte[]
    The field for the eSkeyId record component.
    private final byte[]
    The field for the eSkeySig record component.
    private final byte[]
    The field for the eSkeyVal record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CompanionRegistrationData(byte[] eRegid, byte[] eKeytype, byte[] eIdent, byte[] eSkeyId, byte[] eSkeyVal, byte[] eSkeySig, byte[] buildHash, byte[] companionProps)
    Creates an instance of a CompanionRegistrationData record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Returns the value of the buildHash record component.
    byte[]
    Returns the value of the companionProps record component.
    byte[]
    Returns the value of the eIdent record component.
    byte[]
    Returns the value of the eKeytype record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    byte[]
    Returns the value of the eRegid record component.
    byte[]
    Returns the value of the eSkeyId record component.
    byte[]
    Returns the value of the eSkeySig record component.
    byte[]
    Returns the value of the eSkeyVal record component.
    final int
    Returns a hash code value for this object.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • eRegid

      private final byte[] eRegid
      The field for the eRegid record component.
    • eKeytype

      private final byte[] eKeytype
      The field for the eKeytype record component.
    • eIdent

      private final byte[] eIdent
      The field for the eIdent record component.
    • eSkeyId

      private final byte[] eSkeyId
      The field for the eSkeyId record component.
    • eSkeyVal

      private final byte[] eSkeyVal
      The field for the eSkeyVal record component.
    • eSkeySig

      private final byte[] eSkeySig
      The field for the eSkeySig record component.
    • buildHash

      private final byte[] buildHash
      The field for the buildHash record component.
    • companionProps

      private final byte[] companionProps
      The field for the companionProps record component.
  • Constructor Details

    • CompanionRegistrationData

      public CompanionRegistrationData(byte[] eRegid, byte[] eKeytype, byte[] eIdent, byte[] eSkeyId, byte[] eSkeyVal, byte[] eSkeySig, byte[] buildHash, byte[] companionProps)
      Creates an instance of a CompanionRegistrationData record class.
      Parameters:
      eRegid - the value for the eRegid record component
      eKeytype - the value for the eKeytype record component
      eIdent - the value for the eIdent record component
      eSkeyId - the value for the eSkeyId record component
      eSkeyVal - the value for the eSkeyVal record component
      eSkeySig - the value for the eSkeySig record component
      buildHash - the value for the buildHash record component
      companionProps - the value for the companionProps record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • eRegid

      public byte[] eRegid()
      Returns the value of the eRegid record component.
      Returns:
      the value of the eRegid record component
    • eKeytype

      public byte[] eKeytype()
      Returns the value of the eKeytype record component.
      Returns:
      the value of the eKeytype record component
    • eIdent

      public byte[] eIdent()
      Returns the value of the eIdent record component.
      Returns:
      the value of the eIdent record component
    • eSkeyId

      public byte[] eSkeyId()
      Returns the value of the eSkeyId record component.
      Returns:
      the value of the eSkeyId record component
    • eSkeyVal

      public byte[] eSkeyVal()
      Returns the value of the eSkeyVal record component.
      Returns:
      the value of the eSkeyVal record component
    • eSkeySig

      public byte[] eSkeySig()
      Returns the value of the eSkeySig record component.
      Returns:
      the value of the eSkeySig record component
    • buildHash

      public byte[] buildHash()
      Returns the value of the buildHash record component.
      Returns:
      the value of the buildHash record component
    • companionProps

      public byte[] companionProps()
      Returns the value of the companionProps record component.
      Returns:
      the value of the companionProps record component