def METHOD_NAME(self) -> quantum.ExecutionStatus.State:
    """Return the execution status of the job."""
    # Ignore type errors since mypy doesn't handle proto.Enum (a subclass of enum.IntEnum).
    # See https://github.com/python/mypy/issues/6037.
    return self._state  # type: ignore[return-value]