# Path: google/cloud/bigquery_datatransfer_v1/types/datatransfer.py
# class DataSourceParameter(proto.Message):
#     class Type(proto.Enum):
# class DataSource(proto.Message):
#     class AuthorizationType(proto.Enum):
#     class DataRefreshType(proto.Enum):
# class GetDataSourceRequest(proto.Message):
# class ListDataSourcesRequest(proto.Message):
# class ListDataSourcesResponse(proto.Message):
# class CreateTransferConfigRequest(proto.Message):
# class UpdateTransferConfigRequest(proto.Message):
# class GetTransferConfigRequest(proto.Message):
# class DeleteTransferConfigRequest(proto.Message):
# class GetTransferRunRequest(proto.Message):
# class DeleteTransferRunRequest(proto.Message):
# class ListTransferConfigsRequest(proto.Message):
# class ListTransferConfigsResponse(proto.Message):
# class ListTransferRunsRequest(proto.Message):
#     class RunAttempt(proto.Enum):
# class ListTransferRunsResponse(proto.Message):
# class ListTransferLogsRequest(proto.Message):
# class ListTransferLogsResponse(proto.Message):
# class CheckValidCredsRequest(proto.Message):
# class CheckValidCredsResponse(proto.Message):
# class ScheduleTransferRunsRequest(proto.Message):
# class ScheduleTransferRunsResponse(proto.Message):
# class StartManualTransferRunsRequest(proto.Message):
#     class TimeRange(proto.Message):
# class StartManualTransferRunsResponse(proto.Message):
# class EnrollDataSourcesRequest(proto.Message):
#         TYPE_UNSPECIFIED = 0
#         STRING = 1
#         INTEGER = 2
#         DOUBLE = 3
#         BOOLEAN = 4
#         RECORD = 5
#         PLUS_PAGE = 6
#         AUTHORIZATION_TYPE_UNSPECIFIED = 0
#         AUTHORIZATION_CODE = 1
#         GOOGLE_PLUS_AUTHORIZATION_CODE = 2
#         FIRST_PARTY_OAUTH = 3
#         DATA_REFRESH_TYPE_UNSPECIFIED = 0
#         SLIDING_WINDOW = 1
#         CUSTOM_SLIDING_WINDOW = 2
#         RUN_ATTEMPT_UNSPECIFIED = 0
#         LATEST = 1
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):
# 
# 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 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.bigquery_datatransfer_v1.types import datatransfer
from google.cloud.bigquery_datatransfer_v1.types import transfer
from google.protobuf import empty_pb2  # type: ignore
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
#



try:
    DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
        gapic_version=pkg_resources.get_distribution(

# Path: google/cloud/bigquery_datatransfer_v1/types/datatransfer.py
# class DataSourceParameter(proto.Message):
#     class Type(proto.Enum):
# class DataSource(proto.Message):
#     class AuthorizationType(proto.Enum):
#     class DataRefreshType(proto.Enum):
# class GetDataSourceRequest(proto.Message):
# class ListDataSourcesRequest(proto.Message):
# class ListDataSourcesResponse(proto.Message):
# class CreateTransferConfigRequest(proto.Message):
# class UpdateTransferConfigRequest(proto.Message):
# class GetTransferConfigRequest(proto.Message):
# class DeleteTransferConfigRequest(proto.Message):
# class GetTransferRunRequest(proto.Message):
# class DeleteTransferRunRequest(proto.Message):
# class ListTransferConfigsRequest(proto.Message):
# class ListTransferConfigsResponse(proto.Message):
# class ListTransferRunsRequest(proto.Message):
#     class RunAttempt(proto.Enum):
# class ListTransferRunsResponse(proto.Message):
# class ListTransferLogsRequest(proto.Message):
# class ListTransferLogsResponse(proto.Message):
# class CheckValidCredsRequest(proto.Message):
# class CheckValidCredsResponse(proto.Message):
# class ScheduleTransferRunsRequest(proto.Message):
# class ScheduleTransferRunsResponse(proto.Message):
# class StartManualTransferRunsRequest(proto.Message):
#     class TimeRange(proto.Message):
# class StartManualTransferRunsResponse(proto.Message):
# class EnrollDataSourcesRequest(proto.Message):
#         TYPE_UNSPECIFIED = 0
#         STRING = 1
#         INTEGER = 2
#         DOUBLE = 3
#         BOOLEAN = 4
#         RECORD = 5
#         PLUS_PAGE = 6
#         AUTHORIZATION_TYPE_UNSPECIFIED = 0
#         AUTHORIZATION_CODE = 1
#         GOOGLE_PLUS_AUTHORIZATION_CODE = 2
#         FIRST_PARTY_OAUTH = 3
#         DATA_REFRESH_TYPE_UNSPECIFIED = 0
#         SLIDING_WINDOW = 1
#         CUSTOM_SLIDING_WINDOW = 2
#         RUN_ATTEMPT_UNSPECIFIED = 0
#         LATEST = 1
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):
# 
# 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/services/data_transfer_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.bigquery_datatransfer_v1.types import datatransfer
from google.cloud.bigquery_datatransfer_v1.types import transfer
from google.protobuf import empty_pb2  # type: ignore

# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
#



try:
    DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
        gapic_version=pkg_resources.get_distribution(

            "google-cloud-bigquery-datatransfer",