# Path: google/cloud/dataflow_v1beta3/types/messages.py
# class JobMessageImportance(proto.Enum):
# class JobMessage(proto.Message):
# class StructuredMessage(proto.Message):
#     class Parameter(proto.Message):
# class AutoscalingEvent(proto.Message):
#     class AutoscalingEventType(proto.Enum):
# class ListJobMessagesRequest(proto.Message):
# class ListJobMessagesResponse(proto.Message):
#     JOB_MESSAGE_IMPORTANCE_UNKNOWN = 0
#     JOB_MESSAGE_DEBUG = 1
#     JOB_MESSAGE_DETAILED = 2
#     JOB_MESSAGE_BASIC = 5
#     JOB_MESSAGE_WARNING = 3
#     JOB_MESSAGE_ERROR = 4
#         TYPE_UNKNOWN = 0
#         TARGET_NUM_WORKERS_CHANGED = 1
#         CURRENT_NUM_WORKERS_CHANGED = 2
#         ACTUATION_FAILURE = 3
#         NO_CHANGE = 4
#     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 messages
        ):
            credentials = credentials.with_always_use_jwt_access(True)

        # Save the credentials.
        self._credentials = credentials

    def _prep_wrapped_messages(self, client_info):
        # Precompute the wrapped methods.
        self._wrapped_methods = {
            self.list_job_messages: gapic_v1.method.wrap_method(
                self.list_job_messages, 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 list_job_messages(
        self,
    ) -> Callable[
        [messages.ListJobMessagesRequest],
        Union[
            messages.ListJobMessagesResponse,

# Path: google/cloud/dataflow_v1beta3/types/messages.py
# class JobMessageImportance(proto.Enum):
# class JobMessage(proto.Message):
# class StructuredMessage(proto.Message):
#     class Parameter(proto.Message):
# class AutoscalingEvent(proto.Message):
#     class AutoscalingEventType(proto.Enum):
# class ListJobMessagesRequest(proto.Message):
# class ListJobMessagesResponse(proto.Message):
#     JOB_MESSAGE_IMPORTANCE_UNKNOWN = 0
#     JOB_MESSAGE_DEBUG = 1
#     JOB_MESSAGE_DETAILED = 2
#     JOB_MESSAGE_BASIC = 5
#     JOB_MESSAGE_WARNING = 3
#     JOB_MESSAGE_ERROR = 4
#         TYPE_UNKNOWN = 0
#         TARGET_NUM_WORKERS_CHANGED = 1
#         CURRENT_NUM_WORKERS_CHANGED = 2
#         ACTUATION_FAILURE = 3
#         NO_CHANGE = 4
#     def raw_page(self):


# Path: google/cloud/dataflow_v1beta3/services/messages_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 messages

        ):
            credentials = credentials.with_always_use_jwt_access(True)

        # Save the credentials.
        self._credentials = credentials

    def _prep_wrapped_messages(self, client_info):
        # Precompute the wrapped methods.
        self._wrapped_methods = {
            self.list_job_messages: gapic_v1.method.wrap_method(
                self.list_job_messages, 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 list_job_messages(
        self,
    ) -> Callable[
        [messages.ListJobMessagesRequest],
        Union[
            messages.ListJobMessagesResponse,

            Awaitable[messages.ListJobMessagesResponse],