@Override
    public int hashCode() {
        int result = Long.hashCode(timestamp);
        result = 31 * result + Long.hashCode(offset);
        return result;
    }
Create a TimestampOffset with the provided parameters.

@param timestamp The max timestamp before the given offset.
@param offset The message offset.
storage/src/main/java/org/apache/kafka/storage/internals/log/TimestampOffset.java