# Path: google/cloud/errorreporting_v1beta1/types/report_errors_service.py
# class ReportErrorEventRequest(proto.Message):
# class ReportErrorEventResponse(proto.Message):
# class ReportedErrorEvent(proto.Message):


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.errorreporting_v1beta1.types import report_errors_service
        ):
            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.report_error_event: gapic_v1.method.wrap_method(
                self.report_error_event, 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 report_error_event(
        self,
    ) -> Callable[
        [report_errors_service.ReportErrorEventRequest],
        Union[
            report_errors_service.ReportErrorEventResponse,

# Path: google/cloud/errorreporting_v1beta1/types/report_errors_service.py
# class ReportErrorEventRequest(proto.Message):
# class ReportErrorEventResponse(proto.Message):
# class ReportedErrorEvent(proto.Message):


# Path: google/cloud/errorreporting_v1beta1/services/report_errors_service/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.errorreporting_v1beta1.types import report_errors_service

        ):
            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.report_error_event: gapic_v1.method.wrap_method(
                self.report_error_event, 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 report_error_event(
        self,
    ) -> Callable[
        [report_errors_service.ReportErrorEventRequest],
        Union[
            report_errors_service.ReportErrorEventResponse,

            Awaitable[report_errors_service.ReportErrorEventResponse],