# Path: google/cloud/logging_v2/types/log_entry.py
# class LogEntry(proto.Message):
# class LogEntryOperation(proto.Message):
# class LogEntrySourceLocation(proto.Message):
# class LogSplit(proto.Message):
# 
# Path: google/cloud/logging_v2/types/logging.py
# class DeleteLogRequest(proto.Message):
# class WriteLogEntriesRequest(proto.Message):
# class WriteLogEntriesResponse(proto.Message):
# class WriteLogEntriesPartialErrors(proto.Message):
# class ListLogEntriesRequest(proto.Message):
# class ListLogEntriesResponse(proto.Message):
# class ListMonitoredResourceDescriptorsRequest(proto.Message):
# class ListMonitoredResourceDescriptorsResponse(proto.Message):
# class ListLogsRequest(proto.Message):
# class ListLogsResponse(proto.Message):
# class TailLogEntriesRequest(proto.Message):
# class TailLogEntriesResponse(proto.Message):
#     class SuppressionInfo(proto.Message):
#         class Reason(proto.Enum):
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):
#             REASON_UNSPECIFIED = 0
#             RATE_LIMIT = 1
#             NOT_CONSUMED = 2


from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.api import monitored_resource_pb2  # type: ignore
from google.cloud.logging_v2.types import log_entry
from google.cloud.logging_v2.types import logging
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#



class ListLogEntriesPager:
    """A pager for iterating through ``list_log_entries`` requests.

    This class thinly wraps an initial
    :class:`google.cloud.logging_v2.types.ListLogEntriesResponse` object, and
    provides an ``__iter__`` method to iterate through its
    ``entries`` field.

    If there are more pages, the ``__iter__`` method will make additional
    ``ListLogEntries`` requests and continue to iterate
    through the ``entries`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.logging_v2.types.ListLogEntriesResponse`
    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,

# Path: google/cloud/logging_v2/types/log_entry.py
# class LogEntry(proto.Message):
# class LogEntryOperation(proto.Message):
# class LogEntrySourceLocation(proto.Message):
# class LogSplit(proto.Message):
# 
# Path: google/cloud/logging_v2/types/logging.py
# class DeleteLogRequest(proto.Message):
# class WriteLogEntriesRequest(proto.Message):
# class WriteLogEntriesResponse(proto.Message):
# class WriteLogEntriesPartialErrors(proto.Message):
# class ListLogEntriesRequest(proto.Message):
# class ListLogEntriesResponse(proto.Message):
# class ListMonitoredResourceDescriptorsRequest(proto.Message):
# class ListMonitoredResourceDescriptorsResponse(proto.Message):
# class ListLogsRequest(proto.Message):
# class ListLogsResponse(proto.Message):
# class TailLogEntriesRequest(proto.Message):
# class TailLogEntriesResponse(proto.Message):
#     class SuppressionInfo(proto.Message):
#         class Reason(proto.Enum):
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):
#             REASON_UNSPECIFIED = 0
#             RATE_LIMIT = 1
#             NOT_CONSUMED = 2


# Path: google/cloud/logging_v2/services/logging_service_v2/pagers.py
from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.api import monitored_resource_pb2  # type: ignore
from google.cloud.logging_v2.types import log_entry
from google.cloud.logging_v2.types import logging

#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#



class ListLogEntriesPager:
    """A pager for iterating through ``list_log_entries`` requests.

    This class thinly wraps an initial
    :class:`google.cloud.logging_v2.types.ListLogEntriesResponse` object, and
    provides an ``__iter__`` method to iterate through its
    ``entries`` field.

    If there are more pages, the ``__iter__`` method will make additional
    ``ListLogEntries`` requests and continue to iterate
    through the ``entries`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.logging_v2.types.ListLogEntriesResponse`
    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[..., logging.ListLogEntriesResponse],