# Path: google/cloud/dataflow_v1beta3/types/jobs.py
# class KindType(proto.Enum):
# class JobState(proto.Enum):
# class JobView(proto.Enum):
# class Job(proto.Message):
# class DatastoreIODetails(proto.Message):
# class PubSubIODetails(proto.Message):
# class FileIODetails(proto.Message):
# class BigTableIODetails(proto.Message):
# class BigQueryIODetails(proto.Message):
# class SpannerIODetails(proto.Message):
# class SdkVersion(proto.Message):
#     class SdkSupportStatus(proto.Enum):
# class JobMetadata(proto.Message):
# class ExecutionStageState(proto.Message):
# class PipelineDescription(proto.Message):
# class TransformSummary(proto.Message):
# class ExecutionStageSummary(proto.Message):
#     class StageSource(proto.Message):
#     class ComponentTransform(proto.Message):
#     class ComponentSource(proto.Message):
# class DisplayData(proto.Message):
# class Step(proto.Message):
# class JobExecutionInfo(proto.Message):
# class JobExecutionStageInfo(proto.Message):
# class CreateJobRequest(proto.Message):
# class GetJobRequest(proto.Message):
# class UpdateJobRequest(proto.Message):
# class ListJobsRequest(proto.Message):
#     class Filter(proto.Enum):
# class FailedLocation(proto.Message):
# class ListJobsResponse(proto.Message):
# class SnapshotJobRequest(proto.Message):
# class CheckActiveJobsRequest(proto.Message):
# class CheckActiveJobsResponse(proto.Message):
#     UNKNOWN_KIND = 0
#     PAR_DO_KIND = 1
#     GROUP_BY_KEY_KIND = 2
#     FLATTEN_KIND = 3
#     READ_KIND = 4
#     WRITE_KIND = 5
#     CONSTANT_KIND = 6
#     SINGLETON_KIND = 7
#     SHUFFLE_KIND = 8
#     JOB_STATE_UNKNOWN = 0
#     JOB_STATE_STOPPED = 1
#     JOB_STATE_RUNNING = 2
#     JOB_STATE_DONE = 3
#     JOB_STATE_FAILED = 4
#     JOB_STATE_CANCELLED = 5
#     JOB_STATE_UPDATED = 6
#     JOB_STATE_DRAINING = 7
#     JOB_STATE_DRAINED = 8
#     JOB_STATE_PENDING = 9
#     JOB_STATE_CANCELLING = 10
#     JOB_STATE_QUEUED = 11
#     JOB_STATE_RESOURCE_CLEANING_UP = 12
#     JOB_VIEW_UNKNOWN = 0
#     JOB_VIEW_SUMMARY = 1
#     JOB_VIEW_ALL = 2
#     JOB_VIEW_DESCRIPTION = 3
#         UNKNOWN = 0
#         SUPPORTED = 1
#         STALE = 2
#         DEPRECATED = 3
#         UNSUPPORTED = 4
#         UNKNOWN = 0
#         ALL = 1
#         TERMINATED = 2
#         ACTIVE = 3
#     def raw_page(self):


from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.dataflow_v1beta3.types import jobs
# 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.dataflow_v1beta3.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.dataflow_v1beta3.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[..., jobs.ListJobsResponse],
        request: jobs.ListJobsRequest,

# Path: google/cloud/dataflow_v1beta3/types/jobs.py
# class KindType(proto.Enum):
# class JobState(proto.Enum):
# class JobView(proto.Enum):
# class Job(proto.Message):
# class DatastoreIODetails(proto.Message):
# class PubSubIODetails(proto.Message):
# class FileIODetails(proto.Message):
# class BigTableIODetails(proto.Message):
# class BigQueryIODetails(proto.Message):
# class SpannerIODetails(proto.Message):
# class SdkVersion(proto.Message):
#     class SdkSupportStatus(proto.Enum):
# class JobMetadata(proto.Message):
# class ExecutionStageState(proto.Message):
# class PipelineDescription(proto.Message):
# class TransformSummary(proto.Message):
# class ExecutionStageSummary(proto.Message):
#     class StageSource(proto.Message):
#     class ComponentTransform(proto.Message):
#     class ComponentSource(proto.Message):
# class DisplayData(proto.Message):
# class Step(proto.Message):
# class JobExecutionInfo(proto.Message):
# class JobExecutionStageInfo(proto.Message):
# class CreateJobRequest(proto.Message):
# class GetJobRequest(proto.Message):
# class UpdateJobRequest(proto.Message):
# class ListJobsRequest(proto.Message):
#     class Filter(proto.Enum):
# class FailedLocation(proto.Message):
# class ListJobsResponse(proto.Message):
# class SnapshotJobRequest(proto.Message):
# class CheckActiveJobsRequest(proto.Message):
# class CheckActiveJobsResponse(proto.Message):
#     UNKNOWN_KIND = 0
#     PAR_DO_KIND = 1
#     GROUP_BY_KEY_KIND = 2
#     FLATTEN_KIND = 3
#     READ_KIND = 4
#     WRITE_KIND = 5
#     CONSTANT_KIND = 6
#     SINGLETON_KIND = 7
#     SHUFFLE_KIND = 8
#     JOB_STATE_UNKNOWN = 0
#     JOB_STATE_STOPPED = 1
#     JOB_STATE_RUNNING = 2
#     JOB_STATE_DONE = 3
#     JOB_STATE_FAILED = 4
#     JOB_STATE_CANCELLED = 5
#     JOB_STATE_UPDATED = 6
#     JOB_STATE_DRAINING = 7
#     JOB_STATE_DRAINED = 8
#     JOB_STATE_PENDING = 9
#     JOB_STATE_CANCELLING = 10
#     JOB_STATE_QUEUED = 11
#     JOB_STATE_RESOURCE_CLEANING_UP = 12
#     JOB_VIEW_UNKNOWN = 0
#     JOB_VIEW_SUMMARY = 1
#     JOB_VIEW_ALL = 2
#     JOB_VIEW_DESCRIPTION = 3
#         UNKNOWN = 0
#         SUPPORTED = 1
#         STALE = 2
#         DEPRECATED = 3
#         UNSUPPORTED = 4
#         UNKNOWN = 0
#         ALL = 1
#         TERMINATED = 2
#         ACTIVE = 3
#     def raw_page(self):


# Path: google/cloud/dataflow_v1beta3/services/jobs_v1_beta3/pagers.py
from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.dataflow_v1beta3.types import jobs

# 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.dataflow_v1beta3.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.dataflow_v1beta3.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[..., jobs.ListJobsResponse],
        request: jobs.ListJobsRequest,

        response: jobs.ListJobsResponse,