# Path: google/cloud/scheduler_v1beta1/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_v1beta1/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_v1beta1.types import cloudscheduler
from google.cloud.scheduler_v1beta1.types import job
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#



class ListJobsPager:
    """A pager for iterating through ``list_jobs`` requests.

    This class thinly wraps an initial
    :class:`google.cloud.scheduler_v1beta1.types.ListJobsResponse` object, and
    provides an ``__iter__`` method to iterate through its
    ``jobs`` field.

    If there are more pages, the ``__iter__`` method will make additional
    ``ListJobs`` requests and continue to iterate
    through the ``jobs`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.scheduler_v1beta1.types.ListJobsResponse`
    attributes are available on the pager. If multiple requests are made, only
    the most recent response is retained, and thus used for attribute lookup.
    """

    def __init__(
        self,

# Path: google/cloud/scheduler_v1beta1/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_v1beta1/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_v1beta1/services/cloud_scheduler/pagers.py
from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.scheduler_v1beta1.types import cloudscheduler
from google.cloud.scheduler_v1beta1.types import job

#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#



class ListJobsPager:
    """A pager for iterating through ``list_jobs`` requests.

    This class thinly wraps an initial
    :class:`google.cloud.scheduler_v1beta1.types.ListJobsResponse` object, and
    provides an ``__iter__`` method to iterate through its
    ``jobs`` field.

    If there are more pages, the ``__iter__`` method will make additional
    ``ListJobs`` requests and continue to iterate
    through the ``jobs`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.scheduler_v1beta1.types.ListJobsResponse`
    attributes are available on the pager. If multiple requests are made, only
    the most recent response is retained, and thus used for attribute lookup.
    """

    def __init__(
        self,

        method: Callable[..., cloudscheduler.ListJobsResponse],