google/cloud/texttospeech_v1beta1/services/text_to_speech/transports/grpc_asyncio.py
def list_voices(
        self
    ) -> Callable[
        [cloud_tts.ListVoicesRequest], Awaitable[cloud_tts.ListVoicesResponse]
    ]:
        r"""Return a callable for the list voices method over gRPC.

        Returns a list of Voice supported for synthesis.

        Returns:
            Callable[[~.ListVoicesRequest],
                    Awaitable[~.ListVoicesResponse]]:
                A function that, when called, will call the underlying RPC
                on the server.
        """
        # Generate a "stub function" on-the-fly which will actually make
        # the request.
        # gRPC handles serialization and deserialization, so we just need
        # to pass in the functions for each.
        if "list_voices" not in self._stubs:
            self._stubs["list_voices"] = self.grpc_channel.unary_unary(
                "/google.cloud.texttospeech.v1beta1.TextToSpeech/ListVoices",
                request_serializer=cloud_tts.ListVoicesRequest.serialize,
                response_deserializer=cloud_tts.ListVoicesResponse.deserialize,
            )
        return self._stubs["list_voices"]
r"""Return a callable for the list voices method over gRPC.

        Returns a list of Voice supported for synthesis.

        Returns:
            Callable[[~.ListVoicesRequest],
                    Awaitable[~.ListVoicesResponse]]:
                A function that, when called, will call the underlying RPC
                on the server.
        
r"""Return a callable for the list voices method over gRPC.
Returns a list of Voice supported for synthesis.
r " " " Return a callable for the list voices method over gRPC . Returns a list of Voice supported for synthesis .
def list_voices(
        self
    ) -> Callable[
        [cloud_tts.ListVoicesRequest], Awaitable[cloud_tts.ListVoicesResponse]
    ]:
        if "list_voices" not in self._stubs:
            self._stubs["list_voices"] = self.grpc_channel.unary_unary(
                "/google.cloud.texttospeech.v1beta1.TextToSpeech/ListVoices",
                request_serializer=cloud_tts.ListVoicesRequest.serialize,
                response_deserializer=cloud_tts.ListVoicesResponse.deserialize,
            )
        return self._stubs["list_voices"]
def list_voices ( self ) -> Callable [ [ cloud_tts . ListVoicesRequest ] , Awaitable [ cloud_tts . ListVoicesResponse ] ] : if "list_voices" not in self . _stubs : self . _stubs [ "list_voices" ] = self . grpc_channel . unary_unary ( "/google.cloud.texttospeech.v1beta1.TextToSpeech/ListVoices" , request_serializer = cloud_tts . ListVoicesRequest . serialize , response_deserializer = cloud_tts . ListVoicesResponse . deserialize , ) return self . _stubs [ "list_voices" ]
r"""Return a callable for the list voices method over gRPC.
r " " " Return a callable for the list voices method over gRPC .
r"""Return a callable for the list voices method over gRPC.

        Returns a list of Voice supported for synthesis.

        Returns:
            Callable[[~.ListVoicesRequest],
                    Awaitable[~.ListVoicesResponse]]:
                A function that, when called, will call the underlying RPC
                on the server.
        """ # Generate a "stub function" on-the-fly which will actually make # the request. # gRPC handles serialization and deserialization, so we just need # to pass in the functions for each.
A function that, when called, will call the underlying RPC
on the server.
A function that when called will call the underlying RPC on the server .
Callable[[~.ListVoicesRequest],
    Awaitable[~.ListVoicesResponse]]
self