# Path: google/cloud/errorreporting_v1beta1/types/error_stats_service.py
# class TimedCountAlignment(proto.Enum):
# class ErrorGroupOrder(proto.Enum):
# class ListGroupStatsRequest(proto.Message):
# class ListGroupStatsResponse(proto.Message):
# class ErrorGroupStats(proto.Message):
# class TimedCount(proto.Message):
# class ListEventsRequest(proto.Message):
# class ListEventsResponse(proto.Message):
# class QueryTimeRange(proto.Message):
#     class Period(proto.Enum):
# class ServiceContextFilter(proto.Message):
# class DeleteEventsRequest(proto.Message):
# class DeleteEventsResponse(proto.Message):
#     ERROR_COUNT_ALIGNMENT_UNSPECIFIED = 0
#     ALIGNMENT_EQUAL_ROUNDED = 1
#     ALIGNMENT_EQUAL_AT_END = 2
#     GROUP_ORDER_UNSPECIFIED = 0
#     COUNT_DESC = 1
#     LAST_SEEN_DESC = 2
#     CREATED_DESC = 3
#     AFFECTED_USERS_DESC = 4
#         PERIOD_UNSPECIFIED = 0
#         PERIOD_1_HOUR = 1
#         PERIOD_6_HOURS = 2
#         PERIOD_1_DAY = 3
#         PERIOD_1_WEEK = 4
#         PERIOD_30_DAYS = 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.errorreporting_v1beta1.types import error_stats_service
    def list_group_stats(
        self,
    ) -> Callable[
        [error_stats_service.ListGroupStatsRequest],
        Union[
            error_stats_service.ListGroupStatsResponse,
            Awaitable[error_stats_service.ListGroupStatsResponse],
        ],
    ]:
        raise NotImplementedError()

    @property
    def list_events(
        self,
    ) -> Callable[
        [error_stats_service.ListEventsRequest],
        Union[
            error_stats_service.ListEventsResponse,
            Awaitable[error_stats_service.ListEventsResponse],
        ],
    ]:
        raise NotImplementedError()

    @property
    def delete_events(
        self,
    ) -> Callable[
        [error_stats_service.DeleteEventsRequest],
        Union[
            error_stats_service.DeleteEventsResponse,

# Path: google/cloud/errorreporting_v1beta1/types/error_stats_service.py
# class TimedCountAlignment(proto.Enum):
# class ErrorGroupOrder(proto.Enum):
# class ListGroupStatsRequest(proto.Message):
# class ListGroupStatsResponse(proto.Message):
# class ErrorGroupStats(proto.Message):
# class TimedCount(proto.Message):
# class ListEventsRequest(proto.Message):
# class ListEventsResponse(proto.Message):
# class QueryTimeRange(proto.Message):
#     class Period(proto.Enum):
# class ServiceContextFilter(proto.Message):
# class DeleteEventsRequest(proto.Message):
# class DeleteEventsResponse(proto.Message):
#     ERROR_COUNT_ALIGNMENT_UNSPECIFIED = 0
#     ALIGNMENT_EQUAL_ROUNDED = 1
#     ALIGNMENT_EQUAL_AT_END = 2
#     GROUP_ORDER_UNSPECIFIED = 0
#     COUNT_DESC = 1
#     LAST_SEEN_DESC = 2
#     CREATED_DESC = 3
#     AFFECTED_USERS_DESC = 4
#         PERIOD_UNSPECIFIED = 0
#         PERIOD_1_HOUR = 1
#         PERIOD_6_HOURS = 2
#         PERIOD_1_DAY = 3
#         PERIOD_1_WEEK = 4
#         PERIOD_30_DAYS = 5
#     def raw_page(self):
#     def raw_page(self):


# Path: google/cloud/errorreporting_v1beta1/services/error_stats_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 error_stats_service

    def list_group_stats(
        self,
    ) -> Callable[
        [error_stats_service.ListGroupStatsRequest],
        Union[
            error_stats_service.ListGroupStatsResponse,
            Awaitable[error_stats_service.ListGroupStatsResponse],
        ],
    ]:
        raise NotImplementedError()

    @property
    def list_events(
        self,
    ) -> Callable[
        [error_stats_service.ListEventsRequest],
        Union[
            error_stats_service.ListEventsResponse,
            Awaitable[error_stats_service.ListEventsResponse],
        ],
    ]:
        raise NotImplementedError()

    @property
    def delete_events(
        self,
    ) -> Callable[
        [error_stats_service.DeleteEventsRequest],
        Union[
            error_stats_service.DeleteEventsResponse,

            Awaitable[error_stats_service.DeleteEventsResponse],