def __init__(self, transport=None, channel=None, credentials=None, client_config=None, client_info=None):
    "Constructor.\n\n        Args:\n            transport (Union[~.TextToSpeechGrpcTransport,\n                    Callable[[~.Credentials, type], ~.TextToSpeechGrpcTransport]): A transport\n                instance, responsible for actually making the API calls.\n                The default transport uses the gRPC protocol.\n                This argument may also be a callable which returns a\n                transport instance. Callables will be sent the credentials\n                as the first argument and the default transport class as\n                the second argument.\n            channel (grpc.Channel): DEPRECATED. A ``Channel`` instance\n                through which to make calls. This argument is mutually exclusive\n                with ``credentials``; providing both will raise an exception.\n            credentials (google.auth.credentials.Credentials): The\n                authorization credentials to attach to requests. These\n                credentials identify this application to the service. If none\n                are specified, the client will attempt to ascertain the\n                credentials from the environment.\n                This argument is mutually exclusive with providing a\n                transport instance to ``transport``; doing so will raise\n                an exception.\n            client_config (dict): DEPRECATED. A dictionary of call options for\n                each method. If not specified, the default configuration is used.\n            client_info (google.api_core.gapic_v1.client_info.ClientInfo):\n                The client info used to send a user-agent string along with\n                API requests. If ``None``, then default info will be used.\n                Generally, you only need to set this if you're developing\n                your own client library.\n        "
    if (client_config is not None):
        warnings.warn('The `client_config` argument is deprecated.', PendingDeprecationWarning, stacklevel=2)
    else:
        client_config = text_to_speech_client_config.config
    if channel:
        warnings.warn('The `channel` argument is deprecated; use `transport` instead.', PendingDeprecationWarning, stacklevel=2)
    if transport:
        if callable(transport):
            self.transport = transport(credentials=credentials, default_class=text_to_speech_grpc_transport.TextToSpeechGrpcTransport)
        else:
            if credentials:
                raise ValueError('Received both a transport instance and credentials; these are mutually exclusive.')
            self.transport = transport
    else:
        self.transport = text_to_speech_grpc_transport.TextToSpeechGrpcTransport(address=self.SERVICE_ADDRESS, channel=channel, credentials=credentials)
    if (client_info is None):
        client_info = google.api_core.gapic_v1.client_info.ClientInfo(gapic_version=_GAPIC_LIBRARY_VERSION)
    else:
        client_info.gapic_version = _GAPIC_LIBRARY_VERSION
    self._client_info = client_info
    self._method_configs = google.api_core.gapic_v1.config.parse_method_configs(client_config['interfaces'][self._INTERFACE_NAME])
    self._inner_api_calls = {}
Constructor.

Args:
    transport (Union[~.TextToSpeechGrpcTransport,
            Callable[[~.Credentials, type], ~.TextToSpeechGrpcTransport]): A transport
        instance, responsible for actually making the API calls.
        The default transport uses the gRPC protocol.
        This argument may also be a callable which returns a
        transport instance. Callables will be sent the credentials
        as the first argument and the default transport class as
        the second argument.
    channel (grpc.Channel): DEPRECATED. A ``Channel`` instance
        through which to make calls. This argument is mutually exclusive
        with ``credentials``; providing both will raise an exception.
    credentials (google.auth.credentials.Credentials): The
        authorization credentials to attach to requests. These
        credentials identify this application to the service. If none
        are specified, the client will attempt to ascertain the
        credentials from the environment.
        This argument is mutually exclusive with providing a
        transport instance to ``transport``; doing so will raise
        an exception.
    client_config (dict): DEPRECATED. A dictionary of call options for
        each method. If not specified, the default configuration is used.
    client_info (google.api_core.gapic_v1.client_info.ClientInfo):
        The client info used to send a user-agent string along with
        API requests. If ``None``, then default info will be used.
        Generally, you only need to set this if you're developing
        your own client library.
def __init__(self, transport=None, channel=None, credentials=None, client_config=None, client_info=None):
    "Constructor.\n\n        Args:\n            transport (Union[~.TextToSpeechGrpcTransport,\n                    Callable[[~.Credentials, type], ~.TextToSpeechGrpcTransport]): A transport\n                instance, responsible for actually making the API calls.\n                The default transport uses the gRPC protocol.\n                This argument may also be a callable which returns a\n                transport instance. Callables will be sent the credentials\n                as the first argument and the default transport class as\n                the second argument.\n            channel (grpc.Channel): DEPRECATED. A ``Channel`` instance\n                through which to make calls. This argument is mutually exclusive\n                with ``credentials``; providing both will raise an exception.\n            credentials (google.auth.credentials.Credentials): The\n                authorization credentials to attach to requests. These\n                credentials identify this application to the service. If none\n                are specified, the client will attempt to ascertain the\n                credentials from the environment.\n                This argument is mutually exclusive with providing a\n                transport instance to ``transport``; doing so will raise\n                an exception.\n            client_config (dict): DEPRECATED. A dictionary of call options for\n                each method. If not specified, the default configuration is used.\n            client_info (google.api_core.gapic_v1.client_info.ClientInfo):\n                The client info used to send a user-agent string along with\n                API requests. If ``None``, then default info will be used.\n                Generally, you only need to set this if you're developing\n                your own client library.\n        "
    if (client_config is not None):
        warnings.warn('The `client_config` argument is deprecated.', PendingDeprecationWarning, stacklevel=2)
    else:
        client_config = text_to_speech_client_config.config
    if channel:
        warnings.warn('The `channel` argument is deprecated; use `transport` instead.', PendingDeprecationWarning, stacklevel=2)
    if transport:
        if callable(transport):
            self.transport = transport(credentials=credentials, default_class=text_to_speech_grpc_transport.TextToSpeechGrpcTransport)
        else:
            if credentials:
                raise ValueError('Received both a transport instance and credentials; these are mutually exclusive.')
            self.transport = transport
    else:
        self.transport = text_to_speech_grpc_transport.TextToSpeechGrpcTransport(address=self.SERVICE_ADDRESS, channel=channel, credentials=credentials)
    if (client_info is None):
        client_info = google.api_core.gapic_v1.client_info.ClientInfo(gapic_version=_GAPIC_LIBRARY_VERSION)
    else:
        client_info.gapic_version = _GAPIC_LIBRARY_VERSION
    self._client_info = client_info
    self._method_configs = google.api_core.gapic_v1.config.parse_method_configs(client_config['interfaces'][self._INTERFACE_NAME])
    self._inner_api_calls = {}