# Path: google/cloud/scheduler_v1/types/cloudscheduler.py
# class ListJobsRequest(proto.Message):
# class ListJobsResponse(proto.Message):
# class GetJobRequest(proto.Message):
# class CreateJobRequest(proto.Message):
# class UpdateJobRequest(proto.Message):
# class DeleteJobRequest(proto.Message):
# class PauseJobRequest(proto.Message):
# class ResumeJobRequest(proto.Message):
# class RunJobRequest(proto.Message):
#     def raw_page(self):
# 
# Path: google/cloud/scheduler_v1/types/job.py
# class Job(proto.Message):
#     class State(proto.Enum):
# class RetryConfig(proto.Message):
#         STATE_UNSPECIFIED = 0
#         ENABLED = 1
#         PAUSED = 2
#         DISABLED = 3
#         UPDATE_FAILED = 4


from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.scheduler_v1.types import cloudscheduler
from google.cloud.scheduler_v1.types import job
        metadata: Sequence[Tuple[str, str]] = ()
    ):
        """Instantiate the pager.

        Args:
            method (Callable): The method that was originally called, and
                which instantiated this pager.
            request (google.cloud.scheduler_v1.types.ListJobsRequest):
                The initial request object.
            response (google.cloud.scheduler_v1.types.ListJobsResponse):
                The initial response object.
            metadata (Sequence[Tuple[str, str]]): Strings which should be
                sent along with the request as metadata.
        """
        self._method = method
        self._request = cloudscheduler.ListJobsRequest(request)
        self._response = response
        self._metadata = metadata

    def __getattr__(self, name: str) -> Any:
        return getattr(self._response, name)

    @property
    def pages(self) -> Iterator[cloudscheduler.ListJobsResponse]:
        yield self._response
        while self._response.next_page_token:
            self._request.page_token = self._response.next_page_token
            self._response = self._method(self._request, metadata=self._metadata)
            yield self._response


# Path: google/cloud/scheduler_v1/types/cloudscheduler.py
# class ListJobsRequest(proto.Message):
# class ListJobsResponse(proto.Message):
# class GetJobRequest(proto.Message):
# class CreateJobRequest(proto.Message):
# class UpdateJobRequest(proto.Message):
# class DeleteJobRequest(proto.Message):
# class PauseJobRequest(proto.Message):
# class ResumeJobRequest(proto.Message):
# class RunJobRequest(proto.Message):
#     def raw_page(self):
# 
# Path: google/cloud/scheduler_v1/types/job.py
# class Job(proto.Message):
#     class State(proto.Enum):
# class RetryConfig(proto.Message):
#         STATE_UNSPECIFIED = 0
#         ENABLED = 1
#         PAUSED = 2
#         DISABLED = 3
#         UPDATE_FAILED = 4


# Path: google/cloud/scheduler_v1/services/cloud_scheduler/pagers.py
from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.scheduler_v1.types import cloudscheduler
from google.cloud.scheduler_v1.types import job

        metadata: Sequence[Tuple[str, str]] = ()
    ):
        """Instantiate the pager.

        Args:
            method (Callable): The method that was originally called, and
                which instantiated this pager.
            request (google.cloud.scheduler_v1.types.ListJobsRequest):
                The initial request object.
            response (google.cloud.scheduler_v1.types.ListJobsResponse):
                The initial response object.
            metadata (Sequence[Tuple[str, str]]): Strings which should be
                sent along with the request as metadata.
        """
        self._method = method
        self._request = cloudscheduler.ListJobsRequest(request)
        self._response = response
        self._metadata = metadata

    def __getattr__(self, name: str) -> Any:
        return getattr(self._response, name)

    @property
    def pages(self) -> Iterator[cloudscheduler.ListJobsResponse]:
        yield self._response
        while self._response.next_page_token:
            self._request.page_token = self._response.next_page_token
            self._response = self._method(self._request, metadata=self._metadata)
            yield self._response


    def __iter__(self) -> Iterator[job.Job]: