# Path: google/cloud/bigquery_datatransfer_v1/types/transfer.py
# class TransferType(proto.Enum):
# class TransferState(proto.Enum):
# class EmailPreferences(proto.Message):
# class ScheduleOptions(proto.Message):
# class UserInfo(proto.Message):
# class TransferConfig(proto.Message):
# class TransferRun(proto.Message):
# class TransferMessage(proto.Message):
#     class MessageSeverity(proto.Enum):
#     TRANSFER_TYPE_UNSPECIFIED = 0
#     BATCH = 1
#     STREAMING = 2
#     TRANSFER_STATE_UNSPECIFIED = 0
#     PENDING = 2
#     RUNNING = 3
#     SUCCEEDED = 4
#     FAILED = 5
#     CANCELLED = 6
#         MESSAGE_SEVERITY_UNSPECIFIED = 0
#         INFO = 1
#         WARNING = 2
#         ERROR = 3


import proto  # type: ignore
from google.cloud.bigquery_datatransfer_v1.types import transfer
from google.protobuf import duration_pb2  # type: ignore
from google.protobuf import field_mask_pb2  # type: ignore
from google.protobuf import timestamp_pb2  # type: ignore
from google.protobuf import wrappers_pb2  # type: ignore
        page_size (int):
            Page size. The default page size is the
            maximum value of 1000 results.
    """

    parent = proto.Field(proto.STRING, number=1,)
    data_source_ids = proto.RepeatedField(proto.STRING, number=2,)
    page_token = proto.Field(proto.STRING, number=3,)
    page_size = proto.Field(proto.INT32, number=4,)


class ListTransferConfigsResponse(proto.Message):
    r"""The returned list of pipelines in the project.

    Attributes:
        transfer_configs (Sequence[google.cloud.bigquery_datatransfer_v1.types.TransferConfig]):
            Output only. The stored pipeline transfer
            configurations.
        next_page_token (str):
            Output only. The next-pagination token. For multiple-page
            list results, this token can be used as the
            ``ListTransferConfigsRequest.page_token`` to request the
            next page of list results.
    """

    @property
    def raw_page(self):
        return self

    transfer_configs = proto.RepeatedField(

# Path: google/cloud/bigquery_datatransfer_v1/types/transfer.py
# class TransferType(proto.Enum):
# class TransferState(proto.Enum):
# class EmailPreferences(proto.Message):
# class ScheduleOptions(proto.Message):
# class UserInfo(proto.Message):
# class TransferConfig(proto.Message):
# class TransferRun(proto.Message):
# class TransferMessage(proto.Message):
#     class MessageSeverity(proto.Enum):
#     TRANSFER_TYPE_UNSPECIFIED = 0
#     BATCH = 1
#     STREAMING = 2
#     TRANSFER_STATE_UNSPECIFIED = 0
#     PENDING = 2
#     RUNNING = 3
#     SUCCEEDED = 4
#     FAILED = 5
#     CANCELLED = 6
#         MESSAGE_SEVERITY_UNSPECIFIED = 0
#         INFO = 1
#         WARNING = 2
#         ERROR = 3


# Path: google/cloud/bigquery_datatransfer_v1/types/datatransfer.py
import proto  # type: ignore
from google.cloud.bigquery_datatransfer_v1.types import transfer
from google.protobuf import duration_pb2  # type: ignore
from google.protobuf import field_mask_pb2  # type: ignore
from google.protobuf import timestamp_pb2  # type: ignore
from google.protobuf import wrappers_pb2  # type: ignore

        page_size (int):
            Page size. The default page size is the
            maximum value of 1000 results.
    """

    parent = proto.Field(proto.STRING, number=1,)
    data_source_ids = proto.RepeatedField(proto.STRING, number=2,)
    page_token = proto.Field(proto.STRING, number=3,)
    page_size = proto.Field(proto.INT32, number=4,)


class ListTransferConfigsResponse(proto.Message):
    r"""The returned list of pipelines in the project.

    Attributes:
        transfer_configs (Sequence[google.cloud.bigquery_datatransfer_v1.types.TransferConfig]):
            Output only. The stored pipeline transfer
            configurations.
        next_page_token (str):
            Output only. The next-pagination token. For multiple-page
            list results, this token can be used as the
            ``ListTransferConfigsRequest.page_token`` to request the
            next page of list results.
    """

    @property
    def raw_page(self):
        return self

    transfer_configs = proto.RepeatedField(

        proto.MESSAGE, number=1, message=transfer.TransferConfig,