# 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):


import abc
import pkg_resources
import google.auth  # type: ignore
import google.api_core
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.dataflow_v1beta3.types import metrics
            ),
            self.get_stage_execution_details: gapic_v1.method.wrap_method(
                self.get_stage_execution_details,
                default_timeout=None,
                client_info=client_info,
            ),
        }

    def close(self):
        """Closes resources associated with the transport.

       .. warning::
            Only call this method if the transport is NOT shared
            with other clients - this may cause errors in other clients!
        """
        raise NotImplementedError()

    @property
    def get_job_metrics(
        self,
    ) -> Callable[
        [metrics.GetJobMetricsRequest],
        Union[metrics.JobMetrics, Awaitable[metrics.JobMetrics]],
    ]:
        raise NotImplementedError()

    @property
    def get_job_execution_details(
        self,
    ) -> Callable[

# 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/transports/base.py
import abc
import pkg_resources
import google.auth  # type: ignore
import google.api_core
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.dataflow_v1beta3.types import metrics

            ),
            self.get_stage_execution_details: gapic_v1.method.wrap_method(
                self.get_stage_execution_details,
                default_timeout=None,
                client_info=client_info,
            ),
        }

    def close(self):
        """Closes resources associated with the transport.

       .. warning::
            Only call this method if the transport is NOT shared
            with other clients - this may cause errors in other clients!
        """
        raise NotImplementedError()

    @property
    def get_job_metrics(
        self,
    ) -> Callable[
        [metrics.GetJobMetricsRequest],
        Union[metrics.JobMetrics, Awaitable[metrics.JobMetrics]],
    ]:
        raise NotImplementedError()

    @property
    def get_job_execution_details(
        self,
    ) -> Callable[

        [metrics.GetJobExecutionDetailsRequest],