# Path: google/area120/tables_v1alpha1/types/tables.py
# class View(proto.Enum):
# class GetTableRequest(proto.Message):
# class ListTablesRequest(proto.Message):
# class ListTablesResponse(proto.Message):
# class GetWorkspaceRequest(proto.Message):
# class ListWorkspacesRequest(proto.Message):
# class ListWorkspacesResponse(proto.Message):
# class GetRowRequest(proto.Message):
# class ListRowsRequest(proto.Message):
# class ListRowsResponse(proto.Message):
# class CreateRowRequest(proto.Message):
# class BatchCreateRowsRequest(proto.Message):
# class BatchCreateRowsResponse(proto.Message):
# class UpdateRowRequest(proto.Message):
# class BatchUpdateRowsRequest(proto.Message):
# class BatchUpdateRowsResponse(proto.Message):
# class DeleteRowRequest(proto.Message):
# class BatchDeleteRowsRequest(proto.Message):
# class Table(proto.Message):
# class ColumnDescription(proto.Message):
# class LabeledItem(proto.Message):
# class RelationshipDetails(proto.Message):
# class LookupDetails(proto.Message):
# class Row(proto.Message):
# class Workspace(proto.Message):
#     VIEW_UNSPECIFIED = 0
#     COLUMN_ID_VIEW = 1
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):


from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.area120.tables_v1alpha1.types import tables
#
# 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 ListTablesPager:
    """A pager for iterating through ``list_tables`` requests.

    This class thinly wraps an initial
    :class:`google.area120.tables_v1alpha1.types.ListTablesResponse` object, and
    provides an ``__iter__`` method to iterate through its
    ``tables`` field.

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

    All the usual :class:`google.area120.tables_v1alpha1.types.ListTablesResponse`
    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/area120/tables_v1alpha1/types/tables.py
# class View(proto.Enum):
# class GetTableRequest(proto.Message):
# class ListTablesRequest(proto.Message):
# class ListTablesResponse(proto.Message):
# class GetWorkspaceRequest(proto.Message):
# class ListWorkspacesRequest(proto.Message):
# class ListWorkspacesResponse(proto.Message):
# class GetRowRequest(proto.Message):
# class ListRowsRequest(proto.Message):
# class ListRowsResponse(proto.Message):
# class CreateRowRequest(proto.Message):
# class BatchCreateRowsRequest(proto.Message):
# class BatchCreateRowsResponse(proto.Message):
# class UpdateRowRequest(proto.Message):
# class BatchUpdateRowsRequest(proto.Message):
# class BatchUpdateRowsResponse(proto.Message):
# class DeleteRowRequest(proto.Message):
# class BatchDeleteRowsRequest(proto.Message):
# class Table(proto.Message):
# class ColumnDescription(proto.Message):
# class LabeledItem(proto.Message):
# class RelationshipDetails(proto.Message):
# class LookupDetails(proto.Message):
# class Row(proto.Message):
# class Workspace(proto.Message):
#     VIEW_UNSPECIFIED = 0
#     COLUMN_ID_VIEW = 1
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):


# Path: google/area120/tables_v1alpha1/services/tables_service/pagers.py
from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.area120.tables_v1alpha1.types import tables

#
# 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 ListTablesPager:
    """A pager for iterating through ``list_tables`` requests.

    This class thinly wraps an initial
    :class:`google.area120.tables_v1alpha1.types.ListTablesResponse` object, and
    provides an ``__iter__`` method to iterate through its
    ``tables`` field.

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

    All the usual :class:`google.area120.tables_v1alpha1.types.ListTablesResponse`
    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[..., tables.ListTablesResponse],