# Path: google/cloud/dataflow_v1beta3/types/metrics.py
# class ExecutionState(proto.Enum):
# class MetricStructuredName(proto.Message):
# class MetricUpdate(proto.Message):
# class GetJobMetricsRequest(proto.Message):
# class JobMetrics(proto.Message):
# class GetJobExecutionDetailsRequest(proto.Message):
# class ProgressTimeseries(proto.Message):
#     class Point(proto.Message):
# class StageSummary(proto.Message):
# class JobExecutionDetails(proto.Message):
# class GetStageExecutionDetailsRequest(proto.Message):
# class WorkItemDetails(proto.Message):
# class WorkerDetails(proto.Message):
# class StageExecutionDetails(proto.Message):
#     EXECUTION_STATE_UNKNOWN = 0
#     EXECUTION_STATE_NOT_STARTED = 1
#     EXECUTION_STATE_RUNNING = 2
#     EXECUTION_STATE_SUCCEEDED = 3
#     EXECUTION_STATE_FAILED = 4
#     EXECUTION_STATE_CANCELLED = 5
#     def raw_page(self):
#     def raw_page(self):


from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.dataflow_v1beta3.types import metrics
    ``GetJobExecutionDetails`` requests and continue to iterate
    through the ``stages`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.dataflow_v1beta3.types.JobExecutionDetails`
    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[..., metrics.JobExecutionDetails],
        request: metrics.GetJobExecutionDetailsRequest,
        response: metrics.JobExecutionDetails,
        *,
        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.dataflow_v1beta3.types.GetJobExecutionDetailsRequest):
                The initial request object.
            response (google.cloud.dataflow_v1beta3.types.JobExecutionDetails):
                The initial response object.
            metadata (Sequence[Tuple[str, str]]): Strings which should be
                sent along with the request as metadata.
        """
        self._method = method

# Path: google/cloud/dataflow_v1beta3/types/metrics.py
# class ExecutionState(proto.Enum):
# class MetricStructuredName(proto.Message):
# class MetricUpdate(proto.Message):
# class GetJobMetricsRequest(proto.Message):
# class JobMetrics(proto.Message):
# class GetJobExecutionDetailsRequest(proto.Message):
# class ProgressTimeseries(proto.Message):
#     class Point(proto.Message):
# class StageSummary(proto.Message):
# class JobExecutionDetails(proto.Message):
# class GetStageExecutionDetailsRequest(proto.Message):
# class WorkItemDetails(proto.Message):
# class WorkerDetails(proto.Message):
# class StageExecutionDetails(proto.Message):
#     EXECUTION_STATE_UNKNOWN = 0
#     EXECUTION_STATE_NOT_STARTED = 1
#     EXECUTION_STATE_RUNNING = 2
#     EXECUTION_STATE_SUCCEEDED = 3
#     EXECUTION_STATE_FAILED = 4
#     EXECUTION_STATE_CANCELLED = 5
#     def raw_page(self):
#     def raw_page(self):


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

    ``GetJobExecutionDetails`` requests and continue to iterate
    through the ``stages`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.dataflow_v1beta3.types.JobExecutionDetails`
    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[..., metrics.JobExecutionDetails],
        request: metrics.GetJobExecutionDetailsRequest,
        response: metrics.JobExecutionDetails,
        *,
        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.dataflow_v1beta3.types.GetJobExecutionDetailsRequest):
                The initial request object.
            response (google.cloud.dataflow_v1beta3.types.JobExecutionDetails):
                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 = metrics.GetJobExecutionDetailsRequest(request)