def METHOD_NAME(
    self,
    *,
    size: Optional[int] = None,
    offset: int = 0,
    selected_actors: Optional[List[str]] = None,
    selected_statuses: Optional[List[str]] = None,
    selected_message_ids: Optional[List[str]] = None,
    selected_composition_ids: Optional[List[str]] = None,
    start_datetime: Optional[datetime.datetime] = None,
    end_datetime: Optional[datetime.datetime] = None,
    sort_column: Optional[str] = None,
    sort_direction: Optional[str] = None,
) -> List[State]:
    """Return all the states in the backend"""
    raise NotImplementedError(f"{type(self).__name__} does not implement get_all_messages")