google/cloud/texttospeech_v1beta1/services/text_to_speech/transports/grpc_asyncio.py
def synthesize_speech(
        self
    ) -> Callable[
        [cloud_tts.SynthesizeSpeechRequest],
        Awaitable[cloud_tts.SynthesizeSpeechResponse],
    ]:
        r"""Return a callable for the synthesize speech method over gRPC.

        Synthesizes speech synchronously: receive results
        after all text input has been processed.

        Returns:
            Callable[[~.SynthesizeSpeechRequest],
                    Awaitable[~.SynthesizeSpeechResponse]]:
                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 "synthesize_speech" not in self._stubs:
            self._stubs["synthesize_speech"] = self.grpc_channel.unary_unary(
                "/google.cloud.texttospeech.v1beta1.TextToSpeech/SynthesizeSpeech",
                request_serializer=cloud_tts.SynthesizeSpeechRequest.serialize,
                response_deserializer=cloud_tts.SynthesizeSpeechResponse.deserialize,
            )
        return self._stubs["synthesize_speech"]
r"""Return a callable for the synthesize speech method over gRPC.

        Synthesizes speech synchronously: receive results
        after all text input has been processed.

        Returns:
            Callable[[~.SynthesizeSpeechRequest],
                    Awaitable[~.SynthesizeSpeechResponse]]:
                A function that, when called, will call the underlying RPC
                on the server.
        
r"""Return a callable for the synthesize speech method over gRPC.
Synthesizes speech synchronously: receive results
after all text input has been processed.
r " " " Return a callable for the synthesize speech method over gRPC . Synthesizes speech synchronously : receive results after all text input has been processed .
def synthesize_speech(
        self
    ) -> Callable[
        [cloud_tts.SynthesizeSpeechRequest],
        Awaitable[cloud_tts.SynthesizeSpeechResponse],
    ]:
        if "synthesize_speech" not in self._stubs:
            self._stubs["synthesize_speech"] = self.grpc_channel.unary_unary(
                "/google.cloud.texttospeech.v1beta1.TextToSpeech/SynthesizeSpeech",
                request_serializer=cloud_tts.SynthesizeSpeechRequest.serialize,
                response_deserializer=cloud_tts.SynthesizeSpeechResponse.deserialize,
            )
        return self._stubs["synthesize_speech"]
def synthesize_speech ( self ) -> Callable [ [ cloud_tts . SynthesizeSpeechRequest ] , Awaitable [ cloud_tts . SynthesizeSpeechResponse ] , ] : if "synthesize_speech" not in self . _stubs : self . _stubs [ "synthesize_speech" ] = self . grpc_channel . unary_unary ( "/google.cloud.texttospeech.v1beta1.TextToSpeech/SynthesizeSpeech" , request_serializer = cloud_tts . SynthesizeSpeechRequest . serialize , response_deserializer = cloud_tts . SynthesizeSpeechResponse . deserialize , ) return self . _stubs [ "synthesize_speech" ]
r"""Return a callable for the synthesize speech method over gRPC.
r " " " Return a callable for the synthesize speech method over gRPC .
r"""Return a callable for the synthesize speech method over gRPC.

        Synthesizes speech synchronously: receive results
        after all text input has been processed.

        Returns:
            Callable[[~.SynthesizeSpeechRequest],
                    Awaitable[~.SynthesizeSpeechResponse]]:
                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[[~.SynthesizeSpeechRequest],
    Awaitable[~.SynthesizeSpeechResponse]]
self